-
Notifications
You must be signed in to change notification settings - Fork 549
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
ocasionally panic when running host discovery concurrently #1125
Comments
Still the same for me. @RamanaReddy0M Can you also try to reproduce this, please? Thanks! |
@iuliu8899 Can you provide the specific error message that appears when you attempt to use the |
|
@iuliu8899 I've pushed a brand called |
|
same problem here:
|
@dogancanbakir snippet to reproduce the issue:
To address this, I implemented a quick fix that introduces a retry mechanism when acquiring the listener handler. This change mitigates the issue by ensuring the handler is properly acquired before proceeding with the scan: |
@b0bleet Still, can't repro the issue. This is the output: $ go run .
[INF] Running CONNECT scan with non root privileges
[INF] Running CONNECT scan with non root privileges
[INF] Running CONNECT scan with non root privileges
[INF] Running CONNECT scan with non root privileges
[INF] Running CONNECT scan with non root privileges
[INF] Running CONNECT scan with non root privileges
[INF] Running CONNECT scan with non root privileges
[INF] Running CONNECT scan with non root privileges
[INF] Running CONNECT scan with non root privileges
[INF] Running CONNECT scan with non root privileges
127.0.0.1:5000
127.0.0.1:5000
127.0.0.1:5000
127.0.0.1:5000
127.0.0.1:5000
127.0.0.1:5000
127.0.0.1:5000
127.0.0.1:5000
127.0.0.1:5000
127.0.0.1:5000
[INF] Found 1 ports on host 127.0.0.1 (127.0.0.1)
&{127.0.0.1 127.0.0.1 [5000-0-false] 0}
[INF] Found 1 ports on host 127.0.0.1 (127.0.0.1)
&{127.0.0.1 127.0.0.1 [5000-0-false] 0}
[INF] Found 1 ports on host 127.0.0.1 (127.0.0.1)
&{127.0.0.1 127.0.0.1 [5000-0-false] 0}
[INF] Found 1 ports on host 127.0.0.1 (127.0.0.1)
&{127.0.0.1 127.0.0.1 [5000-0-false] 0}
[INF] Found 1 ports on host 127.0.0.1 (127.0.0.1)
&{127.0.0.1 127.0.0.1 [5000-0-false] 0}
[INF] Found 1 ports on host 127.0.0.1 (127.0.0.1)
&{127.0.0.1 127.0.0.1 [5000-0-false] 0}
[INF] Found 1 ports on host 127.0.0.1 (127.0.0.1)
&{127.0.0.1 127.0.0.1 [5000-0-false] 0}
[INF] Found 1 ports on host 127.0.0.1 (127.0.0.1)
&{127.0.0.1 127.0.0.1 [5000-0-false] 0}
[INF] Found 1 ports on host 127.0.0.1 (127.0.0.1)
&{127.0.0.1 127.0.0.1 [5000-0-false] 0}
[INF] Found 1 ports on host 127.0.0.1 (127.0.0.1)
&{127.0.0.1 127.0.0.1 [5000-0-false] 0} |
@dogancanbakir could u please try that with root priviledge? (Only priviledged user can send syn packet) I can run this snippet properly with user but not root. |
@dogancanbakir you should try with root privilege |
Thanks, I reproduced the issue. Just to let you know, it works when running in sequence. I'll further investigate it |
I fixed in the following commit, you can check that: |
This is fixed in #1233. |
Naabu version: v2.3.1
Current Behavior:
Expected Behavior:
Steps To Reproduce:
Anything else:
easily reproduce it by using a larger cidr address
The text was updated successfully, but these errors were encountered: