mmatczuk / go-http-tunnel

Fast and secure tunnels over HTTP/2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vestigal support for UNIX sockets?

RoganDawes opened this issue · comments

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?