Re: [Wireshark-dev] What is Wireshark 1.6.0 ?

2011-08-12 Thread news.gmane.com
"Gerald Combs" wrote in message news:4e43f85a.6070...@wireshark.org... > On 8/11/11 12:24 AM, news.gmane.com wrote: >> Why don't I get the same files, when I checkout the SVN repository? >> >> svn export >> http://anonsvn.wireshark.org/wires

Re: [Wireshark-dev] Compiling Wireshark for Win32

2011-08-11 Thread news.gmane.com
shark, you can also do nmake -f Makfile.nmake wireshark.bsc to create the necessary files that will allow your debugger to find the source files. Alex Lindberg --- On Thu, 8/11/11, news.gmane.com wrote: From: news.gmane.com Subject: Re: [Wireshark-dev] Compiling Wi

Re: [Wireshark-dev] Compiling Wireshark for Win32

2011-08-11 Thread news.gmane.com
"Stig Bjørlykke" wrote in message news:canoxo1qnrsjqq39xqeyw+w3vnib0oxv5bjcbz0h15cjkubn...@mail.gmail.com... >> I am a bit surprised about a problem with compiling Wireshark 1.6.0 with >> Visual Studio 2005 for Win32. > Why do you build 1.6.0 when we have released 1.6.1? > The issues you have ar

Re: [Wireshark-dev] Compiling Wireshark for Win32

2011-08-11 Thread news.gmane.com
"Guy Harris" wrote in message news:0ced7f2d-8d53-40bd-bfc0-f86b7559c...@alum.mit.edu... > > On Aug 10, 2011, at 9:18 AM, news.gmane.com wrote: > >> I am a bit surprised about a problem with compiling Wireshark 1.6.0 with >> Visual Studio 2005 for Win32. Some diss

[Wireshark-dev] What is Wireshark 1.6.0 ?

2011-08-11 Thread news.gmane.com
In the developer guide section 3.3.4 (http://www.wireshark.org/docs/wsdg_html_chunked/ChSrcObtain.html) you can read: The officially released source files can be found at: http://www.wireshark.org/download/. You should use these sources if you want to build Wireshark on your platform for produc

[Wireshark-dev] Compiling Wireshark for Win32

2011-08-10 Thread news.gmane.com
Hello, I am a bit surprised about a problem with compiling Wireshark 1.6.0 with Visual Studio 2005 for Win32. Some dissectors have assignments from 64 to 32 bit, what will issue a warning C4244 by the compiler. Since the -WX parameter is passed to the compiler, the compilation fails. The warnin

Re: [Wireshark-dev] Question about UDP checksum

2011-08-08 Thread news.gmane.com
gt; > Original-Nachricht >> Datum: Fri, 5 Aug 2011 15:45:38 +0200 >> Von: "news.gmane.com" >> An: wireshark-dev@wireshark.org >> Betreff: [Wireshark-dev] Question about UDP checksum > >> Hello, >> >> I try to implement a UDP c

[Wireshark-dev] Question about UDP checksum

2011-08-05 Thread news.gmane.com
Hello, I try to implement a UDP checksum routine. Unfortunately it calculates a completely different value than Wireshark does. I don't known what I am doing wrong. Can you help me? The calculation is done using a UDP pseudo header with the structure struct pseudo { uint32 source; uint

Re: [Wireshark-dev] Structure sizes change between Linux and Windowshelp

2011-07-29 Thread news.gmane.com
Even if you shouldn't use structs as you can read in README.developer MSVC provides the tools: #ifndef GNUC #pragma pack(push) #pragma pack(1) #endif struct foo { char x; int y; } #ifdef GNUC __attribute__((packed)) #endif ; struct bar { char a; long b; } #ifdef GNUC __attribute__((pack

Re: [Wireshark-dev] wireshark for 64 bit

2011-07-28 Thread news.gmane.com
You get the required file here: http://lmgtfy.com/?q=vcredist_x64.exe+2008 "sagar Guledagudda" wrote in message news:CAA6RSJzCVCVTtLRSvP81U3=1k3jml4sw7f+8nzyuuy_ljzw...@mail.gmail.com... Hi, I want to compile the wireshark for target platform 64 bit version. While compiling for 32 bit i j

Re: [Wireshark-dev] error LINK2001:unresolved external symbol _ett_nds

2011-02-21 Thread news.gmane.com
"saugat mitra" wrote in message news:AANLkTi=i=g+j=w7vkd9d0wobiyki5uga4c-vhkz8u...@mail.gmail.com... > Hi > I am compiling Wireshark 1.4.1 on Microsoft Visual C Studio 2008. I > have followed the steps as suggested in the Wireshark developers > Guide. > Have python 2.7 and have installed the to

Re: [Wireshark-dev] PDB Files

2011-01-25 Thread news.gmane.com
"Gerald Combs" wrote in message news:4d3f2365.6030...@wireshark.org... > I copied it to the "all-versions" directory: > > http://www.wireshark.org/download/win32/all-versions/wireshark-pdb-win32-1.5.0.zip > Thank you! This is a great help while debugging a custom plugin without compiling the

Re: [Wireshark-dev] Wireshark 1.4.3 is now available

2011-01-20 Thread news.gmane.com
"Jaap Keuter" wrote in message news:7e0ec377695f34e457a9b6997c029...@xs4all.nl... > The development release is the last pre-release before 1.4 became the > stable branch. So since then its use has become limited, and should be > replaced by a 1.5 release and 1.6 pre release, eventually. Do you

Re: [Wireshark-dev] Wireshark 1.4.3 is now available

2011-01-12 Thread news.gmane.com
"Gerald Combs" wrote in message news:4d2ce307.9050...@wireshark.org... > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I'm proud to announce the release of Wireshark 1.4.3. In the download area is besides 1.4.3 and 1.2.14 also a development release 1.4.0rc2. What is the status of this ve

Re: [Wireshark-dev] formatting help

2011-01-05 Thread news.gmane.com
"Brian Oleksa" wrote in message news:4d24796b.4050...@darkcornersoftware.com... > > I would like to format a UUID that has a size of 16. Did you consider to use FT_GUID? -- Andy ___ Sent via:Wireshark-dev mailing li

Re: [Wireshark-dev] [Wireshark-commits] rev 35253: /trunk//trunk/doc/: README.developer /trunk/epan/: tvbuff.c tvbuff.h

2011-01-03 Thread news.gmane.com
"Guy Harris" wrote in message news:5a603e1e-a225-4c40-b161-38c90867c...@alum.mit.edu... > No - Wireshark doesn't do garbage collection Yes, you're right. But see this: http://anonsvn.wireshark.org/wireshark/trunk/epan/emem.h -- Andy _

Re: [Wireshark-dev] [Wireshark-commits] rev 35253: /trunk//trunk/doc/: README.developer /trunk/epan/: tvbuff.c tvbuff.h

2011-01-03 Thread news.gmane.com
"Guy Harris" wrote in message news:5a603e1e-a225-4c40-b161-38c90867c...@alum.mit.edu... > > On Jan 3, 2011, at 12:50 AM, news.gmane.com wrote: >> Does this replaces tvb_get_ephemeral_faked_unicode? >> The function name suggests, that the return value must be rel

Re: [Wireshark-dev] [Wireshark-commits] rev 35253: /trunk/ /trunk/doc/: README.developer /trunk/epan/: tvbuff.c tvbuff.h

2011-01-03 Thread news.gmane.com
"Stephen Fisher" wrote in message news:20101223181634.ga30...@shadow.stephen-fisher.com... > I've introduced a new function called tvb_get_ephemeral_unicode_string() > for converting UTF-16 strings in a tvbuff to UTF-8 for display in > Wireshark. This new function even works with tshark (at leas

Re: [Wireshark-dev] Why isn't libwireshark.def autogenerated?

2010-12-20 Thread news.gmane.com
"Gerald Combs" wrote in message news:4d0fec6c.4080...@wireshark.org... > On 12/19/10 4:49 AM, Andreas wrote: > >> When we have an API definition in the header file, this will allow us to >> add the doxygen documentation of that API at the same point. > > Is it possible to generate simple text fi

Re: [Wireshark-dev] Routines for registering dissectors with a"portnumber", and looking up dissectors by "port number", renamed

2010-12-20 Thread news.gmane.com
"Guy Harris" wrote in message news:d0f39927-63b3-4b50-9c3a-bde6a6727...@alum.mit.edu... > > On Dec 19, 2010, at 10:37 PM, news.gmane.com wrote: > >> Well, that meens, any dissector DLL that uses this function stops working >> with the next revision of lib

Re: [Wireshark-dev] Routines for registering dissectors with a "portnumber", and looking up dissectors by "port number", renamed

2010-12-19 Thread news.gmane.com
"Guy Harris" wrote in message news:46df3675-ddb3-4a9a-bb54-3c32a101d...@alum.mit.edu... > I've checked into the trunk a change to rename: > > dissector_add() -> dissector_add_uint() > dissector_change() -> dissector_change_uint() > dissector_delete() -> dissector_delete_uint() > dissector_get_po

Re: [Wireshark-dev] What is BASE_HEX_DEC

2010-12-17 Thread news.gmane.com
"Guy Harris" wrote in message news:09cb24b4-d98f-4528-bbdd-ec049ad73...@alum.mit.edu... > > (Then again, I've seen dissectors that display counts in hex. I guess > there are network engineers, or programmers, out there who have 8 fingers > on each hand) You may guess... But I find it somet

Re: [Wireshark-dev] Structure of protocol tree

2010-12-15 Thread news.gmane.com
"Jaap Keuter" wrote in message news:75883c052eaf82074dac3aef04d29...@xs4all.nl... > Hi, > > This 'colorize' is mainly intended to mark changeover into another > protocol. > Usually you see this at the top level (from the root), but occasionally > when a protocol is encapsulated (some ITU protoco

[Wireshark-dev] Structure of protocol tree

2010-12-15 Thread news.gmane.com
When I look at other dissector's output they use the proto_tree_add_protocol_format only for indicating that a new protocol is engaged. These protocol lines in the tree are also displayed in other colors. That makes it easy to navigate by eyes. I have a protocol with a lot of structures inside. Wh

Re: [Wireshark-dev] Automatic test for a dissector DLL

2010-12-15 Thread news.gmane.com
"Douglas Wood" wrote in message news:37d3213e-8407-4ac8-9149-ea6bbf68e...@ieee.org... > But, wireshark is organized to call the PDML print code with all the > fields. It is very easy to "flatten" the hierarchy and choose what to > keep. It is possible that the CSV print code is easier to modi

[Wireshark-dev] Automatic test for a dissector DLL

2010-12-13 Thread news.gmane.com
Hi, I want to write a tester for my dissector. Since the procotol is complex it is not sufficient, to load a captured file and verify visually the tree output. I generated a set of synthetic capture files. Now the idea is to instruct tshark to parse the file using the dissector and compare the

Re: [Wireshark-dev] Problem loading dissector plugin dll on Windows

2010-11-25 Thread news.gmane.com
"Semjon" wrote in message news:1e365d6e46694639babb1d9a4b755...@athlon1700xp... > I'm new to wireshark development and wrote a dissector plugin for a > proprietary protocol. I'm using Windows XP and MSVC2008EE. > Generally the plugin is working fine, but when I copy the dissector .dll > to > a

[Wireshark-dev] Reassembly of messages

2010-11-25 Thread news.gmane.com
Hi, I want to reassemble messages in a TCP stream. I use the function tcp_dissect_pdus for this purpose. This works fine to populate the packet details tree. But what is the best way to collect all message summaries and write it to the packet list INFO column? I have seen that my dissect funct

Re: [Wireshark-dev] Segmentation Fault in Simple Dissector-Plugin

2010-11-24 Thread news.gmane.com
"Patrick Nowak" wrote in message news:4cecf80a.8040...@nordsys.de... > Hello, > > I am fairly new to developing Dissectors for Wireshark. I started with > the small sample from the Wireshark Developers Guide and changed a few > things(Strings and Port). > > My Plugin looks like this: Your code

Re: [Wireshark-dev] Dissecting - access previous packet in TCPconversation

2010-11-23 Thread news.gmane.com
"Jon Andersen" wrote in message news:... > The protocol I am dissecting requires a bit of data from the previous > packet > in order to properly dissect the current one. Using per-packet data > (p_get_proto_data(), etc) and per-conversation data (find_conversation()) > gets me part of the way th