Skip to content

Detect dual stack environments and show both IPv4 and IPv6 #10

@jamesmacwhite

Description

@jamesmacwhite

Been testing ipMagnet out on my setup. I have a properly configured dual IPv4 and IPv6 (Provided by a tunnel broker service). ipMagnet correctly detects my IPv6, but because PHP defaults to IPv6 if its configured, it only shows the IPv6 address, my IPv4 is never shown.

IPv6 adoption is still very much rolling out, so a lot of torrent traffic will be going over IPv4 still. There aren't exactly hundreds of IPv6 trackers around right now.

As a future enhancement, ipMagnet should potentially do away with using $_SERVER["REMOTE_ADDR"] and instead switch to doing small IPv4 and IPv6 requests to test pages instead, in order to detect dual stack and provide both IPv4 and IPv6 address data.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions