Re: [PATCH v2 0/7] Add MAC authentication support to the Babel protocol

2020-10-29 Thread Ondrej Zajicek
On Wed, Oct 28, 2020 at 02:47:22PM +0100, Toke Høiland-Jørgensen wrote: > Toke Høiland-Jørgensen writes: > > > This series adds MAC authentication support to the Babel protocol as > > specified > > in by the IETF Babel working group in draft-babel-hmac-10: > > > >

Re: bgp_large_community wildcard in conditional

2020-10-29 Thread Ondrej Zajicek
On Thu, Oct 29, 2020 at 10:00:58AM -0400, Brooks Swinnerton wrote: > Hello, > > I was wondering if it's possible to create a conditional that matches on a > wildcard for a part of a BGP large community. For example: > > if ([*, 600, 6939]) ~ bgp_large_community then > reject; Hello Note that

bgp_large_community wildcard in conditional

2020-10-29 Thread Brooks Swinnerton
Hello, I was wondering if it's possible to create a conditional that matches on a wildcard for a part of a BGP large community. For example: if ([*, 600, 6939]) ~ bgp_large_community then reject; This currently results in a syntax error at the position of the comma after the *.

Delete all BGP communities except

2020-10-29 Thread Brooks Swinnerton
Hello, Is it possible to delete all BGP communities from prefixes learned from a specific BGP session except ones that start with a given value? For example something like: if (bgp_path ~ 64496) then { bgp_large_community.delete([(!64496, *, *)]); } I haven't tested this syntax, but I can't

Re: Delete all BGP communities except

2020-10-29 Thread Alexander Zubkov
Hi, As far as I know, it should be possible: https://bird.network.cz/?get_doc=20=bird-5.html#type-set So you probably want something like: bgp_large_community.filter( [ (64496, *, *) ] ); On Thu, Oct 29, 2020 at 5:33 PM Brooks Swinnerton wrote: > > Hi Alexander, > > Yes, I think the example

bgp_large_community wildcard in conditional

2020-10-29 Thread Chriztoffer Hansen
On 29 Oct 2020 15:00, Brooks Swinnerton wrote: > I was wondering if it's possible to create a conditional that matches on > a wildcard for a part of a BGP large community. For example: > > if ([*, 600, 6939]) ~ bgp_large_community then >   reject; > > This currently results in a syntax error at

Re: Delete all BGP communities except

2020-10-29 Thread Brooks Swinnerton
Hi Alexander, Yes, I think the example code that I shared would be present in a filter function. Specifically the question is with respect to filtering out all BGP communities *except* one that starts with a given value. On Thu, Oct 29, 2020 at 11:35 AM Alexander Zubkov wrote: > Hello, > >

Re: Delete all BGP communities except

2020-10-29 Thread Alexander Zubkov
Hello, Take a look at the "filter" function. I think it is what you want. On Thu, Oct 29, 2020 at 3:26 PM Brooks Swinnerton wrote: > > Hello, > > Is it possible to delete all BGP communities from prefixes learned from a > specific BGP session except ones that start with a given value? For