[5712] in Kerberos

home help back first fref pref prev next nref lref last post

Re: tcpdump 3.0 patches for kerberos 4

daemon@ATHENA.MIT.EDU (Craig Leres)
Wed Aug 16 03:07:36 1995

To: John Hawkinson <jhawk@MIT.EDU>
Reply-To: tcpdump@ee.lbl.gov
Cc: tcpdump@ee.lbl.gov, kerberos@MIT.EDU
In-Reply-To: Your message of Wed, 16 Aug 95 01:46:22 EDT.
Date: Tue, 15 Aug 95 23:46:07 PDT
From: Craig Leres <leres@ee.lbl.gov>


> Attached are patches to tcpdump 3.0.2 to support decoding of kerberos
> 4. Of course, nice things like tickets are encrypted :-), but there's
> still plenty of useful information.

Great, thanks.

> I've tested this under NetBSD-current/i386, Solaris 2.3, and IRIX 5.2;
> I'm sure it'll work fine on other platforms.

I noticed one tiny bug (a missing break) see the appended context diff.

		Craig
------
*** print-krb.c.virgin	Tue Aug 15 23:20:37 1995
--- print-krb.c	Tue Aug 15 23:43:31 1995
***************
*** 1,5 ****
  /*
!  * Copyright (c) 1989, 1990, 1991, 1993, 1994
   *	The Regents of the University of California.  All rights reserved.
   *
   * Redistribution and use in source and binary forms, with or without
--- 1,5 ----
  /*
!  * Copyright (c) 1995
   *	The Regents of the University of California.  All rights reserved.
   *
   * Redistribution and use in source and binary forms, with or without
***************
*** 17,22 ****
--- 17,24 ----
   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
   * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
   * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+  *
+  * Initial contribution from John Hawkinson (jhawk@mit.edu).
   */
  
  #ifndef lint
***************
*** 274,279 ****
--- 276,282 ----
  	case 2:
  	case 3:
  	  printf(" v%d", kp->pvno);
+ 	  break;
  	case 4:
  	  printf(" v%d", kp->pvno);
  	  krb4_print((const u_char*)kp);

home help back first fref pref prev next nref lref last post