|
NAMEipstrings - Reads strings from pcap dump filesSYNOPSISipstrings [-cefimnprstuwvz] [interface]DESCRIPTIONipstrings reads text strings from all traffic on a network interface or from a pcap format data file (produced by tcpdump and other programs).OPTIONS
INPUT EXAMPLESTo read strings from packets going by interface eth0 ipstrings eth0To read all strings from a pcap dump file 'pcap.dump' ipstrings -r pcap.dump To read only for host 10.2.2.2 ipstrings -r pcap.dump -f "host 10.2.2.2" To read 'pcap.dump' only for host 10.2.2.2 and port 21 (ftp) ipstrings -r pcap.dump -f "host 10.2.2.2 and port 21" To read gzip'ed 'pcap.dump.gz" for all hosts and only port 23 (telnet) zcat pcap.dump.gz | ipstrings -r- "port 23" OUTPUT EXAMPLESA short FTP session to 127.0.0.1 was captured in pcap.file. When we give the command ipstrings -ip -rpcap.filthe output is 127.000.000.001 127.000.000.001 6 21 1323 220 bluebird FTP server (Versi 127.000.000.001 127.000.000.001 6 1323 21 USER jibe 127.000.000.001 127.000.000.001 6 21 1323 331 Password required for jibe 127.000.000.001 127.000.000.001 6 1323 21 PASS xxxxxxxx 127.000.000.001 127.000.000.001 6 21 1323 230 User jibe logged in. 127.000.000.001 127.000.000.001 6 1323 21 SYST 127.000.000.001 127.000.000.001 6 21 1323 215 UNIX Type: L8 127.000.000.001 127.000.000.001 6 1323 21 QUIT 127.000.000.001 127.000.000.001 6 21 1323 221-You have transferred 0 byt 127.000.000.001 127.000.000.001 6 21 1323 221-Total traffic for this ses The first two columns are the source and destination ip addresses. Column three is the protocol, in this example all are 6 meaning all packets are tcp. Columns four and five are the source and destination port numbers. Starting in the sixth column are the printable strings that were found in the packets. BUGSReport any to jon.rifkin@uconn.edu.URLhttp://ipaudit.sourceforge.netVERSION1.0 Oct 13, 2005SEE ALSOtcpdump(1) pcap(3) ipaudit(1)
Visit the GSP FreeBSD Man Page Interface. |