[GH-ISSUE #3270] Public Resource Policy - Access Rules = ASN Bug #32418

Open
opened 2026-06-15 09:55:03 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @tmcphee on GitHub (Jun 14, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/3270

Describe the Bug

Unable to save rule when ALL ASNs Value is selected

Environment

  • OS Type & Version: Ubuntu 20.04.6
  • Pangolin Version: 1.19.2
  • Edition (Community or Enterprise): Enterprise
  • Gerbil Version: 1.4.2
  • Traefik Version: 3.7.5

To Reproduce

Method 1
Create a new Public Resource Policy
Enable Rules
Add Rule Action: Block Access , Match Type: ASN , Value: ALL ASNs (ALL)
Click Create Public Resource Policy (Will Not save, No Errors)

Method 2
Create a new Public Resource Policy
Click Create Public Resource Policy (With No alterations)
Go Back to the created policy and click edit
Enable Rules
Add Rule Action: Block Access , Match Type: ASN , Value: ALL ASNs (ALL)
Click Create Public Resource Policy (Will Not save, Has Error)
[Error Invalid Rule: Enter a valid ASN]

Image

Expected Behavior

Allow to add ALL ASNs Value

Originally created by @tmcphee on GitHub (Jun 14, 2026). Original GitHub issue: https://github.com/fosrl/pangolin/issues/3270 ### Describe the Bug Unable to save rule when ALL ASNs Value is selected ### Environment - OS Type & Version: Ubuntu 20.04.6 - Pangolin Version: 1.19.2 - Edition (Community or Enterprise): Enterprise - Gerbil Version: 1.4.2 - Traefik Version: 3.7.5 ### To Reproduce Method 1 Create a new Public Resource Policy Enable Rules Add Rule Action: Block Access , Match Type: ASN , Value: ALL ASNs (ALL) Click Create Public Resource Policy (Will Not save, No Errors) Method 2 Create a new Public Resource Policy Click Create Public Resource Policy (With No alterations) Go Back to the created policy and click edit Enable Rules Add Rule Action: Block Access , Match Type: ASN , Value: ALL ASNs (ALL) Click Create Public Resource Policy (Will Not save, Has Error) [Error Invalid Rule: Enter a valid ASN] <img width="367" height="79" alt="Image" src="https://github.com/user-attachments/assets/916052c4-0ede-4240-8d7d-22b95c7c8d66" /> ### Expected Behavior Allow to add ALL ASNs Value
Author
Owner

@AstralDestiny commented on GitHub (Jun 14, 2026):

What would adding all asn's do minus just doing a 0.0.0.0/0 rule?

<!-- gh-comment-id:4702335552 --> @AstralDestiny commented on GitHub (Jun 14, 2026): What would adding all asn's do minus just doing a 0.0.0.0/0 rule?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#32418