Skip to content

bpo-33433 Fix private address checking for IPv4 mapped IPv6. #26172

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

Merged
merged 4 commits into from
May 17, 2021

Conversation

JamoBox
Copy link
Contributor

@JamoBox JamoBox commented May 16, 2021

For IPv4 mapped IPv6 addresses, defer privacy check to the mapped IPv4 address. Solves bug where public mapped IPv4 addresses are considered private by the IPv6 check.

https://bugs.python.org/issue33433

Automerge-Triggered-By: GH:gpshead

@gpshead gpshead added needs backport to 3.10 only security fixes sprint type-feature A feature request or enhancement 🤖 automerge labels May 17, 2021
Copy link
Member

@gpshead gpshead left a comment

Choose a reason for hiding this comment

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

I made some wording updates to the docstring and news entry.

@miss-islington
Copy link
Contributor

@JamoBox: Status check is done, and it's a failure ❌ .

@miss-islington
Copy link
Contributor

@JamoBox: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 83f0f8d into python:main May 17, 2021
@miss-islington
Copy link
Contributor

Thanks @JamoBox for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-26189 is a backport of this pull request to the 3.10 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 17, 2021
…H-26172)

For IPv4 mapped IPv6 addresses, defer privacy check to the mapped IPv4 address. Solves bug where public mapped IPv4 addresses are considered private by the IPv6 check.

Automerge-Triggered-By: GH:gpshead
(cherry picked from commit 83f0f8d)

Co-authored-by: Pete Wicken <[email protected]>
miss-islington added a commit that referenced this pull request May 17, 2021
For IPv4 mapped IPv6 addresses, defer privacy check to the mapped IPv4 address. Solves bug where public mapped IPv4 addresses are considered private by the IPv6 check.

Automerge-Triggered-By: GH:gpshead
(cherry picked from commit 83f0f8d)

Co-authored-by: Pete Wicken <[email protected]>
@JamoBox
Copy link
Contributor Author

JamoBox commented May 19, 2021

Thanks Gregory!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sprint type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants