Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-rip.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Mon, 5 Jul 2004 05:15:30 -0500 (CDT)
guy         2004/07/05 05:15:30 CDT

  Modified files:
    .                    packet-rip.c 
  Log:
  From Yaniv Kaul:
  
  	Don't try to dissect the MD5 authentication data as a route
  	entry (RTE).  It's not.  I made sure it's also the last entry in
  	the packet and it gets dissected only if MD5 authentication is
  	used.
  
  	Some implementation use the Auth. Data Length field value as
  	the WHOLE Authentication data length (0xFFFF (2 bytes) + 0x0001
  	(2 bytes) + 16 bytes of auth.  data = 20) while others only as
  	the auth. data length ( = 16).  Since MD5's auth data is 16
  	bytes anyway, I've hard coded it in the code (in #define), and
  	not relied on auth_data_len.  I've tested it on implementations
  	using either way and it seems to work fine.
  
  Revision  Changes    Path
  1.35      +10 -5     ethereal/packet-rip.c