Re: [Wireshark-dev] [Wireshark-users] [ANNOUNCE] WinPcap 4.0 has been released

2007-01-29 Thread Jaap Keuter
Hi List, On the back of WinPCap 4.0 our fearless leader has made a new prerelease http://www.wireshark.org/download/prerelease/wireshark-setup-0.99.5pre2-20620.exe with a whole bunch of fixes and improvements. Lets give this installer a serious testdrive. Thanx, Jaap On Mon, 29 Jan 2007, Gianlu

Re: [Wireshark-dev] [Wireshark-commits] rev 20615: /trunk/gtk/ /trunk/gtk/: uat_gui.c

2007-01-29 Thread Jaap Keuter
Hi, Sorry to hear that. Not letting it go to waste, you could write up what you've found out on the Wiki, so the knowledge is available when this obvious improvement is thought of the next time. Thanx, Jaap On Tue, 30 Jan 2007, Ulf Lamping wrote: > Stephen Fisher wrote: > > Our own function, wi

[Wireshark-dev] Dissector for RPC/NFS traffic anonymization

2007-01-29 Thread Shehjar Tikoo
Hi all I am developing a binary traffic anonymizer for NFS. I'll be getting traces from a file, anonymizing the packets/segments and dumping to another output file. One of the main tasks while anonymizing the traces is to handle the RPC-over-TCP message fragmentation and re-assembly. To handle th

Re: [Wireshark-dev] bootstrapping SVN checkout

2007-01-29 Thread Jeff Morriss
Andreas Fink wrote: > Hello, > > I've just done a SVN checkout of the sources into a new directory. > I have troubles to "bootstrap" this version as there is no "configure" file. > So I run automake (version 1.6.3 is installed) and I get: [...] > and so forth > anyone have a hint to get started o

[Wireshark-dev] bootstrapping SVN checkout

2007-01-29 Thread Andreas Fink
Hello, I've just done a SVN checkout of the sources into a new directory. I have troubles to "bootstrap" this version as there is no "configure" file. So I run automake (version 1.6.3 is installed) and I get: andreas10:~/development/ws/wireshark afink$ automake configure.in:17: no proper impl

Re: [Wireshark-dev] [Wireshark-commits] rev 20615: /trunk/gtk/ /trunk/gtk/: uat_gui.c

2007-01-29 Thread Ulf Lamping
Stephen Fisher wrote: > Our own function, window_present(), is GTK2 and GTK1 compatiable. It > calls gtk_window_present() in the case of GTK2 and does some other > things for GTK1. > Ah, yes, good point! I guess I've added the function myself some time ago, just for these tasks ;-) I'll che

Re: [Wireshark-dev] Win32: get rid of the xy.def files?!?

2007-01-29 Thread Ulf Lamping
Ulf Lamping wrote: > Hi List! > > The current way we handle Win32 DLL export of symbols is a bit odd in my eyes. > > You'll have to add the symbol name to a .def file. If it is a variable, in > addition to this you'll need to append DATA to this entry and add > WS_VAR_IMPORT to the corresponding

[Wireshark-dev] [patch] Update for packet-jxta.c

2007-01-29 Thread Mike Duigou
Adds support for dissecting the new version 2 binary wire format messages. Has been fuzz tested with a number of traces. Mike packet-jxta.diffs_20616.gz Description: GNU Zip compressed data ___ Wireshark-dev mailing list Wireshark-dev@wireshark.org h

Re: [Wireshark-dev] [Wireshark-commits] rev 20615: /trunk/gtk/ /trunk/gtk/: uat_gui.c

2007-01-29 Thread Stephen Fisher
Our own function, window_present(), is GTK2 and GTK1 compatiable. It calls gtk_window_present() in the case of GTK2 and does some other things for GTK1. On Mon, Jan 29, 2007 at 11:29:12PM +, [EMAIL PROTECTED] wrote: > http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=20615 >

Re: [Wireshark-dev] [Wireshark-commits] rev 20609: /trunk/ /trunk/: config.h.win32

2007-01-29 Thread Ulf Lamping
[EMAIL PROTECTED] wrote: > http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=20609 > > User: etxrab > Date: 2007/01/29 08:58 PM > > Log: > Comment out Ulfs changes to be able to do a test build. > > Could you please explain that a bit further ?!? If there's a bug in the logic, i

[Wireshark-dev] VB: [Wireshark-commits] rev 20605: /trunk/gtk/ /trunk/gtk/: dlg_utils.c uat_gui.c uat_gui.h

2007-01-29 Thread Anders Broman
Hi, It's using gtk_window_present() which is only available in GTK2 so the Windows build fails. BR Anders -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För [EMAIL PROTECTED] Skickat: den 29 januari 2007 15:14 Till: wireshark-commits@wireshark.org Ämne: [Wiresh

Re: [Wireshark-dev] [Wireshark-commits] rev 20608: /trunk/gtk/ /trunk/gtk/: sctp_assoc_analyse.c sctp_stat.c sctp_stat.h sctp_stat_dlg.c

2007-01-29 Thread Michael Tuexen
Gerald, could you please copy this over to 0.99.5 tree? These are bugfixes which improves the handling of some SCTP trace captured in real life traces. Best regards Michael On Jan 29, 2007, at 8:45 PM, [EMAIL PROTECTED] wrote: > http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=20

Re: [Wireshark-dev] address_to_str_buf not checking available buffer length

2007-01-29 Thread Gerald Combs
Andrej Mikus wrote: > In file to_str.c I notice function address_to_str_buf that takes buf_len > as argument, but does not use it for IPv4 and IPv6 addresses: > > void > address_to_str_buf(const address *addr, gchar *buf, int buf_len) > { > switch(addr->type){ > case AT_IPv4: > ip_to_str_

Re: [Wireshark-dev] Dissecting bit fields

2007-01-29 Thread Kai Blin
On Monday 29 January 2007 20:20, Jaap Keuter wrote: > Ehh, I could point you to packet-bacnet.c which has a typical way of > implementing dissection of a bitfield. Look up the FT_BOOLEAN symbol and > see how these fields are decoded. Yeah, that was exactly what I wanted to avoid. The code for this

[Wireshark-dev] Ubuntu buildbot broken

2007-01-29 Thread Jaap Keuter
Hi, The Ubuntu buildbot is broken. epan/.libs/libwireshark.so: undefined reference to `yy_flex_realloc' Luis, could you have a look? Thanx, Jaap ___ Wireshark-dev mailing list Wireshark-dev@wireshark.org http://www.wireshark.org/mailman/listinfo/wire

[Wireshark-dev] Win32 buildbot broken

2007-01-29 Thread Jaap Keuter
Hi, The Win32 buildbot is broken because of compiler incompatibility: config.h(260) : fatal error C1189: #error : Your MSVC_VARIANT setting in config.nmake and the C compiler version 14.00 (V8.0) don't match! Can someone with insight in this have a look? Thanx, Jaap __

Re: [Wireshark-dev] [ANNOUNCE] WinPcap 4.0 has been released

2007-01-29 Thread Jaap Keuter
Hi, Thanks! Good work. And Gerald... Ping! ;) Jaap On Mon, 29 Jan 2007, Gianluca Varenni wrote: > As of today, WinPcap 4.0 is available in the download section of the > WinPcap website, http://www.winpcap.org/install/ . > > This software release contains major improvements to the kernel > driv

Re: [Wireshark-dev] Dissecting bit fields

2007-01-29 Thread Jaap Keuter
Hi, Ehh, I could point you to packet-bacnet.c which has a typical way of implementing dissection of a bitfield. Look up the FT_BOOLEAN symbol and see how these fields are decoded. Thanx, Jaap On Mon, 29 Jan 2007, Kai Blin wrote: > Hi folks, > > I was wondering if there was a nice method to diss

Re: [Wireshark-dev] dissecting multiple instances of the same message within one TCP packet

2007-01-29 Thread Jaap Keuter
Hi, When your dissector gets handed the payload loop the MSG_X dissector until the payload is exhausted. Like so dissect_MSG_X(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { /* dissect MSG_X */ return size; } dissect_multiple_MSG_X(tvbuff_t *tvb, packet_info *pinfo, pro

Re: [Wireshark-dev] adding dissector, automake fails

2007-01-29 Thread Jaap Keuter
Hi, Yep, you'll need the whole source to start building plugins. Thanx, Jaap On Mon, 29 Jan 2007, your highness wrote: > Thanx Jaap, > > That clarifies a lot. I am going to follow those instructions then. > According to the README.plugin changes have to be done to higher level > Makefile.am's.

[Wireshark-dev] [ANNOUNCE] WinPcap 4.0 has been released

2007-01-29 Thread Gianluca Varenni
As of today, WinPcap 4.0 is available in the download section of the WinPcap website, http://www.winpcap.org/install/ . This software release contains major improvements to the kernel driver, which has been thoroughly reviewed (and partially rewritten). As a result, WinPcap 4.0 is extremely mor

Re: [Wireshark-dev] [PATCH] DCCP: timestamp/timestamp echo

2007-01-29 Thread Jaap Keuter
Hi, Checked in. Thanx, Jaap On Mon, 29 Jan 2007, Francesco Fondelli wrote: > Hi all, > > Gerrit Renker fixed a bug in DCCP dissector about long timestamps. > (bad offsets) > > He wrote: > > attached is a patch which updates the offsets of the timestamps. > > I have verified this against [RFC 43

Re: [Wireshark-dev] Wireshark w/ MSVC++ 2005 EE fails to capture

2007-01-29 Thread Stephen Fisher
On Mon, Jan 29, 2007 at 09:01:21AM -0600, Rick Gudmundson wrote: > I wanted to second the issue of crashing with DNS & Wireshark compiled > with MS005EE. I have similar symptoms where captures without name > resolution went fine. However, when name resolution was enabled, it > would crash after

[Wireshark-dev] Dissecting bit fields

2007-01-29 Thread Kai Blin
Hi folks, I was wondering if there was a nice method to dissect a 32bit bit field, other than reading it into 32 seperate variables and dissecting it 32 times with a different bit flag (which seems to be the method of choice in the dissectors I looked up). Cheers, Kai -- Kai Blin, WorldForge

Re: [Wireshark-dev] How do I initialise a boolean preference

2007-01-29 Thread Hal Lander
This makes things clearer. I was looking in the directories where I have been building/running Wireshark. Instead Windows, in my documents directory, has a hidden directory called 'Appllication Data'. That is why I could not find things. The sub directory \Application Data\Wireshark contains t

[Wireshark-dev] dissecting multiple instances of the same message within one TCP packet

2007-01-29 Thread Jim L Hartwig
I am a new Wireshark user and developer. Let me refer to my message of interest as MSG_X. I have written a dissector that dissects MSG_X which is in the TCP payload. What's the best way to dissect multiple instances of MSG_X within one TCP packet ? Regards, Jim Hartwig Texas Engineering Cent

Re: [Wireshark-dev] Wireshark w/ MSVC++ 2005 EE fails to capture

2007-01-29 Thread Rick Gudmundson
I wanted to second the issue of crashing with DNS & Wireshark compiled with MS005EE. I have similar symptoms where captures without name resolution went fine. However, when name resolution was enabled, it would crash after a few packets were captured. If there's a potential solution that needs tes

Re: [Wireshark-dev] adding dissector, automake fails

2007-01-29 Thread your highness
Thanx Jaap, That clarifies a lot. I am going to follow those instructions then. According to the README.plugin changes have to be done to higher level Makefile.am's. If I am correct I have to install the whole source, or am I wrong? I thought that I would be able to just compile my own sources. I

[Wireshark-dev] [PATCH] DCCP: timestamp/timestamp echo

2007-01-29 Thread Francesco Fondelli
Hi all, Gerrit Renker fixed a bug in DCCP dissector about long timestamps. (bad offsets) He wrote: attached is a patch which updates the offsets of the timestamps. I have verified this against [RFC 4342, sec. 13] and it seems correct. I have verified it as well, it's correct. You find attach

[Wireshark-dev] wslua refereance manual

2007-01-29 Thread Luis Ontanon
It's been few days that I got wslua's reference manual into the docbook directory, it's built OK (at least it loos so from here). What's to be done to add it to the distribution? -- This information is top security. When you have read it, destroy yourself. -- Marshall McLuhan ___

Re: [Wireshark-dev] adding dissector, automake fails

2007-01-29 Thread Jaap Keuter
Hi, Auw, that paragraph needs some serious work. Please let me refer you to the README.plugin in the doc/ directory. That contains the current state of the art way of creating plugin dissectors. For the rest, I never use autoscan, just automake, configure and make. Thanx, Jaap On Mon, 29 Jan 20

[Wireshark-dev] adding dissector, automake fails

2007-01-29 Thread your highness
I am trying to add a dissector as a plugin for a new protocol. Before writing the dissector I tried the source of the example described in the documentation for developers: http://www.wireshark.org/docs/wsdg_html_chunked/ChDissectAdd.html I am using the Makefile.am of Example 9.6. given on that pa

Re: [Wireshark-dev] Using Lua to parse TCP encapsulated IP protocol

2007-01-29 Thread Luis Ontanon
No luck, I cannot get it to crash by using that data by itself. could you send me in a capture file with the one packet that caused the crash so I can study that crash? Thanks, Luis On 1/29/07, Luis Ontanon <[EMAIL PROTECTED]> wrote: > Well the Lua API should intercept those conditions that woul

Re: [Wireshark-dev] Using Lua to parse TCP encapsulated IP protocol

2007-01-29 Thread Luis Ontanon
Well the Lua API should intercept those conditions that would cause a crash and notify an error to the user, a crash is a bug regardless of how you get to it. I'll take a look at that data to see if that triggersa creash if calling the IP dissector directly. Luis 1/29/07, Scott Robinson <[EMAIL

Re: [Wireshark-dev] Using Lua to parse TCP encapsulated IP protocol

2007-01-29 Thread Scott Robinson
Hi Luis, I tried 0.99.5pre1 (WinXP - still crashes) and even started building the Linux client to test, that's when I noticed the capture file seemed to partially load before crashing. I switched to tshark and was able to verify a specific packet was always causing the crash. When I investigated

Re: [Wireshark-dev] [PATCH] New menu items to copy packet data

2007-01-29 Thread Douglas Pratley
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Stephen Fisher > Sent: 28 January 2007 02:54 > To: Developer support list for Wireshark > Subject: Re: [Wireshark-dev] [PATCH] New menu items to copy > packet data > > On Thu, Jan 11, 2007 at 01

Re: [Wireshark-dev] How do I initialise a boolean preference

2007-01-29 Thread Hal Lander
What name did you register your preferences module under, and what name did you register your preference under? Code snip below. proto_foo = proto_register_protocol("My protocol","FOO", "foo"); foo_module = prefs_register_protocol(proto_foo, proto_reg_handoff_foo); prefTick=TRUE; prefs_register

Re: [Wireshark-dev] [PATCH] update wiretap and USB dissector

2007-01-29 Thread Paolo Abeni
Hello, On Fri, 2007-01-26 at 22:18 -0500, Charles Lepple wrote: > I'm going to take a look at it, but do you have any sample captures > for the new format? In attachment to this mail there is the trace produced connecting a phone with a modem interface into the usb bus 1. I also updated the wik