-
Notifications
You must be signed in to change notification settings - Fork 373
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
Speed improvements and bug fixes #498
Conversation
…d by kwargs passed as exc_info in log record
I like the idea ! very clever for the timeout stuff 💪 |
Thanks mate! |
If a host is up and smbv1 is disabled, I assume it returns an error there and doesnt just timeout? |
Connection reset by peer |
Yep exactly, or |
Description
There are several bug fixes and improvements that have been done:
-u ''
Improvement to scanning speed
We always tried smbv1 and smbv3 when scanning a subnet. In #317 i removed an unnecessary step where we would always try smbv1 against a host where we already know it's gonna be smbv3. With this change we now also don't try smbv3 when the connection for smbv1 times out, as the host is not responding -> it is likely down. This reduces time to scan per subnet from ~5s down to ~3s -> nearly 40% speed improvement for subnet scanning 🎉
Fixing duplicate logging message
Before&After: