Skip to contentSkip to conversation

ICMP TTL=255

DISCUSSION Ulrich Weber 2 participants 2 messages Mar 5, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

I don't think that it's iptables fault, but I don't know where to ask else. ICMP Ping ignores the TTL value of net/ipv4/ip_default_ttl and use 255.

All other traffic use the net/ipv4/ip_default_ttl value.

Greets
Ulrich

#1 lore raw
Quoted 1 line · Ulrich Weber

Hi,

Hi Ulrich,

Quoted 2 lines

I don't think that it's iptables fault, but I don't know where to ask else. ICMP Ping ignores the TTL value of net/ipv4/ip_default_ttl and use 255.

if you mean with "ICMP Ping" your /bin/ping, it sets it's own TTL value. ping uses raw-sockets to send it's data, so i can set it's own values. What it likes. Btw: That's the reason why ping has the suid-bit set, only root is allowed to open raw-sockets.

Quoted 1 line

All other traffic use the net/ipv4/ip_default_ttl value.

Since they don't use raw-sockets.

Quoted 2 lines

Greets
Ulrich

Alex.

Signature · 2 lines
"Mr Data, when I said 'Fire at Will', I didn't mean for you to be so literal."
Instructions for use of this post: Insert tounge in cheek. Read as normal.