tsruha Posted February 7, 2015 Share Posted February 7, 2015 I have a couple of ip addresses that are using lots of resources. For example, this one. http://anti-hacker-alliance.com/index.php?details=136.243.5.215How do block this IP to stop it from driving up my average users which determines by monthly bill? I banned one in the ACP under the members tag but it didn't do anything. The offending IP just kept driving up traffic with the same IP.Any suggestions? Link to comment Share on other sites More sharing options...
NenaDice Posted February 7, 2015 Share Posted February 7, 2015 I have a couple of ip addresses that are using lots of resources. For example, this one. http://anti-hacker-alliance.com/index.php?details=136.243.5.215 How do block this IP to stop it from driving up my average users which determines by monthly bill? I banned one in the ACP under the members tag but it didn't do anything. The offending IP just kept driving up traffic with the same IP. Any suggestions? Have a look at my application. It might helpful to you. I coded it originally for a client that had a similiar issue and it worked fine for him. Link to comment Share on other sites More sharing options...
tsruha Posted February 7, 2015 Author Share Posted February 7, 2015 That's interesting. Thank you.Did you take a look at that IP I posted? If not, could you please? By looking at the info of the IP, what is your take on it? Link to comment Share on other sites More sharing options...
ASTRAPI Posted February 7, 2015 Share Posted February 7, 2015 You can install csf firewall and block them from there Link to comment Share on other sites More sharing options...
IveLeft... Posted February 7, 2015 Share Posted February 7, 2015 As above if you have a VPS or Dedicated then CSF and block them at server level using CSF Firewall If your on shared hosting then you can use a .htaccess file (there is a thread here somewhere about it) Link to comment Share on other sites More sharing options...
RevengeFNF Posted February 8, 2015 Share Posted February 8, 2015 Using a Firewall or Iptables is the best way.You can also use htaccess: http://community.invisionpower.com/topic/401816-blocking-bad-bots-via-htaccess/ Link to comment Share on other sites More sharing options...
ASTRAPI Posted February 8, 2015 Share Posted February 8, 2015 We should all forget about htaccess overhead by using Nginx and csf firewall Link to comment Share on other sites More sharing options...
IveLeft... Posted February 8, 2015 Share Posted February 8, 2015 We should all forget about htaccess overhead by using Nginx and csf firewall Some people don't have access to a firewall though Link to comment Share on other sites More sharing options...
ASTRAPI Posted February 8, 2015 Share Posted February 8, 2015 Yes i know I was talking for the rest, Vps and Dedicated ..... Link to comment Share on other sites More sharing options...
Mark H Posted February 11, 2015 Share Posted February 11, 2015 That's interesting. Thank you.Did you take a look at that IP I posted? If not, could you please? By looking at the info of the IP, what is your take on it?That IP resolves to a host in Germany. If I were you, and did not have access to the server firewall, I'd block this range in your .htaccess file:136.x.x.0/24 - To keep this generic, I've redacted the IP a bit. Be sure to substitute the two X's with the actual numbersSomething like this should work, but you may need to edit it to suit your server, and if a similar block already exists, add only the "deny from" line, between or immediately below other deny from lines in the block:order allow,deny deny from 136.x.x.0/24 allow from all Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.