All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] problem with tc filter
@ 2003-05-05 18:10 miller69
  2003-05-05 18:39 ` Stef Coene
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: miller69 @ 2003-05-05 18:10 UTC (permalink / raw)
  To: lartc

Hi all,

i'm running a linux ethernet bridge with HTB and netfilter support.  For the
firewalling part i mark some special pakets with -j MARK --set-mark 12 or
--setmark 22. After that i use

tc filter add dev eth0 parent 1:0 protocol ip prio 4 handle 12 fw classid
1:12 and
tc filter add dev eth1 parent 2:0 protocol ip prio 4 handle 22 fw classid
2:22

That works very well but at some point of my project i need to switch over
just using one mark (or more exact using just one firewall-rule) for both
filters. So i tried to change the second filter:

tc filter add dev eth0 parent 1:0 protocol ip prio 4 handle 12 fw classid
1:12
tc filter add dev eth1 parent 2:0 protocol ip prio 4 handle 12 fw classid
2:22

That did not work, just the first filter was used but the other never
catched a paket. My question: is there a way to handle this by a mask for the
handle for example? Any hints are very much appreciated!

Thanks in advance,
Mike.


-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-11-23 10:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-05 18:10 [LARTC] problem with tc filter miller69
2003-05-05 18:39 ` Stef Coene
2003-05-05 19:15 ` miller69
2003-05-05 19:20 ` Stef Coene
2003-05-05 21:04 ` miller69
2003-05-06 18:35 ` Stef Coene
2003-05-07  9:39 ` miller69
2003-05-07 16:58 ` Stef Coene
2003-11-23  2:38 ` raz
2003-11-23 10:19 ` Stef Coene

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.