=head1 NAME capinfos - Prints information about binary capture files =head1 SYNOPSYS B S<[ B<-t> ]> S<[ B<-c> ]> S<[ B<-s> ]> S<[ B<-d> ]> S<[ B<-u> ]> S<[ B<-a> ]> S<[ B<-e> ]> S<[ B<-y> ]> S<[ B<-i> ]> S<[ B<-z> ]> S<[ B<-h> ]> I I<...> =head1 DESCRIPTION B is a program that reads one or more saved capture files and returns any or all of several statistics about each file. B is able to detect and read any capture supported by the B package. B can read the following file formats: =over 4 =item * libpcap/WinPcap, tcpdump and various other tools using tcpdump's capture format =item * B and B =item * Shomiti/Finisar B captures =item * Novell B captures =item * Microsoft B captures =item * AIX's B captures =item * Cinco Networks B captures =item * Network Associates Windows-based B captures =item * Network General/Network Associates DOS-based B (compressed or uncompressed) captures =item * AG Group/WildPackets B/B/B/B/B captures =item * B's WAN/LAN analyzer captures =item * Network Instruments B version 9 captures =item * B router debug output =item * files from HP-UX's B =item * B ISDN routers dump output =item * the output from B from the ISDN4BSD project =item * traces from the B USB S0. =item * the output in B format from the Cisco Secure Intrusion Detection System =item * B (pppdump format) =item * the output from VMS's B/B/B utilities =item * the text output from the B VMS utility =item * Visual Networks' B traffic capture =item * the output from B L2 debug =item * the output from Accellent's B<5Views> LAN agents =item * Endace Measurement Systems' ERF format captures =item * Linux Bluez Bluetooth stack B traces =back There is no need to tell B what type of file you are reading; it will determine the file type by itself. B is also capable of reading any of these file formats if they are compressed using gzip. B recognizes this directly from the file; the '.gz' extension is not required for this purpose. The user specifies which statistics to report by specifying flags corresponding to the statistic. If no flags are specified, B will report all statistics available. =head1 OPTIONS =over 4 =item -t Displays the capture type of the capture file. =item -c Counts the number of packets in the capture file. =item -s Displays the size of the file, in bytes. This reports the size of the capture file itself. =item -d Displays the total length of all packets in the file, in bytes. This counts the size of the packets as they appeared in their original form, not as they appear in this file. For example, if a packet was originally 1514 bytes and only 256 of those bytes were saved to the capture file (if packets were captured with a snaplen or other slicing option), B will consider the packet to have been 1514 bytes. =item -u Displays the capture duration, in seconds. This is the difference in time between the earliest packet seen and latest packet seen. =item -a Displays the start time of the capture. B considers the earliest timestamp seen to be the start time, so the first packet in the capture is not necessarily the earliest - if packets exist "out-of-order", time-wise, in the capture, B detects this. =item -e Displays the end time of the capture. B considers the latest timestamp seen to be the end time, so the last packet in the capture is not necessarily the latest - if packets exist "out-of-order", time-wise, in the capture, B detects this. =item -y Displays the average data rate, in bytes =item -i Displays the average data rate, in bits =item -z displays the average packet size, in bytes =item -h Prints the help listing and exits. =back =head1 SEE ALSO I, I, I, I, I, I =head1 NOTES B is part of the B distribution. The latest version of B can be found at B. =head1 AUTHORS Original Author -------- ------ Ian Schorr Contributors ------------ Gerald Combs