|
NAMErwpcut - Outputs a tcpdump dump file as ASCIISYNOPSISrwpcut [--columnar] [--delimiter=DELIMITER] [--epoch-time] [--fields=PRINT_FIELDS] [--integer-ips] [--zero-pad-ips] FILE... DESCRIPTIONrwpcut outputs tcpdump files in an easy to parse way. It supports a user-defined list of fields to output and a user-defined delimiter between columns.OPTIONSOption names may be abbreviated if the abbreviation is unique or is an exact match for an option.OUTPUT SWITCHES
EXAMPLESIn the following examples, the dollar sign ("$") represents the shell prompt. The text after the dollar sign represents the command line.$ rwpcut --fields=sip,dip,sport,dport,proto --columnar data.dmp sip| dip|sport|dport|proto| 220.245.221.126| 192.168.1.100|21776| 6882| 6| 220.245.221.126| 192.168.1.100|21776| 6882| 6| $ rwpcut --fields=timestamp,payhex data.dmp (Carriage returns mid-payload added for legibility) timestamp|payhex| 2005-04-20 04:28:59.091470|4500003cd85840003206f3e2dcf5dd7 ec0a8016455101ae2811b6bce00000000a002ffff59990000020405ac0 10303000101080a524dc5cc00000000| 2005-04-20 04:29:02.057390|4500003cd88c40003206f3aedcf5dd7 ec0a8016455101ae2811b6bce00000000a002ffff59930000020405ac0 10303000101080a524dc5d200000000| SEE ALSOrwptoflow(1), silk(7)BUGSNote that payhex and payascii do not whitespace pad themselves if --columnar is used.The payascii field does not escape the delimiter character in any way, so care should be taken when parsing it.
Visit the GSP FreeBSD Man Page Interface. |