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.txt
# stap who_sent_it.stp -G the_dport=53 -c "ping -c 1 sourceware.org"

PING sourceware.org (209.132.180.131) 56(84) bytes of data.
64 bytes from server1.sourceware.org (209.132.180.131): icmp_seq=1 ttl=47 time=90.9 ms
[...]
nscd[21841] sent packet to 192.168.1.10:53                    <<<< output from systemtap


# stap who_sent_it.stp -G the_daddr="192.168.1.10"

swapper/0[0] sent packet to 192.168.1.10:2049
zsh[2215] sent packet to 192.168.1.10:2049
swapper/0[0] sent packet to 192.168.1.10:2049
ssh[24933] sent packet to 192.168.1.10:22
ssh[21400] sent packet to 192.168.1.10:22
swapper/0[0] sent packet to 192.168.1.10:22   <<<< not necessarily originating thread
ssh[24933] sent packet to 192.168.1.10:22
ssh[24933] sent packet to 192.168.1.10:22
ssh[21400] sent packet to 192.168.1.10:22
[...]