[ic] IC not responding

John1 list_subscriber at yahoo.co.uk
Wed Nov 16 10:53:49 EST 2005


On Wednesday, November 16, 2005 2:43 AM, peter at pajamian.dhs.org 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 they
>> wouldn't mind sharing?  Thanks 
> 
> Try something like (off the top of my head, untested):
> 
> iptables -I INPUT -s %s -j DROP; echo 'iptables -D INPUT -s %s -j
> DROP' 
>> at now + 1 hours
> 
> Peter
>
Thank you Peter & Jon!

> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> 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/


More information about the interchange-users mailing list