Re: [Wireshark-dev] IAX2 and LTE captures

2015-09-03 Thread Christopher Maynard
Gerald Combs writes: > Does anyone have any IAX2 or LTE captures that they can share, either > publicly or privately? Otherwise porting the remaining telephony dialogs is > going to be a bit tricky. The Wireshark menagerie contains a few which may or may not be of use to you: firefly h223-over-

Re: [Wireshark-dev] tvb_captured_length or tvb_reported_length?

2015-09-03 Thread Christopher Maynard
Guy Harris writes: > On Sep 3, 2015, at 1:09 AM, Robert Cragie wrote: > > > Thanks for all your responses - much clearer now. I have used what I think is right for what I am doing and all > seems OK. On a quick review of all the code, all I would say is that some of the uses are probably incons

Re: [Wireshark-dev] Obfuscating a capture

2016-03-30 Thread Christopher Maynard
Juan Jose Martin Carrascosa writes: > Hi everybody, > is there an existing way to obfuscate a capture? For instance, select a few fields and make them zero or random. You might want to take a look at https://www.tracewrangler.com/, or if that doesn't meet your needs, try some of the other anonym

Re: [Wireshark-dev] New in Wireshark making a dissector

2016-04-27 Thread Christopher Maynard
e.unavarra.es> writes: > I want add subtree , a HEX value with 16bytes, but buf max is 8 bytes, > when I tried more not works. I tried defining Protofield like a string > and it works but I want to show in HEX . Why can do it? > > local f_marker = ProtoField.string("myproto.marker", "MARKER",

[Wireshark-dev] RHEL 6 reached the end of production phase 1 on May 10, 2016

2016-06-23 Thread Christopher Maynard
I don't recall what support policy, if any, was decided regarding the various distributions, but I believe at least one commit (https://code.wireshark.org/review/#/c/14041/) was reverted due to the adverse affect of breaking Wireshark builds on RHEL6. Now that RHEL6 has reached the end of producti

Re: [Wireshark-dev] pass some value to customized plugin

2013-07-24 Thread Christopher Maynard
Fabiano Ricci writes: > > You can let the user configure the filter by preferences. A preference is a good idea; however, it does require that the user manually change it to match the packets, and it doesn't allow for both big-endian and little-endian packets to be analyzed within the same captu

Re: [Wireshark-dev] Seaching in the data pane would be useful ...

2013-08-09 Thread Christopher Maynard
Richard Sharpe writes: > I can across a capture yesterday where there were DNS queries for a > KDC in a Windows AD environment. The query returned 230 KDCs! > > Searching for a particular one was hard. > > It would be nice to have a right click menu item in either the details > pane or the data

Re: [Wireshark-dev] Seaching in the data pane would be useful ...

2013-08-09 Thread Christopher Maynard
Richard Sharpe writes: > Sure, I can do the search, and I did, but the actual info I am > interested in, like the priority, etc, is buried among 230 entries and > I have to patiently scroll until I find it. > > That is hard to do. I see your point. My attempt using tshark didn't produce very g

Re: [Wireshark-dev] Display filter and/or precedence

2013-08-09 Thread Christopher Maynard
Evan Huus writes: > On Fri, Aug 9, 2013 at 2:41 PM, Gerald Combs wrote: > > Laura Chappell and Sean Walberg recently discovered that logical OR > > takes precedence over logical AND in display filters. Is there any > > reason we shouldn't reverse this so that we match the order of > > operations

Re: [Wireshark-dev] Tshark: Using Profiles?

2013-09-04 Thread Christopher Maynard
Sean Lee writes: > The folder "/usr/local/share/wireshark/profiles/" already have some > folders in it like Bluetooth and Classic. Even if I try to load them > with -C, it won't load. > tshark -C Classic > tshark: Configuration Profile "Classic" does not exist > Can someone help? I'd really app

Re: [Wireshark-dev] Multiple input files

2013-09-05 Thread Christopher Maynard
Dario Lombardo writes: > Hi listI was trying to change the code of tshark to support multiple -r switches. The aim is to have many input files and one output file. Before getting mad in changing it, I was wondering if it makes sense or not, and if it was addressed before in some way. > > An exam

Re: [Wireshark-dev] Multiple input files

2013-09-05 Thread Christopher Maynard
Evan Huus writes: > You can even (I think) pipe from mergecap to tshark as follows: > > > mergecap -w - in1.pcap in2.pcap in3.pcap | tshark -Y "dns.qry.name contains google" -o google.pcap Just a slight correction on the tshark command-line options needed (note the "-i -"): mergecap -w - in1.

Re: [Wireshark-dev] Multiple input files

2013-09-05 Thread Christopher Maynard
writes: > You could use a batch script to do what you want, like >        for %%a IN (*.pcap) DO tshark.exe -r "%%a" -R "dns.qry.name contains google" -w "filtered_%%a" >        mergecap -a -w all-google-queries.pcap filtered*.pcap Great idea Jasper! I was thinking the same thing, only that

Re: [Wireshark-dev] Wireshark crashes

2013-09-06 Thread Christopher Maynard
Anders Broman writes: > I’m wondering if anyone sees these crashes (Ubuntu 13.04 ) , to reproduce: > Preferences > Update list of packets in real time: off > Automatic scrolling in live captures: off >   > Start a capture – wait for a few packets to arrive ( packet counter) > Stop capture. >   >

Re: [Wireshark-dev] Multiple input files

2013-09-06 Thread Christopher Maynard
Dario Lombardo writes: > for file in *.pcap > do >   tshark -r $file -Y "FILTER" -w - | mergecap -a - -w output.pcap > done > > what about that? Two problems: 1) How do you guarantee the files will be processed in correct time order for appending? 2) mergecap today doesn't support reading from

Re: [Wireshark-dev] please help

2013-09-11 Thread Christopher Maynard
Ned Stark writes: > Can anyone please tell me about where to start. Once you've got a development environment set up (which the documentation that Joerg pointed to you should help you with), you're able to compile Wireshark and think you're ready to try making some changes, you might want to per

Re: [Wireshark-dev] Question regarding emem -> wmem conversion

2013-09-13 Thread Christopher Maynard
Joerg Mayer writes: > > ../../tools/checkAPIs.pl -g emem packet-cdp.c > > packet-cdp.c: found 69 useless add_text() vs. 76 add_() > > calls (90.79%) > > > > What should be done for that? Is that related to emem? > > No, I just couldn't find an option to turn off the default checks, so we > get

Re: [Wireshark-dev] Question regarding emem -> wmem conversion

2013-09-13 Thread Christopher Maynard
Christopher Maynard writes: > Strangely and rather non-intuitively, the option is --build, as in: > > ../../tools/checkAPIs.pl --build -g emem packet-cdp.c > > (It might be a good idea to choose another name for this option and document > it in the usage ... along with

Re: [Wireshark-dev] Problem with asn2wrs and idmp

2013-09-16 Thread Christopher Maynard
Joerg Mayer writes: > Thanks. I just copied over the change to cmake. Out of curiosity: > How did you find out which file was missing, so I may be able to > fix this myself in the future? Thanks for applying to cmake. I noticed your output: > /home/jmayer/work/wireshark/svn/trunk/asn1/x509ce/x

Re: [Wireshark-dev] Problem with asn2wrs and idmp

2013-09-16 Thread Christopher Maynard
Joerg Mayer writes: > When I try to generate the idmp dissctor in asn1/idmp/, I get an error: > > If I build all asn1 dissectors in order (make in asn1/), then it builds fine, > so it looks like there is some sort of dependency problem. It looks like the dependency in this case was on x509af.

[Wireshark-dev] Wireshark 1.10.2 automatic update release notes missing

2013-09-18 Thread Christopher Maynard
Help -> Check for updates... https://www.wireshark.org/update/relnotes/wireshark-1.10.2.html The webpage cannot be found HTTP 404 Most likely causes: There might be a typing error in the address. If you clicked on a link, it may be out of date. What you can try: Retype the ad

[Wireshark-dev] Proper private_data usage

2013-10-15 Thread Christopher Maynard
What is the proper, safe and recommended way to use pinfo->private_data? If you look at the TCP dissector, you see the following: pd_save = pinfo->private_data; TRY { (*dissect_pdu)(next_tvb, pinfo, tree); } CATCH_NONFATAL_ERRORS { /* Resto

Re: [Wireshark-dev] Proper private_data usage

2013-10-15 Thread Christopher Maynard
Jeff Morriss writes: > But, yes, I think that when using private_data the restoration is > necessary: otherwise if you have multiple PDUs in one frame then an > exception in one of the early PDUs will cause the private_data to be > wrong when the next PDU is dissected. > > This is one of the

Re: [Wireshark-dev] Idea for process image dissection

2013-10-16 Thread Christopher Maynard
Roland Knall writes: > Also, should I implement the new UI only for the new (Qt) interface, > or for the GTK interface as well? To quote Gerald from https://blog.wireshark.org/2013/10/switching-to-qt/: What does this mean for developers? If you’re developing a new feature using GTK+ yo

[Wireshark-dev] GTK+ 3 on Windows

2013-10-28 Thread Christopher Maynard
Interesting "Goings on" http://blogs.gnome.org/mclasen/2013/10/28/gtk-3-on-windows/ ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/ma

Re: [Wireshark-dev] Wireshark-qt : Capture Interfaces

2013-11-26 Thread Christopher Maynard
Alexis La Goutte writes: > Hi, > I push yesterday the work of Thomas (GSoC'13 Students) about add captures interfaces window dialog for Wireshark-qt. > > It is a first "draft" of new captures interfaces,  only display the list of interface and select for launch capture, options don't (yet) work.

Re: [Wireshark-dev] Wireshark-qt : Capture Interfaces

2013-11-27 Thread Christopher Maynard
Guy Harris writes: > On Nov 26, 2013, at 7:58 AM, Christopher Maynard gtech.com> wrote: > > > Maybe the snaplen column should display the actual snaplen value instead of > > “default”? The GTK version does this too, which I’m also not a fan of, as > > “default

[Wireshark-dev] SI vs. IEC prefixes

2013-12-01 Thread Christopher Maynard
Not too long ago, I committed a change in r51576[1] that, besides resolving a bug reported on ask.wireshark.org, also properly documented the max filesize autostop values to match the code. Previously, they were documented in SI units: kilobyte(s), megabyte(s), gigabyte(s); however, that did not m

Re: [Wireshark-dev] SI vs. IEC prefixes

2013-12-02 Thread Christopher Maynard
Joerg Mayer writes: > > What do others think before I make any changes to SI units? > > Please change to SI in these cases. So you're recommending moving to SI prefixes for both the file size autostop condition and the capture buffer size, or just the file size? I just wanted to confirm becaus

Re: [Wireshark-dev] SI vs. IEC prefixes

2013-12-02 Thread Christopher Maynard
Christopher Maynard writes: > Joerg Mayer ...> writes: > > > > What do others think before I make any changes to SI units? > > > > Please change to SI in these cases. > > So you're recommending moving to SI prefixes for both the file size autostop &g

Re: [Wireshark-dev] Windows build setup - Concept required

2013-12-05 Thread Christopher Maynard
writes: > +1 > > -Original Message- > From: Pascal Quantin > To: Developer support list for Wireshark > Sent: Thu, Dec 5, 2013 3:33 pm > Subject: Re: [Wireshark-dev] Windows build setup - Concept required > > Personally I find the GTK2 GUI much more polished than GTK3 on Windows (may

Re: [Wireshark-dev] Error while installing wireshark 1.10.3

2013-12-11 Thread Christopher Maynard
Vishnu Bhatt writes: > I compiled the whole code with: > > ./configure --prefix=/home2/rahul.rohit/1.10.3._standalone_ra/install > --disable-setcap-install --enable-setuid-install --with-libcap --with-dumpcap-group=rncpet > > But after installing the rpm, the machine is not able to find Wiresh

[Wireshark-dev] Where is packet-isdn-sup-table31.c?

2013-12-13 Thread Christopher Maynard
In asn1/isdn-sup/packet-isdn-sup-template.c at line 110, there is: #include "packet-isdn-sup-table31.c" I'm unable to locate this file. Can someone more familiar with asn1 dissectors point me in the right direction? Thanks, Chris ___

Re: [Wireshark-dev] Thoughts on disabling an old dissector

2013-12-18 Thread Christopher Maynard
Evan Huus writes: > This was originally filed as bug 9569. The situation is sufficiently > unusual that I really don't know what the best solution is, so I > figured I'd ask for general comments from the list. The company who > created and used the TPNCP protocol (and submitted the packet-tpncp.c

Re: [Wireshark-dev] NSIS packaging for custom plugins

2013-12-18 Thread Christopher Maynard
Michael Lum writes: > I don't know how the NSIS packaging works but when you want to add a custom > plugin it looks like you need to modify both > > Custom.nmake and custom_plugins.txt >   > Is this correct? Yes. Custom.nmake adds the custom plugins to Makefile.nmake's PLUGINS via the CUSTOM_

Re: [Wireshark-dev] Windows build crashing today for me

2013-12-19 Thread Christopher Maynard
Martin Mathieson writes: > My windows build (from current trunk) is crashing upon startup today, with the error "This application has requested the Runtime to terminate in an unusual way".  The usual steps to get rid of this, i.e. doing a 'clean', or a 'setup' and 'clean' don't make any differenc

[Wireshark-dev] Automatic updates

2014-01-08 Thread Christopher Maynard
It looks like the 1.10.5 x86-64 version needs to be updated; it's still showing 1.10.4 as the latest available version. x86 is OK though. https://www.wireshark.org/update/0/Wireshark/1.10.5/Windows/x86-64/en-US /stable.xml By the way, I suppose U3 is no longer applicable, but how should this wo

Re: [Wireshark-dev] Wireshark-dev] Linking error tfshark

2014-01-11 Thread Christopher Maynard
Jeff Morriss writes: > man -s 3 getopt ? You just beat me on the reply. Anyway, it should be fixed in r54698. ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscr

Re: [Wireshark-dev] Fix bug in GSM MAP, have problems with GIT

2014-03-11 Thread Christopher Maynard
Evan Huus writes: I've been particularly busy of late, so I haven't had any real time to look into git or gerrit yet, and I'm probably not going to have any time to do so for a few more weeks at least. There are probably around 200 posts to wireshark-dev about git and gerrit, many with tidbits o

Re: [Wireshark-dev] Fix bug in GSM MAP, have problems with GIT

2014-03-11 Thread Christopher Maynard
pport list for Wireshark > Subject: Re: [Wireshark-dev] Fix bug in GSM MAP, have problems with GIT > > On Tue, Mar 11, 2014 at 12:05 PM, Christopher Maynard gtech.com> wrote: > >> Evan Huus ...> writes: > >> > >> I've been particularly busy of late,

[Wireshark-dev] Quips

2014-03-11 Thread Christopher Maynard
How to delete inappropriate quips? The last 2 on the list ought to be removed: o banks data o Bank information So far there aren't any blatantly obscene ones, but you never know. https://bugs.wireshark.org/bugzilla/quips.cgi?action=show

Re: [Wireshark-dev] Collection of captures for each supported dissector?

2014-06-30 Thread Christopher Maynard
Peter Wu writes: > On Monday 30 June 2014 07:12:56 Evan Huus wrote: > > The "menagerie" is our collection of capture files that the fuzz-bot uses to > > test with. It contains a substantial number of files across as many > > protocols as we have been able to accumulate. However, I am not sure it

Re: [Wireshark-dev] Building with QT on Windows using VS 2013

2014-08-07 Thread Christopher Maynard
Graham Bloice writes: > qtshark won't run from the wireshark-qt-release directory as not all the required DLL's have been copied over. If you add %QT5_BASE_DIR%\bin to your %PATH%, will wireshark-qt-release\qtshark.exe then run without necessarily having to copy over all the .dlls? That seems t

[Wireshark-dev] QT_MIN_VERSION

2014-08-07 Thread Christopher Maynard
configure.ac lists QT_MIN_VERSION as 4.6.0. Attempting to compile 1.12.0 on RHEL6 with qt-4.6.2-24.el6.x86_64 fails with: qt_ui_utils.cpp: In function 'void smooth_font_size(QFont&)': qt_ui_utils.cpp:58: error: 'class QFont' has no member named 'styleName' Apparently styleName isn't available un

Re: [Wireshark-dev] building a Gtk2 RPM (Was: QT_MIN_VERSION)

2014-08-12 Thread Christopher Maynard
Jeff Morriss writes: > > 2) I'm unable to create .rpm's using --without-qt. (or with both > > --without-gtk2 and --without-gtk3 for that matter, but that hasn’t been > > a problem since I just don’t bother installing the gnome rpm that’s > > generated.) > > RHEL6 doesn't have GTK3, so I’m forced

Re: [Wireshark-dev] building a Gtk2 RPM (Was: QT_MIN_VERSION)

2014-08-12 Thread Christopher Maynard
Jeff Morriss writes: > That's odd; I just tried it (starting from the wireshark-1.12.0 source > tarball[1]) and did not have any problems. I wonder if your > wireshark.spec file isn't being regenerated (from wireshark.spec.in)? > You could try comparing the two or just remove wireshark.spec t

Re: [Wireshark-dev] building a Gtk2 RPM (Was: QT_MIN_VERSION)

2014-08-13 Thread Christopher Maynard
Jeff Morriss writes: > Anyway, I had been running this test on Fedora (20) but since I didn't > want to accuse you of operator error I decided to try it on RHEL 6. > Sure enough, I saw the problem. Well that's nice to know. Thanks for confirming! _

Re: [Wireshark-dev] building a Gtk2 RPM (Was: QT_MIN_VERSION)

2014-08-13 Thread Christopher Maynard
Jeff Morriss writes: > > I noticed above that you did not run ./autogen.sh. I tried once again, this > > time *without* running autogen.sh just as you've shown, but unfortunately > > the results were the same. > > Source tarballs don't need ./autogen.sh run on them--that's part of the > magic

Re: [Wireshark-dev] ./autogen.sh needed in source tarball (Was: building a Gtk2 RPM (Was: QT_MIN_VERSION))

2014-08-13 Thread Christopher Maynard
Jeff Morriss writes: > Hmm, what did you do before that? I don't have that problem in a > freshly untar'd source tree. As I said earlier in the thread I can do > this without a problem: > > % cd /tmp && tar xjf /path/to/wireshark-1.12.0.tar.bz2 && cd > wireshark-1.12.0 && ./configure --with

Re: [Wireshark-dev] building a Gtk2 RPM (Was: QT_MIN_VERSION)

2014-08-13 Thread Christopher Maynard
Jeff Morriss writes: > > Jeff Morriss ...> writes: > > > It turns out that RHEL's rpmbuild doesn't let you %exclude a file that > doesn't exist. Should be fixed with: > > https://code.wireshark.org/review/#/c/3586/ Yes, that fixed it! __

Re: [Wireshark-dev] Petri-Dish +1 gives an error: needs code review

2014-08-15 Thread Christopher Maynard
Jeff Morriss writes: > Ah, that's it. I was (apparently--I had to try it out to confirm) > "Publish and Submit" since, well, the other button ("Publish Comments") > is decidedly *not* what I want to do: I want to submit my +1 (and I > don't *have* any comments so I really didn't think I want

Re: [Wireshark-dev] Adding a new dissector - beginners guide

2014-08-21 Thread Christopher Maynard
Thomas Wiens writes: > On 21 August 2014 21:41, Jeff Morriss wrote: > > > For the short term, I'd suggest doing: > > > > git stash > > git review [-f] > > git stash pop > > > > There might be a better answer longer term--maybe one of the guys who > > actually uses Windows has practical sugges

Re: [Wireshark-dev] Protocol Export objects - New Dissector Development

2015-02-25 Thread Christopher Maynard
Jeff Morriss writes: > > Are there any simple protocols which need a dissector to be added to > > Whireshark. I thought of some; but all of them seem to already supported > > in Wireshark. > > > > Are there any protocol you can suggest? I would like to develop the > > dissector for a simple proto

Re: [Wireshark-dev] Menagerie

2015-02-27 Thread Christopher Maynard
Evan Huus writes: > I have a local copy that I grabbed by logging into the host server - > I've created a torrent of it (attached) which I am currently seeding, > so you should be able to grab it from me (and if you do, please seed > to others in return!). > > Gerald hopefully this is OK, as far

Re: [Wireshark-dev] Supported Python versions?

2015-03-26 Thread Christopher Maynard
Bálint Réczey writes: > Since we use Python with verified input and only for building > Wireshark the security concerns don't apply here. > Otherwise I think it would be OK to move to newer Python version. Not that we must, but maybe we could plan on bumping minimum required versions (Python, Qt

Re: [Wireshark-dev] proto.h extension

2015-05-07 Thread Christopher Maynard
John Dill writes: > On a unrelated note, is there some way to begin a capture in wireshark (or one of its tools) when a packet > matches a filter expression? For example, I have a specific packet that triggers some process on the > system, and I want to capture for the next 2 minutes and then st

Re: [Wireshark-dev] Minimum supported library versions?

2015-07-10 Thread Christopher Maynard
Jeff Morriss writes: > Personally I aim more for "try not to drop support for still-(commonly)-used distributions" (especially the Red Hat EL's but I suppose LTS releases would also count).  Thus we have a page:https://wiki.wireshark.org/Development/Glib_Gtk_version_tracking > > which attempts

[Wireshark-dev] Unable to run wireshark, tshark or dumpcap from the build directory.

2010-10-01 Thread Christopher Maynard
I am unable to run wireshark, tshark or dumpcap from the build directory. The failures are as follows: [cmayn...@harley ~/wireshark]$ WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1 ./wireshark -h /home/cmaynard/wireshark/.libs/lt-wireshark: symbol lookup error: /home/cmaynard/wireshark/.libs/lt-wireshark:

Re: [Wireshark-dev] Unable to run wireshark, tshark or dumpcap from the build directory.

2010-10-01 Thread Christopher Maynard
Jaap Keuter writes: > > Hi, > > A clean build usually takes care of this. > > Thanks, > Jaap Thanks Jaap. I should have also mentioned that I tried that. In fact, not only did I try "make clean", but I also tried both "make distclean" and "make maintainer-clean". _

Re: [Wireshark-dev] Unable to run wireshark, tshark or dumpcap from the build directory.

2010-10-04 Thread Christopher Maynard
Jaap Keuter writes: > From the top of my head there's an environment variable which can be set on running glib based apps that cause > these apps to stop when they hit these. Running in a debugger allows you to to backtrace to the source. Thanks Jaap. From http://library.gnome.org/devel/glib/2

Re: [Wireshark-dev] Unable to run wireshark, tshark or dumpcap from the build directory.

2010-10-06 Thread Christopher Maynard
> Looks like your glib is attempting to inline g_string_append_c() Thanks Jeff. Now I understand what's going on while stepping through the code in gdb. I was stumbling through the source online at http://git.gnome.org/browse/glib/tree/glib/gstring.c, but now I see the inlining here: http://git.

Re: [Wireshark-dev] How to add a wtap encapsulation?

2010-10-13 Thread Christopher Maynard
Yo Mismo writes: > I have added it (#define WTAP_ENCAP_XXX   127) I don't know if this is your problem or not, but there's already a wiretap encapsulation defined as 127: #define WTAP_ENCAP_IEEE802_15_4_NOFCS 127 You might also want to have a look at wiretap/pcap-common.c, especially

Re: [Wireshark-dev] The TCP dissector needs an update

2010-10-13 Thread Christopher Maynard
Stephen Fisher writes: > So that we could display the data that's in that packet as FT_BYTES or > similar? I haven't looked at the TCP reassembly code much. I don't know Stig's motivation, but there are several TCP-related bugs filed in bugzilla, so maybe some re-work/re-factoring could help f

Re: [Wireshark-dev] Problem with a flag in a 32 bit field

2010-10-14 Thread Christopher Maynard
Graham Bloice writes: > and the hf def is: >   { &hf_item, >   { "A flag", "dissector.flag", FT_BOOLEAN, 32, > TFS(&tfs_set_notset), 0x8000, "A flag", HFILL }}, >   Does this work? { &hf_item, { "A flag", "dissector.flag", FT_BOOLEAN, 32, TFS(&tfs_set_no

Re: [Wireshark-dev] When I use gdb to debug wireshark,error occurs

2010-10-22 Thread Christopher Maynard
刘昆 writes: > What should I do to debug packet-http.c:dissect_http by using gdb ? dissect_http is in libwireshark.so, not wireshark. After the message indicating "No source file named packet-http.c", you should have also seen a message asking you: Make breakpoint pending on future shared lib

Re: [Wireshark-dev] 4 Bytes too much in tvb

2010-10-25 Thread Christopher Maynard
Michael Biener Biener writes: > Any Idea? did I Something wrong? What does your call to tcp_dissect_pdus() look like? Is it something like "tcp_dissect_pdus(tvb, pinfo, tree, TRUE, 14, get_qcom_message_len, dissect_qcom);"?

Re: [Wireshark-dev] nmake problem (cl.exe)

2010-10-25 Thread Christopher Maynard
Lange Jan-Erik writes: > cl -WX -D_U_="" /Zi /W3 /MD /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /DWIN32_LEAN_AND_MEAN /DMSC_VER_REQUIRED=1500 /D_BIND_TO_CURRENT_CRT_VERSION=1 /MP lemon.c > > causes the error > > cl: Command line error D8021: invalid numeric arument '/Mplemon.c' >

Re: [Wireshark-dev] Dissecting TCP PDUs

2010-10-25 Thread Christopher Maynard
Alexander Koeppe writes: > I have seen captures where e.g. several NetBIOS PDUs has been dissected > as an individual branch of the protocol tree. Those PDUs aren't > displayed under the TCP tree as mentioned above. > Another protocol e.g. FIX (which is quite new), is being dissected as an > ind

Re: [Wireshark-dev] Building pruned-down version of tshark

2010-10-25 Thread Christopher Maynard
Tharaneedharan Vilwanathan writes: > I am trying to reduce the size. I would like to explore various ways like remove support for some protocols (USB, ATM, etc) and do static build, etc. I did see some pointers related to this but it looks like they are outdated. You might try editing epan/disse

Re: [Wireshark-dev] nmake problem (cl.exe)

2010-10-26 Thread Christopher Maynard
Lange Jan-Erik writes: > I have Windows7 x64. Perhaps the SDK doesn't support it? The information at http://www.codeproject.com/KB/IP/custom_dissector.aspx, provides help for building Wireshark on Win32. Since you're on a 64-bit platform, you might want to have a look at http://wiki.wireshark.or

[Wireshark-dev] Developer guide clarification

2010-10-29 Thread Christopher Maynard
In the developer guide under section 4.4.1, “Toolchain Package Alternatives”, it mentions that, "Visual C++ 2008 Express Edition SP1 may be used for the development branch, but it cannot create PortableApps or U3 packages." I have been creating both PortableApps and U3 installer packages using VC2

Re: [Wireshark-dev] Developer guide clarification

2010-10-29 Thread Christopher Maynard
Gerald Combs writes: > How do you get the CRT onto the target computer? According to > http://msdn.microsoft.com/en-us/library/ms235291.aspx VC2008EE doesn't > ship with it, so any portable packages would depend on having the > correct vcredist_x86.exe installed. Right, vcredist_x86.exe must be

Re: [Wireshark-dev] basic question

2010-11-01 Thread Christopher Maynard
Brian Oleksa writes: > Will this work if I just change the size and offset from 8 to 4..?? basic answer: no. :) You are still grabbing 8 bytes from the tvb instead of only 4: msecs_since_the_epoch = tvb_get_ntoh64(tvb, offset);

Re: [Wireshark-dev] basic question

2010-11-01 Thread Christopher Maynard
Brian Oleksa writes: > So I guess I should use the following to grab 4 bytes..?? > > guint32 tvb_get_ntohl(tvbuff_t*, gint offset); Yes. ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/l

Re: [Wireshark-dev] Spurious TCP SEQ/ACK analysis errors

2010-11-02 Thread Christopher Maynard
Graham Bloice writes: > Are folks > seeing a lot of these on trunk?  Almost every capture I load > seems to have some "TCP ACKed lost segment" and "TCP Previous > segment lost" warnings, even though the sequence numbers are > fine. > Even more oddly, th

Re: [Wireshark-dev] nmake problem (cl.exe)

2010-11-02 Thread Christopher Maynard
Lange Jan-Erik writes: > I have Windows 7 64bit on my computer. > > Error 1719. The windows Installer Service could not be accessed. This can occur if you are running Windows > in safe mode, or if the Windows Installer is not correctly installed. Contacte your support personel for assistance. >

Re: [Wireshark-dev] nmake problem (cl.exe)

2010-11-03 Thread Christopher Maynard
Lange Jan-Erik writes: > Ok, I'll ask somewhere else. Well the error message does indicate, "Contacte your support personel for assistance.", so maybe your own internal helpdesk/IT gurus could help you? ___ Sent via:Wir

Re: [Wireshark-dev] compiling dissector plugin

2010-11-05 Thread Christopher Maynard
Lange Jan-Erik writes: > now I'm using linux for creating a wireshark dissector. Compiling Wireshark on Windows 7 64-bit is too > strange for me. Well, maybe you can revisit Windows later on if you're able to overcome the SDK installation problems. > Compiling wireshark finished with no errors.

Re: [Wireshark-dev] compiling dissector plugin

2010-11-08 Thread Christopher Maynard
Lange Jan-Erik writes: > Ok, before I go further I have to clarify some things. I want to implement a protocol, that is not Ethernet > compliant. As I see it, you can tell wireshark to use a certain dissector for a certain protocoll and port by > the function > dissector_add("udp.port", FOO

Re: [Wireshark-dev] Modify default settings?

2010-11-15 Thread Christopher Maynard
Stephen Fisher writes: > Are we using the best default settings when Wireshark is installed for > the first time on a machine? I always make these changes: > > - Ask for unsaved capture files > - Welcome screen and title bar shows version > - Always start in directory (Desktop on Windows,

Re: [Wireshark-dev] foo dissector of the dev guide

2010-11-16 Thread Christopher Maynard
Lange Jan-Erik writes: > But under preferences -> protocols there isn't the FOO protocol. Should it be there? It will only show up there if there are preferences registered for the dissector, so in this case, no. > have you disabled the UDP dissector? As Jaap mentioned, something is wrong here

Re: [Wireshark-dev] Bluetooth dissector patch

2010-11-29 Thread Christopher Maynard
Andrei Emeltchenko writes: > Shall I create bug in bugzilla or mail is enough? Hi Andrei. Yes, I think it would be better to file a bug report so the patch doesn't get lost. ___ Sent via:Wireshark-dev mailing list Arch

[Wireshark-dev] cloudshark

2010-12-01 Thread Christopher Maynard
I saw this today and thought I'd post the link here in case anyone hasn't seen it and might be interested in it: http://www.cloudshark.org/ ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/li

Re: [Wireshark-dev] Modify default settings?

2010-12-03 Thread Christopher Maynard
Stephen Fisher writes: > I just changed this to read "Auto Scroll" instead in SVN revision 35108 > to save space. The other references remain "Auto Scroll in Live > Capture" such as in the View menu. Looks better to me. The tooltip still has the full text too, so that's good. > I don't kno

Re: [Wireshark-dev] NMAKE : fatal error U1077: 'sed ' : return code '0x1'

2010-12-06 Thread Christopher Maynard
Jason Williams writes: > Yes, I have Cygwin installed on my E: drive.  Is that an issue? It shouldn't be an issue. It was just something different from mine and I wanted to verify that it wasn't a typo in your path. I'm not sure what the problem is. I tried renaming config.h.win32, but only g

Re: [Wireshark-dev] switch between protocols

2010-12-08 Thread Christopher Maynard
Lange Jan-Erik writes: > Dependent on the value of a type field I want to dissect a packet with protocol A or protocol B. >   > Is this a typical application for the use of a heuristic dissector? Or how can I realize the switch between the to protocolls? A heuristic dissector is basically one th

Re: [Wireshark-dev] Problem with dev environment

2010-12-08 Thread Christopher Maynard
Gregory Seidman writes: > Note that I am working with the source for 1.2.1 (ugh, I know) because > that's what we're still using. Yes, I wish I could get on a more current > version, but for now I can't. Can you try 1.4.2? Not necessarily to deploy/use because apparently you can't, but just to

Re: [Wireshark-dev] Incorrect decoding at first time, then filtering at the second time corrects the decoding

2010-12-08 Thread Christopher Maynard
Vishal Kumar Singh writes: > Hi All,In wireshark, I am trying to decode a packet by taking its information from the last decoded packet (Control packet and Data Packet). In the first time, few data packet takes wrong information and, decodes the packet accordingly. When I mark the faulty packet a

Re: [Wireshark-dev] how to commit a patch to be contained i n both branch 1.4 and trunk

2010-12-09 Thread Christopher Maynard
Benjamin Meyer writes: > I would like to add some small enhancements to an existing disector. I > would like to see them in the next release ov the 1.4 branch and off > course in the trunk. > How shall i do this? > Create a bugreport, choose Version 1.4.2, Severity Enhancement ? Yes, please fi

Re: [Wireshark-dev] Missing expert info

2010-12-10 Thread Christopher Maynard
Andreas writes: > I found an inconsistency with the expert info. While expert infos of > severity ERROR are reported, these are not displayed in the summary dialogs. Please file a bug report for this ... preferably with a capture file exhibiting the incorrect behavior attached to the report. T

Re: [Wireshark-dev] [work in progress / stuck] improved dissection for VNC (correct hextile encoding, correct desegmentation)

2010-12-13 Thread Christopher Maynard
Kaul writes: > Hi,Attached please find an incomplete, work-in-progress improved dissection of the VNC protocol. Hi Kaul, I think it would be better to open a bug report for this and submit the patches there. That way, the patches won't be forgotten. ___

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

2010-12-13 Thread Christopher Maynard
news.gmane.com writes: > How can I limit the output to one protocol level. As an example the TCP > level would be great (without IP, Ethernet, Frame)? Currently there is no way to do this, to my knowledge. ___ Sent via:

Re: [Wireshark-dev] How to avoid dissection based on port d efined by a different dissector?

2010-12-15 Thread Christopher Maynard
eymanm writes: > I have a dissector plugin that is registered with port A. Once in a while, this dissector is not kicking in. It looks like it "overpowered" by a dissector with registered port 3503 (lsp-ping). It looks like port 3503 is defined in epan\dissectors\packet-mpls-echo.c(39):#define UD

Re: [Wireshark-dev] How to avoid dissection based on port defined by a different dissector?

2010-12-15 Thread Christopher Maynard
Stephen Fisher writes: > > In addition to Christopher Maynard's suggestions, the surest way to > > fix it is to make both dissectors "new-style" so that they verify that > > the traffic on the port they're registered on (3503) is the right > > traffic they're expecting and kick it back to Wire

Re: [Wireshark-dev] Missing expert info

2010-12-19 Thread Christopher Maynard
Andreas writes: > So it looks like that it is bad practice to check for tree==NULL. The > proto_tree_add_... functions will check for tree==NULL by itself. The > delayed dissection was done for improved speed. ;-( Well, it's not bad practice per se, but it does require some careful considerati

Re: [Wireshark-dev] bitmask handling in wireshark

2010-12-28 Thread Christopher Maynard
Andrei Emeltchenko writes: > Could you point me to some example? > > So far I've seen only lots of boolean values. You might want to take a look at proto_tree_add_bitmask(). See doc/README.developer, which describes it and illustrates its use by taking an example from the SCSI dissector. ___

Re: [Wireshark-dev] bitmask handling in wireshark

2010-12-28 Thread Christopher Maynard
Andreas writes: > Where can I get a sample capture file to see how this will look like? There are several sample capture files posted here: http://wiki.wireshark.org/SampleCaptures But the bit tree produced by the function will pretty much look like any other bit tree, such as IP's "Differentia

Re: [Wireshark-dev] wishlist: implementation of Ethernet OAM by ITU-T Y.1731

2011-01-04 Thread Christopher Maynard
writes: > Is their a possibility to implement Ethernet OAM by ITU-T Y.1731? This thread seems to indicate that it's already implemented: http://www.wireshark.org/lists/wireshark-dev/201010/msg00180.html ___ Sent via:

[Wireshark-dev] Windows-XP-x86 buildbot down?

2011-01-10 Thread Christopher Maynard
It looks like the Windows-XP-x86 buildbot has been down for awhile. Does it need to be restarted? http://buildbot.wireshark.org/trunk/builders/Windows-XP-x86 ___ Sent via:Wireshark-dev mailing list Archives:http://

Re: [Wireshark-dev] ANSI C12.22

2011-01-21 Thread Christopher Maynard
Dubrawsky, Ido writes: > I’ve noticed that an ANSI C12.22 dissector is now a part of the 1.5.0 development branch in Wireshark (it appears to have been added in around the time of SVC Rev. 35292).  I’ve downloaded the 1.5.0 SVN Rev 35597 build for Win32 executable but cannot seem to find the ANSI

  1   2   >