Re: IMQ and marking

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

 



In a post in a forum I see this:
iptables -t mangle -A PREROUTING -m owner --pid-owner <PID of process> - -j MARK --set-mark 2
iptables -t mangle -A PREROUTING -j IMQ --todev 0

the second rule is used? so, rule matching in mangle table is not blocking?

Fabio
Hi!
I'm studying how to introduce traffic shaping in a linux router (debian). I mark packets in prerouting using mac source to forward packets on a selected WAN interface. I need to use mangle in PREROUTING to send packects (in input) to a imqX interface.
Is there a conflict between mark and IMQ?
If so, how it can be solved?

Thanks in advance,
Fabio Marcone
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux