Re: [tcpdump-workers] pcap file format documentation

2006-03-19 Thread Don Morrison
Hi Jefferson, I tried this method, but it hangs tcpdump. Don On 3/19/06, Jefferson Ogata <[EMAIL PROTECTED]> wrote: > On 03/20/2006 12:12 AM, Stephen Donnelly wrote: > [top-posted rat's nest cleaned up] > > On Sun, 2006-03-19 at 20:43 -0800, Don Morrison wrote: > >>Here's the problem. I'm deali

Re: [tcpdump-workers] pcap file format documentation

2006-03-19 Thread Don Morrison
Stephen, Thanks for the NetDude reference, I'll look into it more. Don On 3/19/06, Stephen Donnelly <[EMAIL PROTECTED]> wrote: > Hi Don, > > That sounds quite likely. This may well be a case where you need to edit > the file directly, and it seems unlikely that the compatibility issues I > menti

Re: [tcpdump-workers] pcap file format documentation

2006-03-19 Thread Jefferson Ogata
On 03/20/2006 12:12 AM, Stephen Donnelly wrote: [top-posted rat's nest cleaned up] > On Sun, 2006-03-19 at 20:43 -0800, Don Morrison wrote: >>Here's the problem. I'm dealing with corrupted pcap files, where the >>last packet was partially written, but it's not of interest and all I >>want to do is

Re: [tcpdump-workers] pcap file format documentation

2006-03-19 Thread Stephen Donnelly
Hi Don, That sounds quite likely. This may well be a case where you need to edit the file directly, and it seems unlikely that the compatibility issues I mentioned would be a problem. Alternatively have you looked to see if NetDude will do what you want? Stephen. On Sun, 2006-03-19 at 20:43 -08

Re: [tcpdump-workers] pcap file format documentation

2006-03-19 Thread Don Morrison
Hi Stephen, Here's the problem. I'm dealing with corrupted pcap files, where the last packet was partially written, but it's not of interest and all I want to do is truncate the last packet. My assumption is that libpcap's API will not allow me to deal with this since programs that are dependent

Re: [tcpdump-workers] pcap file format documentation

2006-03-19 Thread Stephen Donnelly
It may be worth noting (AFAIK) the libpcap file format is intended to be opaque, with access for read/writing provided only by libpcap itself. This allows the implementation of the file format to be changed by the libpcap maintainers, while remaining transparent to the user. If you write your own

Re: [tcpdump-workers] pcap file format documentation

2006-03-19 Thread santosh.soule
Is there documentation describing the pcap file formats (other than the libpcap source)? >>> Check this link http://wiki.ethereal.com/Development/LibpcapFileFormat Thanks, Don - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe. The information contained in

[tcpdump-workers] pcap file format documentation

2006-03-19 Thread Don Morrison
Hello, Is there documentation describing the pcap file formats (other than the libpcap source)? Thanks, Don - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.

[tcpdump-workers] what it means capturing the packets in "Cooked Mode"

2006-03-19 Thread santosh.soule
Hi, I din't understand when we say the packets to be captured in cooked mode. What exactly is meant by cooked mode ?. Please clarify. I know a bit, its using datagram socket instead of raw socket. Regards, Santosh The information contained in this electronic message and any attachments to th