HEX
Server: Apache/2.4.34 (Red Hat) OpenSSL/1.0.2k-fips
System: Linux WORDPRESS 3.10.0-1160.118.1.el7.x86_64 #1 SMP Thu Apr 4 03:33:23 EDT 2024 x86_64
User: digital (1020)
PHP: 7.2.24
Disabled: NONE
Upload Files
File: //usr/share/systemtap/examples/network/who_sent_it.meta
title: Trace threads sending network traffic to given host and/or port
name: who_sent_it.stp
keywords: network trace traffic simple
description: This script traces outgoing network packets using the netfilter probes (not requiring debuginfo), printing the source thread name/id and destination host:port.  It may be filtered with the_dport and the_daddr globals, e.g., to watch only for DNS traffic (port 53), and/or only to the localhost (127.0.0.1).
test_check: stap -p4 who_sent_it.stp
test_installcheck: stap who_sent_it.stp -G the_dport=53 -c "ping -c 1 sourceware.org || true"