The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Ubuntu Server Firewall blocking
I've got my server all set up, and today I found the need to enable the firewall. I have spam-o-matic installed, i have configured my htaccess to
Code:
RewriteEngine on RewriteCond %{HTTP_REFERER} ^http://*.vhoster\.org [NC,OR] RewriteCond %{HTTP_REFERER} ^http://*vhoster\.org [NC,OR] RewriteCond %{HTTP_REFERER} ^http://.*vhoster\.org [NC] RewriteCond %{REMOTE_ADDR} ^91\. RewriteRule .* - [F] order allow,deny deny from 91. deny from vhoster.org deny from *vhoster.org allow from all nothing is blocking this damn auto reg/post bot. well spam-o-matic's doing a good job keeping it from registering but, occasionally one slips through. its just annoying, and the problem is, the IP keeps changing. so i enabled UFW and got that all set up but i cant figure out how to block "IPs begining with" i have tried the following commands Code:
ufw deny from 91* Code:
ufw deny from 91/24 Code:
ufw deny from 91.* Code:
ufw deny from 91 Code:
ufw deny from 91. --------------- Added [DATE]1461080252[/DATE] at [TIME]1461080252[/TIME] --------------- I think this may have done it Code:
ufw deny OUT from any to 91.200.12.64/32 ufw deny OUT from any to 91.200.12.0/22 ufw deny from 91.200.12.64/32 ufw deny from 91.200.12.0/22 htaccess: Code:
RewriteEngine on RewriteCond %{REMOTE_ADDR} ^91\.200\.12\.64$ [NC] RewriteCond %{REMOTE_ADDR} ^91\.200\.(0*1+[2-5]+)\.([0-2]+[0-5]+[0-5]+)$ RewriteRule .* - [F,L] order allow,deny deny from 91.200.12.0/24 allow from all https://github.com/pushinginertia/ip...blacklist.conf and added the ip ranges there too anyone else got any more tips? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|