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

as-set parse problem #73

Open
dirtycache opened this issue Nov 2, 2021 · 0 comments
Open

as-set parse problem #73

dirtycache opened this issue Nov 2, 2021 · 0 comments

Comments

@dirtycache
Copy link

Given the following in irrdb.conf:

# Example:
# ASN           IRR Object (AS-SET/AUT-NUM)           Update Email

#42              AS-PCH                                [email protected]
#6939            AS-HURRICANE                          none
#11670           AS-TORIX                              [email protected]
#393424          AS393424                              [email protected]

16970           AS16970:AS-MIDNET-ALL                   [email protected]

irrpt_fetch returns a warning, ostensibly because it expects a "top level" as-set (AS-HURRICANE) versus one nested into an aut-num, like AS16970:AS-MIDNET

[eng@westie irrpt]$ bin/irrpt_fetch -v
Reading irrdbConf array list for ASNs, Objects, Email
Processing AS16970 [AS16970:AS-MIDNET-ALL] (Record 1)
   - Parsed IRR Object AS16970:AS-MIDNET-ALL
   - Fetching v4 routes.
   * WARNING: Query (!gAS16970:AS-MIDNET-ALL) failed: Invalid AS number AS16970:AS-MIDNET-ALL: number part is not numeric

But it does appear to work:

   - Filtering against excluded routes.
   - Writing routes to local database.
   - Aggregating v4 routes.
   - Aggregating routes - sorting...
   - Aggregating routes - eliminating overlapping prefixes...
   - Removing 23.169.240.0/24, fits into: 23.169.240.0/22
   - Removing 23.169.241.0/24, fits into: 23.169.240.0/22
   - Removing 23.169.242.0/24, fits into: 23.169.240.0/22
   - Removing 23.169.243.0/24, fits into: 23.169.240.0/22
   - Aggregating routes - aggregating neighboring prefixes...
   * WARNING: Aggregating 23.169.244.0/24 and 23.169.245.0/24 into 23.169.244.0/23
   - Fetching v6 routes.
   * WARNING: Query (!6AS16970:AS-MIDNET-ALL) failed: Invalid AS number AS16970:AS-MIDNET-ALL: number part is not numeric
   - Filtering against excluded routes.
   - Writing routes to local database.
   - Aggregating v6 routes.
   - Aggregating routes - sorting...
   - Aggregating routes - eliminating overlapping prefixes...
   - Removing 2602:0800:1005:0000:0000:0000:0000:0000/48, fits into: 2602:0800:1000:0000:0000:0000:0000:0000/44
   - Aggregating routes - aggregating neighboring prefixes...
   - Writing ASN list to local database.
Completed processing of 1 IRR object(s).

Thanks!

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

No branches or pull requests

1 participant