bitwise operation in filters

Ondrej Filip feela at
Fri Feb 28 16:51:55 CET 2014

On 28.2.2014 13:27, Daniel Wendler wrote:
> Hello List,
> at the moment we try to implement an fine granulary filter mechanism in our Bird 
> OSPF setup. We ask ourselfes if anyone has implementet bitwise operations in 
> Bird filters which is not in official code.
> If not, are there any plans to implement such an feature in Bird filters or 
> should we try it to implement on our own and contribute this to the mailing 
> list?

This shouldn't be complicated to implement. Just let us know what
kinds of operations you need and we will look at it. The most
problematic part will be to choose appropriate syntax. :-)


> For better understanding i include an example:
> We use the ospf_tag attribute as an group identifier. at the moment we have 4 
> groups. There are routers which could belong to more than one group.
> So we would like to combine the groups in any way. The most efficient way to 
> reach this is an bitwise operation. 

More information about the Bird-users mailing list