Skip to contentSkip to conversation

Question regarding iptables marks for HTB

LARTC Eduardo Bejar 1 participant 1 message Jul 2, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

Currently I´m using the following iptables rule to mark packets in order to shape traffic:

iptables -A PREROUTING -i eth2 -t mangle -p tcp -s 192.168.1.50/32 -j MARK --set-mark 50

So my question is, is there a limit in the numbers that can be used as marks? And also, can only numbers be used as marks?

How about:

iptables -A PREROUTING -i eth2 -t mangle -p tcp -s 192.168.1.50/32 -j MARK --set-mark 5424

or

iptables -A PREROUTING -i eth2 -t mangle -p tcp -s 192.168.1.50/32 -j MARK --set-mark ABC

Same question for HTB tc rules' class id numbers and handle numbers.

Thanx,

Edo

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