Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 5434] Diameter dump is parsed incorrectly

Date: Fri, 26 Aug 2011 01:32:42 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5434

--- Comment #19 from Guy Harris <guy@xxxxxxxxxxxx> 2011-08-26 01:32:41 PDT ---
At least as I read TS 29.061 V10.3.0, the octets of the 3GPP-User-Location-Info
AVP are:

    the AVP code, which is 0x16 = 22 = 3GPP-User-Location-Info;

    the AVP length, which I infer includes the type and length octets, and, at
least for frame 30 in the first capture, is 0x0a = 10;

    the Geographic Location Type;

    the Geographic Location;

so the Geographic Location Type is the first octet *after* the 0x0a, which is
0x00, and the Geographic Location is all the octets after that.

Yes, it appears redundant to include the AVP type and length in the AVP value,
but the section that describes them is for RADIUS, and perhaps for RADIUS you
don't have a type and length preceding the data, whereas with DIAMETER you
definitely do.

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