[LARTC] IMQ question

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux