[Xorp-cvs] XORP cvs commit: xorp/rip
Pavlin Radoslavov
pavlin@icir.org
Fri, 24 Mar 2006 03:03:57 GMT
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin@xorpc.icir.org 2006-03-24 03:03:57 UTC
XORP CVS repository
Modified files:
rip auth.cc auth.hh test_auth.cc xrl_target_rip.cc
Log message:
Refactor/improve the back-end MD5 implementation and fix several
bugs in the process:
[Note that Bugzilla entry #571 mentioned below is about OSPF,
but the same problems existed in the RIP implementation as well].
* Use proper internal representation of NOW and INFINITY (for time).
Thus, we can eliminate the potentialy dangerous internal encoding
of "if start_time is same end_time then end_time is INFINITY".
* Better checking of start and end time.
This fixes one of the issues described in Bugzilla entry #571
(Scenario 1: if the end-time is in the past).
* If the start-time is in the future, then start using properly the
MD5 authentication after that time.
This fixes one of the issues described in Bugzilla entry #571
(Scenario 2: if the start-time is in the future).
* If the last MD5 key expires, then continue using it until
the key's lifetime is extended, the key is deleted by network
management, or a new key is configured (as per RFC 2082 Section 4.3).
Bugzilla URL: http://www.xorp.org/bugzilla/show_bug.cgi?id=571
Revision Changes Path
1.28 +260 -162; commitid: 12d5f44235e2b7ea6; xorp/rip/auth.cc
1.18 +277 -106; commitid: 12d5f44235e2b7ea6; xorp/rip/auth.hh
1.23 +15 -8; commitid: 12d5f44235e2b7ea6; xorp/rip/test_auth.cc
1.29 +33 -29; commitid: 12d5f44235e2b7ea6; xorp/rip/xrl_target_rip.cc