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

Add port number to "giving up on port" warning #1889

Open
djcater opened this issue Jan 12, 2020 · 0 comments
Open

Add port number to "giving up on port" warning #1889

djcater opened this issue Jan 12, 2020 · 0 comments

Comments

@djcater
Copy link

@djcater djcater commented Jan 12, 2020

Sometimes you see this message in Nmap output:

Warning: xxx.xxx.xxx.xxx giving up on port because retransmission cap hit (10).

It would be nice to add the port number here as well, in case you want to manually investigate that host and port after the scan has finished.

Something like:

Warning: xxx.xxx.xxx.xxx giving up on port 12345/tcp because retransmission cap hit (10).

The code is in scan_engine.cc:

            log_write(LOG_PLAIN, "Warning: %s giving up on port because"
                      " retransmission cap hit (%d).\n", host->target->targetipstr(),
                      probe->tryno);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.