From mboxrd@z Thu Jan 1 00:00:00 1970 From: bert hubert Date: Fri, 14 Dec 2001 23:00:18 +0000 Subject: Re: [LARTC] tc: u32 match in nexthdr not working? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Fri, Dec 14, 2001 at 02:59:15PM -0500, Michael T. Babcock wrote: > On Fri, Dec 14, 2001 at 03:54:43PM +0200, Julian Anastasov wrote: > > Didn't tried it but something like this: > > > > F="tc filter add dev eth0 parent 1:0 protocol ip prio 5" > > $F handle 1: u32 divisor 1 > > $F u32 ht 1: match tcp src 22 0xFFFF match ip protocol 6 0xFF match ip firstfrag flowid 1:2 > > $F u32 ht 800:: match u8 0 0 offset at 0 mask 0x0f00 shift 6 link 1: > > Thanks for that example; a few more U32 filter examples in the HOWTO > would be welcome I'm sure ... ;-~ I'm always happy to receive tested examples. That is what takes the most time - I actually try to test everything these days or I need to be *sure* that somebody tested it. In the past a lot of crap was merged which later turned out not to work :-( > Michael T. Babcock > CTO, FibreSpeed Ltd. (Hosting, Security, Consultation, Database, etc) > http://www.fibrespeed.net/~mbabcock/ Oh, I've been exploring how the 'virtual clock' works in the Linux CBQ implementation, it turns out that you can misconfigure it quite badly and still get *statistically* accurate shaping. I'm still figuring out the effects at short timescales of misconfiguring bandwidth. Regards, bert hubert -- http://www.PowerDNS.com Versatile DNS Software & Services Trilab The Technology People Netherlabs BV / Rent-a-Nerd.nl - Nerd Available - 'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/