Henrik Nordstrom | c279413 | 2004-01-22 15:04:24 +0000 | [diff] [blame] | 1 | This is used to modify the IPv4 TTL header field. The TTL field determines |
| 2 | how many hops (routers) a packet can traverse until it's time to live is |
| 3 | exceeded. |
Jan Engelhardt | aeafdb8 | 2008-08-12 11:42:04 +0200 | [diff] [blame] | 4 | .PP |
Henrik Nordstrom | c279413 | 2004-01-22 15:04:24 +0000 | [diff] [blame] | 5 | Setting or incrementing the TTL field can potentially be very dangerous, |
Jan Engelhardt | 37f6d57 | 2011-02-20 17:15:14 +0100 | [diff] [blame] | 6 | so it should be avoided at any cost. This target is only valid in |
Henrik Nordstrom | c279413 | 2004-01-22 15:04:24 +0000 | [diff] [blame] | 7 | .B mangle |
| 8 | table. |
Jan Engelhardt | 37f6d57 | 2011-02-20 17:15:14 +0100 | [diff] [blame] | 9 | .PP |
| 10 | .B Don't ever set or increment the value on packets that leave your local network! |
Henrik Nordstrom | c279413 | 2004-01-22 15:04:24 +0000 | [diff] [blame] | 11 | .TP |
Jan Engelhardt | fea74bf | 2009-01-12 04:53:18 +0100 | [diff] [blame] | 12 | \fB\-\-ttl\-set\fP \fIvalue\fP |
Henrik Nordstrom | c279413 | 2004-01-22 15:04:24 +0000 | [diff] [blame] | 13 | Set the TTL value to `value'. |
| 14 | .TP |
Jan Engelhardt | fea74bf | 2009-01-12 04:53:18 +0100 | [diff] [blame] | 15 | \fB\-\-ttl\-dec\fP \fIvalue\fP |
Henrik Nordstrom | c279413 | 2004-01-22 15:04:24 +0000 | [diff] [blame] | 16 | Decrement the TTL value `value' times. |
| 17 | .TP |
Jan Engelhardt | fea74bf | 2009-01-12 04:53:18 +0100 | [diff] [blame] | 18 | \fB\-\-ttl\-inc\fP \fIvalue\fP |
Henrik Nordstrom | c279413 | 2004-01-22 15:04:24 +0000 | [diff] [blame] | 19 | Increment the TTL value `value' times. |