Skip to contentSkip to conversation

iptables bidirectional flag support

DISCUSSION VeNoMouS 1 participant 1 message Jan 11, 2005 netfilter

lore
Share & tools
lore

VeNoMouS

author
#0 lore raw

Is iptables going to ever have a birectional flag like in ipchains. Reason im asking this is things like quota patch from PoM would then be able to work on a bidirectional level which would give the effect of a shared data pool for both directions, rather then a byte quota for 1 direction or having to create a new table and 3 rules

IE

iptables -I FORWARD -s x.x.x.x -j QUOTA_TABLE
iptables -I FORWARD -D x.x.x.x -j QUOTA_TABLE

iptables -I QUOTA_TABLE --quota 50000000 -j ACCEPT

say something like that could be done with iptables -I FORWARD -s x.x.x.x -b --quota 50000000 -j ACCEPT you can see how much simpler that would be.