2.0.1 Segfault

Alan DeKok aland at deployingradius.com
Thu Jan 31 18:31:49 CET 2008


Michael J. Hartwick wrote:
> I will see what I can find out for sure. I think that it might be 
> being added by the server that is proxying the packets to us. They 
> insisted that it works properly,

  If it's sending zero-length attributes, it's violating RFC 2865:

...
      text      1-253 octets containing UTF-8 encoded 10646 [7]
                characters.  Text of length zero (0) MUST NOT be sent;
                omit the entire attribute instead.
...

  i.e. their local configuration is wrong, AND perhaps their RADIUS
server is broken.

> I have taken the radius.c file from CVS and put it into 2.0.1 and so 
> far it seems to be doing exactly what it is supposed to be. I haven't 
> seen those empty pairs coming up while running it under gdb with -X.

  Yes.  Those attributes are *completely* suppressed.  They're useless,
and shouldn't ever be created.

  Alan DeKok.



More information about the Freeradius-Users mailing list