summaryrefslogtreecommitdiffstats
path: root/cddl/contrib/dtracetoolkit/Examples/tcpsnoop_d_example.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/contrib/dtracetoolkit/Examples/tcpsnoop_d_example.txt')
-rw-r--r--cddl/contrib/dtracetoolkit/Examples/tcpsnoop_d_example.txt41
1 files changed, 41 insertions, 0 deletions
diff --git a/cddl/contrib/dtracetoolkit/Examples/tcpsnoop_d_example.txt b/cddl/contrib/dtracetoolkit/Examples/tcpsnoop_d_example.txt
new file mode 100644
index 0000000..a0a8cc8
--- /dev/null
+++ b/cddl/contrib/dtracetoolkit/Examples/tcpsnoop_d_example.txt
@@ -0,0 +1,41 @@
+The following is a demonstration of the tcpsnoop script.
+
+
+
+Here we run tcpsnoop and wait for new TCP connections to be established,
+
+ # tcpsnoop.d
+ UID PID LADDR LPORT DR RADDR RPORT SIZE CMD
+ 100 20892 192.168.1.5 36398 -> 192.168.1.1 79 54 finger
+ 100 20892 192.168.1.5 36398 <- 192.168.1.1 79 66 finger
+ 100 20892 192.168.1.5 36398 -> 192.168.1.1 79 54 finger
+ 100 20892 192.168.1.5 36398 -> 192.168.1.1 79 56 finger
+ 100 20892 192.168.1.5 36398 <- 192.168.1.1 79 54 finger
+ 100 20892 192.168.1.5 36398 <- 192.168.1.1 79 606 finger
+ 100 20892 192.168.1.5 36398 -> 192.168.1.1 79 54 finger
+ 100 20892 192.168.1.5 36398 <- 192.168.1.1 79 54 finger
+ 100 20892 192.168.1.5 36398 -> 192.168.1.1 79 54 finger
+ 100 20892 192.168.1.5 36398 -> 192.168.1.1 79 54 finger
+ 100 20892 192.168.1.5 36398 <- 192.168.1.1 79 54 finger
+ 0 242 192.168.1.5 23 <- 192.168.1.1 54224 54 inetd
+ 0 242 192.168.1.5 23 -> 192.168.1.1 54224 54 inetd
+ 0 242 192.168.1.5 23 <- 192.168.1.1 54224 54 inetd
+ 0 242 192.168.1.5 23 <- 192.168.1.1 54224 78 inetd
+ 0 242 192.168.1.5 23 -> 192.168.1.1 54224 54 inetd
+ 0 20893 192.168.1.5 23 -> 192.168.1.1 54224 57 in.telnetd
+ 0 20893 192.168.1.5 23 <- 192.168.1.1 54224 54 in.telnetd
+ 0 20893 192.168.1.5 23 -> 192.168.1.1 54224 78 in.telnetd
+ 0 20893 192.168.1.5 23 <- 192.168.1.1 54224 57 in.telnetd
+ 0 20893 192.168.1.5 23 -> 192.168.1.1 54224 54 in.telnetd
+ 0 20893 192.168.1.5 23 <- 192.168.1.1 54224 54 in.telnetd
+ 0 20893 192.168.1.5 23 -> 192.168.1.1 54224 60 in.telnetd
+ 0 20893 192.168.1.5 23 <- 192.168.1.1 54224 63 in.telnetd
+ 0 20893 192.168.1.5 23 -> 192.168.1.1 54224 54 in.telnetd
+ 0 20893 192.168.1.5 23 <- 192.168.1.1 54224 60 in.telnetd
+ 0 20893 192.168.1.5 23 -> 192.168.1.1 54224 60 in.telnetd
+ 0 20893 192.168.1.5 23 <- 192.168.1.1 54224 60 in.telnetd
+ 0 20893 192.168.1.5 23 -> 192.168.1.1 54224 72 in.telnetd
+ [...]
+
+As new connections are made, each of the TCP packets are traced along with
+the UID, PID and command name.
OpenPOWER on IntegriCloud