Re: [Wireshark-dev] Comment request on version resource for Win32 plugins

2006-12-04 Thread Stephen Fisher
On Tue, Dec 05, 2006 at 12:25:02AM +0100, Jaap Keuter wrote: > As a sample I've added a version resource to the Win32 plugin > h223.dll. This way it becomes very simple to check which version a > particular plugin file is and (most important) for which Wireshark > version it was build. The way

Re: [Wireshark-dev] sigcomp - accessing state with a partial stateid >6 bytes

2006-12-04 Thread Anders Broman
Checked in. BR Anders -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För cco Skickat: den 4 december 2006 10:25 Till: Developer support list for Wireshark Ämne: Re: [Wireshark-dev] sigcomp - accessing state with a partial stateid >6 bytes On Wed, Nov 29, 2006

Re: [Wireshark-dev] [PATCH] New plugin for Homeplug (ptvcursor)

2006-12-04 Thread Sebastien Tandel
Finally, ptvcursor was simple enough to do it right away :) Sebastien Sebastien Tandel wrote: > I've done the necessary changes for the regular dissector. > Concerning the ptvcursor, I will first see how it works ;) > > Sebastien > > Jaap Keuter wrote: > >> Hi, >> >> I've looked at the code. S

Re: [Wireshark-dev] Patch adding option to display time as seconds (and fractions) since epoch

2006-12-04 Thread Stephen Fisher
On Mon, Dec 04, 2006 at 03:59:09PM -, Douglas Pratley wrote: > Corrected patch; epan/column.c and epan/column_utils.c were not > included. This one has now been properly tested against a clean > checkout of today's code. > > - New menu option available under view\time display format > - New

Re: [Wireshark-dev] COS DSCP Column patch

2006-12-04 Thread Stephen Fisher
On Sun, Dec 03, 2006 at 05:49:25PM +0100, Thomas Sillaber wrote: > attached you find a diff to display COS and DSCP Columns in wireshark. > Please apply! I get an error when applying your patch: packet-ip.c: In function `dissect_ip': packet-ip.c:933: error: `COL_DSCP_VALUE' undeclared (first us

Re: [Wireshark-dev] [PATCH] New plugin for Homeplug

2006-12-04 Thread Sebastien Tandel
I've done the necessary changes for the regular dissector. Concerning the ptvcursor, I will first see how it works ;) Sebastien Jaap Keuter wrote: > Hi, > > I've looked at the code. Some things you can improve on. > 1. Get rid of the C++ style comments > 2. Make it into a regular dissector, get

[Wireshark-dev] Comment request on version resource for Win32 plugins

2006-12-04 Thread Jaap Keuter
Hi list, As a sample I've added a version resource to the Win32 plugin h223.dll. This way it becomes very simple to check which version a particular plugin file is and (most important) for which Wireshark version it was build. The way it is added is very transparant, all specific info is in module

Re: [Wireshark-dev] [PATCH] New plugin for Homeplug

2006-12-04 Thread Jaap Keuter
Hi, I've looked at the code. Some things you can improve on. 1. Get rid of the C++ style comments 2. Make it into a regular dissector, getting rid of all the plugin wiring. 3. Add the ether type to etypes.h i.s.o. defining it yourself. BTW: It's such a simple protocol you could consider using ptv

Re: [Wireshark-dev] Byte order, hf_register_info and value displayed

2006-12-04 Thread Gilbert Ramirez
The last argument of proto_tree_add_item() tells Wireshark the byte order (endianness)... TRUE for little endian, FALSE for big endian. --gilbert On 12/4/06, Hal Lander <[EMAIL PROTECTED]> wrote: > In hf_register_info I declare a field to be FT_UINT16. > Then I use "proto_tree_add_item" to put it

[Wireshark-dev] Byte order, hf_register_info and value displayed

2006-12-04 Thread Hal Lander
In hf_register_info I declare a field to be FT_UINT16. Then I use "proto_tree_add_item" to put it on the tree. In the lower (3rd) pane Wireshark dispalys the two bytes in hex as; 24 00 In the middle (2nd) pane it displays the value of the field as 9216 when what I was wanting to see was 36. How

Re: [Wireshark-dev] Cygwin Bash update breaks verify_tools

2006-12-04 Thread Ulf Lamping
Menno Andriesse wrote: > Isn't it a better idea to set the svn:eol-style = LF property on the script > files? > This way they will use LF as the EOL marker regardless of the OS you are > working on... > This keeps the problem if someone uses the "wrong mode" in his editor - adding new wrong eo

[Wireshark-dev] Patch adding option to display time as seconds (and fractions) since epoch

2006-12-04 Thread Douglas Pratley
Corrected patch; epan/column.c and epan/column_utils.c were not included. This one has now been properly tested against a clean checkout of today's code. - New menu option available under view\time display format - New sub-option (e) to -t switch for both wireshark and tshark - Extended recent s

Re: [Wireshark-dev] wireshark and usb

2006-12-04 Thread Adam Sulmicki
>> Can't get list of interfaces: can't open raw by socket 97: >> Rodzina adresw nie obsugiwana przez protok > > That's actually an error in the code to enumerate *Bluetooth* interfaces. > Does your machine have any Bluetooth interfaces? That error (97) is "Address no B

Re: [Wireshark-dev] Patch adding option to display time as seconds (and fractions) since epoch - PLEASE HOLD OFF

2006-12-04 Thread Douglas Pratley
Sorry - I think I tested this patch against an unclean source tree, and there are some necessary changes that I made missing from this patch. Please hold off until I'm really sure that the patch file is correctly constructed. Not the way I wanted to provide my first patch... hope the time d

[Wireshark-dev] Patch adding option to display time as seconds (and fractions) since epoch

2006-12-04 Thread Douglas Pratley
- New menu option available under view\time display format - New sub-option (e) to -t switch for both wireshark and tshark - Extended recent settings code to handle new value - Did NOT add new explicit epoch time column Cheers Doug This message should be regarded as confidential. If you have

Re: [Wireshark-dev] Compiling under MSVC 6.0 - simple Q, clear cut A ?

2006-12-04 Thread Graham Bloice
Douglas Pratley wrote: > The wiki tips page has a couple of useful sections on debugging and > setting up browse info for MSVC. > > > > http://wiki.wireshark.org/Development/Tips > > You might also consider using WinDbg. It now has a GUI and once you get the symbol and source paths sorted

Re: [Wireshark-dev] Compiling under MSVC 8 - was about MSCV 6/7

2006-12-04 Thread Andrew Hood
Brian Vandenberg wrote: > Sleepless, > > The steps provided earlier by another responder work great in vs6. If > you're using vs7 or vs8 to debug you'll likely have trouble. I've tried MSVC8 pretty much following the MSVC7 hints, including recompiling zlib, which I know work because I've used MS

Re: [Wireshark-dev] wireshark and usb

2006-12-04 Thread Paolo Abeni
On Mon, 2006-12-04 at 01:15 -0800, Guy Harris wrote: > > 1) capture -> Interfaces, gives me : > > > > Can't get list of interfaces: can't open raw by socket 97: > > Rodzina adresw nie obsugiwana przez protok > > That's actually an error in the code to enumerate *Bluetooth*

Re: [Wireshark-dev] sigcomp - accessing state with a partial state id >6 bytes

2006-12-04 Thread cco
On Wed, Nov 29, 2006 at 09:50:21AM +0100, cco wrote: > On Tue, Nov 28, 2006 at 02:46:01PM +0100, Anders Broman (AL/EAB) wrote: > > > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of cco > > Sent: den 28 november 2006 11:56 > > To: Developer

Re: [Wireshark-dev] wireshark and usb

2006-12-04 Thread Guy Harris
Adam Sulmicki wrote: > folks, > Here are my observations from trying out wireshark on usb devices. > Just FWIW. Both of those are libpcap bugs, so I'm CCing Paolo Abeni, the author of the libpcap USB-capture-on-Linux support code, in case he didn't see this. > 1) capture -> Interface

[Wireshark-dev] [PATCH] range_string and OSPF bcmodelid

2006-12-04 Thread Francesco Fondelli
I'm repost my last mail, please have a look at it. thanks Ciao FF Hi all, I needed to dissect a simple hf item in ospf, a integer one. The possible values were in ranges like: 0 3 "foo" 1 4 "bar" 5 5 "shark" 6 100

Re: [Wireshark-dev] Option to display time in seconds since epoch

2006-12-04 Thread Douglas Pratley
I love the smell of pedantry in the morning; smells like - home. ;-) I was planning to have the fractional precision user-configurable in line with the other timestamp display formats. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guy Harris Sent: 02

Re: [Wireshark-dev] Cygwin Bash update breaks verify_tools

2006-12-04 Thread Menno Andriesse
Isn't it a better idea to set the svn:eol-style = LF property on the script files? This way they will use LF as the EOL marker regardless of the OS you are working on... Menno. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Meier Sent: maandag 4 de