[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Potential work items
EAP-Message as a String is totally consistant with the definition as per
Here is the definition of String from RFC-2865:
In particular, types "text" and "string" in RADIUS do not
terminate with a NUL (hex 00). The Attribute has a length field
and does not use a terminator. Text contains UTF-8 encoded 10646
 characters and String contains 8-bit binary data. Servers and
servers and clients MUST be able to deal with embedded nulls.
RADIUS implementers using C are cautioned not to use strcpy() when
The format of the value field is one of five data types. Note
that type "text" is a subset of type "string".
text 1-253 octets containing UTF-8 encoded 10646 
characters. Text of length zero (0) MUST NOT be sent;
omit the entire attribute instead.
string 1-253 octets containing binary data (values 0 through
255 decimal, inclusive). Strings of length zero (0)
MUST NOT be sent; omit the entire attribute instead.
> -----Original Message-----
> From: Alan DeKok [mailto:email@example.com]
> Sent: Thursday, January 08, 2004 1:33 PM
> To: firstname.lastname@example.org
> Subject: Re: Potential work items
> "Nelson, David" <email@example.com> wrote:
> > If you consider the EAP-Message attribute a String, I guess so. :-)
> I've always seen this as a problem in the RFC's.
> Attributes like CHAP-Challenge, or EAP-Message should not be
> "string" attributes, in the same way that User-Password is a
> "string" attribute. In the RADIUS server I'm working on,
> we're using type "octets", which means "undistinguished
> data", versus "printable string".
> But that's a side topic. We're not supposed to be defining
> new data types, so I won't discuss it any more.
> Alan DeKok.
> to unsubscribe send a message to
> firstname.lastname@example.org with the word 'unsubscribe' in
> a single line as the message text body.
> archive: <http://psg.com/lists/radiusext/>
to unsubscribe send a message to email@example.com with
the word 'unsubscribe' in a single line as the message text body.