On Thu, Mar 10, 2011 at 01:54:33PM +0100, Ivo Smits wrote:
I've created attached patches to prevent BGP route loops from turning into ghosts (issue reported earlier to the mailing list: http://marc.info/?l=bird-users&m=129433651229774&w=2).
Instead of completely ignoring received BGP routes containing the router's own AS number, it should now handle them as if the prefixes are unreachable.
We have tested the patch against git and it fixed the issue there. I've also made an (untested) patch against bird 1.2.5.
Thanks for the patch. I already have semifinished patch that did some bigger changes to BGP error handling code and also fixes this problem, so i would not merge that, but it might be useful for others. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@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."