| 1 |
title: TCP Connection Tracing Utility |
| 2 |
name: tcp_trace.stp |
| 3 |
version: 1.0 |
| 4 |
author: [email protected] [email protected] |
| 5 |
keywords: network trace |
| 6 |
subsystem: network |
| 7 |
status: production |
| 8 |
exit: user-controlled |
| 9 |
output: timed |
| 10 |
scope: socket |
| 11 |
arg_[0-9]+: tcp_trace.stp filter=all|state|txq|rxq|srtt|snd_cwnd|snd_wnd|rexmit|pmtu|ssthresh|timer|rcvwnd [timeout=<sec>] [update=change|all] Rule |
| 12 |
description: This scripts traces a given TCP connection based on the filter parameters given by the user. The indexing is done by the 4 tuples local address, remote address, local port, remote port. |
| 13 |
test_check: stap -p4 tcp_trace.stp |
| 14 |
test_installcheck: stap tcp_trace.stp 127.0.0.1:*-127.0.0.1:* timeout=1 |