GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How could i block all .NL traffic from accessing my server? (https://gfy.com/showthread.php?t=154833)

Pornofreak 07-20-2003 01:10 PM

How could i block all .NL traffic from accessing my server?
 
Hello


Anyone konw how to stop all .NL traffic from being able to access my server? getting really sick of all the fucked up traffic spikes.

My UCJ just got hit with 9k from this IP 81.152.210.175 and it all went to one trade. the IP banning did not work because they hit my cgi-bin, not my page.

The UCJ script only blocks IP's that access my html dir.

sacX 07-20-2003 01:14 PM

well if you're running apache.. one solution would be to install geoip apache module from Maxmind and then do a mod_rewrite sort of like

RewriteEngine on
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^NL$
RewriteRule ^.*$ http://www.fuckoff.com [R]

probably simpler solutions around, but that's the first thing I thought of.


All times are GMT -7. The time now is 12:30 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123