IMQ question

Ciprian Niculescu
2002-05-05T17:02:04Z

whitch is the logic in this peace of code

iptables -t mangle -A PREROUTING -j IMQ
iptables -t mangle -A PREROUTING -s 1.2.3.4 -j MARK --set-mark 1

and in the imq0 i have a class that handle the pachets marked with 1

this works, the question is why?

beacouse i understand that:
the pachet first enter the IMQ table, and in the queue, after that he
exit and continue with the next rule in the PREROUTING, witch is the
mark.

i must got it wrong


C