Skip to content

ICMP leaves with TTL=1 #72

@SkyperTHC

Description

@SkyperTHC

I'm using the "simple" configuration. WireTap worked for me for years (I'm not new to it)

Recently noticed that ICMP ECHO requests are leaving the EXIT with TTL=1 even when the origin sends them with TTL=64

Origin:

17:19:44.332934 IP (tos 0x0, ttl 64, id 17710, offset 0, flags [DF], proto ICMP (1), length 84)
    172.16.0.2 > 1.1.1.1: ICMP echo request, id 3271, seq 1, length 64

Exit:

18:19:44.335955 IP (tos 0x0, ttl 1, id 26639, offset 0, flags [DF], proto ICMP (1), length 84)
    37.120.167.65 > 1.1.1.1: ICMP echo request, id 44904, seq 1, length 64
  • Expected behaviour here is to see ttl=64.
  • wiretap is running as root.

First HOP router correctly returns with TE:

18:19:44.338129 IP (tos 0x0, ttl 255, id 0, offset 0, flags [none], proto ICMP (1), length 56)
    37.120.164.2 > 37.120.167.65: ICMP time exceeded in-transit, length 36
        IP (tos 0x0, ttl 1, id 26639, offset 0, flags [DF], proto ICMP (1), length 84)
    37.120.167.65 > 1.1.1.1: ICMP echo request, id 44904, seq 1, length 64

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions