RE: iptables - how to create a rule that expires automatically

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A script, possibly with crontab or at, is your best bet.
For some scenarios it might be easier to use the "condition" match, and have
your script change the proc value rather than the actual chain.


> -----Original Message-----
> From: netfilter-owner@xxxxxxxxxxxxxxx [mailto:netfilter-
> owner@xxxxxxxxxxxxxxx] On Behalf Of Colin Davis
> Sent: Thursday, February 19, 2009 9:11 AM
> To: netfilter@xxxxxxxxxxxxxxx
> Subject: iptables - how to create a rule that expires automatically
> 
> 
> Hi,
> 
> Not sure if this is possible. I wish to create a rule that once created
> will
> automatically expire (and be removed) after say 10 minutes.
> 
> Please
> 
> Many thanks,
> Colin.
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux