Skip to main content
Version: 🚧 Unstable 🚧

Bpf Socket Filter Attached

A socket filter attachement has been made (for instance via getsockopt syscall).

{
"data": {
"ancestors": "/usr/lib/systemd/systemd|/usr/bin/login|/usr/bin/zsh|/usr/bin/bash|/usr/bin/xinit|/usr/bin/i3|/usr/bin/bash|/usr/bin/urxvt|/usr/bin/zsh|/usr/bin/bash|/usr/bin/sudo|/usr/bin/sudo|/usr/bin/timeout",
"command_line": "tcpdump tcp port 42",
"exe": {
"path": "/usr/bin/tcpdump"
},
"socket": {
"domain": "AF_PACKET",
"type": "SOCK_RAW",
"proto": "IP"
},
"filter": {
"md5": "f14a5bc6d08bc46424827f54d2e3f8ed",
"sha1": "0f29b02f9eff3b0f2b9bba51e299b6a0b7493ff0",
"sha256": "23d7f42b1cdc1f0d492ebd756ed0fe8003995dda554d99418d47a81813650207",
"sha512": "f6ec9d10ae03d32f6b31ae37322b629ec7caad83dd3c5dd870df8e6fd13a5a512b3bc2de8384504781eedebdbfaacb52b6213a2673a8433ddad0b142322d704e",
"len": 1,
"size": 8
},
"attached": true
},
"info": {
"host": "...",
"event": {
"source": "kunai",
"id": 22,
"name": "bpf_socket_filter",
"uuid": "5e4c9ff9-40dc-6e0e-1611-c144f99fdfe4",
"batch": 701
},
"task": "...",
"parent_task": "...",
"utc_time": "2024-10-29T12:47:59.819970359Z"
}
}
info
  • .data.filter.len is the length of the filter in number of BPF instructions
  • .data.filter.size is the size of the filter in bytes