Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

[Wren:DS #35] Search for Ports 50 at a Time Instead of 1,000 #5

Open
wants to merge 1 commit into
base: sustaining/3.x
Choose a base branch
from

Conversation

Kortanul
Copy link
Member

I am not sure why it was previously necessary to skip over so many ports during a search. Since the RFC caps the port # range to 65,535, the old constant of 1,000 effectively limited the search space that the system would examine to no more than 64 ports (assuming the search started at <= 535).

Now, the search space is up to 1,310 ports.

This mitigates WrenSecurity/wrends#35 for DS 3.0.

I am not sure why it was previously necessary to skip over so many ports during a search. Since the RFC caps the port # range to 65,535, the old constant of 1,000 effectively limited the search space that the system would examine to no more than 64 ports (assuming the search started at <= 535).

Now, the search space is up to 1,310 ports.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants