From: mahhy <mahhy@undertow.ca>
To: lartc@vger.kernel.org
Subject: [LARTC] TC bug? Mixing u32 and FW filters.
Date: Wed, 24 Jul 2002 12:11:09 +0000 [thread overview]
Message-ID: <marc-lartc-102751277415861@msgid-missing> (raw)
I've noticed some strange behaivour in tc and can't seem to find a
definate "this is a bug" or "this is not a bug". Figured I'd ask the list.
I'm using HTB2 and HTB3, on different machines. This happened on both of
them.
I've created a few different classes and quite a few filters. All of my
filters were previously u32 filters. (wont bother posting the exact
script, its fairly long, works on 3 separate interfaces, etc)
I started to mark FTP packets using iptables (trying for both active and
passive ftp), which seems to work fine.
When I added a FW filter:
/sbin/tc filter add dev eth1 protocol ip parent 1: prio 1 handle 5 fw
classid 1:24
I got the infamous:
RTNETLINK answers: Invalid argument
After a few hours of experimentation, I realized that if I changed the
filters PRIO to something not used by one of the u32 filters, all went
well. i.e.:
/sbin/tc filter add dev eth1 protocol ip parent 1: prio 5 handle 5 fw
classid 1:24
Has anyone seen this before? Anyone know if it is definately a bug or not?
Or is it something very strange specific to my setup?
--
Rob Rankin
mahhy@undertow.ca
http://undertow.ca
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
reply other threads:[~2002-07-24 12:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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-102751277415861@msgid-missing \
--to=mahhy@undertow.ca \
--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.