Sponsored Content
Full Discussion: tcpdump question
Special Forums IP Networking tcpdump question Post 302159689 by sysgate on Friday 18th of January 2008 08:04:35 AM
Old 01-18-2008
This is kind of unclear to me, how do you create the files ? Is it >> (append) or > (redirect), what format is that ? What is the OS ? How are you sure what's happening with the connections ? What if they got closed for some reason ? Given the conditions you've posted, Connection A will be the same in the second file, but tcpdump will eavesdrop the current flow, i.e. timestamp will be different.
Please post more details, as well as log snippets, if possible, so we can answer this correctly, in case I got it wrong.
 

9 More Discussions You Might Find Interesting

1. Programming

How To Use tcpdump

I have two net-card. one is 172.16.24.99(ENG) ,another is 172.16.25.99(ENG-B). Both masks is 255.255.255.0. I will monitor data on the tcp port 8055 in ENG, How do I set option of tcpdump command (2 Replies)
Discussion started by: chenhao_no1
2 Replies

2. UNIX for Dummies Questions & Answers

tcpdump

does anybody know what the -d -dd and -ddd options are used for ? thanks (2 Replies)
Discussion started by: ant04
2 Replies

3. Cybersecurity

i would like to know about tcpdump

i would like to know about tcpdump i would like to use tcpdump to get information about these - Date - time - source hostname - source mac address - source ip address - destination ip address - see outbound only then i use command like this tcpdump -i le0 -n -q -tttt -e src net... (0 Replies)
Discussion started by: chamnanpol
0 Replies

4. IP Networking

i would like to know about tcpdump

i would like to know about tcpdump i would like to use tcpdump to get information about these - Date - time - source hostname - source mac address - source ip address - destination ip address - see outbound only then i use command like this tcpdump -i le0 -n -q -tttt -e src net... (2 Replies)
Discussion started by: chamnanpol
2 Replies

5. UNIX for Dummies Questions & Answers

tcpdump and prism headers question

Hello everyone! I installed OpenWRT on a WRT54G-TM (linux 2.4). No problem so far!. I also installed tcpdump on the box. I set the adapter in monitor mode. wlc monitor 1 It created the prism0 interface. Tcpdumpíng is also possible using this interface. root@cmWRT:/tmp# tcpdump -i... (1 Reply)
Discussion started by: aztroboy
1 Replies

6. IP Networking

Can anyone explain this tcpdump question?

Please look at the third line that the windows size is 257, but in the fourth line it sends 992 bytes. Can anyone tell me why? Thanks in advance!!! http://life.chinaunix.net/bbsfile/month_1108/1108241440ce458925d2bb6d73.png (3 Replies)
Discussion started by: cateran
3 Replies

7. IP Networking

tcpdump vs. wireshark

Hi, I am trying to capture manually crafted IP packets, created using Scapy, to a pcap file that can later be replayed using tcpreplay. When using wireshark, I can successfully capture these packets and view them in wireshark. However, when using tcpdump, these packets are then shown in... (2 Replies)
Discussion started by: yotamhc
2 Replies

8. Debian

Tcpdump Help !

Hi. Need Help with TcpDump Trying to sniff associatio-request with tcpdump but when i run this tcpdump -i eth0 wlan subtype assoc-req i get this error can anyone help me with this error ? Thanks alot !!:) (1 Reply)
Discussion started by: SoulZB
1 Replies

9. IP Networking

TCPdump

I've recently started learning to use TCPdump, and I find it pretty interesting. There's one thing I don't understand. When I tell it to capture packets on, say, the WiFi interface en1, it often captures packets sent or received by other hosts on the network. How can it do this? My... (3 Replies)
Discussion started by: Ultrix
3 Replies
TCPPROF(1)						    BSD General Commands Manual 						TCPPROF(1)

NAME
tcpprof -- report profile of network traffic SYNOPSIS
tcpprof [-?hdnpR] [-f filter expr] [-i interface] [-P port] [-r filename] [-s seconds] [-S letters] [-t lines] DESCRIPTION
tcpprof reports a profile of network traffic by ranking it by link type, ip protocol, TCP/UDP port, ip address, or network address. Network information is collected either by reading data from filename, or by directly monitoring the network interface interface. The default action for tcpprof is to automatically search for an appropriate interface, and to generate a profile before it exits. When reading data from filename, tcpprof will display the profile and exit immediately after the entire file has been processed. When col- lecting data from interface, tcpprof will keep running unless the -s option had been specified. OPTIONS
The options are as follows: -f filter expr Filter the packets according the rules given by filter expr. For the syntax of these rules, see tcpdump(1). The argument must be quoted if it contains spaces in order to separate it from other options. -h, -? Display version and a brief help message. -d tcpprof will track the source and destination information separately, where applicable, and identify source data with a ">" and destination data with "<". For example, a "http <" statistic signifies all traffic with destination port 80 (http). This option only applies to port, host and network statistics. -i interface Do a live capture (rather than read from a file) on the interface interface given on the command line. If interface is "auto" then tcpprof tries to find an appropriate one by itself. -P port This tells tcpprof to ignore TCP and UDP ports greater than or equal to port when displaying port statistics. This is not the same as filtering these port numbers out of the data set. This way, packets with i.e. the source port above port and the desti- nation port below port will be able to still count the lower port number as a statistic. In addition, this doesn't affect the other statistic types (link, protocol, etc.) -p Set the interface into non-promiscuous mode (promiscuous is the default) when doing live captures. -r filename Read all data from filename, which may be a regular file, a named pipe or "-" to read it's data from standard input. Acceptable file formats include pcap (tcpdump(1) files) and "snoop" format files. filename is usually a file created by the tcpdump(1) com- mand using the "-w" option. -S letters Tells tcpprof which statistics to display. letters must be a string of one or more of the following letters: l show stats about the link layer i show stats about all ip protocols p show stats about TCP/UDP ports h show stats about hosts/ip addresses n show stats about network addresses a a synonym for "liphn" -s seconds When monitoring an interface, tcpprof runs for only seconds seconds, and then quits. Has no effect when reading data from a file. -t lines When printing a profile of the data, tcpprof will display a maximum of lines lines for each statistic. SIGNALS
Upon receiving a SIGINT, tcpprof will print any remaining statistics, and then exit. FILES
/dev/bpfn the packet filter device EXAMPLES
tcpprof -i fxp0 -S a Displays a complete profile of network data passing through the fxp0 network interface, after the user enters ^C (control C). tcpprof -r file.dump -S a Displays a complete profile of network data from the tcpdump(1) generated file "file.dump". SEE ALSO
tcpdump(1), pcap(3), bpf(4) HISTORY
tcpprof was first written along side tcpstat in Winter 1998 using FreeBSD 3.0, and then finally retrofitted for Linux in Spring 2000. It became installed along with tcpstat since version 1.5. AUTHORS
Paul Herman <pherman@frenchfries.net> Cologne, Germany. Please send all bug reports to this address. BUGS
Not tested with link types other than Ethernet, PPP, and "None" types. There may be problems reading non-IPv4 packets across platforms when reading null type link layers. This is due to a lack of a standardized packet type descriptor in libpcap for this link type. Snoop file formats cannot be read from stdin or named pipes. BSD
December 22, 2001 BSD
All times are GMT -4. The time now is 06:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy