Patch to fix BGP ghost routes resulting from loops

Ondrej Zajicek santiago at crfreenet.org
Sun Mar 20 16:31:34 CET 2011


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 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."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20110320/06e2c177/attachment-0001.asc>


More information about the Bird-users mailing list