I want exactly the same output file as (File -> Save as -> k12 text file).
How can I do the same thing with tshark from command line. I can save this a.pcap to text file (.txt) with wireshark GUI. Default output $capinfos wireless_080224_įile type: Wireshark/tcpdump/. 1 I have a pcap file : a.pcap which contains udp packets. (See the help for details).Ĭapinfos does no dissection and so will be much faster than tshark. To run this Addon open the client console or terminal and access the IPFire box via SSH.However, Wireshark provides a program, capinfos, which reads a capture file to obtain information about the capture file such start-time, end-time, number-of-packets, etc.
aTshark can be installed with the Pakfire web interface or via the console: Output can be exported to XML, PostScript®, CSV, or plain text.Coloring can be applied for quick intuitive analysis.Decryption support for many protocols, including IPsec, ISAKMP, Kerberos, SNMPv3, SSL/TLS, WEP, and WPA/WPA2.Live data can be read from Ethernet, IEEE 802.11, PPP/HDLC, ATM, Bluetooth, USB, Token Ring, Frame Relay, FDDI, and others.You may need to use sudo or root access in this case. Before we start any capture, we need define to which interfaces on our server TShark can use. The -f option is used to specify a capture filter.