Minor inconsistency in FreeRadius 1.0.4 dictionary file

Alan DeKok aland at ox.org
Wed Sep 21 20:09:10 CEST 2005


Richard Sharpe <rsharpe at richardsharpe.com> wrote:
> However, State and Class also have exactly the same description, so why 
> does the FreeRadius dictionary file code them differently?

  Practical issues. :)

  Callback-Number and Callback-Id are pretty much always ASCII strings
in practice.  Class is often an ASCII string, but sometimes not.
State is almost always non-ASCII data.

  The types in the dictionaries are a result of a trade-off between
going with what the RFC's say, and going with what happens in the real
world.

> The consequence of this is that Ethereal displays these attributes 
> differently, when the spec says they should be treated the same.

  The spec also says that a whole host of theings SHOULD or MUST
happen with RADIUS packets.  Not all of them happen in real-world
implementations.

  Alan DeKok.



More information about the Freeradius-Devel mailing list