top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

DIAMETER: Can someone please explain a diameter message ABNF format?

+1 vote
435 views

I want to know about the significance of each symbol like [ ,{, < , *[ etc used to define a diameter message. Looking for a detailed description.

posted Feb 26, 2014 by Vimal Kumar Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

I believe you are looking for the ABNF description which is defined in the RFC 2234.

For the summary take the following example

<CER>::= < Diameter Header: 257, REQ >
        { Origin-Host }
        { Origin-Realm }
     1* { Host-IP-Address }
        { Vendor-Id }
        { Product-Name }
        [ Origin-State-Id ]
      * [ Supported-Vendor-Id ]
      * [ Auth-Application-Id ]
      * [ Inband-Security-Id ]
      * [ Acct-Application-Id ]
      * [ Vendor-Specific-Application-Id ]
        [ Firmware-Revision ]
      * [ AVP ]

where

[  - OPTIONAL SEQUENCE 
*  - means variable repetition 
n* - variable repetition but atleast n 
;  - comment 
<> - to define rule name or element name though not mandatory 
answer Feb 26, 2014 by Salil Agrawal
Is there any order constraints among the AVPs within the message? For example: AVP within {} should present first then AVP within [].
Could not get it??
<> is used to indicate fixed position. See < Session-Id > in the base command definitions. Typically you would expect to find mandatory fields ({}) before optional fields, but it is not a requirement.
Similar Questions
+3 votes

Just for curiosity, I want to see a real network traffic from Chrome Browser when I browse for any pages. I want to see Diameter Messages if I want to take a capture on Wireless Network Connection from Wireshark. If it possible kindly suggest the conditions on which it can be captured?

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...