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

[Backport v3.5-branch] net: ipv4: Check localhost for incoming packet #66739

Merged
merged 2 commits into from
Dec 29, 2023

Conversation

zephyrbot
Copy link
Collaborator

@zephyrbot zephyrbot commented Dec 21, 2023

Backport 19392a6~2..19392a6 from #66645.

Fixes #66888

If we receive a packet from non localhost interface, then
drop it if either source or destination address is a localhost
address.

Signed-off-by: Jukka Rissanen <[email protected]>
(cherry picked from commit 6d41e68)
If we receive a packet where the source address is our own
address, then we should drop it.

Signed-off-by: Jukka Rissanen <[email protected]>
(cherry picked from commit 19392a6)
@zephyrbot zephyrbot requested a review from rlubos as a code owner December 21, 2023 08:19
@zephyrbot zephyrbot added the Backport Backport PR and backport failure issues label Dec 21, 2023
@zephyrbot zephyrbot requested a review from ssharks December 21, 2023 08:19
@jukkar jukkar added the DNM This PR should not be merged (Do Not Merge) label Dec 22, 2023
@jukkar
Copy link
Member

jukkar commented Dec 22, 2023

Doing more testing, so added DNM

@jukkar jukkar removed the DNM This PR should not be merged (Do Not Merge) label Dec 22, 2023
@fabiobaltieri fabiobaltieri merged commit f5f896f into v3.5-branch Dec 29, 2023
24 of 25 checks passed
@nashif nashif deleted the backport-66645-to-v3.5-branch branch February 13, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking Backport Backport PR and backport failure issues
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants