New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Execution time of large ip blacklist.txt

Started by drummondislebsd, March 13, 2015, 03:24:49 AM

Previous topic - Next topic

drummondislebsd

Any experience with implementing a ip blacklist.

I have gathered ip addresses of world by country.  The list of ip addesses <world X-US> is about 7mb of plain text.

Wondering about the server load and execution time to run the filter.

Any experience?

Administrator

don't run it!

CSF has integrated country blocker but this is only for eg 1-5 countries, using it for more than that could cause overloads.

Anyway, why do you need it ?

erm3nda

Has CSF geoIP capabilities? Nice...

I wanna block Nigeria and Russia :) Joj0j0joo
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

Administrator

why blocking whole countries since CSF/LFD will automatically block if they detect something

erm3nda

That was a Joke. Maybe a bad joke...

Blocking Nigeria because the known issue about trade with them (packet lost)
The joke is about that are TCP packets, not real shipped packets.

Blocking Russia because the hackers.
The joke is about put a firewall to block a real hacker.

The joke would be easy to understand with a "I wanna block Obama, from whatever Country it is trying to see my webpage"
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

iqbalthakur

Quote from: drummondislebsd on March 13, 2015, 03:24:49 AM
Any experience with implementing a ip blacklist.

I have gathered ip addresses of world by country.  The list of ip addesses <world X-US> is about 7mb of plain text.

Wondering about the server load and execution time to run the filter.

Any experience?
other Than your list I upload latest list of Blocked List.. its not Heavy and perfect for . in your ip may be some of them are whitelist and may be some are not updated so try to  see my link and page and download to http://forum.centos-webpanel.com/csf-firewall/download-list-of-block-ip-for-your-csf-firewall-in-csf-deny/
THAKUR