Re: [Wireshark-dev] Corrupted TCP sequence number calculations?

2018-12-03 Thread David Arnold
version 1.0 branch 1_0_rel0b > (20091008), with GnuTLS 3.4.11, with Gcrypt 1.8.3, with AirPcap 4.1.0 build > 1622, binary plugins supported (14 loaded). Built using Microsoft Visual > Studio 2017 (VC++ 14.15, build 26730). > > - Chris > > From: Wireshark-dev [mailto:wireshark-

Re: [Wireshark-dev] Corrupted TCP sequence number calculations?

2018-12-03 Thread David Arnold
s, appear to be fine) is a result of a bad value for tcpd->fwd->base_seq during the calculations, bearing no resemblance to the initial sequence numbers for either direction’s flow. I haven’t figured out where that’s coming from yet. d > On 2 Dec 2018, at 23:36, David Arnol

Re: [Wireshark-dev] Corrupted TCP sequence number calculations?

2018-12-02 Thread David Arnold
yload dissector is done. > > Thanks, > Jaap > >> On 29 Nov 2018, at 13:34, David Arnold wrote: >> >> Hi all, >> >> I’ve discovered an odd issue with my dissector, and I’d really appreciate >> some debugging pointers. >> >> I have a c

[Wireshark-dev] Corrupted TCP sequence number calculations?

2018-11-29 Thread David Arnold
Hi all, I’ve discovered an odd issue with my dissector, and I’d really appreciate some debugging pointers. I have a capture file (attached) which, when viewed without any explicit decoding, looks just fine — in particular, all the TCP seq/ack numbers appear reasonable, and don’t flag any error

Re: [Wireshark-dev] Wiki: Request to become a member of the EditorGroup

2016-07-24 Thread David Arnold
Me to please? WikiName is DavidArnold. Thanks! d > On 24 Jul 2016, at 05:19, Jose Oliveira wrote: > > Hi, > > I can longer update Wiki pages as I have done in the past [1]. > Would it be possible to become a member of the EditorGroup group ? > > My wiki login is: JoseOliveira > > Thank

Re: [Wireshark-dev] Field type for 96 bit integer?

2016-07-20 Thread David Arnold
Thanks Pascal, d > On 20 Jul 2016, at 19:21, Pascal Quantin wrote: > > Hi David, > > 2016-07-20 9:56 GMT+02:00 David Arnold <mailto:dav...@pobox.com>>: > I’m writing a dissector for a protocol that includes a 96 bit (12 byte) > big-endian integer value. &g

[Wireshark-dev] Field type for 96 bit integer?

2016-07-20 Thread David Arnold
I’m writing a dissector for a protocol that includes a 96 bit (12 byte) big-endian integer value. I’d like to display it as a decimal number. I’m happy to write a BASE_CUSTOM renderer for it, but how should it be described in the hf_register_info array? In my dissect() function, I have

Re: [Wireshark-dev] Update Windows Build Instructions

2015-01-05 Thread David Arnold
On 6 Jan 2015, at 9:28 am, Graham Bloice wrote: <…> > CMake does the same job as ac\am but cross platform, and in the same way as > ac\am you can't really ship the outputs (makefile or VS solution\vcproj) for > use on other systems as they might be configured differently. In my experience, ship

[Wireshark-dev] newbie git review -s issue

2014-08-26 Thread David Arnold
Hi all, I attempted to get my wireshark dev env updated to git today, and ran into an issue with the 'git review -s' part of the instructions. The error message was: Problems encountered installing commit-msg hook The following command failed with exit code 104 "GET https://d...@code.wiresh

[Wireshark-dev] Trunk issues with GTK-3.10?

2013-10-03 Thread David Arnold
Hi all, I'm seeing some issues compiling trunk against Gtk-3.10. Specifically, the GTK_STOCK_* icon macros and GtkAction type have now been deprecated, and their headers moved to the "deprecated" subdirectory. Should I be moving to Qt? Or back to GTK2? I'm mostly interested in developing di

Re: [Wireshark-dev] -Werror for Qt code

2013-09-08 Thread David Arnold
On 09/09/2013, at 5:22 AM, Guy Harris wrote: > And disable the "warn me if a 64-bit value is being shortened to 32 bits" > warning, because Qt 5 *itself* has code in headers that doesn't cast away > those warnings (or fix them if they're real issues). Or (on GCC platforms) include them using -i

Re: [Wireshark-dev] Icon Poll - is this OK?

2013-04-10 Thread David Arnold
On 11/04/2013, at 3:54 PM, Eric Wedel wrote: >> Can't we have a single button which is for enabling and disabling the >> capturing of packets. > > A toggle is a nice idea, but I'd be worried about accidental double-click (a > near no-op) when using crummy mice. So ... put a "debounce" timout o

Re: [Wireshark-dev] BASE_CUSTOM and 64-bit values

2013-03-26 Thread David Arnold
On 25/03/2013, at 10:23 PM, Jeff Morriss wrote: > On 03/17/13 11:58, David Arnold wrote: <...> >> My question then becomes one of consistency: should I do this for all my >> BASE_CUSTOM cases? Or is there some advantage in using BASE_CUSTOM that >> I've m

Re: [Wireshark-dev] Source Build using Mac OSX?

2013-03-23 Thread David Arnold
On 23/03/2013, at 3:51 PM, Roland Knall wrote: > Can someone point me in the right direction on how to build wireshark > successfully using Mountain Lion? So far I am failing spectacularly. > Using MacPorts for the necessary libraries and dev-dependencies, and > deactivating everything I can not c

Re: [Wireshark-dev] BASE_CUSTOM and 64-bit values

2013-03-17 Thread David Arnold
On 14/03/2013, at 10:36 PM, Guy Harris wrote: > You could use proto_tree_add_uint64_format_value(). I ended up writing a static void foo_tree_add_timestamp( proto_tree *tree, const int hf, tvbuff_t *tvb, gint offset); which extracts the value using tvb_g

Re: [Wireshark-dev] BASE_CUSTOM and 64-bit values

2013-03-14 Thread David Arnold
On 14/03/2013, at 9:32 PM, Guy Harris wrote: > On Mar 14, 2013, at 1:22 PM, David Arnold wrote: > >> I'm working on a dissector for a protocol that encodes a timestamp as a >> 64-bit number of nanoseconds since midnight. > > Is that "midnight on a particula

[Wireshark-dev] BASE_CUSTOM and 64-bit values

2013-03-14 Thread David Arnold
Hi all, I'm working on a dissector for a protocol that encodes a timestamp as a 64-bit number of nanoseconds since midnight. I'd like to write a BASE_CUSTOM formatting function for this field, but it looks like the value passed to formatting functions for BASE_CUSTOM is limited to 32 bits (fr

Re: [Wireshark-dev] When did autotools started to use AM_CPPFLAGS

2013-03-11 Thread David Arnold
ags automake-1.5's documentation includes the same statement about INCLUDES being deprecated in favour of AM_CPPFLAGS as the latest docs do. d > On 2013-03-11 12:00, David Arnold wrote: >> On 11/03/2013, at 8:10 AM, Jaap Keuter wrote: >> Hi Jaap, >>> ref bug 8452. &g

Re: [Wireshark-dev] When did autotools started to use AM_CPPFLAGS

2013-03-11 Thread David Arnold
On 11/03/2013, at 8:10 AM, Jaap Keuter wrote: Hi Jaap, > ref bug 8452. > > When did autotools started to use AM_CPPFLAGS, which are now favorable over > INCLUDE? Do we break anything with this cleanup? (I submitted the bug) The automake documentation says: INCLUDES This does the same job

Re: [Wireshark-dev] Dissector question

2013-03-11 Thread David Arnold
ta using p_add_proto_data() appears to have worked correctly. Thanks to you both for your help, d > -Original Message- > From: David Arnold > To: Developer support list for Wireshark > Sent: Sun, Mar 10, 2013 1:32 pm > Subject: Re: [Wireshark-dev] Dissector q

Re: [Wireshark-dev] Dissector question

2013-03-10 Thread David Arnold
On 10/03/2013, at 5:13 PM, Evan Huus wrote: Hi Evan, Thanks for your help. <...> > I'm not sure I follow this. Can't you simply store the most recent > sequence number in the conversation struct, and increment it for each > PDU received? I tried to do this, and perhaps I just got it (slightly)

[Wireshark-dev] Dissector question

2013-03-10 Thread David Arnold
Hi all, I'm writing a dissector for a TCP-based framing protocol which implements application-level sequence numbers by counting received messages. When a client logs into the server, the login acceptance packet from the server includes the number of the next packet to be delivered, and the cl

Re: [Wireshark-dev] Accuracy of wireshark

2012-10-10 Thread David Arnold
If NTP and the OS are not good enough, we use capture cards from Napatech to obtain better time stamps than our host servers can manage. They sync with a PTP grand master. They provide a custom libpcap that works with their card (and wire/tshark). d -- David Arnold Mantara Office: +1

[Wireshark-dev] Custom formatter for 64bit field

2010-03-11 Thread David Arnold
Hi! I'm writing a dissector for a protocol that uses a 64-bit time field which is not in the format required for FT_ABSOLUTE_TIME. So, I declared the hfinfo like { &hf_prot_pkthdr_time, { "Transmit Time", "prot.time", FT_UINT64, BASE_CUSTOM, prot_fmt_tim