Re: [LARTC] problem with tc filter

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Monday 05 May 2003 20:10, miller69@xxxxxxx wrote:
> > 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!
> Why not doing 
> tc filter add dev eth1 parent 1:0 protocol ip prio 4 handle 12 fw classid
> 2:22
I've tried it and the answer was:
RTNETLINK answers: Invalid argument

So that did not work. Any other ideas? I really need this going!

Thanks,
Mike.

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



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux