All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rob Sterenborg" <rob@sterenborg.info>
To: netfilter@vger.kernel.org
Subject: RE: verifying set-mark
Date: Sat, 23 Feb 2008 20:23:59 +0100	[thread overview]
Message-ID: <00cb01c87651$a432f290$ec98d7b0$@info> (raw)
In-Reply-To: <25498998.61203790461346.JavaMail.root@tomcat.phantombsd.org>

> Is there a way with tcpdump to verify that the marks are actually
> getting set though?

However, I was under the impression that tc is able to use the flags set by iptables.

Man tc:

tc filters
If  tc  filters are attached to a class, they are consulted first for relevant instructions. Filters can match on all fields of a packet header, as well as on the firewall mark applied by ipchains or iptables.
See tc-filters(8).

Now, I don't seem to have a man page for tc-filters, I can't find it on the internet, nor can I find it in the source (I looked in iproute2-2.6.19-061214), so I'm afraid nobody's got it which makes this a dead end.

There surely must be examples around that show how to work with tc and iptables' mark. Perhaps this will get you going: http://www.szabilinux.hu/bandwidth/index.html


Grts,
Rob



  reply	other threads:[~2008-02-23 19:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-22 20:14 verifying set-mark Casey Scott
2008-02-22 20:44 ` Rob Sterenborg
2008-02-22 20:53   ` Casey Scott
2008-02-22 21:44     ` Matt Zagrabelny
2008-02-22 22:40       ` Casey Scott
2008-02-22 22:49         ` Matt Zagrabelny
2008-02-23 18:14           ` Casey Scott
2008-02-23 19:23             ` Rob Sterenborg [this message]
     [not found] <15675295.211203870881109.JavaMail.root@tomcat.phantombsd.org>
2008-02-24 16:36 ` Casey Scott
2008-02-24 17:30   ` Martijn Lievaart
2008-02-24 17:34     ` Casey Scott

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='00cb01c87651$a432f290$ec98d7b0$@info' \
    --to=rob@sterenborg.info \
    --cc=netfilter@vger.kernel.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 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.