Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-02-2005, 09:12 AM   #1
FiReC
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Location: Land o Nubiles
Posts: 2,350
blocking a lot of ips?

say i need to block about 700 class c ips from a server, what would be the most effective way of doing so?

I've tried htaccess but the with that many lines it really slows things down.

I'm thinking there has to be a better solution using iptables or an access list somewhere. Any help would be appreciated.
FiReC is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-02-2005, 09:24 AM   #2
JFPdude
Confirmed User
 
Join Date: Jan 2002
Location: Mountains of Western North Carolina.
Posts: 4,027
Whoa ... thats why I can't download the rest of the internettyweb thingy.


Depending on the OS your running yes iptables or ipchains will do it better than .htaccess
JFPdude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-02-2005, 09:39 AM   #3
FiReC
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Location: Land o Nubiles
Posts: 2,350
how does freebsd handle 700+ entries in iptables?
FiReC is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-02-2005, 09:45 AM   #4
JFPdude
Confirmed User
 
Join Date: Jan 2002
Location: Mountains of Western North Carolina.
Posts: 4,027
never tried 700 ... can only comment on 30 to 40 ... 30 or 40 in .htaccess slows the server in IPtables never seen any significant resource drop
JFPdude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-02-2005, 10:04 AM   #5
JohnnyUtah
Confirmed User
 
Join Date: Oct 2002
Posts: 826
iptables ... you wont even see a slowdown.

htaccess is shit for serious biz like that.
JohnnyUtah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-02-2005, 10:04 AM   #6
FiReC
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Location: Land o Nubiles
Posts: 2,350
thanks for the info man
FiReC is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.