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 tc filter add dev eth1 parent 1:0 prio 10 u32 match u8 0x10 0xff at nexthdr+13 protocol tcp flowid 1:11 tc filter add dev eth1 parent 1:0 prio 10 u32 match u8 0x10 0xff at nexthdr+13 flowid 1:11 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
> 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:11This 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/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/