bindsnoop(8) | bindsnoop(8) |
bindsnoop - Trace bind() system calls.
bindsnoop.py [-h] [-w] [-t] [-p PID] [-P PORT] [-E] [-U] [-u UID] [--count] [--cgroupmap MAP] [--mntnsmap MNTNSMAP]
bindsnoop reports socket options set before the bind call that would impact this system call behavior.
CONFIG_BPF and bcc.
Trace IPv4 and IPv6 bind system calls and report socket options that would impact bind call behavior:
SO_BINDTODEVICE interface is reported as "IF" index
This is from bcc.
Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool.
Linux
Unstable - in development.
Pavel Dubovitsky
12 February 2020 |