[2808] in Kerberos

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

weird sim_server behavior

daemon@ATHENA.MIT.EDU (Jim Miller)
Fri Sep 10 19:26:55 1993

From: jim@bilbo.suite.com (Jim Miller)
Date: Fri, 10 Sep 93 17:57:03 -0500
To: kerberos@MIT.EDU
Reply-To: Jim_Miller@suite.com


I'm doing some testing of Kerberos 5, Pre-Beta3 on a NEXTSTEP machine and I'm  
seeing some undesireable behavior with the sim_server application.  I was  
wonder if anyone else has seen similar behavior on any other platform or any  
other release of Kerberos 5.

Here is what I'm seeing:

The application sim_server sometimes fails with the following message:

Received 424 bytes
Got authentication info from jim@NIMROD.SUITE.COM
Received 131 bytes
Safe message is: '1234'
Received 132 bytes
sim_server: isode (ps):End of file while verifying PRIV message   <---********


Sim_server will work or fail depending on the size of the message.  For  
example, in the previous test, the size of the message was 4 bytes.  Here is a  
chart of the message sizes that I've found to work and/or fail:

msg size    |  success  |  failure  | bytes received
------------|-----------|-----------|-------------
  1		x			123
 

  2				x	132
  3				x	132
  4				x	132
  5		x			132
  6		x			132
  7		x			132
  8		x			132
  9		x			132

  10				x	141
  11				x	141
  12				x	141
  13		x			141
  14		x			141
  15		x			141
  16		x			141
  17		x			141

  18				x	151
  19				x	151
  20				x	151
  21				x	151
  22				x	151
  23		x			151
  24		x			151
  25		x			151

  26				x	161
  27				x	161
  28				x	161
  29				x	161
  30				x	161
  31				x	161
  32				x	161
  33		x			161

  34				x	169
  35				x	169


There seems to be a relationship between success/fail and padding the encrypted  
message to an 8-octet multiple.  It's not an obvious relationship, though.

Any ideas?

Jim_Miller@suite.com



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