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

Suggestions for automatic adjustment of max-rate #757

Open
xxsliberty opened this issue Jan 12, 2024 · 1 comment
Open

Suggestions for automatic adjustment of max-rate #757

xxsliberty opened this issue Jan 12, 2024 · 1 comment

Comments

@xxsliberty
Copy link

It would be good if the max-rate could be adjusted automatically, because the rate has a great influence on the accuracy of the result due to different environments. Or there can be a method for calculating this max-rate, which can be used as a reference for users to adjust

@mzpqnxow
Copy link
Contributor

It would be good if the max-rate could be adjusted automatically, because the rate has a great influence on the accuracy of the result due to different environments. Or there can be a method for calculating this max-rate, which can be used as a reference for users to adjust

This is best implemented outside of masscan, as a script

Recommended approach:

  1. Scan with very conservative rate, count results
  2. Increase rate, measure results
    A. Is result count substantially less? Best rate is previous value (or between previous and current)
    B. Is result count roughly the same? Go to step 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants