Re: [Wireshark-dev] configure fails with cmake on macosx

2010-09-23 Thread Joerg Mayer
On Mon, Sep 20, 2010 at 12:17:48AM +0200, H.sivank wrote: I try to configure Wireshark with cmake on macosx 10.6. It fails with : set_target_properties called with incorrect number of arguments. Attached a patch to fix this issue. Committed revision 34201. Thanks! Joerg -- Joerg Mayer

Re: [Wireshark-dev] Application-layer capture files

2010-09-23 Thread Jaap Keuter
On 09/23/2010 12:00 AM, Hadriel Kaplan wrote: Howdy, For a few years my company's provided a free offline-tool to convert from an internal SIP message capture format of SIP messages received by our system parsers, to pcap format. This tool does the classic trick of creating fake

Re: [Wireshark-dev] [Wireshark-commits] rev 34186: /trunk/ /trunk/epan/: column-utils.c column.c column.h column_info.h epan.c epan.h prefs.c proto.c proto.h /trunk/gtk/: main.c main_packet_list.c new

2010-09-23 Thread Stig Bjørlykke
On Wed, Sep 22, 2010 at 10:56 PM, s...@wireshark.org wrote: Log:  When using a custom column, make it possible to select which occurrence to show if the field has multiple occurrences. Very nice feature Sake! I have some small issues: 1. When showing all occurrences and turning off Show

Re: [Wireshark-dev] win 7 64 bit

2010-09-23 Thread Graham Bloice
On 23/09/2010 01:25, olek...@darkcornersoftware.com wrote: My Win XP 32 bit machine died today. I need to replace it ASAP. I developed a wireshark dissector on my dead XP machine. I was able to create a 32 bit my-dissector.dll file. If I get a win7 64 bit OScan I still create a 32 bit

Re: [Wireshark-dev] [Wireshark-commits] rev 34204: /trunk/cmake/modules/ /trunk/cmake/modules/: FindZLIB.cmake

2010-09-23 Thread Jeff Morriss
jma...@wireshark.org wrote: http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=revrevision=34204 User: jmayer Date: 2010/09/23 12:43 AM Log: Add check for HAVE_GZCLEARERR. Directory: /trunk/cmake/modules/ ChangesPath Action +4 -0 FindZLIB.cmakeModified

Re: [Wireshark-dev] rev 34204: /trunk/cmake/modules/ /trunk/cmake/modules/: FindZLIB.cmake

2010-09-23 Thread Joerg Mayer
On Thu, Sep 23, 2010 at 09:19:57AM -0400, Jeff Morriss wrote: http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=revrevision=34204 User: jmayer Date: 2010/09/23 12:43 AM Log: Add check for HAVE_GZCLEARERR. Directory: /trunk/cmake/modules/ ChangesPath

Re: [Wireshark-dev] [Wireshark-commits] rev 34186: /trunk/ /trunk/epan/: column-utils.c column.c column.h column_info.h epan.c epan.h prefs.c proto.c proto.h /trunk/gtk/: main.c main_packet_list.c new

2010-09-23 Thread Sake Blok
On 23 sep 2010, at 09:37, Stig Bjørlykke wrote: On Wed, Sep 22, 2010 at 10:56 PM, s...@wireshark.org wrote: Log: When using a custom column, make it possible to select which occurrence to show if the field has multiple occurrences. Very nice feature Sake! Thanks! I thought so too :-)

[Wireshark-dev] Piping data to wireshark

2010-09-23 Thread kahou lei
Hi, I wrote a simple program to pipe some data into wireshark. Everything works fine except it doesn't show up the last packet in the wireshark. I am using win32 api (WriteFile, FlushFileBuffers). Those function calls indicate I have successfully written the data to the buffer and flush it to the

Re: [Wireshark-dev] win 7 64 bit

2010-09-23 Thread Gerald Combs
Graham Bloice wrote: On 23/09/2010 01:25, olek...@darkcornersoftware.com wrote: My Win XP 32 bit machine died today. I need to replace it ASAP. I developed a wireshark dissector on my dead XP machine. I was able to create a 32 bit my-dissector.dll file. If I get a win7 64 bit OScan I

Re: [Wireshark-dev] Use val_to_str_ext() friends to access sminmpec_values[]

2010-09-23 Thread Bill Meier
Bill Meier wrote: Jakub Zawadzki wrote: Hi, On Fri, Sep 17, 2010 at 02:00:44PM -0400, Bill Meier wrote: Anders Broman wrote: Is the script fixed to fill out any holes in the list with unasigned? That would be the most efficent use... If I do this, match_strval() against the sminmpec list

Re: [Wireshark-dev] configure fails with cmake on macosx

2010-09-23 Thread H.sivank
I would like to share my experience to build wireshark with cmake on OSX I need this patches to configure and build -cmake_authors.diff : sometimes reconfigure does not find authors file -cmake_quartz.diff : add support to detect quartz gtk -cmake_zlib.diff : fix zlib librairies env

Re: [Wireshark-dev] Piping data to wireshark

2010-09-23 Thread Jaap Keuter
On 09/23/2010 06:38 PM, kahou lei wrote: Hi, I wrote a simple program to pipe some data into wireshark. Everything works fine except it doesn't show up the last packet in the wireshark. I am using win32 api (WriteFile, FlushFileBuffers). Those function calls indicate I have successfully

Re: [Wireshark-dev] configure fails with cmake on macosx

2010-09-23 Thread Stig Bjørlykke
On Thu, Sep 23, 2010 at 9:01 PM, H.sivank hsiv...@gmail.com wrote: -cmake_authors.diff : sometimes reconfigure does not find authors file Doesn't this write the file in the source dir? I suppose this should be put in the build dir? -- Stig Bjørlykke

Re: [Wireshark-dev] configure fails with cmake on macosx

2010-09-23 Thread H.sivank
I think it should be better ifAUTHORS-SHORT andAUTHORS-SHORT-FORMAT (and wireshark.pod)created in build dir.Attached a patch to fix this issue cmake_authors.diff Description: Binary data H.sivankLe 23 sept. 2010 à 21:47, Stig Bjørlykke a écrit :On Thu, Sep 23, 2010 at 9:01 PM, H.sivank

Re: [Wireshark-dev] configure fails with cmake on macosx

2010-09-23 Thread H . sivank
I forget this one. link_mode_module.diff Description: Binary data fix plugins link step H.sivank Le 23 sept. 2010 à 21:01, H.sivank a écrit : I would like to share my experience to build wireshark with cmake on OSX I need this patches to configure and build -cmake_authors.diff :

Re: [Wireshark-dev] configure fails with cmake on macosx

2010-09-23 Thread Stig Bjørlykke
On Thu, Sep 23, 2010 at 9:01 PM, H.sivank hsiv...@gmail.com wrote: -cmake_zlib.diff : fix zlib librairies env Is the ${Z_LIBRARIES} a typo? I don't see it used anywhere else. -- Stig Bjørlykke ___ Sent via:

Re: [Wireshark-dev] [Wireshark-commits] rev 34224: /trunk/ /trunk/: CMakeLists.txt

2010-09-23 Thread Joerg Mayer
On Thu, Sep 23, 2010 at 09:06:34PM +, s...@wireshark.org wrote: http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=revrevision=34224 User: stig Date: 2010/09/23 02:06 PM Log: Some CMake fixes from H.sivank: - Apple gcc does not like -Wl,--as-needed. This fix is wrong and needs to

Re: [Wireshark-dev] configure fails with cmake on macosx

2010-09-23 Thread Joerg Mayer
OK, Stig and me did overlapping commits - this is my original mail On Thu, Sep 23, 2010 at 09:01:39PM +0200, H.sivank wrote: I would like to share my experience to build wireshark with cmake on OSX I need this patches to configure and build -cmake_authors.diff : sometimes reconfigure

Re: [Wireshark-dev] configure fails with cmake on macosx

2010-09-23 Thread Stig Bjørlykke
On Thu, Sep 23, 2010 at 11:19 PM, Joerg Mayer jma...@loplof.de wrote: link_mode_module.diff Again, no idea why we need this? I don't think you are the first to compile on Apple but you are the first to encounter this problem. Applied with APPLE removed from else end endif. I have always had

Re: [Wireshark-dev] Virtual WireShark appliance

2010-09-23 Thread john s wolter
Guy, I hope I did not sound like I was saying they were against VA's. I.e., if the virtual machine does not provide mechanisms by which a program running on one virtual machine can monitor on-the-wire traffic to another virtual machine, or traffic within another virtual machine, or between two

Re: [Wireshark-dev] configure fails with cmake on macosx

2010-09-23 Thread H.sivank
Hello Joerg Le 23 sept. 2010 à 23:19, Joerg Mayer a écrit : -apple_gcc.diff : fix for apple gcc This fix is not correct in style. Can you please explain what is going wrong here, maybe provide a log? If there is a problem, we need to fix the check in cmake/modules/CheckCLinkerFlag.cmake.

Re: [Wireshark-dev] configure fails with cmake on macosx

2010-09-23 Thread Guy Harris
On Sep 23, 2010, at 2:58 PM, H.sivank wrote: Hello Joerg Le 23 sept. 2010 à 23:19, Joerg Mayer a écrit : -apple_gcc.diff : fix for apple gcc This fix is not correct in style. Can you please explain what is going wrong here, maybe provide a log? If there is a problem, we need to fix the

Re: [Wireshark-dev] Virtual WireShark appliance

2010-09-23 Thread Guy Harris
On Sep 23, 2010, at 2:45 PM, john s wolter wrote: I'm not sure what 'push' means in this context. Push, in this context, means a technology that was, at one point, hyped, but didn't take over the world in the fashion that the hype predicted:

Re: [Wireshark-dev] configure fails with cmake on macosx

2010-09-23 Thread Joerg Mayer
On Thu, Sep 23, 2010 at 11:58:40PM +0200, H.sivank wrote: configure:17893: checking whether we can add -Wl,--as-needed to LDFLAGS As already mentioned by Guy: configure has nothing to do with the cmake build process: cmake build: - cmake ...options... make autofoo build: - autogen.sh (not