GeoIP support for tcpserver in ucspi-tcp package is now available.
See http://www.inter7.com/inter7-developed-gpl-software/ucspi-tcp-geoip/
Details are listed on the page.
You can download the new version here
http://www.inter7.com/source/ucspi-tcp-pid-geoip-0.88.tar.gz
Basic new features is you can set an environment variable named
DENYCOUNTRY with a comma separated list of 2 digit country codes
then tcpserver will deny connections from those countries.
Or you could set ALLOWCOUNTRY environment variable with a list of
country codes to allow connections and deny to any other.
If either DENYCOUNTRY or ALLOWCOUNTRY is set then tcpserver adds
the country code to the end of the deny or ok log lines to
help with reporting.
We are using it to block spam from countries that send us
lots of spam. It is blocking about 60% of spam.
We are also using it to lock down access to pop3 to only the countries
our users are in.
Depends on GeoIP and GeoIP development packages.
Please let me know if you have any comments, questions or suggestions.
Thanks,
Ken Jones
Inter7
See http://www.inter7.com/inter7-developed-gpl-software/ucspi-tcp-geoip/
Details are listed on the page.
You can download the new version here
http://www.inter7.com/source/ucspi-tcp-pid-geoip-0.88.tar.gz
Basic new features is you can set an environment variable named
DENYCOUNTRY with a comma separated list of 2 digit country codes
then tcpserver will deny connections from those countries.
Or you could set ALLOWCOUNTRY environment variable with a list of
country codes to allow connections and deny to any other.
If either DENYCOUNTRY or ALLOWCOUNTRY is set then tcpserver adds
the country code to the end of the deny or ok log lines to
help with reporting.
We are using it to block spam from countries that send us
lots of spam. It is blocking about 60% of spam.
We are also using it to lock down access to pop3 to only the countries
our users are in.
Depends on GeoIP and GeoIP development packages.
Please let me know if you have any comments, questions or suggestions.
Thanks,
Ken Jones
Inter7