Wireshark-commits: [Wireshark-commits] rev 29913: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Tue, 15 Sep 2009 00:18:41 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=29913

User: morriss
Date: 2009/09/14 05:18 PM

Log:
 From Florian Forster via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4002
 
 Version 4.7 of collectd introduces cryptographic features for the network
 protocol. The current version of the collectd dissector does not know how to
 handle these segments and flags them as unknown.
 
 The following two patches add simple support for the TYPE_SIGN_SHA256 and
 TYPE_ENCR_AES256 segments. They display the plain text components of
 these segments but do not try to verify the signatures or decrypt the encrypted
 payload.
 
 Changes by me:
 	- replace tvb_length_remaining() with tvb_reported_length_remaining()
 	- replace proto_tree_add_protocol_format() with tvb_tree_add_text()

Directory: /trunk/epan/dissectors/
  Changes    Path                 Action
  +262 -24   packet-collectd.c    Modified