On Wednesday, November 16, 2005 2:43 AM, suppressed wrote:
On 11/15/2005 03:00 PM, John1 wrote:I am not up on iptables, but from what I can see the lockout command I should use is: iptables -I INPUT -s %s -j DROP Is this correct? The problem I see with this is that the IP address is then *permanently* locked out. What is the best way to lockout IP addresses for a given timeframe, and then let them back in again? I would be really grateful if anyone has a script to do this that theywouldn't mind sharing? ThanksTry something like (off the top of my head, untested): iptables -I INPUT -s %s -j DROP; echo 'iptables -D INPUT -s %s -jDROP'at now + 1 hoursPeter
Thank you Peter & Jon!
_______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
___________________________________________________________ Yahoo! Model Search 2005 - Find the next catwalk superstars - http://uk.news.yahoo.com/hot/model-search/
_______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.