Skip to contentSkip to conversation

how to delete a time-based rule ?

DISCUSSION Tenivella Enrico 2 participants 2 messages Jun 20, 2005

lore
Share & tools
lore
#0 lore raw

Hi all.

My question..

through a web interface a client press a button that add an iptables prerouting entry.
Can I set a rule to delete the previous rule when he is idle for a few time (10-15 min) or not more connected?

NB. there is a "Disconnect" button on the web interface.... but sometimes the client forget this.. and I see some olds entries.. bye

Texilee

#1 lore raw
Quoted 8 lines

Hi all.

My question..

through a web interface a client press a button that add an iptables prerouting entry.
Can I set a rule to delete the previous rule when he is idle for a few time (10-15 min) or not more connected?

-m expire
(it's in development)

Cheers,
Jan Engelhardt

Signature · 2 lines
| Gesellschaft fuer Wissenschaftliche Datenverarbeitung Goettingen,
| Am Fassberg, 37077 Goettingen, www.gwdg.de