<ERR> filters, line 1: Missing AS_PATH attribute

ushiroz at ate-mahoroba.jp ushiroz at ate-mahoroba.jp
Fri May 23 03:30:54 CEST 2025


Jana, thank you for your prompt response.

We’re not yet sure which specific route is triggering the error, but we suspect it may be related to kernel routes.

We’ll look into identifying the route causing the issue and consider adding a check to determine whether bgp_path is present.



On Thu, 22 May 2025 13:57:27 +0200
Jana Babovakova via Bird-users <bird-users at network.cz> wrote:

> Hi.
> 
> For this situation we may have more solutions.
> 
> You can do the check only on routes that have bgp_path defined.
> 
> You can add:
> 
>  ??? if defined (bgp_path)...
> 
> It also seems, that you are using this in an export filter. It might be more useful to use this in a BGP import filter. In that case every route will have bgp_path defined.
> 
> I hope this helps.
> Happy routing,
> Jana
> 
> Jana Babovakova (she/her) | BIRD Tech Support | CZ.NIC, z.s.p.o.
> 
> On 22. 05. 25 3:41, ushiroz at ate-mahoroba.jp wrote:
> > Hi,
> >
> > In our BIRD 2.14 we’re running roa_check like this:
> >
> >    if (net.type = NET_IP4) then {
> >      case roa_check(r4, net, bgp_path.last) {
> >
> > However, the BIRD logs show the following error:
> >
> > <ERR> filters, line 1: Missing AS_PATH attribute
> >
> > would it be advisable to add a check to determine whether the route is a BGP route before proceeding?
> >
> >
> 



More information about the Bird-users mailing list