Skip to content
Commit Detail

Commit 721692f

Author
Rachel Chen <rachel@chens.email> 2022-08-13 18:47:09 -0700
Parents
dec2570
Tree
493c3a2
cmd/client: support for connecting TCP target

This commit introduces support for one-off or listener mode to connect
to tunneled target from the specter client. Some changes to the gateway
had to be made because of quic's EarlyConnection where the stream is not
established despite using .OpenStreamSync(). Therefore, the client needs
to poke the gateway.

Other changes in this commit:
util: move GetOutboundIP to util package
tun/client: call .Sync() before closing the config file

Files changed

13 files changed+3 added~10 modified