tcpdump mailing list archives
Re: Proposed new pcap format
From: "Loris Degioanni" <loris () netgroup-serv polito it>
Date: Wed, 14 Apr 2004 11:57:19 -0700
Jefferson,
Fulvio Risso wrote:[mailto:tcpdump-workers-owner () lists sandelman ca]On Behalf Of Stephen Donnelly Jefferson Ogata wrote:Yes, fully fledged decoded captures would use a lot of extradisk, but araw no-frills capture could be recorded with maybe only 50% orso overhead. 50% extra space and 50% extra disk bandwidth cost? So my 250 Megabyte per second pcap stream to disk becomes 375MB/s?No, more than 500 MB/s. You have to trasform everything in ascii, so an 8bit value becomes a 2
bytes
ascii value.As I imagine you know, XML is not ASCII; it's Unicode. Raw packet data would typically be base64-encoded. This expands data by
33%;
three octets become four. You don't have to write one octet as two. In any case, if you're trying to capture every packet off the wire, you
might
not want to use the newer binary pcap format under discussion either. It's looking to impose some not insignificant overhead as well.
I don't agree. If you don't put optional metadata in the packet, you are going to have (at least when you save packets) something that is not too different from current libpcap format. If you use the Simple Packet Block, you have a even lighter solution. Loris
Again, pay attention to the discussion; there are many optional features
being
suggested for the pcap storage format. What prompted my remark was the discussion about which hash algorithms to include in the storage format,
what
data gets hashed, and whether any particular algorithm is designated as a default. That's the kind of stuff that says, to me, that a binary file
format is
going to grow out of itself pretty fast.
- This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.
Current thread:
- Re: Proposed new pcap format, (continued)
- Re: Proposed new pcap format Ronnie Sahlberg (Apr 11)
- Re: Proposed new pcap format Loris Degioanni (Apr 13)
- Re: Proposed new pcap format Fulvio Risso (Apr 13)
- Re: Proposed new pcap format Hannes Gredler (Apr 14)
- Re: Proposed new pcap format Fulvio Risso (Apr 14)
- Re: Proposed new pcap format Ronnie Sahlberg (Apr 11)
- Re: Proposed new pcap format Ronnie Sahlberg (Apr 11)
- Re: Proposed new pcap format Loris Degioanni (Apr 13)
- Re: Proposed new pcap format Fulvio Risso (Apr 13)
- Re: Proposed new pcap format Michael Richardson (Apr 16)
- Re: Proposed new pcap format Guy Harris (Apr 21)
- Re: Proposed new pcap format Darren Reed (Apr 22)
- Re: Proposed new pcap format Jefferson Ogata (Apr 22)
- Re: Proposed new pcap format Darren Reed (Apr 22)