pufferffish / wireproxy

Wireguard client that exposes itself as a socks5 proxy
ISC License
4.38k stars 252 forks source link

Stdio tunnel #70

Closed kubrickfr closed 1 year ago

kubrickfr commented 1 year ago

Allows wireproxy to be used directly as a ProxyCommand in openssh.

kubrickfr commented 1 year ago

Please consider this WIP, this is only "kind of working" and I'm getting some errors such as "Bad packet length 1900021094."

kubrickfr commented 1 year ago

This should now be fixed in 6050dc9 The issue was happening when -s was not specified and Wireguard was beeing chatty.

pufferffish commented 1 year ago

Ooh this is a very interesting use case thanks for the PR, I'll merge once I've written some test case for it.

Also can you format your code so it'd pass the linter? Thanks.

kubrickfr commented 1 year ago

This time I checked locally that the linter was happy :)