Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--source and --source-port options do not do anything in the ronin netcat command #119

Open
postmodern opened this issue Oct 7, 2022 · 2 comments
Labels
async Async gems bug Bug Report help-wanted Extra attention is needed upstream Upstream issue
Milestone

Comments

@postmodern
Copy link
Member

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.

@postmodern postmodern added bug Bug Report help-wanted Extra attention is needed labels Oct 7, 2022
@postmodern postmodern added this to the 2.0.0 milestone Oct 7, 2022
@postmodern postmodern added the async Async gems label Oct 7, 2022
@inkyvoxel
Copy link

Steps to recreate:

  1. Set up a listener: ronin netcat -v --tcp -l 9001
  2. Open a new terminal, connect with: ronin netcat -v --tcp --source 127.0.0.1 --source-port 9001
  3. Error: 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).

@postmodern
Copy link
Member Author

Reported upstream to try to figure out how to specify the bind-port and bind-address of a remote connection.
socketry/async-io#59

@postmodern postmodern added the upstream Upstream issue label Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
async Async gems bug Bug Report help-wanted Extra attention is needed upstream Upstream issue
Projects
None yet
Development

No branches or pull requests

2 participants