export filter that checks for existance of another route?

Job Snijders job at instituut.net
Tue Sep 2 16:32:24 CEST 2014

On Tue, Sep 02, 2014 at 01:44:59PM +0200, Ondrej Zajicek wrote:
> On Sat, Aug 30, 2014 at 12:13:30AM +1000, Paul J R wrote:
> > Hi All,
> > 
> > First time post, i've been playing with bird for some time, but there is one
> > thing i cant figure out how to do and that is use the existence of a
> > specific route as part of a filter.
> > 
> > for example, if the filter is processing a route to, check if a
> > route to (exact) exists, if so then accept, otherwise reject. Is
> > this something that is possible? or do route filters only have the ability
> > to check against the information thats sent to the filter itself?
> It is not possible, for several reasons filters could only check each
> route independently.

I think it would be a terrific feature that would have lots of
interesting properties in the traffic engineering space or other area's
such as routing security/RPKI.

A small write up on one example is detailed in this thread:


The short version is that some operators feel that today's RPKI
deployment options in terms of local policy are too black/white. It
would be nice if I can reject invalid prefixes as long as there is a
covering valid announcement, if the valid announcement disappears I'd
want to accept invalid announcements if they are from the registered

Kind regards,


More information about the Bird-users mailing list