From nobody Mon May 29 22:10:10 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QVV834bGdz4XFbs; Mon, 29 May 2023 22:10:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QVV830z7Jz3Hm4; Mon, 29 May 2023 22:10:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685398211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JUllnA0Vrb0bo1qK0sGfFLof1IKxI5cOEXPcgoxf9sk=; b=KD1MGGbYT86Ufc3GzEwxm0zG/8av3iisy5d4kfkMi91sDySL3TAfn1tFoXZa6KJYWe7Ukw 2s2+5f5QU2n/EAHNNEnKUpvTObtMS5BoLcoKgw6hJpH/HYdTIu5fYWKHxbj5S09K6CtFnG gCqxCBzGXskWsZvwJ9Go5Wzy5UrTtaOn1ZDuvjXgCtrJDhTuKbLoHncBTVDV9aliG7AuXN 0cpA3JprMETHPpudKhgcv5LRpSYi/0+KpIkbLVus6n7KiWDCnZnRIgGBMnQIPJGrVI1Qn2 OpuMDnkfregaPsJrQIxgl/1fOoYVUx0CN8IjeI//RqVYgDirj0FUxNGfsTwHsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685398211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JUllnA0Vrb0bo1qK0sGfFLof1IKxI5cOEXPcgoxf9sk=; b=d8s2wadHSFbNxY5mjgE2UxBFefToFA2fcLF/jgWx1pjKoV6cPosklp1x+B2uTwr/mWZO9x Nn6uMQslJKqIQMTAI2o4qFGwjHkVaH1Zi3ZEeme6e7lTBTYPK3YxAcFu2GIpuMSMKrrePN ua1KB4zv1upEz5NK1wWFY/2TKALHGxfaAQlF8RqmnNU/vlcrMCh5yF29XKGCE+oJR010uP c5RXr5YEW6WTJmd40ZWq8218ahAqR6TGIlEThXNnFxM55msoZH9rvmJ6cgsHPLLDwwvu9x Ks/TRlnxzr+INFkK2AfwPROscPGA3KF/S39m7R7XKyhRkjHcZuoCVjyWA4NmBw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685398211; a=rsa-sha256; cv=none; b=PDIHXBRYuGSDu7mr1S81BxpWlm7+QbqSYQJs/OQ4Bomj4+YoBV4m+HSUO6H7CzTwABQkpj 2lw1ZwY9JHtXob+S2hWTtwT+RvRCh/oybTSk/GjMs1bnAKkr+5KAEMeDjCdKrFSAKEf06w Ofl+8te4CFRQrwOkjctJacDsOwoYSnYz2fAlrTE4qPXAc9O8AFXH3SKMxCfGwykb/9wxS1 QFpccjmaaco0oAucXs+RqQDr7jAoUNTOmhxBxJRfvoSDu5QapJsl5oDpx0CXeEv6KQrGRR mQOOIEBYGthTD98o9n44iEXrNy5wiKgSG4jaPyVo4Zum+7v9cFH/Kjcic8NpwQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QVV83040VzT7n; Mon, 29 May 2023 22:10:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34TMAAYD037842; Mon, 29 May 2023 22:10:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34TMAAt6037839; Mon, 29 May 2023 22:10:10 GMT (envelope-from git) Date: Mon, 29 May 2023 22:10:10 GMT Message-Id: <202305292210.34TMAAt6037839@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: cf85818e05a9 - main - setkey(8): document NAT-T and NAT-T MTU extensions syntax List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cf85818e05a9349dfba040fb32e752d3c691ed1f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=cf85818e05a9349dfba040fb32e752d3c691ed1f commit cf85818e05a9349dfba040fb32e752d3c691ed1f Author: Konstantin Belousov AuthorDate: 2023-05-27 06:00:24 +0000 Commit: Konstantin Belousov CommitDate: 2023-05-29 22:10:02 +0000 setkey(8): document NAT-T and NAT-T MTU extensions syntax Reviewed by: ae Discussed with: bz Sponsored by: NVidia networking MFC after: 1 week Differential revision: https://reviews.freebsd.org/D40300 --- sbin/setkey/setkey.8 | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/sbin/setkey/setkey.8 b/sbin/setkey/setkey.8 index 38c10546cccb..dfa970397f25 100644 --- a/sbin/setkey/setkey.8 +++ b/sbin/setkey/setkey.8 @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 3, 2023 +.Dd May 27, 2023 .Dt SETKEY 8 .Os .\" @@ -283,7 +283,7 @@ and they cannot be used. .Pp .It Ar extensions take some of the following: -.Bl -tag -width Fl -compact +.Bl -tag -width Fl natt_mtu -compact .\" .It Fl m Ar mode Specify a security protocol mode for use. @@ -328,6 +328,21 @@ Do not allow cyclic sequence number. .It Fl lh Ar time .It Fl ls Ar time Specify hard/soft life time duration of the SA. +.It Fl natt Ar oai \([ Ar sport \(] Ar oar \([ Ar dport \(] +Manually configure NAT-T for the SA, by specifying initiator +.Ar oai +and +requestor +.Ar oar +ip addresses and ports. +Note that the +.Sq \([ +and +.Sq \(] +symbols are part of the syntax for the ports specification, +not indication of the optional components. +.It Fl natt_mtu Ar fragsize +Configure NAT-T fragment size. .El .\" .Pp