OSTU - Sake Blok on TShark Output Formats5. Example of output with -V $ tshark -r client.cap -R http.request -V Frame 4 (160 bytes on wire, 160 bytes captured) Arrival Time: Sep 23, 2008 22:31:59.249141000 [Time delta from previous captured frame: 0.000589000 seconds] [Time delta from previous displayed frame: 0.002689000 seconds] [Time since reference or first frame: 0.002689000 seconds] Frame Number: 4 Frame Length: 160 bytes Capture Length: 160 bytes [Frame is marked: False] [Protocols in frame: eth:ip:tcp:http] Ethernet II, Src: IntelCor_61:3a:ad (00:1c:bf:61:3a:ad), Dst: JuniperN_bb:d1:3b (00:12:1e:bb:d1:3b) Destination: JuniperN_bb:d1:3b (00:12:1e:bb:d1:3b) Address: JuniperN_bb:d1:3b (00:12:1e:bb:d1:3b) .... ...0 .... .... .... .... = IG bit: Individual address (unicast) .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) Source: IntelCor_61:3a:ad (00:1c:bf:61:3a:ad) Address: IntelCor_61:3a:ad (00:1c:bf:61:3a:ad) .... ...0 .... .... .... .... = IG bit: Individual address (unicast) .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) Type: IP (0x0800) Internet Protocol, Src: 192.168.1.46 (192.168.1.46), Dst: 192.168.1.20 (192.168.1.20) Version: 4 Header length: 20 bytes Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00) 0000 00.. = Differentiated Services Codepoint: Default (0x00) .... ..0. = ECN-Capable Transport (ECT): 0 .... ...0 = ECN-CE: 0 Total Length: 146 Identification: 0x588c (22668) Flags: 0x04 (Don't Fragment) [ rest of output omitted ] 8. Example of output with -T fields $ tshark -r client.cap -R "tcp.len>0" -T fields -e frame.time_relative -e ip.src -e ip.dst -e tcp.len 0.002689000 192.168.1.46 192.168.1.20 106 0.024024000 192.168.1.20 192.168.1.46 375 $ $ tshark -r client.cap -R http.response -T fields -E header=y -e frame.time -e http.response.code -e http.content_length frame.time http.response.code http.content_length Sep 23, 2008 22:31:59.270476000 200 45 $ $ tshark -r client.cap -R http.response -T fields -E header=y -E separator=',' -E quote=d -e frame.time_relative -e http.response.code -e http.content_length frame.time_relative,http.response.code,http.content_length "0.024024000","200","45" $ 10. Example of output with -T pdml $ tshark -r client.cap -R http.request -T pdml <?xml version="1.0"?> <pdml version="0" creator="wireshark/1.1.2-SVN-26732"> <packet> <proto name="geninfo" pos="0" showname="General information" size="160"> <field name="num" pos="0" show="4" showname="Number" value="4" size="160"/> <field name="len" pos="0" show="160" showname="Packet Length" value="a0" size="160"/> <field name="caplen" pos="0" show="160" showname="Captured Length" value="a0" size="160"/> <field name="timestamp" pos="0" show="Sep 23, 2008 22:31:59.249141000" showname="Captured Time" value="1222201919.249141000" size="160"/> </proto> <proto name="frame" showname="Frame 4 (160 bytes on wire, 160 bytes captured)" size="160" pos="0"> <field name="frame.time" showname="Arrival Time: Sep 23, 2008 22:31:59.249141000" size="0" pos="0" show="Sep 23, 2008 22:31:59.249141000"/> <field name="frame.time_delta" showname="Time delta from previous captured frame: 0.000589000 seconds" size="0" pos="0" show="0.000589000"/> <field name="frame.time_delta_displayed" showname="Time delta from previous displayed frame: 0.002689000 seconds" size="0" pos="0" show="0.002689000"/> <field name="frame.time_relative" showname="Time since reference or first frame: 0.002689000 seconds" size="0" pos="0" show="0.002689000"/> <field name="frame.number" showname="Frame Number: 4" size="0" pos="0" show="4"/> <field name="frame.pkt_len" showname="Packet Length: 160 bytes" hide="yes" size="0" pos="0" show="160"/> <field name="frame.len" showname="Frame Length: 160 bytes" size="0" pos="0" show="160"/> <field name="frame.cap_len" showname="Capture Length: 160 bytes" size="0" pos="0" show="160"/> <field name="frame.marked" showname="Frame is marked: False" size="0" pos="0" show="0"/> <field name="frame.protocols" showname="Protocols in frame: eth:ip:tcp:http" size="0" pos="0" show="eth:ip:tcp:http"/> </proto> <proto name="eth" showname="Ethernet II, Src: IntelCor_61:3a:ad (00:1c:bf:61:3a:ad), Dst: JuniperN_bb:d1:3b (00:12:1e:bb:d1:3b)" size="14" pos="0"> [ rest of output omitted ]