homepage Welcome to WebmasterWorld Guest from 54.166.255.168
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Banning entire isp
Darkness

10+ Year Member



 
Msg#: 1551 posted 4:30 pm on Sep 18, 2005 (gmt 0)

I am using apf firewall based on iptables. I need to temporarily ban an isp, the example given in the firewall config is :

24.202.11.0/24 (blocking 24.202.11.* I think)

but I need to ban 24.202.*.*

Does anyone have a rule to do this?

BTW this particular ip is just an example from the documentation.

 

fish_eye

10+ Year Member



 
Msg#: 1551 posted 12:40 am on Sep 19, 2005 (gmt 0)

Have you considered using / do you have the facility to us... htaccess for this? (Are you running on an apache web server [webmasterworld.com]?)

bcc1234

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1551 posted 12:56 am on Sep 19, 2005 (gmt 0)

24.202.0.0/16

Darkness

10+ Year Member



 
Msg#: 1551 posted 4:59 pm on Sep 19, 2005 (gmt 0)

Thanks I will try that, I am running apache but I think it's best just to ban from the entire server

MattyMoose

10+ Year Member



 
Msg#: 1551 posted 5:04 pm on Sep 19, 2005 (gmt 0)

I should add that a good place to learn about why you're now using /16 instead of /24 would be to learn about Subnetting [en.wikipedia.org]. It will save you some grief later, expecially if you're messing with firewall rules. :)

MM

AbsintheSyringe

10+ Year Member



 
Msg#: 1551 posted 10:06 pm on Sep 19, 2005 (gmt 0)

Please note that some ISPs have a tendecy to sue once you ban them.

Sharper

10+ Year Member



 
Msg#: 1551 posted 2:15 am on Oct 5, 2005 (gmt 0)

AbsintheSyringe,

Can you point us to a concrete example of that?

I've been in the Internet industry for quite a while and have never heard of an ISP suing anyone because they were blocked by their firewall rules unless there was some sort of pre-existing contractual relationship where they had agreed to pass traffic for them.

Obviously they wouldn't have a legal leg to stand on, somehow trying to force someone into allowing their packets on the other persons server or network.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved