Wireshark

  • Riverbed Technology
  • WinPcap
SHARKFEST '12 - Wireshark Developer and User Conference - June 24-27, 2012 - UC Berkeley, Clark Kerr Campus
  • 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-commits: [Wireshark-commits] rev 23039: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-radius.c

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


From: sahlberg@xxxxxxxxxxxxx
Date: Sun, 30 Sep 2007 23:14:20 GMT

http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=23039

User: sahlberg
Date: 2007/09/30 11:14 PM

Log:
 change dissect_radius() to become a new-style dissector that can reject 
 packets that doesnt look like valid radius.
 
 verify that a packet is radius by checking that the command code is 
 known and also that the length is between 20 and 4096 bytes
 
 move the tap data to be ep_allocated instead of a static global variable
 
 dont use tvb_memcpy() to read a structure off the wiredata
 use tvb_get_...    to unmarshall the fields explicitely
 
 
 
 this fixes bug 1634

Directory: /trunk/epan/dissectors/
  Changes    Path               Action
  +122 -68   packet-radius.c    Modified


  • Prev by Date: [Wireshark-commits] rev 23038: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-dcerpc-fldb.c packet-fcct.c packet-fcdns.c packet-fcels.c packet-fcip.c packet-fr.c packet-ftam.c
  • Previous by thread: [Wireshark-commits] rev 23038: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-dcerpc-fldb.c packet-fcct.c packet-fcdns.c packet-fcels.c packet-fcip.c packet-fr.c packet-ftam.c
  • Index(es):
    • Date
    • Thread

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