Skip to content

readIPs: [] restricts IPv6 #4997

@dotysan

Description

@dotysan

Which version are you using?

v1.14.0

Which operating system are you using?

Linux amd64 Docker

Describe how to replicate the issue

As found by @mpalmerlee, this config setting only allows IPv4 connections. Shouldn't it allow all?

Same DESCRIBE over IPv4 generates RTSP/1.0 200 OK but when using IPv6:

RTSP/1.0 401 Unauthorized
CSeq: 0
Server: gortsplib
WWW-Authenticate: Basic realm="ipcam"

readIPs: [] # Allows only IPv4 as we found out
readIPs: ["0.0.0.0/0", "::/0"] # Allow both IPv4 and IPv6 (or remove readIPs entirely)

Server logs

No response

Network dump

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions