Skip to content

Vestigal support for UNIX sockets? #118

Open
@RoganDawes

Description

@RoganDawes

It seems that there was a plan to support UNIX sockets at some point, since there is a definition in proto/controlmsg.go. Unfortunately, there is no support in the client (it reports "invalid protocol"), and if I add client support for the protocol in cmd/tunnel/config.go, I end up crashing the server binary and disconnecting all the other clients! I guess this is because there is no : in the remote_addr field, and it tries to substring from a negative index or some such.

Is there any information on how this was intended to be used? Was there ever proper support for UNIX sockets?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions