IPv6 remote access for local lan and auth bypass input parser is broken

Server Version#: plexmediaserver_1.27.1.5916-6b0e31a64_amd64.deb
Player Version#: [n/a]

When attempting to add IPv6 addresses to either the “LAN Networks” or “List of IP addresses and networks that are allowed without auth” configuration options in the server network settings, something is broken in the parser.

The “/” is being stripped from the CIDR portion, resulting in the following errors in the log:

[0x7fa1fa302b38] ERROR - Error parsing allowedNetworks ’ 2000:100:1000:100::56’: Invalid argument
[0x7fa1fa302b38] ERROR - Error parsing allowedNetworks ’ 2000:100:1000:100::64’: Invalid argument
[0x7fa1fa302b38] ERROR - Error parsing allowedNetworks ’ 2000:100:1000:100::0’: Invalid argument
[0x7fa1fa302b38] ERROR - Error parsing allowedNetworks ’ [2000:100:1000:100::]56’: Invalid argument
[0x7fa1fa302b38] ERROR - Error parsing allowedNetworks ’ [2000:100:1000:100::0]': Invalid argument

etc.

IPv4 works fine, but… a lot of us are dual-stack, and happy-eyeballs means the preference is for IPv6… but with it broken this way, i’m always logging in “indirectly” instead of via direct access, and that’s bad for bandwidth and quality.

You have a leading space… OOOPS

[0x7fa1fa302b38] ERROR - Error parsing allowedNetworks ' [2000:100:1000:100::]56': Invalid argument

Silly question – Why is IPv6 faster than IPv4? In all tests I’ve run, the actual throughput is slower (not by much but measurable) because of the extra bytes required for the IPv6 addresses versus the IPv4 addresses.

Do those fields now support IPv6?

I would have said they only support IPv4, and pointed to this feature request:

IPv6 support for "LAN Networks" and "Allowed Networks"

OOPS, I missed that too. Sorry (been a long week)

It’s not implemented.

IPv4 only.

In a nutshell – Plex does not speak native IPv6.

1 Like

I think that putting any entry in those fields also causes Plex to stop treating local IPv6 addresses as local.

Plex IPv6 does work OK for a few client types … as long as you don’t need to change those settings … and manually allow the port through any firewalls …

Apple devices do work well as IPv6 clients. And Web. I don’t think Android does. Roku doesn’t.

Yeah it’s annoying - I know there’s a fair few client applications with old-ish codebases that can’t use IPv6 yet like Steam, Spotify Desktop, Nintendo Switch etc, but at this point Plex must be one the few remaining server applications that don’t do IPv6. With VPS instances increasingly going IPv6-only, this is not making things any easier.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.