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

Ben Greear greearb at candelatech.com
Thu Apr 22 10:46:42 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.

I think the bad route is coming in via a policy I have that tells
BGP to export static and connected routes...not from a peer.

Maybe we need some tighter checks in whatever code handles the
routes from the policy logic?

Thanks,
Ben

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



More information about the Xorp-users mailing list