Re: bgpd roa-set backend

2018-09-17 Thread Claudio Jeker
On Fri, Sep 14, 2018 at 04:59:51PM +0200, Claudio Jeker wrote: > This diff extends the existing trie code for prefix-set to also work with > roa-set. Unlike prefix-set there is no need for a prefixlen mask during > lookup, instead the source-as needs to be checked and also if the > prefixlen of

Re: bgpd roa-set backend

2018-09-14 Thread Claudio Jeker
On Fri, Sep 14, 2018 at 05:27:03PM +0200, Job Snijders wrote: > Dear Claudio, > > On Fri, Sep 14, 2018 at 04:59:51PM +0200, Claudio Jeker wrote: > > This diff extends the existing trie code for prefix-set to also work with > > roa-set. Unlike prefix-set there is no need for a prefixlen mask

Re: bgpd roa-set backend

2018-09-14 Thread Job Snijders
Dear Claudio, On Fri, Sep 14, 2018 at 04:59:51PM +0200, Claudio Jeker wrote: > This diff extends the existing trie code for prefix-set to also work with > roa-set. Unlike prefix-set there is no need for a prefixlen mask during > lookup, instead the source-as needs to be checked and also if the >

bgpd roa-set backend

2018-09-14 Thread Claudio Jeker
This diff extends the existing trie code for prefix-set to also work with roa-set. Unlike prefix-set there is no need for a prefixlen mask during lookup, instead the source-as needs to be checked and also if the prefixlen of the prefix is allowed. The lookup can return 3 states: ROA_UNKNONW: