[LARTC] how to match TTL?

Catalin(ux aka Dino) BOIE util@deuroconsult.ro
Tue, 23 Nov 2004 10:07:30 +0200 (EET)


> Hi!
Hi!

> I can't find anywhere correct syntax how to match TTL. All of I found refuse to
> work :(
>
> tc filter add dev eth1 parent 1:0 prio 10 u32 match u8 64 0xff at 8 flowid 1:11
This works.
Can you confirm with a tcpdump that the ttl is the one you expect?

> All I need is to match TTL=64 and TTL=128, of course with iproute :) Any ideas?
>
>
> Kaspars
> Advertisement:
>
> Atrodiet savu celojumu seit!
> http://travel.inbox.lv
>

---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/