Re: [Wireshark-dev] Anonymous union in epan/dissectors/packet-scsi-osd.c not valid with Sun C compiler

2006-11-06 Thread ronnie sahlberg
please test latest svni have changed it to not use anonymous unions/structs On 11/5/06, Albert Chin [EMAIL PROTECTED] wrote: On Solaris 2.6, compiling 0.99.4 with the Sun C compiler fails because anonymous unions are not valid. epan/dissectors/packet-scsi-osd.c has: typedef struct

[Wireshark-dev] Where do I get gmodule.h for dissector development

2006-11-06 Thread Robert Trybis
Hello, I want to write a dissector and I am trying to work through the example packet-foo from the documentation. I downloaded the Windows binary distribution for WireShark 00.99.4 , as I only want to write a plugin and dont wish to build the entire program. The install worked

Re: [Wireshark-dev] Where do I get gmodule.h for dissectordevelopment

2006-11-06 Thread Robert Trybis
I think I am following the manual. I used SVN to get the 00.99.4 sources but these do not contain gmodule.h Have you any idea where gmodule.h is normally? There have been other posts about people having difficulty compiling dissectors because this file is missing, but I have not seen how they

Re: [Wireshark-dev] Where do I get gmodule.h fordissectordevelopment

2006-11-06 Thread Anders Broman \(AL/EAB\)
Hi, To develop on Windows you don't only need wireshark sources you'll also need all the support libraries (see the manual) run make -f makefile.nmake setup To obtain them. BR Anders -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Trybis Sent:

[Wireshark-dev] Buildin from tarball fails...

2006-11-06 Thread Anders Broman \(AL/EAB\)
Title: Buildin from tarball fails... Hi Wiresharkdoc.ico is missing from EXTRA_DIST = \ in top makefile.am Could some one check in a fix? BR Anders ___ Wireshark-dev mailing list Wireshark-dev@wireshark.org

[Wireshark-dev] Problem due to segmentation of GTP packet.....

2006-11-06 Thread prashanth joshi
Hi all, Please any one solve my problem. Every body here are struggling to solve it, but no body is getting the solution. Regards, Prashanth. Our trace file contains 5 GCDR 's within the same GTP packet. The first four CDR's are correctly parsed. How ever the fifth is not at all

[Wireshark-dev] creating a NBAP dissector with a different version of the NBAP ASN.1 definition - asn2wrs questions

2006-11-06 Thread Martin Peylo
Hi all, I don't have much knowledge about ASN.1 and NBAP so please excuse me if I ask a question where the answer is quite clear to someone who has ;-) I should be able to produce a packet-nbap.c which fits to a different (or better any) version of the NBAP stardard. The different versions of

[Wireshark-dev] Where do I get gmodule.h for dissector development

2006-11-06 Thread Robert Trybis
Hello, I want to write a dissector and I am trying to work through the example packet-foo from the documentation. I downloaded the Windows binary distribution for WireShark 00.99.4 , as I only want to write a plugin and dont wish to build the entire program. The install worked

[Wireshark-dev] Don't need the chaff

2006-11-06 Thread Andrew.Martin
Hi, I'm developing a dissector, now within a packet header there are 2 bytes, 5 bits relate to flags and 3 bits refer to the message. I've managed to seperate the flags into their individual bits, butI needall three of the remaining bits. How do Ido that? Cheers This email and any

Re: [Wireshark-dev] Buildin from tarball fails...

2006-11-06 Thread Jaap Keuter
Hi, Done. And removed the executable property from the icon file. Thanx, Jaap On Mon, 6 Nov 2006, Anders Broman (AL/EAB) wrote: Hi Wiresharkdoc.ico is missing from EXTRA_DIST = \ in top makefile.am Could some one check in a fix? BR Anders

Re: [Wireshark-dev] Don't need the chaff

2006-11-06 Thread Jaap Keuter
Hi, See this blurb in README.developer bitmask --- If the field is a bitfield, then the bitmask is the mask which will leave only the bits needed to make the field when ANDed with a value. The proto_tree routines will calculate 'bitshift' automatically from 'bitmask', by finding the

Re: [Wireshark-dev] Where do I get gmodule.h fordissectordevelopment

2006-11-06 Thread Robert Trybis
Hi, Guilty! Sorry. I got the impression I might be able to build a dissector plugin as a dll without needing to be able to build the entire Wireshark. I am going back to square one. Regards RT -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jaap

Re: [Wireshark-dev] contribution: OpenChange dissector for NSPI protocol

2006-11-06 Thread Julien Kerihuel
The NSPI PCAP file is available on the Wiki: http://wiki.wireshark.org/SampleCaptures#head-21fafc22e7de823b20936a27f0815bd188ac17b8 Regards. On Mon, 2006-11-06 at 11:57 +1100, ronnie sahlberg wrote: I've filtered out a capture file with all the NSPI commands implemented in the dissector. Is

Re: [Wireshark-dev] Problem due to segmentation of GTP packet.....

2006-11-06 Thread Anders Broman \(AL/EAB\)
Hi, You have to insert TCP reassembly into the dissector by using tcp_dissect_pdus(), have a look in packed-diameter.c how it can be done. There is alo a section in the manual about this. BR Anders P.S Example code: static guintget_diameter_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb,

Re: [Wireshark-dev] Where do I get gmodule.h fordissectordevelopment

2006-11-06 Thread Jaap Keuter
Hi, No worries, just follow the easy steps in the developer manual (don't get creative unless you know what your doing) and you'll be up and running in no time. Other sources for valuable information are the README.* files in the doc/ subdirectory and the Wiki of course. Thanx, Jaap On Mon, 6

Re: [Wireshark-dev] ACN Source code

2006-11-06 Thread Bill Florac
Did someone finally get a valid attachments on this? I don't see them in the build yet. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Florac Sent: Tuesday, October 31, 2006 11:08 PM To: Developer support list for Wireshark Subject:

[Wireshark-dev] Verify installed tools failing

2006-11-06 Thread Robert Trybis
I am trying to work my way through the Developer Installation on a Windows XP machine, but tools verification seems to fail; I have got Microsoft Visual Studio 6.0 installed. The installation of Cygwin and its additional packages seemed to go okay, I can open a bash window. I downloaded the

[Wireshark-dev] wslua won't build in 0.99.4

2006-11-06 Thread Michael Lum
Hi, Windows XP Pro Visual C++ 6 (Performed: distclean, clean_setup, setup) I just pulled down 0.99.4 from svn and tried to build it and received the error below. Does anyone have any suggestions? I searched the dev mailing list and didn't find anything. cd .. cd wslua

Re: [Wireshark-dev] Verify installed tools failing

2006-11-06 Thread Neil Piercy
I had the same issue and forgot to submit it: the win32-setup.sh (and IIRC one of the other scripts in the top level - make-manuf perhaps?) had been converted to DOS line endings and bash doesnt like it (even under Windoes) Neil Robert Trybis wrote: I am trying to work my way through the

Re: [Wireshark-dev] wslua won't build in 0.99.4

2006-11-06 Thread LEGO
That's odd... it should have been caught by the buildbot, (I do not see that error with perl v5.8.6 on MacOS X). Can you try this patch and see if that fixes the problem for you. Luis Index: make-taps.pl === --- make-taps.pl

Re: [Wireshark-dev] [Patch] Fix for bug #1163: Dissector bug. ISO8073COTP protocol.

2006-11-06 Thread Graeme Lunt
Steve, Attached is a patch to fix bug #1163: Dissector bug. ISO8073 COTP protocol. The SES dissector was incorrectly believing it had PDUs within the COTP PDUs. I added an additional heuristic check to see if the length of the SES PDU is 0, then return false since it can't be zero

Re: [Wireshark-dev] wslua won't build in 0.99.4

2006-11-06 Thread LEGO
I just committed revision 19824 with this fix. the problem is that in typedef\\s+enum[^{]*{([^}]*)}[\\s\\n]*${ename}[\\s\\n]*;; `${ename}[\\s\\n]` is interpreted as $ename[\\s\\n] instead of being interpreted as: `$ename . [\\s\\n]` which perl version do you use? Luis On 11/6/06, Michael Lum

Re: [Wireshark-dev] wslua won't build in 0.99.4

2006-11-06 Thread Michael Lum
Hi Luis, I have two version of perl installed. Assuming the perl from a cygwin shell is being run the version is as follows: [EMAIL PROTECTED] ~ $ perl -v This is perl, v5.8.7 built for cygwin-thread-multi-64int (with 1 registered patch, see perl -V for more detail) Copyright 1987-2005, Larry

Re: [Wireshark-dev] Verify installed tools failing

2006-11-06 Thread Joerg Mayer
On Mon, Nov 06, 2006 at 05:06:30PM -, Robert Trybis wrote: I am trying to work my way through the Developer Installation on a Windows XP machine, but tools verification seems to fail; ... more unrelated stuff deleted ... Please do not highjack threads with other topics for unrelated mails.

Re: [Wireshark-dev] [Patch] Fix for bug #1163: Dissector bug. ISO8073COTP protocol.

2006-11-06 Thread Stephen Fisher
On Mon, Nov 06, 2006 at 06:35:25PM +0100, Graeme Lunt wrote: This patch (r19733) breaks the dissection of X.400 and X.500 protocols, and probably other things besides. I think that the heuristic is incorrect. Oops, sorry about that. Do you know where I can get a copy of the standard so I

Re: [Wireshark-dev] ACN Source code

2006-11-06 Thread ronnie sahlberg
checked in On 11/6/06, Bill Florac [EMAIL PROTECTED] wrote: Did someone finally get a valid attachments on this? I don't see them in the build yet. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Florac Sent: Tuesday, October 31, 2006

Re: [Wireshark-dev] contribution: OpenChange dissector for NSPI protocol

2006-11-06 Thread ronnie sahlberg
i have added policy handle tracking to the nspi.cnf file i also converted the restrictiontypes into an enumwhich is much better than just a list of defines and a uint32 please consider changing all other such types into proper enums as well On 11/6/06, Julien Kerihuel [EMAIL PROTECTED]

Re: [Wireshark-dev] [Wireshark-bugs] [Bug 1179] cmake build integration + dbus + bunch of memleak fixes

2006-11-06 Thread Ulf Lamping
[EMAIL PROTECTED] wrote: Please do not confuse the bug that I may have introduced, and the wireshark/glib bugs. THERE ARE NO WIRESHARK BUGS THAT YOU'VE FIXED (beside some very unimportant memory leaks)!!! There are crashes in the dumpcap code as you've not used it as designed. Then

Re: [Wireshark-dev] [Wireshark-commits] rev 19777: /trunk/ /trunk/: capture-pcap-util.c capture_loop.c capture_opts.c dumpcap.c

2006-11-06 Thread Ulf Lamping
[EMAIL PROTECTED] wrote: http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=revrevision=19777 User: jmayer Date: 2006/11/02 09:45 AM Log: Frederic Heem: Fix some memleaks and overflows. I haven't committed the changes that are not bug fixes. Directory: /trunk/ ChangesPath

Re: [Wireshark-dev] Bug #1203 fix: Top coloring rule doesn't work

2006-11-06 Thread Ulf Lamping
Stephen Fisher wrote: Attached is a patch to fix bug #1203: The rule on top of the coloring rule list is not executed I changed g_slist_next to g_slist_nth with a counter variable starting at 0 to fix this problem. This is because the first call to g_slist_next (while on the first entry

Re: [Wireshark-dev] Bug #1203 fix: Top coloring rule doesn't work

2006-11-06 Thread Stephen Fisher
On Tue, Nov 07, 2006 at 01:04:46AM +0100, Ulf Lamping wrote: Instead of using another counter, simply put the next call at the end of the loop. Even better! Thanks. Steve ___ Wireshark-dev mailing list Wireshark-dev@wireshark.org

[Wireshark-dev] Replace ntohl() with g_ntohl()

2006-11-06 Thread Albert Chin
Patch attached to convert usage of ntohl() - g_ntohl(). On HP-UX, ntohl() isn't available unless you -D_XOPEN_SOURCE_EXTENDED but there are other uses of g_ntohl(). -- albert chin ([EMAIL PROTECTED]) Index: gtk/sctp_graph_dlg.c ===

[Wireshark-dev] Use of gcrypt and gnutls in version_info.c

2006-11-06 Thread Albert Chin
version_info.c has: #ifdef HAVE_LIBGCRYPT #include gcrypt.h #endif /* HAVE_LIBGCRYPT */ #ifdef HAVE_LIBGNUTLS #include gnutls/gnutls.h #endif /* HAVE_LIBGNUTLS */ However, Makefile.am doesn't include the necessary CPPFLAGS/LDFLAGS to resolve symbols from the above. Patch attached.

Re: [Wireshark-dev] Replace ntohl() with g_ntohl()

2006-11-06 Thread Jaap Keuter
Hi, Checked in. Thanx, Jaap On Mon, 6 Nov 2006, Albert Chin wrote: Patch attached to convert usage of ntohl() - g_ntohl(). On HP-UX, ntohl() isn't available unless you -D_XOPEN_SOURCE_EXTENDED but there are other uses of g_ntohl(). -- albert chin ([EMAIL PROTECTED])