Skip to content

ICMP on IPv6 with Addresses doesn't really work #1800

Description

@daniel-baumann

Hi,

IPv6 adresses, unlike IPv4, can have letters (a to f) in them. Currently (5.36.0), it is not really possible to use ICMP with IPv6:

icmp://[2a07:6b44:27:11::ac]
=> gatus starts, but no pings for this endpoint are performed.

icmp://2a07:6b44:27:11::ac
=> gatus refuses to start, interpreting the ac part of the address as a invalid port number

icmp://[2a07:6b44:27:11::21]
=> gatus starts and no pings are performed.

icmp://2a07:6b44:27:11::21
=> gatus starts and pings are performed.

I'm wondering why address handling is a problem, I haven't looked at the code yet, but I would expect that there's a golang module to use that does evertyhing right.

Regards,
Daniel

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions