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(ext/node): handle prefix mapping for IPv4-mapped IPv6 addresses #24546

Merged

Conversation

satyarohith
Copy link
Member

Ensure that the prefix is properly adjusted when dealing with IPv4 addresses
mapped to IPv6. This fixes inconsistencies in network range calculations for
mapped addresses.

Closes #24525

…ddresses

Ensure that the prefix is properly adjusted when dealing with IPv4 addresses
mapped to IPv6. This fixes inconsistencies in network range calculations for
mapped addresses.
@satyarohith satyarohith changed the title fix(ext/node): correctly handle prefix mapping for IPv4-mapped IPv6 addresses fix(ext/node): handle prefix mapping for IPv4-mapped IPv6 addresses Jul 12, 2024
@satyarohith satyarohith enabled auto-merge (squash) July 12, 2024 07:04
Copy link
Member

@littledivy littledivy left a comment

Choose a reason for hiding this comment

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

lgtm

@satyarohith satyarohith merged commit 8cbf81c into denoland:main Jul 12, 2024
17 checks passed
dsherret pushed a commit that referenced this pull request Jul 12, 2024
…24546)

Ensure that the prefix is properly adjusted when dealing with IPv4
addresses mapped to IPv6. This fixes inconsistencies in network
range calculations for mapped addresses.

Closes #24525
@satyarohith satyarohith deleted the fix_blocklist_ipv6_to_ipv4_prefix branch July 15, 2024 06:20
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.

called Result::unwrap() on an Err value: InvalidPrefix (BlockList.addSubnet)
2 participants