Ask Your Question
0

Not able to add avp

asked 2018-09-10 09:59:11 +0000

updated 2018-09-10 10:35:51 +0000

grahamb gravatar image

Hi I have a AVP from vendor ALU. I tried to add it in dictionary.xml but still it is shown as unknown. The avp details are:

<attribute code="1139"
           vendorName="ALU"
           name="Subscriber-User-Id"
           format="UTF8STRING"
           mFlag="OPTIONAL"
           pFlag="OPTIONAL"
           vFlag="REQUIRED"
           encrypt="true"
           register="true"
           proprietary="true"/>

What I have added in xml is:

<avp name="Subscriber-User-Id" code="1139" mandatory="v" vendor-bit="must" may-encrypt="no" protected="may" vendor-id="ALU">
    <type type-name="UTF8String"/>
</avp>
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2018-09-11 08:59:48 +0000

Anders gravatar image

As seen in the Bug answer it works with the modified xml file now part of Wireshark.

edit flag offensive delete link more

Comments

Is it a config issue that I was not able to do or you corrected something in the build that was mentioned there ?

Asif Ansari gravatar imageAsif Ansari ( 2018-09-11 09:07:55 +0000 )edit

I just added the code from my comment, you can look at the AlcateLucent.xml file from the installer I linked. So No, nothing special done.

Anders gravatar imageAnders ( 2018-09-11 10:26:29 +0000 )edit
0

answered 2018-09-10 13:05:58 +0000

Anders gravatar image

What version of Wireshark are you using? Recent version has an AlcatelLucent.xml where you should add the AVP. Your format is slightly off, should be:

    <avp name="Subscriber-User-Id" code="1139" mandatory="mustnot" vendor-bit="must" may-encrypt="no" protected="may" vendor-id="ALU">
    <type type-name="UTF8String"/>
</avp>
edit flag offensive delete link more

Comments

It was a copy paste mistake where "v" is shown.

I tried the same as suggested by you but no success.

Wireshark version: Version 2.6.3 (v2.6.3-0-ga62e6c27)

Asif Ansari gravatar imageAsif Ansari ( 2018-09-10 13:34:45 +0000 )edit

So you added those lines to AlcatelLucent.xml in the diameter directory and restarted Wireshark but still the AVP is not dissected?

Anders gravatar imageAnders ( 2018-09-10 13:55:33 +0000 )edit

YEs, I added the same as suggested in AlcatelLucent.xml in the diameter directory and restarted Wireshark but still the AVP is not dissected. Are there any wireshark logs that are generated when it dissect the pcap ? In case it needs to be enabled then I can do so to figure out any debug information.

Asif Ansari gravatar imageAsif Ansari ( 2018-09-10 14:30:10 +0000 )edit

If you can upload a packet with the AVP somewhere we could have a look.

Anders gravatar imageAnders ( 2018-09-10 14:40:03 +0000 )edit

Is there any location where I can upload the same ?

Asif Ansari gravatar imageAsif Ansari ( 2018-09-11 05:26:45 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-09-10 09:59:11 +0000

Seen: 40 times

Last updated: Sep 11