bird >=2.0.4 Stack underflow and most routes become filtered

Ondrej Zajicek santiago at crfreenet.org
Tue Sep 10 13:57:18 CEST 2019


On Sat, Aug 24, 2019 at 01:22:10AM +0300, Дружок 1 wrote:
> Hi!
> ..
> /var/log/bird.log
> 2019-08-22 15:38:38.604 <ERR> filters, line 1023: Stack underflow
> 2019-08-22 18:02:27.157 <ERR> filters, line 511: Stack underflow
> 2019-08-22 18:02:30.616 <ERR> filters, line 0: Stack underflow....
>
> then I issue test "show route filter myfilter" and get all nets. But in
> fact, all these routes were filtered.
> And, finally, only "accept" remained in the filter - this method unfiltered
> routes.

Hi

Found the bug, it was in incorrect code for 'where' operator, here is the patch:

https://gitlab.labs.nic.cz/labs/bird/commit/452e90ba72f57c44b44f9940ac951d2fde417583

We plan to release a new version soon with this and other fixes.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."



More information about the Bird-users mailing list