All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Proper filter syntax for matching Netfilter packet marks
Date: Thu, 25 Sep 2003 09:07:18 +0000	[thread overview]
Message-ID: <marc-lartc-106448094416379@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106445619630626@msgid-missing>

On Thursday 25 September 2003 04:14, Lance Dryden wrote:
> Howdy.  Sorry if I make a mistake; this is my first list posting.
>
> I'm running into ... somewhat conflicting and incomplete documentation
> when working out what exactly I'm to do in order to tc-filter match
> against packet MARKs set by NetFilter.
>
> The syntax I'm trying looks like this:
>    tc filter add dev eth1 \
>    protocol ip \
>    parent 1:0 \
>    prio 1 \
>    handle 0x66 \
>    fw classid 1:102
>
> But it apparently isn't working right; this is the only filter in an
> egress HTB queue discipline, and all my traffic goes through the default
> class instead of my special class.  This is as per "tc -s -d class show
> ..."
Can you check your iptables ruls so you are sure the mark gets placed?

Stef

-- 
stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  reply	other threads:[~2003-09-25  9:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-25  2:14 [LARTC] Proper filter syntax for matching Netfilter packet marks Lance Dryden
2003-09-25  9:07 ` Stef Coene [this message]
2003-09-25  9:21 ` jeremie le-hen

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=marc-lartc-106448094416379@msgid-missing \
    --to=stef.coene@docum.org \
    --cc=lartc@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.