Re: [Wireshark-dev] usbmon: size of different fields?

2010-11-09 Thread Németh Márton
Pete Zaitcev wrote: On Tue, 09 Nov 2010 07:40:36 +0100 Németh Márton nm...@freemail.hu wrote: I'm looking at the struct mon_bin_hdr and struct mon_bin_isodesc in file f=drivers/usb/mon/mon_bin.c Actually you're supposed to be looking at Documentation/usb/usbmon.txt

[Wireshark-dev] usbmon: size of different fields?

2010-11-08 Thread Németh Márton
Hi, I'm looking at the struct mon_bin_hdr and struct mon_bin_isodesc in file http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/usb/mon/mon_bin.c;h=44cb37b5a4dc1f9b27075e3db5346b9ebe307b22;hb=HEAD As far as I understand u64, s64, u32 and s32 have always fixed bit

Re: [Wireshark-dev] using wireshark utility.

2009-10-28 Thread Németh Márton
deepti.samm...@wipro.com írta: I would like to know about enabling the wireshark utility in our environment. Kindly help. Try http://www.wireshark.org/download.html as a starting point. Regards, Márton Németh ___

[Wireshark-dev] size_t and gint in doc/README.developer?

2009-10-27 Thread Németh Márton
Hi, in the doc/README.developer, Chapter 1.1.1 Portability I read about the usage of size_t and gint. Some examples and two possible way of casting are shown. IMHO, at the second example the comment is wrong because the casting seems to be valid. See the attached patch for exact location.

[Wireshark-dev] USB capturing problem under Linux

2009-10-25 Thread Németh Márton
Hi, I've filed a bug against Linux kernel at http://bugzilla.kernel.org/show_bug.cgi?id=14456 but I am not sure whether the kernel, the libpcap or the Wireshark code results that the URBs are not arriving correctly. The usbmon tool from http://people.redhat.com/zaitcev/linux/usbmon-5.4.tar.gz

Re: [Wireshark-dev] USB capturing problem under Linux

2009-10-25 Thread Németh Márton
Guy Harris wrote: On Oct 25, 2009, at 10:18 AM, Németh Márton wrote: I've filed a bug against Linux kernel at http://bugzilla.kernel.org/show_bug.cgi?id=14456 but I am not sure whether the kernel, the libpcap or the Wireshark code results that the URBs are not arriving correctly

Re: [Wireshark-dev] opening JPEG/JFIF files with Wireshark?

2009-10-17 Thread Németh Márton
Hi, Guy Harris wrote: On Oct 12, 2009, at 1:30 PM, Németh Márton wrote: as some wiki pages show ( http://wiki.wireshark.org/JPEG_JFIF and http://wiki.wireshark.org/TCP_Reassembly at Chapter Example) Wireshark understands the JPEG/JFIF file. Is there any way to open a raw JPEG/JFIF file

[Wireshark-dev] opening JPEG/JFIF files with Wireshark?

2009-10-12 Thread Németh Márton
Hi, as some wiki pages show ( http://wiki.wireshark.org/JPEG_JFIF and http://wiki.wireshark.org/TCP_Reassembly at Chapter Example) Wireshark understands the JPEG/JFIF file. Is there any way to open a raw JPEG/JFIF file similar to how the MP3 files can be opened? I guess something has to be done

[Wireshark-dev] Controller Area Network (CAN) + Wireshark?

2009-02-16 Thread Németh Márton
Hi, does Wireshark currently support the Controller Area Network (CAN) [1] ? In Linux kernel the PF_CAN protocol is already supported [2], so I guess this would be technically possible. Is there any activity in this topic? References: [1] Controller Area Network - Wikipedia

Re: [Wireshark-dev] wslua: reading raw file?

2008-04-10 Thread Németh Márton
. In the other case the best solution is to write a script to convert those files into libpcap format, and use one of the USER_DLTs. Luis On Wed, Apr 9, 2008 at 7:00 PM, Németh Márton [EMAIL PROTECTED] wrote: Guy Harris wrote: Németh Márton wrote: I started to use wslua and succeed to write

[Wireshark-dev] wslua: reading raw file?

2008-04-09 Thread Németh Márton
Hi, I started to use wslua and succeed to write a simple dissector on ethernet level. I created a .pcap header and copied my raw file after it. Is it possible using wslua to open a raw file which is not supported by Wireshark, yet? Márton Németh

Re: [Wireshark-dev] wslua: reading raw file?

2008-04-09 Thread Németh Márton
Guy Harris wrote: Németh Márton wrote: I started to use wslua and succeed to write a simple dissector on ethernet level. I created a .pcap header and copied my raw file after it. Is it possible using wslua to open a raw file which is not supported by Wireshark, yet? Creating a libpcap

Re: [Wireshark-dev] pcap with packet size 64k ?

2008-01-07 Thread Németh Márton
Hi, check WTAP_MAX_PACKET_SIZE in wireshark/wiretap/wiretap.h. I don't know if it is enough to change only at that place but this is a place I know. Márton Németh warlord wrote: -BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Hi everyone Second try: I'd like to start a

[Wireshark-dev] where are the #included *.c files?

2008-01-05 Thread Németh Márton
Hi, I am playing with lcov ( http://ltp.sourceforge.net/coverage/lcov.readme.php ), which can create a full html coverage report for the whole Wireshark project. My problem is that there are some source files which I could not find. For example in wireshark/asn1/camel/packet-camel-template.c

Re: [Wireshark-dev] code coverage measurement for a dissector?

2008-01-02 Thread Németh Márton
Stig Bjørlykke wrote: On 3. jan.. 2008, at 00.19, Németh Márton wrote: I started with make distclean. What is your gcc version? gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) It compiles ok, but I don't get any gcov output for the dissectors (which is in a lib

Re: [Wireshark-dev] code coverage measurement for a dissector?

2008-01-02 Thread Németh Márton
Stig Bjørlykke wrote: On 3. jan.. 2008, at 00.19, Németh Márton wrote: I started with make distclean. What is your gcc version? gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) It compiles ok, but I don't get any gcov output for the dissectors (which is in a lib

[Wireshark-dev] code coverage measurement for a dissector?

2008-01-01 Thread Németh Márton
Hi, I would like to write some tests for my dissector. To check how far I could cover my dissector code I could use the --coverage option of the gcc (see http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html#index-coverage-375 ). Where do I have to put the --coverage option? Will this work

[Wireshark-dev] USB packet pseudoheader processing

2007-12-16 Thread Németh Márton
Hi, I created a patchset which processes the Linux USB pseudoheader more detailed and (hopefully) more correctly. The patchset is ready to review and available at http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2108 . Márton Németh ___