Forum Moderators: open
Deny from blahblah Deny from China
Deny from Ukraine
Order allow,deny
Allow from all
Deny from long-list-here
Order deny,allow tends to rely more heavily on user-agents rather than IP ranges.
You don't want to deny every single IP listed here...
...don't bother blocking individual IPs.
keyplyr wrote:
I do, sometimes a dozen or more day. These are mostly infected machines sending probes for vulnerabilities. They will often be used later in a botnet, so it is prudent to block them immediately. I block these on a temporary basis and usually remove them in a couple months; presumably by that time they are found out by the owner and fixed.
I don't think you should assume that these will be found out and fixed by the owner within a two-month period.I just said how I do it... you do it your own way.
If the trojan is part of a botnet, it may "hide" on the infected machine so as not to reveal itself until the botnet has been built up to a much larger size. Then at some point all of the trojans in the botnet will be called into action simultaneously to stage a DDOS attack. But it might take much longer than two months for that to happen.Well then you wouldn't know about it would you?
I also think that it is futile to try to protect yourself against a large-sacle botnet attack by blocking individual IP addresses, because you would have to block tens of thousands of them, which wouldn't be practical.
Here's a question... does this:
deny from 173.208.0.0/16
take longer than this:
deny from 173.208.64.0/22
I thought the server read everything in htaccesss