From patchwork Mon Jul 6 13:29:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tincanteksup X-Patchwork-Id: 1207 X-Patchwork-Delegate: davids@openvpn.net Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director8.mail.ord1d.rsapps.net ([172.27.255.9]) by backend30.mail.ord1d.rsapps.net with LMTP id GBhSNzS0A19ZYwAAIUCqbw for ; Mon, 06 Jul 2020 19:31:00 -0400 Received: from proxy5.mail.iad3a.rsapps.net ([172.27.255.9]) by director8.mail.ord1d.rsapps.net with LMTP id YA8fNTS0A185RQAAfY0hYg ; Mon, 06 Jul 2020 19:31:00 -0400 Received: from smtp28.gate.iad3a ([172.27.255.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy5.mail.iad3a.rsapps.net with LMTP id 6LT7LzS0A1+xaAAAhn5joQ ; Mon, 06 Jul 2020 19:31:00 -0400 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: openvpnslackdevel@openvpn.net X-Originating-Ip: [216.105.38.7] Authentication-Results: smtp28.gate.iad3a.rsapps.net; iprev=pass policy.iprev="216.105.38.7"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dkim=fail (signature verification failed) header.d=gmail.com; dmarc=fail (p=none; dis=none) header.from=gmail.com X-Suspicious-Flag: YES X-Classification-ID: bfad1780-bfe0-11ea-b402-52540000591c-1-1 Received: from [216.105.38.7] ([216.105.38.7:59398] helo=lists.sourceforge.net) by smtp28.gate.iad3a.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id A0/95-02807-434B30F5; Mon, 06 Jul 2020 19:31:00 -0400 Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1jsaZ2-00015C-1s; Mon, 06 Jul 2020 23:30:20 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsaZ0-000154-UY for openvpn-devel@lists.sourceforge.net; Mon, 06 Jul 2020 23:30:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=439+PcVeNNRNscsEgGzbB2qpj5JhMnA34y1ucXKbwtc=; b=Rga1j21hTkvyRrf9/Wtno8fUSi vXSNLtZWCZS4eas6qTozJ/BwbGNZk38JceGYo2m6Hy7/wfIArps7SgxLPssYNwSP4u4OGXyw/gzNZ RBeW4aJw5y66s/UWytUSucfu/q2/ySJZQRduZMhqf1njCgADgneE15+HORzHFGvMbV3M=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version: Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=439+PcVeNNRNscsEgGzbB2qpj5JhMnA34y1ucXKbwtc=; b=eKnzhSOJGxa0t8f+PRMK1YX0Vm gNBheTII+4LhWLe1qMnLce5LE4AggZR+pqA6uleL6BgO1WPTM2TsfReXD0Alb2Vuv+41bd5I6anob 28G2FC5vZO2IrTbkwqvOhnB/3AP2qFIMdCsOtzotERdS+hrtsrxQ8PD4cGcO53JFStKQ=; Received: from mail-wr1-f67.google.com ([209.85.221.67]) by sfi-mx-4.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.2) id 1jsaYz-00ChDM-Lt for openvpn-devel@lists.sourceforge.net; Mon, 06 Jul 2020 23:30:18 +0000 Received: by mail-wr1-f67.google.com with SMTP id j4so40721288wrp.10 for ; Mon, 06 Jul 2020 16:30:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=439+PcVeNNRNscsEgGzbB2qpj5JhMnA34y1ucXKbwtc=; b=JdoGjwxlywRGfArtXB45hIlEsciswU0GCj4TxOIy/DvRuUeHqSswUENLMvPtEN3ozp iTHliLhlsiqaeQLCecyh3tii5MNvmhO8Z2OmC5TzycjJ1SLtFS9dRuh2N8nFBGBAf5lG 9Pz9fHiZH11LrKazcwBpo6FtQbbO8z8pvZG5p3aDXCaEvo6YdaYyetURkVPcBz0kKMg/ asi7/cUAmOx9bPPq3zxGVglQfTDihaxxRfJnl3qF1Dmdwh/Qcg+i9+DAiKYz5/SAwYY0 C0TnKbWAvSD5VKHN4o506aGXzIaZXSn19/gzabSHFuGvdygIKuv+fiZJ1TWsIamxTD5P UjTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=439+PcVeNNRNscsEgGzbB2qpj5JhMnA34y1ucXKbwtc=; b=j+Vv9o5tHRhuQKUmESdlmgBdFg+vFpUMsgkVDOuMNiaqB/bz5HneUdj4utBeNhBhin LznOzGUB9AzDI+ZxJyOkuMfc0ZDxg2qfobzsGlYMdnA9coMy2a1Cgv8oRgOqP01eBDwT gRCDf6W1Q3TIf8uixk/zjLN2+hT+ji2ccym88w64ESJZM7aBR+GEupUomKJCh96h0m4W Cv1N9nJNh7rtJBURMqFFTQ4uxphk0uSHAWyb0N27+hp0Mp/LVcBIAdrHur3lABdvEV1V Ga2RiA6aUbNUwnbh+IIRHsQuMKm/Q8Jiq3uauIViqi1DRO+BrE4LL9iw8truIusvavqn TpMw== X-Gm-Message-State: AOAM5318MR5PYV0xB2Rs6Q0kz9AQsyZ2n/+2NbYj0eTWKRunczH+mzOB S1HX1R+A1TCcdu4Dy64xZd5yNJi4 X-Google-Smtp-Source: ABdhPJz4fvAsgCE9LaovXNt8+T+7s1zo3sEukyCzQj6Xb0ajzYiCskvAbCUqre/U3UkpyOf1flkBvQ== X-Received: by 2002:a5d:56d0:: with SMTP id m16mr49118107wrw.194.1594078204010; Mon, 06 Jul 2020 16:30:04 -0700 (PDT) Received: from localhost.localdomain (79-71-166-1.dynamic.dsl.as9105.com. [79.71.166.1]) by smtp.gmail.com with ESMTPSA id m10sm25882722wru.4.2020.07.06.16.30.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2020 16:30:03 -0700 (PDT) From: Richard Bonhomme To: openvpn-devel@lists.sourceforge.net Date: Tue, 7 Jul 2020 00:29:55 +0100 Message-Id: <20200706232955.3343-1-tincanteksup@gmail.com> X-Mailer: git-send-email 2.17.1 X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tincanteksup[at]gmail.com) -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.67 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.67 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-Headers-End: 1jsaYz-00ChDM-Lt Subject: [Openvpn-devel] [Patch] New man page corrections - script-options.rst X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox Signed-off-by: Richard Bonhomme --- doc/man-sections/script-options.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/man-sections/script-options.rst b/doc/man-sections/script-options.rst index 280127b1..8ea5b4a7 100644 --- a/doc/man-sections/script-options.rst +++ b/doc/man-sections/script-options.rst @@ -67,7 +67,7 @@ SCRIPT HOOKS OpenVPN will run command ``cmd`` to validate the username/password provided by the client. - ``cmd`` consists of a path to script (or executable program), optionally + ``cmd`` consists of a path to a script (or executable program), optionally followed by arguments. The path and arguments may be single- or double-quoted and/or escaped using a backslash, and should be separated by one or more spaces. @@ -114,7 +114,7 @@ SCRIPT HOOKS --client-connect cmd Run command ``cmd`` on client connection. - ``cmd`` consists of a path to script (or executable program), optionally + ``cmd`` consists of a path to a script (or executable program), optionally followed by arguments. The path and arguments may be single- or double-quoted and/or escaped using a backslash, and should be separated by one or more spaces. @@ -174,7 +174,7 @@ SCRIPT HOOKS Run command ``cmd`` when our remote ip-address is initially authenticated or changes. - ``cmd`` consists of a path to script (or executable program), optionally + ``cmd`` consists of a path to a script (or executable program), optionally followed by arguments. The path and arguments may be single- or double-quoted and/or escaped using a backslash, and should be separated by one or more spaces. @@ -200,13 +200,13 @@ SCRIPT HOOKS Similarly if *our* IP address changes due to DHCP, we should configure our IP address change script (see man page for ``dhcpcd``\(8)) to deliver a ``SIGHUP`` or ``SIGUSR1`` signal to OpenVPN. OpenVPN will - then reestablish a connection with its most recently authenticated + then re-establish a connection with its most recently authenticated peer on its new IP address. --learn-address cmd Run command ``cmd`` to validate client virtual addresses or routes. - ``cmd`` consists of a path to script (or executable program), optionally + ``cmd`` consists of a path to a script (or executable program), optionally followed by arguments. The path and arguments may be single- or double-quoted and/or escaped using a backslash, and should be separated by one or more spaces. @@ -244,7 +244,7 @@ SCRIPT HOOKS --route-up cmd Run command ``cmd`` after routes are added, subject to ``--route-delay``. - ``cmd`` consists of a path to script (or executable program), optionally + ``cmd`` consists of a path to a script (or executable program), optionally followed by arguments. The path and arguments may be single- or double-quoted and/or escaped using a backslash, and should be separated by one or more spaces. @@ -255,7 +255,7 @@ SCRIPT HOOKS --route-pre-down cmd Run command ``cmd`` before routes are removed upon disconnection. - ``cmd`` consists of a path to script (or executable program), optionally + ``cmd`` consists of a path to a script (or executable program), optionally followed by arguments. The path and arguments may be single- or double-quoted and/or escaped using a backslash, and should be separated by one or more spaces. @@ -316,7 +316,7 @@ SCRIPT HOOKS ``cmd`` should return :code:`0` to allow the TLS handshake to proceed, or :code:`1` to fail. - ``cmd`` consists of a path to script (or executable program), optionally + ``cmd`` consists of a path to a script (or executable program), optionally followed by arguments. The path and arguments may be single- or double-quoted and/or escaped using a backslash, and should be separated by one or more spaces. @@ -346,7 +346,7 @@ SCRIPT HOOKS Run command ``cmd`` after successful TUN/TAP device open (pre ``--user`` UID change). - ``cmd`` consists of a path to script (or executable program), optionally + ``cmd`` consists of a path to a script (or executable program), optionally followed by arguments. The path and arguments may be single- or double-quoted and/or escaped using a backslash, and should be separated by one or more spaces.