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

Fix possible ip spoofing while searching for upnp gateway #2

Merged
merged 6 commits into from
Dec 10, 2024

Conversation

tomaszklak
Copy link
Collaborator

@tomaszklak tomaszklak commented Dec 4, 2024

In addition, direct dependencies are shrank and updated, and sync and async implementations are refactored to have less duplication between them.

Commit by commit review might be easier.

@tomaszklak tomaszklak force-pushed the ip-spoofing-in-response branch 5 times, most recently from 6ea6a08 to 4666493 Compare December 5, 2024 10:42
Copy link

@LukasPukenis LukasPukenis left a comment

Choose a reason for hiding this comment

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

+1 The testcases are nice. Left comment about adding a testcase for non-spoofed scenario

src/aio/search.rs Outdated Show resolved Hide resolved
src/common/tests.rs Outdated Show resolved Hide resolved
@tomaszklak tomaszklak force-pushed the ip-spoofing-in-response branch 2 times, most recently from a98baa9 to 13b08bf Compare December 5, 2024 13:12
stalowyjez
stalowyjez previously approved these changes Dec 9, 2024
Copy link

@stalowyjez stalowyjez left a comment

Choose a reason for hiding this comment

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

lgtm, +1

src/search.rs Outdated Show resolved Hide resolved
src/search.rs Outdated Show resolved Hide resolved
src/common/tests.rs Outdated Show resolved Hide resolved
Gateway searching tests extracted out of async only code into a common
test module.
stalowyjez
stalowyjez previously approved these changes Dec 10, 2024
@tomaszklak tomaszklak merged commit 4ade346 into master Dec 10, 2024
8 checks passed
@tomaszklak tomaszklak deleted the ip-spoofing-in-response branch December 10, 2024 11:31
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.

3 participants