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

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

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 sprint type-feature A feature request or enhancement 🤖 automerge PR will be merged once it's been approved and all CI passed labels May 17, 2021
Copy link
Member

@gpshead gpshead left a comment

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

@miss-islington
Copy link
Contributor

miss-islington commented May 17, 2021

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

@miss-islington
Copy link
Contributor

miss-islington commented May 17, 2021

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

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

miss-islington commented May 17, 2021

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

@bedevere-bot
Copy link

bedevere-bot commented May 17, 2021

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 <2273100+JamoBox@users.noreply.github.com>
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 <2273100+JamoBox@users.noreply.github.com>
@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
🤖 automerge PR will be merged once it's been approved and all CI passed sprint type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants