From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] iptables mark and u32 filter
Date: Fri, 16 Dec 2005 13:18:37 +0000 [thread overview]
Message-ID: <43A2BEAD.3070708@dsl.pipex.com> (raw)
In-Reply-To: <20051215031427.5f519d4f@babalu.inexo.com.br>
Ethy H. Brito wrote:
> Hi All
>
> I'd like to use an iptables mark together with u32 filter. Something like this, for instance:
>
> tc filter add dev imq0 protocol ip parent 1:0\
> prio 2 handle 55\
> u32 match u8 1 0xff at 0x09 flowid 1:22
>
> (all icmp packets marked with 55 goes to class 1:22)
>
> But I got 'Illegal filter ID' as answer. Is this combination possible?
>
You missed fw - handle 55 fw should match mark 55 but it still may not
work unless alone.
Instead use ... match mark 55 0xffffffff ... (you can get away with less
"f"s for the mask depending on your highest mark value.
Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2005-12-16 13:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-15 5:14 [LARTC] iptables mark and u32 filter Ethy H. Brito
2005-12-16 13:18 ` Andy Furniss [this message]
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=43A2BEAD.3070708@dsl.pipex.com \
--to=andy.furniss@dsl.pipex.com \
--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.