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

Closed Port connections have very high timeout #5153

Closed
tarunKoyalwar opened this issue May 6, 2024 · 0 comments · Fixed by #5148
Closed

Closed Port connections have very high timeout #5153

tarunKoyalwar opened this issue May 6, 2024 · 0 comments · Fixed by #5148
Assignees
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Milestone

Comments

@tarunKoyalwar
Copy link
Member

Nuclei version:

dev | latest

Current Behavior:

$  cmdutil nuclei -u https://hackerone.com -t /Users/tarun/nuclei-templates/network/misconfig/tidb-unauth.yaml -v -iv 4  

                     __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v3.2.6

		projectdiscovery.io

[VER] Started metrics server at localhost:9092
[INF] Current nuclei version: v3.2.6 (latest)
[INF] Current nuclei-templates version: v9.8.5 (latest)
[WRN] Scan results upload to cloud is disabled.
[INF] New templates added in latest release: 142
[INF] Templates loaded for current scan: 1
[INF] Executing 1 signed templates from projectdiscovery/nuclei-templates
[INF] Targets loaded for current scan: 1
[WRN] [tidb-unauth] Could not make network request for (hackerone.com:4000) : could not connect to server: [:RUNTIME] ztls fallback failed <- dial tcp [2606:4700:4400::ac40:972a]:4000: i/o timeout
[INF] No results found. Better luck next time!

------------------------------
Command: nuclei -u https://hackerone.com -t /Users/tarun/nuclei-templates/network/misconfig/tidb-unauth.yaml -v -iv 4
Max RSS: 62 MB
Sys Time: 132.492µs
User Time: 103.189µs
Actual Time: 1m21.284629416s
Voluntary Context Switch (nvcsw): 207

Expected Behavior:

  • it looks like in network templates when connecting to ports that are closed or reading from them we have a timeout of 1m20 sec which is too long , it should ideally be less than < 30 sec ( i.e 3 x multiplier of -timeout flag)

Steps To Reproduce:

Anything else:

@tarunKoyalwar tarunKoyalwar added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label May 6, 2024
@ehsandeep ehsandeep added this to the nuclei v3.2.8 milestone May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants