Open postmodern opened 2 years ago
Steps to recreate:
ronin netcat -v --tcp -l 9001
ronin netcat -v --tcp --source 127.0.0.1 --source-port 9001
ronin netcat: host argument required
Replacing step 2 with ronin netcat -v --tcp 127.0.0.1 9001
works (using HOST PORT
params instead of --source
and --source-port
options).
Reported upstream to try to figure out how to specify the bind-port and bind-address of a remote connection. https://github.com/socketry/async-io/issues/59
Need to figure out how to get
Async::IO::Endpoint.tcp
to bind to the source host/port before connecting to the remote host/port.