[Xorp-hackers] Here's some bgp config files that work.

Ben Greear greearb at candelatech.com
Thu Apr 22 11:25:30 PDT 2010

On 04/22/2010 10:37 AM, Atanu Ghosh wrote:
> Hi,
> The original code caught all exceptions from bad update packets in
> peer.cc:BGPPeer::get_message. At the bottom of this routine you can
> see the CorruptMessage exceptions being caught and the notification
> being sent to the peer.
> Your stack backtrace looks like the current code does not check the
> update packet for sanity but just queues it, then later when the
> packet is being processed it notices a problem and throws an
> exception, which is not caught. Temporarily you could try catching the
> exceptions around pull_next_route in the RibOutTable.

How does the attached patch look to you?  It seems to fix
the problem for me...


Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xorp_bgp_originate_exception.patch
Url: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20100422/a92604eb/attachment.ksh 

More information about the Xorp-hackers mailing list