Wireshark-dev: Re: [Wireshark-dev] Parsing DIAMETER packet: Interpretation ofDATE/TIME and GROU
From: "Cloud Strife" <[email protected]>
Date: Sun, 8 Jun 2008 21:11:27 +0800
Actually, I already look at it together with wireshark source code and they are more likely the same.  It uses an XML parser and ACE which makes me more confuse.

On Sun, Jun 8, 2008 at 4:25 PM, Anders Broman <[email protected]> wrote:


Perhaps you are better off looking at http://www.opendiameter.org/




Från: [email protected] [mailto:[email protected]] För Cloud Strife
Skickat: den 7 juni 2008 16:02
Till: [email protected]
Ämne: [Wireshark-dev] Parsing DIAMETER packet: Interpretation ofDATE/TIME and GROUPED data format


I am currently developing a prototype DIAMETER parser but it doesn't have a dictionary nor an XML parser. It's a hard-coded and just check the bytes position to be able to determine the length and the AVPs.  I'm having difficulty in interpreting data formats DATE/TIME and GROUPED. I know that the the DATE/TIME is in NTP and is a 32 bit integer. How would I print (or able to compare it with another) in a human readable.
Another thing is the GROUPED data type. I can only extract AVPs on the first level and store it in a data structure in C ( actually union of integer, array of unsigned char, struct in_addr). How would I extract/store those in the 2nd level and below? I'm not using pointers. I need some advise/suggestions here.
It's kind of hard for me to integrate the diameter libraries in wireshark :(

Thanks in advance for your help.

Wireshark-dev mailing list
[email protected]