Skip to content

Add ipv6 support #11

@dsluijk

Description

@dsluijk

The problem

py-ipv8 does not seem to support IPv6 for some unknown reason. It also appears to be quite hardcoded into it [1].

Suggested solution

My suggestion is to use a special reserved IPv4 address to indicate that the program should look for the ipv6 address later in the payload, as it will clearly not fit in the currently allocated space for IP address. The benefit of using a reserved ipv4 address for this purpose as opposed to a flag bit is that so the flag bits could be used for other purposes down the line.

Remarks

As everyone gets their own IPv6 address NAT hole puncturing should not be necessary for connecting clients together if they can use IPv6.

Copied from #10

Metadata

Metadata

Assignees

No one assigned

    Labels

    Long termIssues which are not addressed right now, but might be down the roadenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions