Re: [tcpdump-workers] tcpdump and wireshark

2008-09-22 Thread Stephen Donnelly
On Mon, 2008-09-22 at 18:18 +0400, Dmitry wrote: > Yeah! You´re right! > > Dumping packets via tcpdump to file, I can choose packet and cut out payload > starting from 0x0042 > Therefore It could be done via dd utility and some scripting avoiding > libpcap. > > Via tcpflow I can dump sessions. Th

Re: [tcpdump-workers] [Patch] signature.c

2008-09-22 Thread Guy Harris
On Sep 22, 2008, at 8:30 AM, Gisle Vanem wrote: bzero() and bcopy() are not universally available. But memset() and memcpy() are AFAICS. Yes - they're in the ANSI C standard, so if you don't have them you're using a really old crufty platform. Attached diffs-5.txt. Checked into the mai

Re: [tcpdump-workers] DLT-Value request for IEEE 802.15.4 lrwpan, PHY level

2008-09-22 Thread Guy Harris
On Sep 22, 2008, at 10:47 AM, Max Filippov wrote: So the packet's data will begin with 4 octets of 0 (the preamble), followed by one octet of SFD, followed by one octet of frame length + one reserved bit, followed by the MAC-layer data, starting with the 2- octet frame control field?- Yes,

Re: [tcpdump-workers] DLT-Value request for IEEE 802.15.4 lrwpan, PHY level

2008-09-22 Thread Max Filippov
> So the packet's data will begin with 4 octets of 0 (the preamble), > followed by one octet of SFD, followed by one octet of frame length + > one reserved bit, followed by the MAC-layer data, starting with the 2- > octet frame control field?- Yes, exactly. - This is the tcpdump-workers list. Visit

[tcpdump-workers] [ANNOUNCE] tcpindex release - packet capture and search tool

2008-09-22 Thread Chris Waters
TCPINDEX Tcpindex captures packets from a LAN and indexes all of the strings from those packets in an inverted index so they can be efficiently searched using keywords. Think of it like a simple search engine for packets across the network. Tcpindex was developed as an experiment in w

Re: [tcpdump-workers] DLT-Value request for IEEE 802.15.4 lrwpan, PHY level

2008-09-22 Thread Guy Harris
On Sep 22, 2008, at 2:54 AM, Макс Филиппов wrote: No ASK PHY, only those described in 2003's standard. So the packet's data will begin with 4 octets of 0 (the preamble), followed by one octet of SFD, followed by one octet of frame length + one reserved bit, followed by the MAC-layer data,

[tcpdump-workers] [Patch] signature.c

2008-09-22 Thread Gisle Vanem
bzero() and bcopy() are not universally available. But memset() and memcpy() are AFAICS. Attached diffs-5.txt. --gv --- CVS-Latest/signature.c Sat Aug 16 10:36:20 2008 +++ signature.c Mon Sep 22 16:58:20 2008 @@ -83,10 +83,10 @@ */ /* start out by storing key in pads */ -bzero

Re: [tcpdump-workers] tcpdump and wireshark

2008-09-22 Thread Dmitry
Yeah! You´re right! Dumping packets via tcpdump to file, I can choose packet and cut out payload starting from 0x0042 Therefore It could be done via dd utility and some scripting avoiding libpcap. Via tcpflow I can dump sessions. That´s more convenient. Thanks in advance! It would be better to

Re: [tcpdump-workers] tcpdump and wireshark

2008-09-22 Thread marco
> And now my question is: > can tcpdump extract payloads from packets, or it just extracting headers? No, tcpdump by itself can't. But that's what tcpflow does. Regards, Marco. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscr

Re: [tcpdump-workers] DLT-Value request for IEEE 802.15.4 lrwpan, PHY level

2008-09-22 Thread Макс Филиппов
> Does this support the ASK PHY and the other PHYs? If so, is there an > indication in the link-layer header specifying whether the frame is > for the ASK PHY or another PHY?- No ASK PHY, only those described in 2003's standard. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/

Re: [tcpdump-workers] tcpdump and wireshark

2008-09-22 Thread Dmitry
Thank you. I´ll try. I think, I found what´s going on. I´ve read manual more accurately and found, that -w key writes WHOLE packets, NOT payloads. And now my question is: can tcpdump extract payloads from packets, or it just extracting headers? Dmitry. > You might want to look at tcpflow: > ht

Re: [tcpdump-workers] DLT-Value request for IEEE 802.15.4 lrwpan, PHY level

2008-09-22 Thread Guy Harris
On Sep 21, 2008, at 9:18 AM, осьмилис wrote: I would like to request a new DLT value for 802.15.4 Low rate wireless personal area networks that will represent packets at PHY level, as specified in http://standards.ieee.org/getieee802/download/802.15.4-2003.pdf and http://standards.ieee.org/g

Re: [tcpdump-workers] tcpdump and wireshark

2008-09-22 Thread Dmitry
Hm, did´nt help. Dmitry. On 9/16/08, Arien Vijn <[EMAIL PROTECTED]> wrote: > > On 15 sep 2008, at 23:05, Dmitry wrote: > >> Hello. >> I'm interesting in info extraction from pcap dumps. >> Recently I did some test dump of downloaded picture with tcpdump and >> wrote >> it to file 'dump.pcap'. >>

Re: [tcpdump-workers] tcpdump and wireshark

2008-09-22 Thread marco
> By ´raw´ data I mean collected binary data from the payloads. > Wireshark does correctly restore binary stream from payloads. > I don´t know how to do this via tcpdump (if it possible off course) You might want to look at tcpflow: http://www.circlemud.org/~jelson/software/tcpflow/

Re: [tcpdump-workers] tcpdump and wireshark

2008-09-22 Thread Dmitry
By ´raw´ data I mean collected binary data from the payloads. Wireshark does correctly restore binary stream from payloads. I don´t know how to do this via tcpdump (if it possible off course) I did extract HTTP reply as binary stream. Divided it with hexedit to text data (header) and binary data (