From nobody Mon Jun 05 08:36:00 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 4QZRlN65Rbz4bM81; Mon, 5 Jun 2023 08:36:00 +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 4QZRlN5XTXz3wh2; Mon, 5 Jun 2023 08:36:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685954160; 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=llqr0RNcRGvi3BE/6x3LXYXFteHGAlCELH3GqrQgQjQ=; b=HsOyBpn6ucbAKzjMLojXyrUDoiNGu6wOwSSUBceKXCC1dO8s6b12p6LarGTWtmCfz9eLNv NgeON+8n54+hj2GWgZ0Fy7AbL5vbPnN5pRKmNhPT/DjPe4CqS7Swc2UtYrFuQBcW9qE87m ifTQbibw9wwuqEcfPqy1Ps8WeW1gyd5a7pliPCXFMrd2hIYVU3jGY5n4bbLh2tB86X4dZl RX4ixHM8NShgU/G8JsDSrPpMLzkWlFlpJ1BOHW7qK53VsOXbo/lr3BcCG3pzR7GCcjkyfk rcYhIxQqTQl/f8ikHBOFLa2pyDWoiVjUx8Ntao/MiTQuqxKJ83skimA5Yg/cCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685954160; 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=llqr0RNcRGvi3BE/6x3LXYXFteHGAlCELH3GqrQgQjQ=; b=fAg5COfn7RIPvcTrnKmLZR48MvVLfmsh04DQ7XK0tVInIsrkyxK/7oX8KgSOCUFXwDZ7K/ 22alrsOnwOm9cl8HPiMjJ5Y9nQcAUMDhLf+AHAvDWNCsqWWx4a06rivW/Ez6DOmLXEp9Xo zrdjZLTdnxZlwcS5/tEVYiSMQW3Urfhpk5drGjc/zOet59DOoBmOCmn5xjT3EeaK6HLmKA 160SUMR7/JFWNXEPUw6Z0zWGJ3b0ko38pKKtlz5L4qaMWsTQDhAuFx8cNpUElyz6lJVCII g7R5OUnOt8gvaswiNZ1n2h3l3AQ/BpHQJ/mfJT4RAhdjDZy8M/n0p9Fze4FiAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685954160; a=rsa-sha256; cv=none; b=SRsGIIfjut2tLo1VUEmgdMCo3UzVkCSUtMhXU6/N1u6uNvRakPjfuTu34cxwUq5dfGPWA9 Yof0oYkz/cKWgt4Bn3k1W+uwKh+d0VIHxdUeeNeCCTklrdv3JRFFW8Yq/8GUTxpwZ5qXrl MwfLLdM9SCBW1YmKObyv1rm3dVjA1Zy7SGy5DO7bi3i6NSffqhdG8JfqWOJlNAyuskGgZX G3huKhJgXv8hunvLbDPnbKUo/6LZF1A6iMKqYgzqxyU/f+3nvtzlVGknf427HDB2AyrIZu MMarDMop/V+PXj49RABTns+QrVNxxP7sCobawITY4a3Ii5DUbK0gilartuQjgw== 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 4QZRlN4fDCzh1D; Mon, 5 Jun 2023 08:36:00 +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 3558a09d024335; Mon, 5 Jun 2023 08:36:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3558a0Ph024334; Mon, 5 Jun 2023 08:36:00 GMT (envelope-from git) Date: Mon, 5 Jun 2023 08:36:00 GMT Message-Id: <202306050836.3558a0Ph024334@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: dcaa24cf3057 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: dcaa24cf30571be8b80be3f5202e4ec77aa595f2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=dcaa24cf30571be8b80be3f5202e4ec77aa595f2 commit dcaa24cf30571be8b80be3f5202e4ec77aa595f2 Author: Konstantin Belousov AuthorDate: 2023-05-27 06:00:24 +0000 Commit: Konstantin Belousov CommitDate: 2023-06-05 08:35:00 +0000 setkey(8): document NAT-T and NAT-T MTU extensions syntax (cherry picked from commit cf85818e05a9349dfba040fb32e752d3c691ed1f) --- 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 20754c1b368f..73c89fdf9ec2 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