Lately I started to be more careful with blogs happens on the server. I found that I have a blog widely read, with many hits. An obvious example is in the picture below:
1. IP if it is blocked WordPress -> Dashboard, server and traffic reaches there.
2. If a server is 100 blogs ... each one should block the same IP. (Headache)
3. From the same IP can try to look for security is vulnerable points, the other open ports. (I know I said two reasons. Unu`'s bonus)
Another way of an IP block access to a site, is editing the file ..htaccessIn folderu root, where there are site files (usually public_html). I used to fantasize like that through June 2007 when I wrote the post "Deny Access to IP Spammer".
Method of blocking IPs..htaccessNot recommend to anyone, a single reason: the more the file is loaded..htaccess, The loading time of the site increases. If 100 .htaccess file would have as many 50 directives on Apache (HTTP Server), you can put two candles and candy :)
I think the third method is the best .. IP blockingfixes may level server, all portsUsing iptables.
In the picture above, it is seen IP 188.8.131.52, trying to spam pages from blog. Lock him at the server level is as follows.
root @ server [~] # / Sbin / iptables -I INPUT -s 184.108.40.206 j DROP
root @ server [~] # / Sbin / service iptables save
Saving firewall rules to / etc / sysconfig / iptables: [OK]
root @ server [~] #
whois (ripe.net): 220.127.116.11
inetnum: 18.104.22.168 - 22.214.171.124
Describe: Dragonara Alliance Ltd
Ok. If IP comes from a region where they are sure they do not want visitors per server (either through the web or by mail), I have handy option to block access to two class C (Class C subnet), encompassing all IPs beach between 126.96.36.199 and 188.8.131.52.
/ Sbin / iptables -I INPUT -s 184.108.40.206 / 24 j DROP
/ Sbin / iptables -I INPUT -s 220.127.116.11 / 24 j DROP
/ Sbin / service iptables save
iptables -L, to see the list of IPs "Chain INPUT".And blondes think ... »»
Old: «« What I see when Googlebot and other web crawlers access a website?
IT Tips - Windows, Mac OS X, Linux & Mobile - How an IP ban on a server? (Or how stop spam)
Users Who found this tutorials and downloads Were searching for:
- IP 禁止
- mail grunner.net place: FR
- subnet bots
- ban as a whole server?