| 1 |
title: Track Creation of Incoming TCP Connections |
| 2 |
name: tcp_connections.stp |
| 3 |
version: 1.0 |
| 4 |
author: anonymous |
| 5 |
keywords: network tcp socket |
| 6 |
subsystem: network |
| 7 |
status: production |
| 8 |
exit: user-controlled |
| 9 |
output: trace |
| 10 |
scope: system-wide |
| 11 |
description: The tcp_connections.stp script prints information for each new incoming TCP connection accepted by the computer. The information includes the UID, the command accepting the connection, the PID of the command, the port the connection is on, and the IP address of the originator of the request. |
| 12 |
test_check: stap -p4 tcp_connections.stp |
| 13 |
test_installcheck: stap tcp_connections.stp -T 1 |