Furry stuff, oekaki stuff, and other stuff.
You are not logged in.
Well I'd like to block proxies and anonymous access to our oekaki boards because
we've been getting spam users who cloak their IP's.
I'm planning to add this code to my .htaccess
RewriteEngine on RewriteCond %{HTTP:VIA} !^$ [OR] RewriteCond %{HTTP:FORWARDED} !^$ [OR] RewriteCond %{HTTP:USERAGENT_VIA} !^$ [OR] RewriteCond %{HTTP:X_FORWARDED_FOR} !^$ [OR] RewriteCond %{HTTP:PROXY_CONNECTION} !^$ [OR] RewriteCond %{HTTP:XPROXY_CONNECTION} !^$ [OR] RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR] RewriteCond %{HTTP:HTTP_CLIENT_IP} !^$ RewriteRule ^(.*)$ - [F]
Just wondering, will it affect the oekaki's performance in any way?
Offline
The board doesn't rely on referrers or any other HTTP attribute. Only the IP address is used (for the ban list).
The host lookup code might work slowly or not at all, though. If page views are really slow, try opening up the "hacks.txt" file and change the following line:
define ('DISABLE_DNS_HOST_LOOKUP', 0);
...to this:
define ('DISABLE_DNS_HOST_LOOKUP', 1);
I don't think this will be necessary, but just in case.
Offline
Okay, thanks^^
Offline