Skip to content

Precheck of different IP stack #130

@Fangliding

Description

@Fangliding

proxy protocol does not allow forward between ipv4 and ipv6, but go-proxyproto may send this in proxyproto v1
this only happen in client v6 → dest v4, but client v4 → dest v6 returned err as expected
because on client v4, it tried to convert dest v6 to v4 and encountered err
but on client v6, it tried to convert dest v4 to v6 and can this "conversion" can work (https://cs.opensource.google/go/go/+/refs/tags/go1.25.1:src/net/ip.go;l=228)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions