summits at BSDCan and BSDCam in 2017. The TCP Blackbox Recorder allows you to capture events on a TCP connection in a ring buffer. It stores metadata with the event. It optionally stores the TCP header associated with an event (if the event is associated with a packet) and also optionally stores information on the sockets. It supports setting a log ID on a TCP connection and using this to correlate multiple connections that share a common log ID. You can log connections in different modes. If you are doing a coordinated test with a particular connection, you may tell the system to put it in mode 4 (continuous dump). Or, if you just want to monitor for errors, you can put it in mode 1 (ring buffer) and dump all the ring buffers associated with the connection ID when we receive an error signal for that connection ID. You can set a default mode that will be applied to a particular ratio of incoming connections. You can also manually set a mode using a socket option. This commit includes only basic probes. rrs@ has added quite an abundance of probes in his TCP development work. He plans to commit those soon. There are user-space programs which we plan to commit as ports. These read the data from the log device and output pcapng files, and then let you analyze the data (and metadata) in the pcapng files. Reviewed by: gnn (previous version) Obtained from: Netflix, Inc. Relnotes: yes Differential Revision: https://reviews.freebsd.org/D11085
365 lines
5.2 KiB
Plaintext
365 lines
5.2 KiB
Plaintext
# $FreeBSD$
|
|
#
|
|
# Please see the file src/etc/mtree/README before making changes to this file.
|
|
#
|
|
|
|
/set type=dir uname=root gname=wheel mode=0755
|
|
.
|
|
arpa
|
|
..
|
|
atf-c
|
|
..
|
|
atf-c++
|
|
..
|
|
bsm
|
|
..
|
|
bsnmp
|
|
..
|
|
c++
|
|
4.2
|
|
backward
|
|
..
|
|
bits
|
|
..
|
|
debug
|
|
..
|
|
ext
|
|
pb_ds
|
|
detail
|
|
basic_tree_policy
|
|
..
|
|
bin_search_tree_
|
|
..
|
|
binary_heap_
|
|
..
|
|
binomial_heap_
|
|
..
|
|
binomial_heap_base_
|
|
..
|
|
cc_hash_table_map_
|
|
..
|
|
eq_fn
|
|
..
|
|
gp_hash_table_map_
|
|
..
|
|
hash_fn
|
|
..
|
|
left_child_next_sibling_heap_
|
|
..
|
|
list_update_map_
|
|
..
|
|
list_update_policy
|
|
..
|
|
ov_tree_map_
|
|
..
|
|
pairing_heap_
|
|
..
|
|
pat_trie_
|
|
..
|
|
rb_tree_map_
|
|
..
|
|
rc_binomial_heap_
|
|
..
|
|
resize_policy
|
|
..
|
|
splay_tree_
|
|
..
|
|
thin_heap_
|
|
..
|
|
tree_policy
|
|
..
|
|
trie_policy
|
|
..
|
|
unordered_iterator
|
|
..
|
|
..
|
|
..
|
|
..
|
|
tr1
|
|
..
|
|
..
|
|
v1
|
|
experimental
|
|
..
|
|
ext
|
|
..
|
|
tr1
|
|
..
|
|
..
|
|
..
|
|
cam
|
|
ata
|
|
..
|
|
mmc
|
|
..
|
|
nvme
|
|
..
|
|
scsi
|
|
..
|
|
..
|
|
casper
|
|
..
|
|
crypto
|
|
..
|
|
dev
|
|
acpica
|
|
..
|
|
agp
|
|
..
|
|
an
|
|
..
|
|
bktr
|
|
..
|
|
ciss
|
|
..
|
|
evdev
|
|
..
|
|
filemon
|
|
..
|
|
firewire
|
|
..
|
|
hwpmc
|
|
..
|
|
hyperv
|
|
..
|
|
ic
|
|
..
|
|
iicbus
|
|
..
|
|
io
|
|
..
|
|
lmc
|
|
..
|
|
mfi
|
|
..
|
|
mlx5
|
|
..
|
|
mmc
|
|
..
|
|
mpt
|
|
mpilib
|
|
..
|
|
..
|
|
nand
|
|
..
|
|
nvme
|
|
..
|
|
ofw
|
|
..
|
|
pbio
|
|
..
|
|
pci
|
|
..
|
|
powermac_nvram
|
|
..
|
|
ppbus
|
|
..
|
|
smbus
|
|
..
|
|
speaker
|
|
..
|
|
tcp_log
|
|
..
|
|
usb
|
|
..
|
|
vkbd
|
|
..
|
|
wi
|
|
..
|
|
..
|
|
devdctl
|
|
..
|
|
edit
|
|
readline
|
|
..
|
|
..
|
|
fs
|
|
cuse
|
|
..
|
|
devfs
|
|
..
|
|
fdescfs
|
|
..
|
|
msdosfs
|
|
..
|
|
nandfs
|
|
..
|
|
nfs
|
|
..
|
|
nullfs
|
|
..
|
|
procfs
|
|
..
|
|
smbfs
|
|
..
|
|
udf
|
|
..
|
|
unionfs
|
|
..
|
|
..
|
|
gcc
|
|
4.2
|
|
..
|
|
..
|
|
geom
|
|
cache
|
|
..
|
|
concat
|
|
..
|
|
eli
|
|
..
|
|
gate
|
|
..
|
|
journal
|
|
..
|
|
label
|
|
..
|
|
mirror
|
|
..
|
|
mountver
|
|
..
|
|
multipath
|
|
..
|
|
nop
|
|
..
|
|
raid
|
|
..
|
|
raid3
|
|
..
|
|
shsec
|
|
..
|
|
stripe
|
|
..
|
|
virstor
|
|
..
|
|
..
|
|
gnu
|
|
posix
|
|
..
|
|
..
|
|
gssapi
|
|
..
|
|
infiniband
|
|
complib
|
|
..
|
|
iba
|
|
..
|
|
opensm
|
|
..
|
|
vendor
|
|
..
|
|
..
|
|
isofs
|
|
cd9660
|
|
..
|
|
..
|
|
kadm5
|
|
..
|
|
krb5
|
|
..
|
|
lib80211
|
|
..
|
|
libipt
|
|
..
|
|
libmilter
|
|
..
|
|
libxo
|
|
..
|
|
lzma
|
|
..
|
|
machine
|
|
pc
|
|
..
|
|
..
|
|
net
|
|
altq
|
|
..
|
|
..
|
|
net80211
|
|
..
|
|
netgraph
|
|
atm
|
|
..
|
|
bluetooth
|
|
include
|
|
..
|
|
..
|
|
netflow
|
|
..
|
|
..
|
|
netinet
|
|
cc
|
|
..
|
|
..
|
|
netinet6
|
|
..
|
|
netipsec
|
|
..
|
|
netnatm
|
|
api
|
|
..
|
|
msg
|
|
..
|
|
saal
|
|
..
|
|
sig
|
|
..
|
|
..
|
|
netpfil
|
|
pf
|
|
..
|
|
..
|
|
netsmb
|
|
..
|
|
nfs
|
|
..
|
|
nfsclient
|
|
..
|
|
nfsserver
|
|
..
|
|
openssl
|
|
..
|
|
pcap
|
|
..
|
|
protocols
|
|
..
|
|
rdma
|
|
..
|
|
rpc
|
|
..
|
|
rpcsvc
|
|
..
|
|
security
|
|
audit
|
|
..
|
|
mac_biba
|
|
..
|
|
mac_bsdextended
|
|
..
|
|
mac_lomac
|
|
..
|
|
mac_mls
|
|
..
|
|
mac_partition
|
|
..
|
|
..
|
|
ssp
|
|
..
|
|
sys
|
|
disk
|
|
..
|
|
..
|
|
teken
|
|
..
|
|
ufs
|
|
ffs
|
|
..
|
|
ufs
|
|
..
|
|
..
|
|
vm
|
|
..
|
|
xlocale
|
|
..
|
|
..
|