how to match TTL?

Linux Advanced Routing and Traffic Control

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

 



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!

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