mirror_frr/ripd
paul 98fd1e6121 [ripd] Fix verification of received MD5 authenticated packets
2006-01-17 Paul Jakma <paul.jakma@sun.com>

	* ripd.c: (rip_auth_md5) remove pdigest, not needed.
	  Use a local buffer for the auth_str, where it can be properly
	  nul padded. Do so, hence fixing MD5 authentication.
	  Key looked up via key ring should be used in preference to
	  the RIPv1 simple password, not other way around.
	  No need to copy around digests, we can reference them
	  directly.
	  The auth_len received can't be trusted, some implementations
	  lie (e.g. older ripd).
	  (rip_auth_md5_ah_write) rename len local variable to doff
	  to be consistent with other functions.
	  (rip_auth_header_write) add the missing return.
	  (rip_auth_md5_set) use the proper constructs to access stream.
2006-01-17 17:26:25 +00:00
..
.cvsignore - Add .arch-ids and .arch-inventory to cvsignore, to allow one to use arch 2004-11-02 18:59:49 +00:00
ChangeLog [ripd] Fix verification of received MD5 authenticated packets 2006-01-17 17:26:25 +00:00
Makefile.am 2005-10-28 Paul Jakma <paul.jakma@sun.com> 2005-10-28 10:23:09 +00:00
rip_debug.c 2005-10-26 Paul Jakma <paul.jakma@sun.com> 2005-10-25 23:31:05 +00:00
rip_debug.h 2005-10-26 Paul Jakma <paul.jakma@sun.com> 2005-10-25 23:31:05 +00:00
rip_interface.c 2005-10-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu> 2005-10-30 23:51:32 +00:00
rip_interface.h 2005-10-26 Paul Jakma <paul.jakma@sun.com> 2005-10-25 23:31:05 +00:00
rip_main.c 2005-10-26 Paul Jakma <paul.jakma@sun.com> 2005-10-25 23:31:05 +00:00
rip_offset.c 2005-10-26 Paul Jakma <paul.jakma@sun.com> 2005-10-25 23:31:05 +00:00
rip_peer.c 2005-10-26 Paul Jakma <paul.jakma@sun.com> 2005-10-25 23:31:05 +00:00
rip_routemap.c 2005-10-26 Paul Jakma <paul.jakma@sun.com> 2005-10-25 23:31:05 +00:00
rip_snmp.c 2005-09-29 Alain Ritoux <alain.ritoux@6wind.com> 2005-09-29 11:25:50 +00:00
rip_zebra.c 2005-10-26 Paul Jakma <paul.jakma@sun.com> 2005-10-25 23:31:05 +00:00
ripd.c [ripd] Fix verification of received MD5 authenticated packets 2006-01-17 17:26:25 +00:00
ripd.conf.sample Initial revision 2002-12-13 20:15:29 +00:00
ripd.h 2005-10-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu> 2005-10-30 23:51:32 +00:00
RIPv2-MIB.txt Initial revision 2002-12-13 20:15:29 +00:00