[Xorp-users] Partial fix found for : OSPF routes are lost/missing after a few hours

Mellen, Ivan Ivan.Mellen at gdcanada.com
Fri Jan 18 09:25:55 PST 2013


Hi,

 

In XORP 1.8.5,  OSPF routes are being dropped when there are more than
100 OSPF routes. Once dropped these routes do not recover. 

 

Depending on the processing power  of the PC, this bug can be reproduced
anywhere from 100 to 700 routes and the time when routes are lost can be
as low as one hour to several days.

 

                After examining Wireshark logs and looking through the
XORP code the problem seems to be the way XORP packages route updates.
There is only one route per LSA and when an OSPF refresh starts(after
one hour) OSPF receivers can be overloaded with packets.

 

                A simple fix is to apply the below patch which adds a
small delay between transmitting LSA packets. Of course the proper fix
is to put more than one route in an LSA packet but this is a lengthy
change to OSPF.

 

 

*** peer.cc    19 Jan 2012 20:28:20 -0000    1.1
--- peer.cc    11 Dec 2012 00:20:14 -0000    1.2
***************
*** 4112,4117 ****
--- 4112,4119 ----
  
      _peer.transmit(tr);
      
+     usleep(50000);
      return true;
  }

 

 

Cheers,

 

Ivan

 



The information contained in this e-mail message is PRIVATE. It may contain confidential information and may be legally privileged. It is intended for the exclusive use of the addressee(s). If you are not the intended recipient, you are hereby notified that any dissemination, distribution or reproduction of this communication is strictly prohibited. If the intended recipient(s) cannot be reached or if a transmission problem has occurred, please notify the sender immediately by return e-mail and destroy all copies of this message. 
Thank you. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20130118/3493544b/attachment-0001.html 


More information about the Xorp-users mailing list