Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: [Wireshark-dev] Parsing DIAMETER packet: Interpretation of DATE/TIME and GROUPED data format

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "Cloud Strife" <tipidpc.ataman@xxxxxxxxx>
Date: Sat, 7 Jun 2008 22:01:30 +0800

Hi,
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.
  • Follow-Ups:
    • Re: [Wireshark-dev] Parsing DIAMETER packet: Interpretation ofDATE/TIME and GROUPED data format
      • From: Anders Broman
  • Prev by Date: Re: [Wireshark-dev] dumpcap.exe -S
  • Next by Date: Re: [Wireshark-dev] Parsing DIAMETER packet: Interpretation ofDATE/TIME and GROUPED data format
  • Previous by thread: Re: [Wireshark-dev] dumpcap.exe -S
  • Next by thread: Re: [Wireshark-dev] Parsing DIAMETER packet: Interpretation ofDATE/TIME and GROUPED data format
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation