useing mangle to mark packets

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

 



Hello,

I use Linux with  iptables as Router.

I want to mark several Packets which are coming from my Clients in my Network and where the destination
ist the internet.


so I set following rule as example:

iptables -t mangle -o $DEV -A POSTROUTING -p ICMP -j MARK --set-mark 1

Is there a way to check if the packets get marks?

I tryed following:

iptables -A FORWARD -p ICMP -m mark --mark 1 -j LOG --log-prefix "mark " --log-level 6

But it doesnt work.

I want to set up traffice shaping using tc.
So I need to mark packets so I can put them in order.


Thanks Sven












[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