[Wireshark-dev] Community/Developer support list for Wireshark ()?

2012-01-30 Thread Chris Maynard
http://blog.gmane.org/gmane.network.wireshark.user http://blog.gmane.org/gmane.network.wireshark.devel It seems strange to me that there are parentheses following Wireshark. Compare to http://blog.gmane.org/gmane.network.wireshark.announce and http://blog.gmane.org/gmane.network.wireshark.bugs wh

Re: [Wireshark-dev] pcapng, must opt_commentstring?be?0-terminated?

2012-01-29 Thread Chris Maynard
Martin Kaiser writes: > I hope that at FOSDEM, we can discuss my proposed > approach for getting the comment from pcapng->wiretap->capture_file, see > https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3096 I won't be able to attend FOSDEM, but no matter; there will be far more talented core de

Re: [Wireshark-dev] Conference room before FOSDEM

2012-01-27 Thread Chris Maynard
Graham Bloice writes: > As the “FOSDEM Friday beer event”, http://fosdem.org/2012/beerevent takes place at Delirium I’m not intending to miss it. Unfortunately, I will be unable to attend ... but I'll try to enjoy a Belgian beer or two from RI instead. :) I'm sure the event will be terrific and

Re: [Wireshark-dev] Recursive Heuristic Dissectors calls

2012-01-24 Thread Chris Maynard
Alex Lindberg writes: > I have a custom protocol that uses a well know TCP port and a such have connected a heuristic dissector to tcp.My dissector works fine if there is only my custom protocol in the packet, but I have run into a case where the first part of the packet has several groups of my

Re: [Wireshark-dev] [Wireshark-commits] rev 40644: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-pgm.c

2012-01-24 Thread Chris Maynard
Tony Trinh writes: > Try using mintty, which Cygwin recommends. It can copy/paste UTF-8 into vim without any configuration. > > I modified Cygwin.bat as follows: > > @echo off > > C: > chdir C:\cygwin\bin > > REM here lies the old line... > REM bash --login -i > > REM ...and here's the new

Re: [Wireshark-dev] pcapng, must opt_commentstring be?0-terminated?

2012-01-23 Thread Chris Maynard
Martin Kaiser writes: > I was wondering why we need a static buffer at all. It looks like the > intention is to keep using the same buffer for each option that we > parse. When reading an option, how about checking the length first and > then allocating the buffer dynamically? We could then remov

Re: [Wireshark-dev] How do display filters work internally?

2012-01-23 Thread Chris Maynard
Maynard, Chris writes: > an "ip.addr" filter and it matched IP addresses in the IP protocol, but also with some bootp traffic. Apologies - the "ip.addr" filter works for the IP addresses in the IP header, but not for the bootp IP address fields, so there's still something else going wrong here t

Re: [Wireshark-dev] Iteration in dissectors?

2012-01-22 Thread Chris Maynard
Tyson Key writes: OK, what about this: for (rwe_pos = 0; rwe_pos < tvb_get_guint8(tvb, 12); rwe_pos++) { proto_tree_add_item(felica_tree, hf_felica_block_nbr, tvb, 14 + 2*rwe_pos, 1, ENC_BIG_ENDIAN); } ... or if you want the 0x80 bytes highlighted, try this: for (rwe_pos =

Re: [Wireshark-dev] Iteration in dissectors?

2012-01-22 Thread Chris Maynard
Tyson Key writes: > My (partially working) iteration code looks like: > >/* Start counting from 13 */ >for (rwe_pos = 13; rwe_pos < tvb_get_guint8(tvb, 13); rwe_pos++) { > proto_tree_add_item(felica_tree, hf_felica_block_nbr, tvb, > rwe_pos + 1, 1, ENC_BIG_EN

Re: [Wireshark-dev] pcapng, must opt_comment string be 0-terminated?

2012-01-05 Thread Chris Maynard
Martin Kaiser writes: > It's not that critial we but know the correct length and could do > > opt_comment = g_strndup(option_content, oh.option_length) > > instead. > > If you agree, I can open a bugzilla item with a patch and sample capture > that has an unterminated comment. To avoid the po

Re: [Wireshark-dev] pcapng, must opt_comment string be 0-terminated?

2012-01-05 Thread Chris Maynard
Michael Tuexen writes: > On Jan 2, 2012, at 3:53 AM, Guy Harris wrote: > > I'll send the spec maintainers a note asking about this, and suggesting that the spec indicate that all > strings are counted (but shouldn't contain a null byte). > Hmm, I wouldn't mind if they are 0-terminiated, I even th

Re: [Wireshark-dev] Problem with tools/win-setup.sh

2012-01-05 Thread Chris Maynard
Weir, Alan writes: > Suspecting a path issue I compared the win-setup.sh from the 1.4 and 1.7 > releases and found that the four lines of the form: > >   DEST_PATH=`cygpath --dos "$2"` > > Had been modified in 1.7 to remove the –dos flag. I > added this flag back in and re-ran the setup pha

Re: [Wireshark-dev] Decode As... support

2011-12-29 Thread Chris Maynard
Akos Vandra writes: > I would like to ask how does the Decode As... functionality work in wireshark? > I have a CAN network, and on top of it there may be different > higher-level protocols, depending on application. > There is no identifier which would say that this belongs to protocol > A, or p

Re: [Wireshark-dev] happy birthday, bug 5531!

2011-12-29 Thread Chris Maynard
Ed Beroset writes: > https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5531 > > It's been a year since it was originally submitted. As always, if there's anything I can do to help get this > into the main code, please let me know. I know a number of people that are waiting for it. And thank

Re: [Wireshark-dev] How can I use the dissector of wireshark in my program?

2011-12-29 Thread Chris Maynard
Gisle Vanem writes: > The mainpage is at: > http://sourceforge.net/projects/packetyzer/ Network Expect is another tool that comes to mind which uses libwireshark. The home page is here: http://netexpect.org/wiki Or check out the list of other tools on the wiki: http://wiki.wireshark.org/Too

Re: [Wireshark-dev] debuging with MVS 2008

2011-12-18 Thread Chris Maynard
Yosi Saggi writes: > Any help wil be greatly appreciated Generally, I just compile Wireshark and then run it directly from the wireshark-gtk2\ directory then attach to Wireshark from your debugger. If you've built your plugin correctly with all the right makefile,etc., changes, your dll should

Re: [Wireshark-dev] Deteccting minor version at compile time for plugin

2011-12-15 Thread Chris Maynard
Colin Helliwell writes: > Is there a mechanism already built into the build structure to detect the minor version at compile time? Not yet. See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6134 ___ Sent via:Wir

Re: [Wireshark-dev] Simplifying (and fixing) tvbuff [Long]

2011-12-14 Thread Chris Maynard
Bill Meier writes: > I think the long description boils down to the following: > > Consider the collection of tvbs (chain) as a stack of tvbs. > > packet.c pushes the initial tvb onto the stack then calls next > dissector; After the dissection is complete, the stack is eventually > free'd via

Re: [Wireshark-dev] Using regular expression match as custom column

2011-12-13 Thread Chris Maynard
William writes: > Hello,With Wireshark, I can't seem to be able to do either of these: > 1. Export to file the exact contents of the columns that are displayed and nothing more You should be able to do this using 'File -> Export -> File -> as "Plain Text" file ...', then deselect the Packet deta

Re: [Wireshark-dev] Console Window option moved?

2011-12-10 Thread Chris Maynard
Akos Vandra writes: > I can find references to a console window within wireshark that could > be used to debug dumpcap, but I cannot find the option on the place it > is supposed to be. > In the wireshark tips it sais that it should be under > edit->preferences->user interface, but it's nowhere t

[Wireshark-dev] tap_queue_packet() simple question

2011-12-02 Thread Chris Maynard
Some taps, such as tap-comparestat.c and tap-rtp-common.c, make use of pinfo->iphdrlen, so shouldn't tap_queue_packet() be called *after* all the pinfo data is assigned by the dissector? I had already changed this to be the case for IPv4 (see line 2079), but I just found the same thing in IPv6 (li

Re: [Wireshark-dev] Win32 build from 1.6.3 source tarball: svnversion.h missing and not generated?

2011-11-18 Thread Chris Maynard
Gerald Combs writes: > On 11/18/11 9:08 AM, Pascal Quantin wrote: > > Since Gerald's commit in revision 39924 everything is back to normal > > (plugin folder is named 1.7.1) :) > > The release revision mismatch should be fixed. I can't duplicate it > here, at least. In the current /trunk and /tr

Re: [Wireshark-dev] Win32 build from 1.6.3 source tarball: svnversion.h missing and not generated?

2011-11-18 Thread Chris Maynard
Gerald Combs writes: > I updated make-version.pl to clarify the different things that it does. > It can now store the SVN revision in config.nmake, which can then be > used to rebuild svnversion.h. Updating config.nmake was a lot easier > than a post-commit hook since we were storing other versio

[Wireshark-dev] Buildbots stuck?

2011-11-17 Thread Chris Maynard
The Windows-XP-x86 and Ubuntu-10.04-x64 buildbots both appear to be stuck. Their status indicates "building", but there's been no activity for some time. ___ Sent via:Wireshark-dev mailing list Archives:http://www.wi

[Wireshark-dev] Clang warnings in packet-csn1.c - how to fix?

2011-11-16 Thread Chris Maynard
The following clang warnings look legit to me and are the result of pui8 not being initialized before being used in the CSN_RECURSIVE_TARRAY, CSN_RECURSIVE_TARRAY_2 and CSN_RECURSIVE_TARRAY_1 cases. Anyone know what pui8 should be initialized to in those cases? Line 12: packet-csn1.c:1395

Re: [Wireshark-dev] packet-rlc.c problems

2011-11-16 Thread Chris Maynard
Gisle Vanem writes: > Ok, good. Similar problem with packet-spice.c; > epan/dissectors/packet-spice.c(588) : error C2371: 'POINT' : redefinition; different basic types > g:\VC_2010\SDK\include\windef.h(343) : see declaration of 'POINT'. > > So I suggest we rename 'POINT*' to 'SPICE_POI

Re: [Wireshark-dev] packet-rlc.c problems

2011-11-15 Thread Chris Maynard
Gisle Vanem writes: > Can we rename 'PCCH' to something more sensible? Should be fixed in r39865. Hopefully the names I've chosen are sensible enough. ___ Sent via:Wireshark-dev mailing list Archives:http://www.w

Re: [Wireshark-dev] Debugging on Windows

2011-11-15 Thread Chris Maynard
Stephen Fisher writes: > In 2008? It used to work for me, but didn't the other day. I didn't > spend too much time troubleshooting though. In 2010, they took the > feature out. Can you check your Tools -> Settings? Is it set to "Basic Settings"? If so, try selecting "Expert Settings". __

Re: [Wireshark-dev] Debugging on Windows

2011-11-14 Thread Chris Maynard
Stephen Fisher writes: > On Mon, Nov 14, 2011 at 05:34:22PM +0000, Chris Maynard wrote: > > > Hmm, I've had no problems doing that, running on either Windows XP SP3 > > (32-bit) or Windows 7 64-bit. > > In 2008? It used to work for me, but didn't the othe

Re: [Wireshark-dev] Debugging on Windows

2011-11-14 Thread Chris Maynard
Stephen Fisher writes: > On Sat, Nov 12, 2011 at 11:12:07AM -0500, Bill Meier wrote: > > > (Note: Wireshark builds with VC2008 but VC2010 should also be OK). > > VC2010EE doesn't let you use the debugger to attach to a running process > anymore like VC2008EE lets you do (although I couldn't ge

Re: [Wireshark-dev] misleading description on Wireshark Download page

2011-11-08 Thread Chris Maynard
Gerald Combs writes: > It's easy enough to disable the "Development Release" section of the > download widget until a development snapshot or release candidate is > ready. We could also replace the download list with a link to > http://www.wireshark.org/download/automated/ but that would require

Re: [Wireshark-dev] misleading description on Wireshark Download page

2011-11-05 Thread Chris Maynard
Balint Reczey writes: > We already provide automated development builds at > ftp://ftp.wireshark.org/automated/ . > I think those are enough. Distributions are also free to package svn > snapshots. That's true, but those automated builds aren't announced on the wireshark- mailing list(s) when t

Re: [Wireshark-dev] misleading description on Wireshark Download page

2011-11-04 Thread Chris Maynard
Balint Reczey writes: > > Why not release a new dev release (based on trunk) to each new release > > of 1.6.x/1.4.x ? > Why should we? The svn repository is public. Perhaps so more people could try the development releases without requiring them to build it themselves? But that said, I'm not su

Re: [Wireshark-dev] Ordinary LUA dissector.

2011-11-03 Thread Chris Maynard
Eliot Blennerhassett writes: > Is there any interest in including a more "ordinary" dissector example > on the wiki, or with the wireshark install for that matter? Lua dissectors/examples are not currently being distributed with the installer, not that that couldn't change in the future, but the

Re: [Wireshark-dev] Looking for h248/asn1 packet traces

2011-11-01 Thread Chris Maynard
Alex Lindberg writes: > I am looking for examples of h248/asn1 based packet captures to validate my my custom plugins for h248. All h248 versions (1, 2 and 3).The only examples on the sample captures page only include MEGACO (text based) examples.    http://wiki.wireshark.org/SampleCapturesIf you

Re: [Wireshark-dev] Replace TRUE/FALSE with proper ENC_* in proto_tree_add_item() using a script.

2011-10-19 Thread Chris Maynard
Anders Broman writes: > > Should we use ENC_NA here too to prevent confusion? > My preference is the opposite use ENC_BIG_ENDIAN as that is the > "natural" encoding for the > protocol and ENC_BIG_ENDIAN is less confusing in my opinion. For what it's worth, I agree with Anders here. I tend to

Re: [Wireshark-dev] Replace TRUE/FALSE with proper ENC_* in proto_tree_add_item() using a script.

2011-10-05 Thread Chris Maynard
Bill Meier writes: > In this case, given the specifics, I found it fairly simple to do what I > needed in Perl. Should these functions be modified to take an encoding argument instead of a little_endian argument, then the Perl script run on them as well to convert TRUE/FALSE to ENC_LITTLE_ENDIA

Re: [Wireshark-dev] modelines

2011-09-28 Thread Chris Maynard
Guy Harris writes: > On Sep 28, 2011, at 2:21 PM, Bill Meier wrote: > > > On 9/28/2011 4:57 PM, Jeff Morriss wrote: > >> > >> I'll argue that *tab*stops should be 8 until someone shows me how to > >> tell all the various terminal programs I end up using that the file I'm > >> currently looking

Re: [Wireshark-dev] modelines

2011-09-27 Thread Chris Maynard
Stephen Fisher writes: > Since I started coding for Wireshark in 2006, the convention wisdom (as > I understood it) has always been to stick with the formatting method > that the file already has, whatever that may be. Right, but what if there's a file already consistently using tabs through

[Wireshark-dev] modelines

2011-09-27 Thread Chris Maynard
A couple of questions/thoughts on modelines[1]: 1) Should emacs (and other) modelines be added to the generated modelines at [1], e.g., setq as mentioned by Zawinski[2]? 2) In the absence of any other user preference, what is the Wireshark recommendation on modeline settings, if any? The followi

Re: [Wireshark-dev] Remove from the Email List

2011-09-26 Thread Chris Maynard
Wang, Xiaodong writes: >     I had one question: How can my email be removed from the > group? See: https://www.wireshark.org/mailman/listinfo/wireshark-dev ___ Sent via:Wireshark-dev mailing list Archive

Re: [Wireshark-dev] catching [Malformed Packet]

2011-09-24 Thread Chris Maynard
Roland Knall writes: > On a similar topic, how can you mark a package as malformed? > Especially generated packages often fail the openSAFETY dissector, and > marking them as malformed seems to make sense in such cases. Many dissectors make use of the expert infos for this. Search for expert_ad

Re: [Wireshark-dev] catching [Malformed Packet]

2011-09-24 Thread Chris Maynard
writes: > Is it possible to setup a display filter to catch all malformed packets (those noted as [Malformed Packet] in Info column)?  I'm working with a dissector that could probably use a little more "graceful" error checking and I have a few large capture files that I'd like to use to catch a

Re: [Wireshark-dev] Reassembling Packets need some help plz

2011-09-23 Thread Chris Maynard
Marcel Haas writes: > Nobody an idea ? Hi Marcel, I'm sorry to say that I don't have any helpful advice for you. The problem is that reassembly can be very complicated, as you've discovered I'm sure. My personal experience with reassembly is limited, and fortunately for me, I've been lucky en

Re: [Wireshark-dev] Buildbot error messages

2011-09-23 Thread Chris Maynard
Gerald Combs writes: > In order to reduce the volume of messages on wireshark-dev, error > messages from buildbot.wireshark.org are now being delivered to > wireshark-commits. > > Unfortunately, due to a misconfiguration on my part, buildbot error > messages for the last 10 days have been lost.

Re: [Wireshark-dev] Problem in building Plugin

2011-09-21 Thread Chris Maynard
Chris Maynard writes: Or are you trying to get your new plugin to work with an older version of Wireshark, one prior to the following change? http://anonsvn.wireshark.org/viewvc/trunk/epan/reassemble.h?r1=32933&r2=3

Re: [Wireshark-dev] Problem in building Plugin

2011-09-21 Thread Chris Maynard
Rajesh P S writes: > Refer Example 9.17. Reassembling fragments - Data . I am using the same code. Also I have compiled this code so many times before[about an year ago with wireshark 1.2.6]. But that time it worked fine. On this occasion it is giving me this error. Yes, you're right. I hadn't

Re: [Wireshark-dev] Problem in building Plugin

2011-09-21 Thread Chris Maynard
Rajesh P S writes: > I am getting this error [error C2220: warning treated as error - no 'object' file generated, warning C4133: 'initializing' : incompatible types - from 'char [18]' to 'int *]  even though I haven't used char [18] or int*. Yes, you have: > "Message fragments" I think you

[Wireshark-dev] AthTek NetWalk

2011-09-21 Thread Chris Maynard
I saw this today: http://www.giveawayoftheday.com/athtek-netwalk-packet-monitor/ Maybe others would be interested in checking it out? By the way, they also offer a free personal edition if you decide not to install the enterprise edition or miss the deadline: http://www.athtek.com/netwalk/free.ht

Re: [Wireshark-dev] OpenSafety bug - how to fix?

2011-09-20 Thread Chris Maynard
Roland Knall writes: > > The fix is correct. Are there any other Coverty hits for openSafety, > or just the one? Hi Roland, There are 6 in total. Besides 1204, there are these 5 more reported: CID 1215: NULL RETURNS: In stringToBytes(), strtok() could return NULL at line 418, but the return v

[Wireshark-dev] OpenSafety bug - how to fix?

2011-09-20 Thread Chris Maynard
Coverity reports the following in CID 1204 against the OpenSafety dissector: 1466firstByte = ( tvb_get_guint8(message_tvb, 0) << 1 ); Event missing_parentheses: !firstByte & 0x40 is always 0 regardless of the values of its operands (non-specific value). Did you intend to apply '&' to f

Re: [Wireshark-dev] Capture filter

2011-09-16 Thread Chris Maynard
Tharaneedharan Vilwanathan writes: > $ tshark -i pipe_to_tshark -w test.pcap -f 'udp port 1900' > $ tshark -i pipe_to_tshark -S -f 'udp port 1900' > $ tshark -i pipe_to_tshark -w test.pcap -S -f 'udp port 1900' > > In all the above cases, packets dont seem to be filtered. From the > documentatio

Re: [Wireshark-dev] Ready to remove all non-ui-manager code?

2011-09-15 Thread Chris Maynard
Joerg Mayer writes: > would it be OK to remove the non-UI-MANAGER code in gtk/? > I haven't seen any ongoing work in that area, so what (if anything) is > missing from the UI-MANAGER codebase? > The only things that come to my mind are the proto_help stuff and the > gtkvumeter stuff. The proto_he

Re: [Wireshark-dev] For TShark, provide a way to control the output format. E.g., 'tshark -e "ip udp tcp.port"' would expand the IP and UDP sections, and display the TCP port information.

2011-09-15 Thread Chris Maynard
Guy Harris writes: > On Sep 13, 2011, at 4:05 PM, Yee Man Bergstrom wrote: > > > From http://wiki.wireshark.org/WishList > > For TShark, provide a way to control the output format. E.g., 'tshark -e "ip udp tcp.port"' would expand > the IP and UDP sections, and display the TCP port information. >

Re: [Wireshark-dev] For TShark, provide a way to control the output format. E.g., 'tshark -e "ip udp tcp.port"' would expand the IP and UDP sections and display the TCP port information.

2011-09-14 Thread Chris Maynard
Yee Man Bergstrom writes: > Can someone familiar with when this was done update the wiki page http://wiki.wireshark.org/WishList? I updated the page. ___ Sent via:Wireshark-dev mailing list Archives:http://www.wire

Re: [Wireshark-dev] text2pcap regression starting from revision 38679

2011-08-26 Thread Chris Maynard
Pascal Quantin writes: > Hi all,since the commit for bug 1723 (done in revision 38679), I'm facing issues with text2pcap for really small packet dumps. > > I guess this is unexpected behavior and should be considered as a bug. Do you agree ? I do and have reopened bug 1723 as a result. Hopeful

Re: [Wireshark-dev] [BUG] Wireshark 1.6.1 improperly parsing 802.11 Beacon

2011-08-25 Thread Chris Maynard
Alexis La Goutte writes: > Hi Daniel,Please open a bug in Bug Tracker  ( https://bugs.wireshark.org/bugzilla/ ) with your sample.There is big change between Wireshark 1.2.x and 1.6.x in 802.11 dissector FYI ... bug 6264 has been filed on Daniel's behalf. ___

Re: [Wireshark-dev] can I generate windows-used plugin on Linux?

2011-08-23 Thread Chris Maynard
John x writes: > Hi, folks,I developed wireshark plugin for Linux (which is .so). I am wondering whether I can generate plugin for windows(which is .dll) from Linux?If yes, how to do that?Thanks The only way I can think of is if you install Windows in a VM on your Linux box and build it from the

Re: [Wireshark-dev] Problem compiling Wireshark 1.6.1

2011-08-23 Thread Chris Maynard
Andreas writes: > Am 23.08.2011 22:30, schrieb Chris Maynard: > > Andreas writes: > > > >> Yes, I tried. I need only libwireshark. That's why I reduced the make > >> targets to build. But, alas, I get exactly the same result, when I > >> "nma

Re: [Wireshark-dev] Problem compiling Wireshark 1.6.1

2011-08-23 Thread Chris Maynard
Andreas writes: > Yes, I tried. I need only libwireshark. That's why I reduced the make > targets to build. But, alas, I get exactly the same result, when I > "nmake all". Can you verify that MSVC_VARIANT is set correctly in config.nmake?

Re: [Wireshark-dev] Crash in gtk/conversations_table.c

2011-08-22 Thread Chris Maynard
Gisle Vanem writes: > "Guy Harris" wrote: > > >> and pressing the "Follow stream" button, > > > > It let you press "Follow stream"? I did a capture on the loopback interface, and got > > a window with no conversations, and the "Follow stream" button was grayed > > out > > Not greyed out he

Re: [Wireshark-dev] No postings to wireshark-dev in July?

2011-08-22 Thread Chris Maynard
Chris Maynard writes: > http://www.wireshark.org/lists/wireshark-dev/ or to -users: http://www.wireshark.org/lists/wireshark-users/ or to -commits: http://www.wireshark.org/lists/wireshark-commits/ or to -bugs: http://www.wireshark.org/lists/wireshark-bugs/ or to -announce: h

[Wireshark-dev] No postings to wireshark-dev in July?

2011-08-22 Thread Chris Maynard
http://www.wireshark.org/lists/wireshark-dev/ ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev

Re: [Wireshark-dev] PATCH: btl2cap extended window shows wrong bit

2011-08-22 Thread Chris Maynard
Jaap Keuter writes: > We're not the Linux kernel, hence we have to find our own way forward. > We found that too many patches were lost in the email archives for > various reasons. > > On Fri, Aug 19, 2011 at 6:49 PM, Stephen Fisher > > wrote: > > > >> Please submit patches by opening a bug at

Re: [Wireshark-dev] Problem compiling Wireshark 1.6.1

2011-08-22 Thread Chris Maynard
Andreas writes: > 7. nmake -f Makefile.nmake config.h tools image codecs wsutil epan Did you try "nmake -f Makefile.nmake all" as documented in the developer's guide? See: http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html#id505663 _

Re: [Wireshark-dev] Store a string in temporary tvb buffer and read it using function proto_tree_add_item

2011-08-18 Thread Chris Maynard
Jeff Morriss writes: > On 08/18/2011 12:41 PM, Mrunal Upadhyay wrote: > > Dear All, > > > > Is there a way to store a string in a temporary tvb buffer and then in > > the dissection logic use this tvb buffer in the in order to read this > > temporary string using function proto_tree_add_item and

Re: [Wireshark-dev] can't filter field in wireshark

2011-08-18 Thread Chris Maynard
writes: > I put the result in Wireshark with the > "proto_tree_add_text" > function, but it's impossible > to filter this field because it's a text ! > can someone help-me ??? > regards Don't use proto_tree_add_text(). To quote doc/README.developer: proto_tree_add_text() is used to add a

Re: [Wireshark-dev] How to increase length of display filter drop down list?

2011-08-08 Thread Chris Maynard
eymanm writes: > It looks like when I use display filter drop down list, Wireshark lists ten most recently used filters. I'd like to increase this number to let's say 20 lines. Can somebody suggest how to do it? Edit -> Preferences -> Filter display max. list entries: 20 _

Re: [Wireshark-dev] CaveBear's Ethernet link is dead

2011-08-06 Thread Chris Maynard
Ed Beroset writes: > Joerg Mayer wrote: > http://www.cavebear.com/archive/cavebear/Ethernet/Ethernet.txt > > > > If this file has been static for so long, how about integrating its content > > into our template file? > > That's probably the best idea, and then just have the link as > docum

Re: [Wireshark-dev] CaveBear's Ethernet link is dead

2011-08-06 Thread Chris Maynard
Chris Maynard writes: > Ed Beroset writes: > > > That seems actually to be the last revision. The "current" CaveBear > > link is: > > > > http://www.cavebear.com/archive/cavebear/Ethernet/Ethernet.txt > > ... except that page has the same dead

Re: [Wireshark-dev] CaveBear's Ethernet link is dead

2011-08-06 Thread Chris Maynard
Ed Beroset writes: > That seems actually to be the last revision. The "current" CaveBear > link is: > > http://www.cavebear.com/archive/cavebear/Ethernet/Ethernet.txt ... except that page has the same dead link back to http://www.cavebear.com/archive/cavebear/Ethernet/index.html, which is rea

[Wireshark-dev] CaveBear's Ethernet link is dead

2011-08-05 Thread Chris Maynard
The tools/make-manuf script attempts to gather Ethernet codes from IEEE, but also from CaveBear at http://www.cavebear.com/CaveBear/Ethernet/Ethernet.txt, but unfortunately this link is dead. I could not find any meaningful contact information to Karl Auerbach on the site other than Santa Cruz, CA

Re: [Wireshark-dev] Custom dissector and info column issue

2011-08-03 Thread Chris Maynard
Graham Bloice writes: > I added your dissector to my build, cut down the capture file to only include > frames 1 & 3 and attached a debugger to see what was happening. > > This might be a bug. Graham, I had come to the same conclusion. It seems like a bug to me and would suggest opening a bug

Re: [Wireshark-dev] calc row in wireshark graphs

2011-07-27 Thread Chris Maynard
sagar Guledagudda writes: > I found out generating graphs from statistics->IO graphs, when i tried to generate graphs with advanced version i found a row wirh label "calc" and i saw options like AVG(*), SUM(*), COUNT(*), MIN(*) etc, can any body help me understanding  what they represent accordin

Re: [Wireshark-dev] Undefined symbol tvb_find_tvb

2011-07-26 Thread Chris Maynard
Jeff Morriss writes: > Remember that since r35145 (and probably some other revs as the kinks > got worked out), libtool-based builds only export the listed symbols. > (Hmmm, I wonder if cmake has that same functionality.) Ah, OK; I guess I missed that. Thanks for pointing it out. ___

Re: [Wireshark-dev] Undefined symbol tvb_find_tvb

2011-07-26 Thread Chris Maynard
Jeff Morriss writes: > Mariusz Okrój wrote: > > Hi, > > I'm getting "Couldn't load module > > /home/marok/wireshark/lib/wireshark/plugins/1.6.0/xmpp.so: > > /home/marok/wireshark/lib/wireshark/plugins/1.6.0/xmpp.so: undefined > > symbol: tvb_find_tvb" during the wireshark startup. > > > > What m

Re: [Wireshark-dev] Showing FCS under Ethernet

2011-07-19 Thread Chris Maynard
kahou lei writes: > It is Ethernet FCS. I have checked that preference but 1.6.0 doesn't show any > FCS. > I don't think it is the same bug as my packet is just regular Eth/IPv4 header. Well, it's possible you've encountered a new bug. I suggest filing a new bug report, attaching the capture f

Re: [Wireshark-dev] error using proto_tree_add_time

2011-07-19 Thread Chris Maynard
sagar sg writes: > Hi,    When i use the function proto_tree_add_time ( my_tree, hf_variable, tvb, 0, end_len, time_variable )  ; I get an error as "expected primary-expression before ',' token" .. I am compiling my code on linux. and i did not get any such error while compiling

Re: [Wireshark-dev] Showing FCS under Ethernet

2011-07-19 Thread Chris Maynard
kahou lei writes: > I was debugging a packet via wireshark. I notice that version 1.6.0 doesn't show FCS info but version 1.4.2 does.  > > Just wonder how can I enable showing FCS option in 1.6.0? Which FCS, Ethernet, IEEE 802.11, or something else? If Ethernet or IEEE 802.11, have you tried s

[Wireshark-dev] Wireshark 1.6.1 release notes question regarding libsmi

2011-07-19 Thread Chris Maynard
I was reading the 1.6.1 release notes from http://www.wireshark.org/docs/relnotes/wireshark-1.6.1.html, and noticed the following under "Known Problems": The 64-bit Windows installer does not ship with libsmi. (Win64 development page) Is this still applicable? I'm still working on 32-bit Windo

[Wireshark-dev] Bad developer guide link

2011-07-19 Thread Chris Maynard
At the bottom of http://www.wireshark.org/develop.html under the "Get Help" section is a supposed link to the "Developer's Guide". It incorrectly brings you to http://www.wireshark.org/docs/ instead of somewhere more reasonable like http://www.wireshark.org/docs/wsdg_html_chunked/.

Re: [Wireshark-dev] proto_help.c

2011-07-19 Thread Chris Maynard
Alexander Koeppe writes: > Ah thanks. Sorry but I wasn't aware of it. > Unfortunately I receive an "Access Denied" page for some protocols e.g. > IPv6. I think this is some kind of the business model of INACON, isn't it? Right. They only provide some protocol help for free. For the rest, you n

Re: [Wireshark-dev] Procedure to compile wireshark dissector on linux

2011-07-18 Thread Chris Maynard
Tony Trinh writes: > I like the CMake build better (easier to use and 'pretty') except for the verbose output, which is masochistically enabled by default. There's a comment that suggests the verboseness was meant to be temporary: > # Disable this later. Alternative: "make VERBOSE=1" > set(CMAKE_

Re: [Wireshark-dev] proto_help.c

2011-07-18 Thread Chris Maynard
Chris Maynard writes: > There is nothing to commit. Just to clarify, when I wrote that, I mean there is nothing to commit in order to support multiple help files. The bug I opened contains a sample wireshark.ini file, which could be committed if folks think there's any merit in doing s

Re: [Wireshark-dev] proto_help.c

2011-07-18 Thread Chris Maynard
Joerg Mayer writes: > Did you commit the code to suport several help files? How is the order of > the help entries decided if you have entries in more than one .ini file? There is nothing to commit. Just dump as many valid help.ini files in the protocol_help directory as you want and then start

Re: [Wireshark-dev] proto_help.c

2011-07-18 Thread Chris Maynard
Joerg Mayer writes: > Btw, do we want to distribute and install the protocol_help stuff of the > light version with Wireshark? Personally I think their help is pretty darn good, so I would be in favor of it. ___ Sent via:

Re: [Wireshark-dev] proto_help.c

2011-07-18 Thread Chris Maynard
Joerg Mayer writes: > Just a question regarding the download: The download will only provide the > protocol_help/ph.ini file and to use it I need to be online? Or are the > pages also available offline? By default, inacon's protocol help is available at http://www.inacon.de/ph/data/, since that'

Re: [Wireshark-dev] proto_help.c

2011-07-18 Thread Chris Maynard
Alexander Koeppe writes: > Are the protocol help files still maintained? > I can't find any on my system. > > ~/.wireshark$ find -name protocol_help > ~/.wireshark$ find ~/build/wireshark -name protocol_help > ~/.wireshark$ > > Why then keeping it? Inacon supplied their help file

Re: [Wireshark-dev] Makefile for wireshark dissector

2011-07-13 Thread Chris Maynard
sagar sg writes: > Hi, I have written a dissector plug in in windows and it works fine, now i want to compile it in linux to get the .so file Try reading doc/README.plugins. ___ Sent via:Wireshark-dev mailing list

Re: [Wireshark-dev] Why isn't this a bug?

2011-07-10 Thread Chris Maynard
Chris Maynard writes: > Jaap Keuter writes: > > > Why isn't this a bug? > > It sure looks like a bug to me. Committed a change to correct this in r37957. ___ Sent via:Wireshark-dev mailing

Re: [Wireshark-dev] Why isn't this a bug (2)?

2011-07-10 Thread Chris Maynard
Jaap Keuter writes: > static gboolean > check_msrp_header(tvbuff_t *tvb) > { > ... > linelen = tvb_find_line_end(tvb, 0, -1, &next_offset, FALSE); > /* Find the first SP */ > space_offset = tvb_find_guint8(tvb, 0, -1, ' '); > > ... > } > > Why find the line length first, then to

Re: [Wireshark-dev] Conversation and endpoints byte counts

2011-07-08 Thread Chris Maynard
Guy Harris writes: > What exactly do people want with those byte counts? I don't presume to know what one might want to use that data for. I am merely trying to report the most meaningful information possible. > ...which means that you can't get a link-layer byte count that pertains to what wa

[Wireshark-dev] Conversation and endpoints byte counts

2011-07-08 Thread Chris Maynard
With my recent commit in r37945, it is now possible to view GRE-encapsulated IP conversations and endpoints, which also include any other supported conversations such as UDP and TCP as well. However, when looking at the bytes being counted as part of those conversations, I noticed that they were a

Re: [Wireshark-dev] my dissector breaks with updated 1.6 source and libs

2011-07-08 Thread Chris Maynard
Brian Oleksa writes: > I have updated to the latest sources today as well as the latest libs. > I put my dissector in place and it crashes. It ran just fine on 1.4.X So you previously built a plugin dissector against 1.4.x and dropped it into the 1.6.0 plugins directory expecting it to work? Th

Re: [Wireshark-dev] Why isn't this a bug?

2011-07-08 Thread Chris Maynard
Jaap Keuter writes: > From the packet-giop.c source code: > > if (*offset > header->message_size) >return FALSE; >} > > Why isn't this a bug? It sure looks like a bug to me. ___ Sent via:Wireshark-d

Re: [Wireshark-dev] Unable to reach www.wireshark.org

2011-07-06 Thread Chris Maynard
Gerald Combs writes: > I added an record last week (on the 30th). Other than that there > haven't been any recent changes (that I'm aware of) that should affect > connectivity. Thanks (Jason too), but I guess it was something on my end. Our helpdesk has cleared things up.

Re: [Wireshark-dev] Getting data extracted by my dissector into another

2011-07-06 Thread Chris Maynard
Colin Helliwell writes: > I’ve developed a number of dissectors which dissect payload from those below and decode their own protocol. Now I want to pass my payload ‘ownward’ to another (the JSON dissector). I’d appreciate any tips on how to initialise/register my protocol such that the JSON disse

[Wireshark-dev] Unable to reach www.wireshark.org

2011-07-06 Thread Chris Maynard
I can reach www.wireshark.org via my mobile phone, but not from any computer behind my corporate proxy. Has anything changed that would prevent this or should I be contacting our IT group about it? Thanks, Chris ___ Sent vi

Re: [Wireshark-dev] Windows GTK Broken / Linux OK

2011-07-01 Thread Chris Maynard
Alex Lindberg writes: > My custom build of Wireshark includes a the ability to read a new file type.  When the system is build on a Linux (Debian) system, all works as it should, however when building on a Windows PC (XP x32) using either vc2008EE-sp1 or vc2010EE, the system complies and starts,

Re: [Wireshark-dev] Bugzilla not sending e-mails?

2011-07-01 Thread Chris Maynard
Chris Maynard writes: > I am no longer receiving any e-mail updates from bugzilla. Just checking if > this is isolated to me or if there might be something wrong with bugzilla. OK, I guess they are being sent, but for some reason there seems to be a really long delay before I receiv

  1   2   >