[Wireshark-dev] saving data in pcap file format

2010-10-11 Thread Lange Jan-Erik
Hello, I want to analyze an usb datastream with wireshark. To record the data I use a proprietary development that uses libusb to receive the data. Ok, to analyze the data I want to use wireshark. Is there a way to save the recorded data as a *.pcap File? Is there a library I could use to

Re: [Wireshark-dev] saving data in pcap file format

2010-10-11 Thread Gregory Seidman
On Mon, Oct 11, 2010 at 01:35:17PM +0200, Lange Jan-Erik wrote: Hello, I want to analyze an usb datastream with wireshark. To record the data I use a proprietary development that uses libusb to receive the data. Ok, to analyze the data I want to use wireshark. Is there a way to save the

Re: [Wireshark-dev] saving data in pcap file format

2010-10-11 Thread Lange Jan-Erik
[wireshark-dev-boun...@wireshark.org] im Auftrag von Gregory Seidman [gsslist+wiresh...@anthropohedron.net] Gesendet: Montag, 11. Oktober 2010 13:53 An: wireshark-dev@wireshark.org Betreff: Re: [Wireshark-dev] saving data in pcap file format On Mon, Oct 11, 2010 at 01:35:17PM +0200, Lange Jan-Erik

Re: [Wireshark-dev] saving data in pcap file format

2010-10-11 Thread Jeff Morriss
Lange Jan-Erik wrote: Hello, I want to analyze an usb datastream with wireshark. To record the data I use a proprietary development that uses libusb to receive the data. Ok, to analyze the data I want to use wireshark. Is there a way to save the recorded data as a *.pcap File? Is

Re: [Wireshark-dev] saving data in pcap file format

2010-10-11 Thread Andy Lawman
/2010 14:21 Subject:Re: [Wireshark-dev] saving data in pcap file format Sent by:wireshark-dev-boun...@wireshark.org Ok, in the documentation of winpcap I found the function pcap_dump_open(). It opens a file for another function ...loop() with captures packet and saves it in this file

Re: [Wireshark-dev] saving data in pcap file format

2010-10-11 Thread Chris Maynard
Lange Jan-Erik jan-erik.la...@... writes: I want to analyze an usb datastream with wireshark. To record the data I use a proprietary development that uses libusb to receive the data.   Have you looked into usbmon? http://wiki.wireshark.org/CaptureSetup/USB

Re: [Wireshark-dev] saving data in pcap file format

2010-10-11 Thread Guy Harris
On Oct 11, 2010, at 6:21 AM, Lange Jan-Erik wrote: Ok, in the documentation of winpcap I found the function pcap_dump_open(). It opens a file for another function Yes. You'll also find pcap_dump(), which writes to a file the packet you pass to it, and pcap_close(), which closes the file

Re: [Wireshark-dev] saving data in pcap file format

2010-10-11 Thread Guy Harris
On Oct 11, 2010, at 9:47 AM, Guy Harris wrote: That does, of course, require that the raw packet data be in the right format for DLT_USB_LINUX or DLT_USB_LINUX_MMAPPED. I'll discuss that issue in another message. That format is the format you get from the Linux usbmon module's binary

Re: [Wireshark-dev] saving data in pcap file format

2010-10-11 Thread Lange Jan-Erik
An: wireshark-dev@wireshark.org Betreff: Re: [Wireshark-dev] saving data in pcap file format Lange Jan-Erik jan-erik.la...@... writes: I want to analyze an usb datastream with wireshark. To record the data I use a proprietary development that uses libusb to receive the data. Have you looked

Re: [Wireshark-dev] saving data in pcap file format

2010-10-11 Thread Lange Jan-Erik
Auftrag von Lange Jan-Erik [jan-erik.la...@haw-hamburg.de] Gesendet: Montag, 11. Oktober 2010 19:42 An: Developer support list for Wireshark Betreff: Re: [Wireshark-dev] saving data in pcap file format I'm working on a WinXP PC. Usbmon is not possible because of this, isn't

Re: [Wireshark-dev] saving data in pcap file format

2010-10-11 Thread Chris Maynard
Lange Jan-Erik jan-erik.la...@... writes: Ok, if I would work with Linux and use the usbmon, I would still have to send usb bulk requests to my device with another programm? Or could I make this with pcap too? To my knowledge, usbmon only provides USB monitoring capabilities.