1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00
freebsd/sbin
John Baldwin e6dede1456 setkey(8): Clarify language around AEAD ciphers.
AEAD ciphers for IPsec combine both encryption and authentication.  As
such, ESP configurations using an AEAD cipher should not use a
seperate authentication algorithm via -A.  However, this was not
apparent from the setkey manpage and 12.x and earlier did not perform
sufficient argument validation permitting users to pair an explicit -A
such as SHA256-HMAC with AES-GCM.  (The result was a non-standard
combination of AES-CTR with the specified MAC, but with the wrong
initial block counter (and thus different keystream) compared to using
AES-CTR as the cipher.)

Attempt to clarify this in the manpage by explicitly calling out AEAD
ciphers (currently only AES-GCM) and noting that AEAD ciphers should
not use -A.

While here, explicitly note which authentication algorithms can be
used with esp vs esp-old.  Also add subsection headings for the
different algorithm lists and tidy some language.

I did not convert the tables to column lists (Bl -column) though that
would probably be more correct than using literal blocks (Bd
-literal).

PR:		263379
Reviewed by:	Pau Amma <pauamma@gundo.com>, markj
Differential Revision:	https://reviews.freebsd.org/D34947
2022-04-27 12:23:18 -07:00
..
adjkerntz
bectl bectl: push space-in-name check down into libbe 2022-04-02 21:04:31 -05:00
bsdlabel *: Do not use the no-op -r flag for bsdlabel(8) 2022-03-17 17:28:07 +01:00
camcontrol camcontrol(8): Fix typo in a source code comment 2022-03-28 19:36:01 +02:00
ccdconfig *: Do not use the no-op -r flag for bsdlabel(8) 2022-03-17 17:28:07 +01:00
clri
comcontrol
conscontrol
ddb
decryptcore
devd devd(8): Fix a typo in a configuration file 2022-04-02 11:52:26 +02:00
devfs
devmatch devmatch: Allow devmatch_blocklist to be set in kenv too 2021-11-21 08:54:45 -07:00
dhclient dhclient(8): Fix a typo in a source code comment 2022-04-09 09:28:06 +02:00
dmesg dmesg: detect wrapped msgbuf on the kernel side and if so, skip first line 2022-02-05 13:35:31 -08:00
dump ufs: Rework shortlink handling to avoid subobject overflows 2022-01-02 20:55:36 +00:00
dumpfs
dumpon dumpon: proceed without compression if the kernel lacks support 2022-03-16 12:08:28 -04:00
etherswitchcfg
fdisk
ffsinfo
fsck fsck(8): Fix typo 2022-01-12 13:52:23 +08:00
fsck_ffs fsck_ffs(8): Fix a typo in a source code comment 2022-04-09 14:38:00 +02:00
fsck_msdosfs
fsdb Update fsdb(8) to reflect new structure of fsck_ffs(8). 2022-02-23 15:40:58 -08:00
fsirand
gbde
geom geom(4): Fix a typo in a source code comment 2022-03-28 19:28:08 +02:00
ggate ggatec: Use ANSI C definition for init_initial_buffer_size. 2022-01-31 17:12:04 -08:00
growfs growfs: do not error if filesystem is already requested size 2021-11-15 15:40:57 -05:00
gvinum GEOM: Introduce gctl_add_param() API. 2022-03-07 11:12:25 -05:00
hastctl
hastd hastd(8): Fix a typo in a source code comment 2022-04-09 14:06:30 +02:00
ifconfig ifconfig: Fix spelling error 2022-04-20 17:57:42 -06:00
init init(8): use proper boolean type for globals 2022-02-21 20:16:13 -04:00
ipf ipnat(5): Fix a double word in the manual page 2022-04-09 09:28:43 +02:00
ipfw dnctl: Support reading config from file like ipfw(8) 2022-01-03 09:50:18 +01:00
kldconfig
kldload
kldstat kldstat(8): style(9) fixes. 2021-12-07 11:40:22 +01:00
kldunload
ldconfig ldconfig: remove two symbols 2022-01-08 12:45:46 +02:00
md5 update external URLs 2022-02-05 08:19:56 +00:00
mdconfig
mdmfs
mknod
mksnap_ffs
mount mount: use pidfile_signal 2022-04-09 15:59:43 +00:00
mount_cd9660
mount_fusefs
mount_msdosfs
mount_nfs mount_nfs: Add a "bgnow" NFS mount option 2022-01-11 08:21:35 -08:00
mount_nullfs Add nullfs specific nocache option. 2022-04-22 10:22:26 +02:00
mount_udf
mount_unionfs
natd natd: Remove uneeded in_cksum.h includes 2021-11-24 13:31:16 -05:00
newfs *: Do not use the no-op -r flag for bsdlabel(8) 2022-03-17 17:28:07 +01:00
newfs_msdos newfs_msdos: connect the ATF test from NetBSD 2022-02-16 09:56:16 -06:00
nfsiod
nos-tun
nvmecontrol nvme: fix spelling of Namespace 2022-02-21 10:34:46 -08:00
pfctl pf: Add per-rule timestamps for rule and eth_rule 2022-04-22 19:53:20 +02:00
pfilctl
pflogd
ping ping: split the visual part of -f into a new option -. 2022-04-18 18:10:50 +02:00
ping6
quotacheck
rcorder
reboot Cross-reference nextboot(8) and freebsd-update(8) 2022-03-29 15:15:35 +02:00
recoverdisk
resolvconf
restore
route route: remove write-only struct hostent from getaddr() 2022-01-06 10:45:44 -05:00
routed routed(8): Remove a double word in a source code comment 2022-04-09 14:36:20 +02:00
rtsol
savecore savecore: add an option to save a live minidump 2022-04-18 12:56:16 -03:00
sconfig pkgbase: Put sconfig in FreeBSD-utilities 2021-12-21 10:16:08 +01:00
setkey setkey(8): Clarify language around AEAD ciphers. 2022-04-27 12:23:18 -07:00
shutdown boottrace: annotate init and shutdown utilities 2022-02-21 20:16:07 -04:00
swapon swapon(8): adapt to the new swapoff(2) interface 2021-12-09 02:48:59 +02:00
sysctl sysctl(8): Mention CTLFLAG_SKIP 2022-03-20 11:30:43 -07:00
tests
tunefs
umount umount(8): Remove a double word in a source code comment 2022-04-09 10:13:45 +02:00
veriexec veriexec(8): explain that only a unique prefix is required 2022-02-14 13:54:22 -08:00
zfsbootcfg
Makefile sbin: build ping if at least one of INET & INET6 is enabled 2021-11-28 13:05:39 -05:00
Makefile.amd64 Revert "amd64: Do not build sconfig" 2021-12-21 10:14:45 +01:00
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.mips
Makefile.powerpc64