add: [apple-ipv4] [apple-ipv6] first generation of the Apple IP range lists - #384
Merged
Merged
Conversation
… lists Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0121gk7vaCXX9bMri7tC9XVd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
First generation of two new lists, plus their README index lines:
apple-ipv4apple-ipv6Produced by
tools/generate-apple-ip-ranges.py(companion PR) from the RIPEstat announced-prefixes API for Apple's two ASNs, AS714 and AS6185.Why the counts are small
They are aggregates, not a loss of coverage. The two ASNs announce 1,616 IPv4 and 498 IPv6 prefixes;
consolidate_networks()collapses them because nearly every IPv4 announcement is a subnet of Apple's17.0.0.0/8:This was re-derived independently with
ipaddress.collapse_addressesand matches exactly.Relationship to the existing
applelistlists/apple/list.json(4 hand-maintained CIDRs, frozen since 2024-10-23) is not modified by this PR. Maintainers may want to consider whether it should now be deprecated in favour of these generated lists.Verification
jsonschema— exit 0 for both liststools/validate_values.py— exit 0; every entry passesip_network(value, strict=True)(no host bits set)jq -Snormalised, no exec bit,versionan int (20260829)🤖 Generated with Claude Code
https://claude.ai/code/session_0121gk7vaCXX9bMri7tC9XVd