Real Time Ascend Maling List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(ASCEND) bad RADIUS Acct packet?




Perhaps there is a better spot for this message, but here is what I've
got:

From what I can tell, A max 4000 running 6.1.24 is producing the following
RADIUS packet.  It appears that Attribute 45 (Acct-Authentic) is being
set a Length of 0, when it should be six.  Here is a gdb spew of the
RADIUS portion of the packet:

(gdb) print *p1@98
$76 =
"\004Y\000b-\016\\[\224zR\227\035\001\006tjh\000\004\006h\004\005\006\000
\000N\216=\006\000\000\000\000(\006\000\000\000\001)\006\000\000
\000\000,\f289835026\000-\000\000\000\000\001x\006\000\000\000\002
y\006\000\000\000\003\a\006\000\000\000\001\b\006np" 

You will recognize ",\f289835026\000" as being the Session ID portion
(attribute 44).  The "\f" indicates the attribute is 12 bytes long, and it
is. Immediately following is "-\000".  The "-" is numeric value 45.  The
\000 is the length, zero.  If I were to assume it was a six, you can see
that the rest of the packet seems to be valid.  The value of the attribute
itself is correct, \001, a Start packet.  My little bit of code, however,
did not make the length assumption, and thus looped infinitely, allowing
me to find this. 

Is it a bug, or is this something normal that should be expected in code?

----------------- Brian  Curnow ----------------

++ Ascend Users Mailing List ++
To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
To get FAQ'd:	<http://www.nealis.net/ascend/faq>