blob: cf3d1a25c06834a8b07c0301b9125e5193874216 [file] [log] [blame]
Henrik Nordstromc2794132004-01-22 15:04:24 +00001This is used to modify the IPv4 TTL header field. The TTL field determines
2how many hops (routers) a packet can traverse until it's time to live is
3exceeded.
Jan Engelhardtaeafdb82008-08-12 11:42:04 +02004.PP
Henrik Nordstromc2794132004-01-22 15:04:24 +00005Setting or incrementing the TTL field can potentially be very dangerous,
Jan Engelhardt37f6d572011-02-20 17:15:14 +01006so it should be avoided at any cost. This target is only valid in
Henrik Nordstromc2794132004-01-22 15:04:24 +00007.B mangle
8table.
Jan Engelhardt37f6d572011-02-20 17:15:14 +01009.PP
10.B Don't ever set or increment the value on packets that leave your local network!
Henrik Nordstromc2794132004-01-22 15:04:24 +000011.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +010012\fB\-\-ttl\-set\fP \fIvalue\fP
Henrik Nordstromc2794132004-01-22 15:04:24 +000013Set the TTL value to `value'.
14.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +010015\fB\-\-ttl\-dec\fP \fIvalue\fP
Henrik Nordstromc2794132004-01-22 15:04:24 +000016Decrement the TTL value `value' times.
17.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +010018\fB\-\-ttl\-inc\fP \fIvalue\fP
Henrik Nordstromc2794132004-01-22 15:04:24 +000019Increment the TTL value `value' times.