6connect / irrpt

IRR Power Tools
BSD 2-Clause "Simplified" License
84 stars 27 forks source link

irrpt_fetch doesn't process AS-SET from irrdb.conf if AS# specified in CLI #46

Closed nistorj closed 7 years ago

nistorj commented 8 years ago

Hi team,

Thinking the issue may be around the rewrite of the CLI parsing and parsing of irrdb.conf around here: +// check AS parameter if provided +if (isset($_SERVER['argv'][$offset+0])) +{

It seems that if you run ./irrpt_fetch -v <AS#> from the CLI it runs a fetch against just that AS number itself. In version 1.27 it would check it against the irrdb.conf entry and if an AS-SET was specified it would use that AS-SET information instead of just the AS#.

Version 1.27: nistor@base:/usr/local/irrpt.orig/bin# ./irrpt_fetch -v 30176 Processing AS30176 (Record 1) - Querying IRR Object AS30176:AS-CUSTOMERS

Version 2.0: nistor@base:/usr/local/irrpt/bin# ./irrpt_fetch -v 30176 Processing AS30176 (Record 1) - Querying IRR Object AS30176

please fix :)

dominosly commented 8 years ago

Hi Jon Verified this tonight and figured out where the issue is. Will work on the fix tomorrow evening.

-Anna

nistorj commented 7 years ago

Hi Anna, any luck on getting this cleaned up?

nistorj commented 7 years ago

We have a working patch available, some more testing is taking place, if all works out a patch will be committed by end of the weekend.

nistorj commented 7 years ago

Resolved issue.