From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Sun, 07 May 2006 19:27:09 +0000 Subject: Re: [LARTC] How to write a catch all rule? Message-Id: <445E4A0D.1090705@dsl.pipex.com> List-Id: References: <20060430062608.14452.qmail@web38406.mail.mud.yahoo.com> In-Reply-To: <20060430062608.14452.qmail@web38406.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Andreas Unterkircher wrote: > http://mailman.ds9a.nl/pipermail/lartc/2005q3/016774.html tc filter add dev eth0 parent 1:0 protocol all u32 match u32 0 0 flowid 1:1 That will match all. Someone told me once that the difference between it working and not on a large rule set was the explicit inclusion of prio XX. To the OP you may mean all ip (as in the lartc example) - in which case replace the all with ip and give it a higher prio number than the other rules/ put it last. Protocol all will catch arp etc aswell which may not be what you want./ One gotcha is that the highest prio on a filter is 1 so don't use 0 or that filter may be "last". Andy. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc