[Wireshark-dev] help on writing a new dissector

2006-07-20 Thread Priyanka Kamath
Hi All,   Sorry if this ques sounds stupid...but i have very little idea about how wireshark works.   I am looking at writing a dissector for a particular file i have. This file contains certain messages, which we are interested in showing on the Wireshark GUI. Can i write a dissector if we have i

[Wireshark-dev] First packet is malformed and empty

2006-07-20 Thread Stephen Fisher
I recently started having a problem on my OS X machine with the latest SVN where the first packet shows up as 0 length and is malformed. This always happens in Wireshark - capturing live or reading from a file, and sometimes when reading from a file in tshark. It just says: 1 0.00

Re: [Wireshark-dev] Solaris dfilter/dtd issues

2006-07-20 Thread Jeff Morriss
I wondered about that, too--that's part of why I svn up'd to 18777 (which has that fix). LEGO wrote: > http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1009 ? > > > On 7/21/06, Jeff Morriss <[EMAIL PROTECTED]> wrote: >> Well, I have these: >> >>> firebird [~/]> flex -V >>> flex version 2.5.4

Re: [Wireshark-dev] Solaris dfilter/dtd issues

2006-07-20 Thread LEGO
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1009 ? On 7/21/06, Jeff Morriss <[EMAIL PROTECTED]> wrote: > > Well, I have these: > > > firebird [~/]> flex -V > > flex version 2.5.4 > > firebird [~/]> lex -V > > lex: Software Generation Utilities (SGU) Solaris-ELF (4.0) > > but it appears to

Re: [Wireshark-dev] Solaris dfilter/dtd issues

2006-07-20 Thread Jeff Morriss
Well, I have these: > firebird [~/]> flex -V > flex version 2.5.4 > firebird [~/]> lex -V > lex: Software Generation Utilities (SGU) Solaris-ELF (4.0) but it appears to be using 'flex': > checking for flex... /usr/local/bin/flex I upgraded to flex 2.5.31 but still hit the problem. So I update

Re: [Wireshark-dev] Bug 976

2006-07-20 Thread Guy Harris
On Jun 27, 2006, at 5:51 AM, Martin Mathieson wrote: > Looking at frame 170 in the trace, it looks like > tvb_get_ephemeral_text() struggles with the null character in the > middle of the 4th parameter (in the WWW-Authenticate header) and > returns NULL. That shouldn't happen - tvb_get_eph

Re: [Wireshark-dev] 802.11 ERP barker preamble bit misinterpretation (patch inside)

2006-07-20 Thread Joerg Mayer
On Thu, Jul 20, 2006 at 09:45:37PM +0100, Daniel Drake wrote: > The barker preamble bit is set when a station associates which does not > support > short preambles. When it is 0, short preambles are allowed. Committed revision 18777. Thanks! Joerg -- Joerg Mayer

[Wireshark-dev] 802.11 ERP barker preamble bit misinterpretation (patch inside)

2006-07-20 Thread Daniel Drake
Hi, The barker preamble bit is set when a station associates which does not support short preambles. When it is 0, short preambles are allowed. Please apply this patch. Daniel Index: epan/dissectors/packet-ieee80211.c === --- epan

Re: [Wireshark-dev] wireshark_0.99.2-1_i386.changes REJECTED

2006-07-20 Thread Ulf Lamping
Gerald Combs wrote: >> merge.c: missing license info, but based on ethereal work >> mergecap.c: idem >> Ok, I had a look at editcap.c, mergecap.c and merge.c editcap.c was implemented by Richard Sharpe and Guy Harris, later improved by others. http://anonsvn.wireshark.org/viewvc/viewvc.cgi/t

Re: [Wireshark-dev] [Wireshark-commits] rev 18766: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-msrp.c

2006-07-20 Thread Joerg Mayer
On Thu, Jul 20, 2006 at 02:09:51PM +0100, Martin Mathieson wrote: > >When it reaches the end of the tvb, tvb_find_line_end() will set > >'next_offset' beyond the end of the buffer, so at the next test, > >tvb_offset_exists() will fail. Or am I missing something? (I didn't > >write this loop, I

[Wireshark-dev] [Patch] Allow FT_NONE item to be filtered from menu

2006-07-20 Thread Martin Mathieson
Hi, This patch allows FT_NONE items to be built into filter expressions (i.e. testing for their presence or absence rather than comparing with a value) using the Apply|Prepare a Filter menus. What drove me to add this was having to type in !tcp.analysis.out_of_order. Does this seem reasonab

Re: [Wireshark-dev] [Wireshark-commits] rev 18766: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-msrp.c

2006-07-20 Thread Martin Mathieson
Martin Mathieson wrote: >Joerg Mayer wrote: > > > >>On Wed, Jul 19, 2006 at 06:51:26PM +, [EMAIL PROTECTED] wrote: >> >> >> >> >>>http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=18766 >>> >>>User: etxrab >>>Date: 2006/07/19 06:51 PM >>> >>>Log: >>>From Martin Mathieson:

Re: [Wireshark-dev] [Wireshark-commits] rev 18766: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-msrp.c

2006-07-20 Thread Martin Mathieson
Joerg Mayer wrote: >On Wed, Jul 19, 2006 at 06:51:26PM +, [EMAIL PROTECTED] wrote: > > >>http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=18766 >> >>User: etxrab >>Date: 2006/07/19 06:51 PM >> >>Log: >> From Martin Mathieson: >> >> This patch: >> - adds headers found in late

Re: [Wireshark-dev] [Wireshark-commits] rev 18766: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-msrp.c

2006-07-20 Thread Joerg Mayer
On Wed, Jul 19, 2006 at 06:51:26PM +, [EMAIL PROTECTED] wrote: > http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=18766 > > User: etxrab > Date: 2006/07/19 06:51 PM > > Log: > From Martin Mathieson: > > This patch: > - adds headers found in later versions of the msrp draf

Re: [Wireshark-dev] Dissector for H1 protocol not called

2006-07-20 Thread Thomas Boehne
On Thursday 20 July 2006 12:06, Jeff Morriss wrote: > If I set the TCP preference "Try heuristic dissectors first?" then the > "nok" file shows up as H1 for me. This works for me too, thanks! > The "nok" file has a TCP segment between ports 1030 and 2000. Looking in: > > http://www.iana.org/assi

Re: [Wireshark-dev] Solaris dfilter/dtd issues

2006-07-20 Thread LEGO
can you type $ lex -V $ flex -V and see what comes out. I think you might be using sun's lex (for which I never tested the code) instead of flex. On 7/20/06, Jeff Morriss <[EMAIL PROTECTED]> wrote: > > Hi list, > > I've been trying to get a running Wireshark 0.99.2 on Solaris 9 for a > couple day

Re: [Wireshark-dev] wireshark_0.99.2-1_i386.changes REJECTED

2006-07-20 Thread ronnie sahlberg
On 7/19/06, Gerald Combs <[EMAIL PROTECTED]> wrote: > The Debian package approval process turned up several source files in > the Wireshark distribution that don't have explicit licenses. With the > exception of in_cksum.h, is there any reason these shouldn't be GPLed? > > snprintf.h: > > no l

Re: [Wireshark-dev] Dissector for H1 protocol not called

2006-07-20 Thread Jeff Morriss
Thomas Boehne wrote: > Hello, > > I was capturing H1 traffic, and for some TCP port combinations the H1 > dissector was called for other combinations the generic "data" > dissector was used. Can somebody tell me why? I thought the > packet-h1.c dissector would dissect all packets that start with

Re: [Wireshark-dev] wireshark_0.99.2-1_i386.changes REJECTED

2006-07-20 Thread LEGO
On 7/19/06, Gerald Combs <[EMAIL PROTECTED]> wrote: > The Debian package approval process turned up several source files in > the Wireshark distribution that don't have explicit licenses. With the > exception of in_cksum.h, is there any reason these shouldn't be GPLed? > > tap-funnel.c: no licen

Re: [Wireshark-dev] New packet disassembly module

2006-07-20 Thread ronnie sahlberg
can you 1, change the dissector to be a new style dissector (i.e. change the dissector to return TRUE/FALSE and check that the packet looks like LCS before dissecting it.see prevvious comments about new-style dissector for why and how) make the heuristics as strong asd possible ! 2, set the

Re: [Wireshark-dev] Bug in packet-eapol.c

2006-07-20 Thread ronnie sahlberg
checked in On 7/18/06, Michael Stevens <[EMAIL PROTECTED]> wrote: > This section of code prevents disassembly of the data field of RSN Key-Data > packets that are flagged as "Protected". From what I can tell the first > comment is wrong and all group key key data fields are encrypted, not just > W

[Wireshark-dev] Dissector for H1 protocol not called

2006-07-20 Thread Thomas Boehne
Hello, I was capturing H1 traffic, and for some TCP port combinations the H1 dissector was called for other combinations the generic "data" dissector was used. Can somebody tell me why? I thought the packet-h1.c dissector would dissect all packets that start with "S5", but apperently the dissector

[Wireshark-dev] Solaris dfilter/dtd issues

2006-07-20 Thread Jeff Morriss
Hi list, I've been trying to get a running Wireshark 0.99.2 on Solaris 9 for a couple days now; recently I switched to working from SVN and I'm still having issues. They all seem to be related to dtd or dfilter stuff. For example, trying to run SVN 18769 gives: > firebird [~/wireshark/source