Skip to content

default timeout on UDP scanning can make scan hang very long #20

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

Open
chux0r opened this issue Mar 25, 2024 · 3 comments
Open

default timeout on UDP scanning can make scan hang very long #20

chux0r opened this issue Mar 25, 2024 · 3 comments
Labels
bug Something isn't working mvp A minimum requirement to have a viable product

Comments

@chux0r
Copy link
Owner

chux0r commented Mar 25, 2024

Testing on updates for v0.43 reminded that udp scan will hang there for way too long (killed after 1 min, 4 ports out of "udp_short" default complete).

  • Do more testing on UDP scan to document default timeout and how long scans take, baseline on scanme.org
  • Set a more reasonable default timeout for UDP scanning
    • If the operater wants accuracy, do they have to let everything wait until they timeout? Or is there a threashold where anyone may reasonably assume the thing ain't going to respond? Answer this
@chux0r chux0r self-assigned this Mar 25, 2024
@chux0r chux0r converted this from a draft issue Mar 25, 2024
@chux0r chux0r added the bug Something isn't working label Mar 25, 2024
@chux0r chux0r moved this from In Progress to Todo in Netbang advanced features Mar 25, 2024
@chux0r
Copy link
Owner Author

chux0r commented Mar 25, 2024

See also #24 - timeout flag may not work at all

@chux0r chux0r added the mvp A minimum requirement to have a viable product label Mar 29, 2024
@chux0r
Copy link
Owner Author

chux0r commented Mar 29, 2024

fixed #24, but this issue still persists.

mongoose@thoughtcrime:~/workbench/dev/golang/netbang$ ./netbang -proto udp -p "161" -t 500 scanme.org

Bang target: [scanme.org], Portcount: [1]
=====================================================
UDP portbangers unleashed...^C

@chux0r chux0r removed their assignment Mar 29, 2024
@chux0r
Copy link
Owner Author

chux0r commented Apr 8, 2024

UDP scans need root? Just noticed they do in nmap... hmmm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mvp A minimum requirement to have a viable product
Projects
Status: Backlog
Development

No branches or pull requests

1 participant