Skip to content

x/net/nettest: SupportsIPv6 reports false even IPv6 is enabled #57386

Closed
@cuonglm

Description

@cuonglm

SupportsIPv6 probe the stack by attempting to listen on [::1]:0 to detect if IPv6 was enabled. However, servers may disabled IPv6 on loopback interface (for policies, security reason ...), but still enable for the others.

For IPv6, maybe it's better to use [::]:0 instead.

A better approach is looking for any "UP" interface that we can route ipv4/ipv6 traffic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions