Skip to contentSkip to conversation

Bitmasks for firewall mark

LARTC Michael T. Babcock 1 participant 1 message Jul 17, 2001

lore
Share & tools
lore
#0 lore raw

Is it possible to use masks in the selection of a firewall mark for a filter?

ipchains --source-port 53 --mark 5
ipchains --source-port 80 --mark 6

Then, filter traffic into a CBQ queue against a mask of '4', which (would) include both rules,
filter certain traffic into a class based on 5 or 6 ...
??

--
Michael T. Babcock

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/