Wireshark-bugs: [Wireshark-bugs] [Bug 5411] Wrong decoding of Diameter AVP Octet String (Wiresha
Date: Wed, 17 Nov 2010 13:55:27 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5411

--- Comment #4 from Anders Broman <anders.broman@xxxxxxxxxxxx> 2010-11-17 13:55:24 PST ---
Hi,
http://www.iana.org/assignments/aaa-parameters/aaa-parameters.xhtml
Has a link to:
1-255 Radius attributes [http://www.iana.org/assignments/radius-types] 
http://www.iana.org/assignments/radius-types/radius-types.xml
Points to:
44 Acct-Session-Id [RFC2866] 
The RFC states what I quouted but is updated by
RFC 5080

2.3.2.  Acct-Session-Id and Acct-Multi-Session-Id

   [RFC2866] Section 5.5 describes Acct-Session-Id as Text within the
   figure summarizing the attribute format, but then goes on to state
   that "The String field SHOULD be a string of UTF-8 encoded 10646
   characters".

   [RFC2865] defines the Text type as "containing UTF-8 encoded 10646
   characters", which is compatible with the description of Acct-
   Session-Id.  Since other attributes are consistently described as
   "Text" within both the figure summarizing the attribute format, and
   the following attribute definition, it appears that this is a
   typographical error, and that Acct-Session-Id is of type Text, and
   not of type String.

As yoy say RFC 3558 says:
9.8.4.  Acct-Session-Id AVP

   The Acct-Session-Id AVP (AVP Code 44) is of type OctetString is only
   used when RADIUS/Diameter translation occurs.  This AVP contains the
   contents of the RADIUS Acct-Session-Id attribute.

As OctetString covers all I'll change it to OctetString.
Regards
Anders

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.