Skip to content

Fix source port range size warning#891

Merged
phillip-stephens merged 1 commit intozmap:mainfrom
Murgeye:main
Jul 16, 2024
Merged

Fix source port range size warning#891
phillip-stephens merged 1 commit intozmap:mainfrom
Murgeye:main

Conversation

@Murgeye
Copy link
Contributor

@Murgeye Murgeye commented Jul 16, 2024

Currently, when giving any source port range (larger than a single port), zmap will return the message:

E.g.:

# zmap -p 443 -P 5 -s 50000-60000
[...]
[WARN] zmap: ZMap is configured to use a relatively small number of source ports (fewer than 10x the number of probe packets per target ip/port), which limits the entropy that ZMap has available for  validating responses. We recommend that you use a larger port range.

This is due to the inequality sign being flipped. Also see #736.

@zakird zakird requested a review from phillip-stephens July 16, 2024 14:39
Copy link
Contributor

@phillip-stephens phillip-stephens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for this fix @Murgeye!!

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

Successfully merging this pull request may close these issues.

2 participants