Skip to content

Match rule ranges against the same address family#289

Open
michal-treter-text wants to merge 1 commit into
stripe:masterfrom
michal-treter-text:fix/compare-ranges-against-family
Open

Match rule ranges against the same address family#289
michal-treter-text wants to merge 1 commit into
stripe:masterfrom
michal-treter-text:fix/compare-ranges-against-family

Conversation

@michal-treter-text

Copy link
Copy Markdown

Guard addrIsInRuleRange so an IPv4-mapped IPv6 range (e.g. "::ffff:0:0/96") no longer collapses to "0.0.0.0/0" and match every IPv4 address. Add a test covering this case along with basic match and port matching.

Guard addrIsInRuleRange so an IPv4-mapped IPv6 range (e.g. "::ffff:0:0/96")
no longer collapses to "0.0.0.0/0" and match every IPv4 address. Add a test
covering this case along with basic match and port matching.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cla-assistant

cla-assistant Bot commented Jun 10, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

1 participant