[LARTC] IMQ losing marks ??

Linux Advanced Routing and Traffic Control

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

 




I am marking incoming packets this way:

iptables -A PREROUTING -t mangle -i eth0 -j IMQ
iptables -A PREROUTING -t mangle --protocol tcp --destination 443 \
     -j MARK --set-mark 0x10020


On the IMQ device I have a htb queue.

But all the traffic is put in the *default* htb queue, and not in the good
one, it seems like the mark is lost ?


I am using a pretty similar configuration on transmite the output queue of
eth0, and it is working perfectly.

I have try :
  - change the marks, in order to not have interferences of the ones done
    by iptables in the transmit queue.
  - put -i eth0, or -i imq0 in the iptable who marks the packet.

So, the " --set-mark 0x10020" trick is not working in this case ??


-- 

      __o
    _ \<_
   (_)/(_)

Saludos de Julián
EA4ACL
-.-

Foro Wireless Madrid
http://opennetworks.rg3.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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