Skip to contentSkip to conversation

iptables rules disappearing!!!

LARTC Покотиленко Костик 1 participant 1 message Jan 23, 2007

lore
Share & tools
lore

Покотиленко Костик

#0 lore raw

Hi all.

I have got to see a strange thing. Some of my iptables' rules are disaprearing after several days!!!

I have many rules like:

# iptables -t mangle -A $MYCHAIN -s $SRC_IP -d $DST_IP -j MARK
--set-mark $MARK

for classifying traffic for shaping, total about 100 rules with different 20 marks, and rules like

# iptables -A FORWARD -m mark --mark $MARK

for accounting shaping classes, total 20 rules (for all marks). The are also many other filtering and nat rules.

Some of the mark rules in FORWARD chain are disapearing after several days. How can this happen? Can this happen without user intrusion?

Considering that all those rules are inserted during boot by iptables-restore. I double checked that during ppp up/down rules inserted/removed only in "-t mangle", "-t nat" and "-A USERCHAIN".

System: Debian Sarge, 2.6.8-3-k7, iptables v1.2.11

Signature · 6 lines
Покотиленко Костик <[email protected]>

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc