Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Sven Neukirchner <s.neukirchner@konabi.de>
To: netfilter@lists.netfilter.org
Subject: useing mangle to mark packets
Date: Wed, 25 May 2005 09:12:47 +0200	[thread overview]
Message-ID: <4294256F.2060007@konabi.de> (raw)

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












             reply	other threads:[~2005-05-25  7:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-25  7:12 Sven Neukirchner [this message]
2005-05-25 12:41 ` useing mangle to mark packets Jason Opperisano
2005-05-25 18:19   ` Http connections left in FIN_WAIT1 Brian Atkins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4294256F.2060007@konabi.de \
    --to=s.neukirchner@konabi.de \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox