docs: Add GeoIP ASN support (T5746) - #2124
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughSummary by CodeRabbit
WalkthroughIPv4 and IPv6 firewall GeoIP documentation now includes ChangesGeoIP ASN documentation update
Sequence Diagram(s)Not applicable. Estimated code review effort: Low Related issues: None specified Related PRs: None specified Suggested labels: documentation Suggested reviewers: None specified 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Tick the box to add this pull request to the merge queue (same as
|
|
Claude finished @Firefishy's task in 3m 1s —— View job PR Review: Add GeoIP ASN support (T5746)
IssuesNone — all documented CLI paths, ranges, and behavior match the vyos-1x source. Verification against
Note: the workspace's Suggestions (INFO — non-blocking)1. Leading description line still says "geolocation" for both country-code and asn ( The existing sentence 2. Nit in ipv4.md:592 — pre-existing "based on its geolocation" (should be "their" since "IP addresses" is plural). Not touched by this PR; feel free to ignore. 3. Database size / attribution paragraph ( The PR adds a second dataset ( Needs VerificationNone. Stats
|
There was a problem hiding this comment.
Pull request overview
Adds documentation updates to reflect new GeoIP ASN matching support in the VyOS firewall rules syntax (IPv4 and IPv6), aligning the docs with the new CLI capabilities.
Changes:
- Documented
source geoip asnanddestination geoip asnfor IPv4 firewall rules across forward/input/output/name rule contexts. - Documented
source geoip asnanddestination geoip asnfor IPv6 firewall rules across forward/input/output/name rule contexts. - Updated the GeoIP explanatory text to mention ASN matching and the effect of
inverse-match.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| docs/configuration/firewall/ipv4.md | Adds GeoIP ASN cfgcmd entries and updates the GeoIP/inverse-match explanatory text for IPv4. |
| docs/configuration/firewall/ipv6.md | Adds GeoIP ASN cfgcmd entries and updates the GeoIP/inverse-match explanatory text for IPv6. |
| Match IP addresses based on its geolocation. More info: geoip matching. | ||
| Use inverse-match to match anything except the given country-codes. | ||
| Use country-code or asn to match based on geography or origin network. | ||
| Use inverse-match to match anything except the given country-codes or ASNs. |
dmbaturin
left a comment
There was a problem hiding this comment.
Looks good to me, I've just added small styling suggestions.
|
Claude finished @dmbaturin's task in 1m 46s —— View job PR Review: Add GeoIP ASN support (T5746) — post styling commits
IssuesNone blocking. Verification (unchanged from prior review) — the 16 new
Styling suggestions from @dmbaturin have been applied (
Suggestions (INFO — non-blocking, pre-existing)1. 2. Needs VerificationNone. Stats
|
Change Summary
Add documentation for GeoIP ASN firewall support
Related Task(s)
Related PR(s)
vyos/vyos-1x#5155
Backport
Checklist: