Scroll to navigation

bindsnoop(8) bindsnoop(8)

NAME

bindsnoop - Trace bind() system calls.

SYNOPSIS

bindsnoop [-h] [-w] [-t] [-p PID] [-P PORT] [-E] [-U] [-u UID] [--count] [--cgroupmap MAP] [--mntnsmap MNTNSMAP]

DESCRIPTION

bindsnoop reports socket options set before the bind call that would impact this system call behavior.

REQUIREMENTS

CONFIG_BPF and bcc.

OPTIONS:

EXAMPLES:

bindsnoop -t
bindsnoop -p 181
bindsnoop -P 80
bindsnoop -P 80,81
bindsnoop -U
bindsnoop -u 1000
bindsnoop -E
bindsnoop --count

Trace IPv4 and IPv6 bind system calls and report socket options that would impact bind call behavior:

SOURCE

This is from bcc.

https://github.com/iovisor/bcc

Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool.

OS

Linux

STABILITY

Unstable - in development.

AUTHOR

Pavel Dubovitsky

SEE ALSO

tcpaccept(8)

12 February 2020