Graeme Hinchliffe <[EMAIL PROTECTED]> wrote:
> AHHHHHHRRRRGGGHHHH :)

  Been there, done that.

> Indeed!  looks like a bug in my code that writes the length to the
> packet.  It is writing it Little-Endian.. DAMN!  I guess icRADIUS
> isn't too fussy about a few things.

  Which is *extremely* bad.  I mean *bad*.

  One thing I will say about FreeRADIUS, is that he packet validation
code is as paranoid as I can make it.  It's part of a security system,
and bugs in packet parsing can negatively impact security.

> checking the TCPDUMP and pumpin git through bc with ibase=16 gives
> the same value as freeradius (well off by one :) ).

> 0x0010   7f00 0001 dcc1 066d 0046 7537 0101 3e00 .......m.Fu7..>.

  code 01, id 01, length 0x3e00.  Yup.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to