Re: [Wireshark-dev] Possible change to packet-ssl.c?

2014-04-09 Thread Evan Huus
On Wed, Apr 9, 2014 at 7:49 PM, Guy Harris wrote: > Should this chunk of code: > > if (tree) { > if (type && (payload_length <= record_length - 16 - 3)) { > proto_item_set_text(tree, "%s Record Layer: Heartbeat " > "%s", >

[Wireshark-dev] Possible change to packet-ssl.c?

2014-04-09 Thread Guy Harris
Should this chunk of code: if (tree) { if (type && (payload_length <= record_length - 16 - 3)) { proto_item_set_text(tree, "%s Record Layer: Heartbeat " "%s", val_to_str_const(*conv_version, ssl_version_short_

Re: [Wireshark-dev] Header field with scaling factor/units?

2014-04-09 Thread Guy Harris
On Apr 9, 2014, at 11:01 AM, "John Dill" wrote (in a font that gets rendered as rather small characters in my mail reader - you might want to use larger type to help out those of us with aging eyes): > I have a common use case (hundreds to low thousands of data elements) where I > need to tak

Re: [Wireshark-dev] Header field with scaling factor/units?

2014-04-09 Thread John Dill
>Message: 5 >Date: Wed, 9 Apr 2014 20:17:51 +0200 >From: Pascal Quantin >To: Developer support list for Wireshark >Subject: Re: [Wireshark-dev] Header field with scaling factor/units? >Message-ID: > >Content-Type: text/plain; charset="iso-8859-1" [snip] >Hi John, > >This is the kind of u

Re: [Wireshark-dev] How to print out string encoded data that contains nul characters?

2014-04-09 Thread Guy Harris
On Apr 9, 2014, at 2:06 PM, "John Dill" wrote: > I have several character data fields that happen to contain sections of > non-ascii binary data including nul characters. I'd like to get a string > display that shows all of the characters according to the length of the > field, i.e. > > 20

[Wireshark-dev] How to print out string encoded data that contains nul characters?

2014-04-09 Thread John Dill
I have several character data fields that happen to contain sections of non-ascii binary data including nul characters. I'd like to get a string display that shows all of the characters according to the length of the field, i.e. 20 20 20 20 20 20 01 00 01 00 48 31 20 20 20 20 produces "

Re: [Wireshark-dev] Header field with scaling factor/units?

2014-04-09 Thread Pascal Quantin
Le 9 avr. 2014 20:02, "John Dill" a écrit : > > > I have a common use case (hundreds to low thousands of data elements) where I need to take some data, encoded in an integer FT_UINT[8|16|32], sometimes has a bitmask applied, and needs to be multiplied by a scaling factor that may be an integer or

[Wireshark-dev] Header field with scaling factor/units?

2014-04-09 Thread John Dill
I have a common use case (hundreds to low thousands of data elements) where I need to take some data, encoded in an integer FT_UINT[8|16|32], sometimes has a bitmask applied, and needs to be multiplied by a scaling factor that may be an integer or floating point value, with an optional units st

Re: [Wireshark-dev] TCP and IP reassembling code

2014-04-09 Thread Guy Harris
On Apr 9, 2014, at 9:26 AM, Hadriel Kaplan wrote: > On Apr 9, 2014, at 12:09 PM, Aaron Lewis wrote: > >> Hi >> >> Where can I find the TCP and IP reassembling code in Wireshark, > > epan/reassemble.h > epan/reassemble.c ...and the code that calls it in packet-ip.c, packet-ipv6.c, and packet

Re: [Wireshark-dev] TCP and IP reassembling code

2014-04-09 Thread Hadriel Kaplan
On Apr 9, 2014, at 12:09 PM, Aaron Lewis wrote: > Hi > > Where can I find the TCP and IP reassembling code in Wireshark, epan/reassemble.h epan/reassemble.c > Is > that re-usable? Yes, it's used by a bunch of dissectors. (grep for 'reassembly_table_init') -hadriel

[Wireshark-dev] TCP and IP reassembling code

2014-04-09 Thread Aaron Lewis
Hi Where can I find the TCP and IP reassembling code in Wireshark, Is that re-usable? -- Best Regards, Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/ Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33 __