All of lore.kernel.org
 help / color / mirror / Atom feed
* useing mangle to mark packets
@ 2005-05-25  7:12 Sven Neukirchner
  2005-05-25 12:41 ` Jason Opperisano
  0 siblings, 1 reply; 3+ messages in thread
From: Sven Neukirchner @ 2005-05-25  7:12 UTC (permalink / raw)
  To: netfilter

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












^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-25 18:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-25  7:12 useing mangle to mark packets Sven Neukirchner
2005-05-25 12:41 ` Jason Opperisano
2005-05-25 18:19   ` Http connections left in FIN_WAIT1 Brian Atkins

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.