This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

I have Wireshark 2.0.1 64bit installed on a Windows 10 system (I know Windows 10?); when I attempt to update the diameter dictionary.xml file I get a list of errors. Any assistance would be appreciated.

Examples: (And many, many more)

Diameter Dictionary: AVP 'CHAP-Algorithm' has a list of values but isn't of a 32-bit or shorter integral type (FT_BYTES)

Diameter Dictionary: AVP 'Accounting-Auth-Method' has a list of values but isn't of a 32-bit or shorter integral type (FT_BYTES)

Diameter Dictionary: AVP 'Origin-AAA-Protocol' has a list of values but isn't of a 32-bit or shorter integral type (FT_BYTES)

Diameter Dictionary: AVP 'MIP-Feature-Vector' has a list of values but isn't of a 32-bit or shorter integral type (FT_BYTES)

Diameter Dictionary: AVP 'MIP-Algorithm-Type' has a list of values but isn't of a 32-bit or shorter integral type (FT_BYTES)

Diameter Dictionary: AVP 'MIP-Replay-Mode' has a list of values but isn't of a 32-bit or shorter integral type (FT_BYTES)

asked 11 Jan '16, 09:03

kh00le's gravatar image

kh00le
6112
accept rate: 0%

What is the "update" you're attempting to apply to dictionary.xml?

(11 Jan '16, 09:10) grahamb ♦

Thank you for taking the time to look at this question.

I am attempting to add additional AVP for Wireshark to decode. I was able to do this in the pervious versions. I did check the xml formatting and it checked fine.

(13 Jan '16, 11:11) kh00le

Can you give a specific example of what you're trying to add?

Note that the format of the XML has changed significantly in 2.0. In particular vendor IDs can no longer be inside applications (and applications must be in either base or a vendor). I don't think that's your problem but I just wanted to make sure you were aware...

(13 Jan '16, 11:56) JeffMorriss ♦

OK, so a quick check in the code suggests that the problem is the AVP you have added is listed as being of type OctetString (or grouped) but then it includes some 'enum' statements. If there are 'enum' statements, of course, the type should be Enumerated.

So, for example, I was able to get the same error by modifying this AVP to be of type OctetString (instead of Enumerated):

<avp name="SL-Request-Type" code="2904" mandatory="must" vendor-bit="must" vendor-id="TGPP">
   <type type-name="OctetString"/>
   <enum name="INITIAL_REQUEST"            code="0"/>
   <enum name="INTERMEDIATE_REQUEST"       code="1"/>
</avp>

(Hopefully this works; the Preview doesn't show the AVP definition...)

permanent link

answered 22 Jan '16, 18:50

JeffMorriss's gravatar image

JeffMorriss ♦
6.2k572
accept rate: 27%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×58
×11

question asked: 11 Jan '16, 09:03

question was seen: 4,043 times

last updated: 22 Jan '16, 18:50

p​o​w​e​r​e​d by O​S​Q​A