rpsl and bird

Matthew Walster matthew at walster.org
Sun Apr 24 09:54:58 UTC 2011


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

M



More information about the irrtoolset mailing list