rpsl and bird

Arnold Nipper arnold.nipper at de-cix.net
Mon Apr 25 05:33:45 UTC 2011


on 24.04.2011 11:54 Matthew Walster wrote:
> On 24 April 2011 06:55, Randy Bush <randy at psg.com> wrote:
>>>> wouldn't just iterating over the ASNs in an AS-SET and doing "whois
>>>> $asn -i origin", greping for route:/route6: and doing some field
>>>> cutting get you enough to make a meaningful start?
>>> man peval
>>
>> oh.  and you forgot that you need to do the transitive closure of the
>> as-set.  i.e. the customer asns of the asns in the as-set and so on down
>> the tree.
> 
> Sure - before I knew about peval, I used a bash script that did just that:
> 
> https://github.com/dotwaffle/filterlist/blob/master/filter.sh
> 

Doesn't do

 whois -h whois.radb.net !i,$as-set,1

the trick? Same if you want to lookup the prefixes, which can be done via

 whois -h whois.radb.net !g,$asn


Arnold
-- 
Arnold Nipper                       e-mail: arnold.nipper at de-cix.net
DE-CIX Management GmbH              mobile: +49 152 5371 7690
Lichtstr. 43i, 50825 Koeln          phone:  +49 69 1730 902 22
Geschaeftsfuehrer Harald A. Summa   fax:    +49 69 4056 2716
Registergericht AG Koeln HRB 51135  http://www.de-cix.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://lists.isc.org/pipermail/irrtoolset/attachments/20110425/6a008f78/attachment.bin>


More information about the irrtoolset mailing list