From patchwork Mon Mar 18 10:16:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Selva Nair X-Patchwork-Id: 703 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director12.mail.ord1d.rsapps.net ([172.30.191.6]) by backend30.mail.ord1d.rsapps.net with LMTP id cCISFQILkFwaQAAAIUCqbw for ; Mon, 18 Mar 2019 17:17:54 -0400 Received: from proxy20.mail.ord1d.rsapps.net ([172.30.191.6]) by director12.mail.ord1d.rsapps.net with LMTP id 0LvhFAILkFwwHQAAIasKDg ; Mon, 18 Mar 2019 17:17:54 -0400 Received: from smtp24.gate.ord1d ([172.30.191.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy20.mail.ord1d.rsapps.net with LMTP id AJqSFAILkFxlBAAAsk8m8w ; Mon, 18 Mar 2019 17:17:54 -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: smtp24.gate.ord1d.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: 4abfbb88-49c3-11e9-81d5-52540091a1c4-1-1 Received: from [216.105.38.7] ([216.105.38.7:8531] helo=lists.sourceforge.net) by smtp24.gate.ord1d.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id C6/07-09854-10B009C5; Mon, 18 Mar 2019 17:17:53 -0400 Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1h5zd0-0008CJ-AN; Mon, 18 Mar 2019 21:17:02 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1h5zcy-0008C2-JD for openvpn-devel@lists.sourceforge.net; Mon, 18 Mar 2019 21:17:00 +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=AL98V2ZGMdKMI/cOZT1IAH+hq+UC8ztsRK+JF4K0wxU=; b=AAwylD6Sw04XPz0dVC/qIh+DGe N7IgzejSWnIuMxU0VrZ5pkY46cJUnA5/he/AljxlaL1Bh8gWufuOaD0U3QjWJ2AU9F4RvBmjDK3n6 vEpkeYvRgY1FLBg4Fzy6O9Jt1jpJu/tXKUqCjdk7VGh13NdCDFNVLtGgUCD5AGusdS9Y=; 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=AL98V2ZGMdKMI/cOZT1IAH+hq+UC8ztsRK+JF4K0wxU=; b=JIfSzUehGsxbOGjEMroV/aV1CI TIX+ZIEezaQ5MffAyiO4fV/NW5Zs1BE0mngVly1hwabjTfkyYnsoXDhdJA8h18HAGY6IZW5TZ5a/M xLhbHdemV81Jz4k8RwV6X7scc+iIxKI4xxDsmBGD5Txynjdqw/8f5jNhZNRscYkzA1RA=; Received: from mail-io1-f47.google.com ([209.85.166.47]) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) id 1h5zcx-00BsQs-2N for openvpn-devel@lists.sourceforge.net; Mon, 18 Mar 2019 21:17:00 +0000 Received: by mail-io1-f47.google.com with SMTP id x7so15848533ioh.4 for ; Mon, 18 Mar 2019 14:16:58 -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=AL98V2ZGMdKMI/cOZT1IAH+hq+UC8ztsRK+JF4K0wxU=; b=QZauiEuF3SmYdKKpIa34au0QqmxNxkcVZ++CqP48Qes5zZs5Frbv4Aat3Ovr/dbz+8 Y0pQTo7IrLR1qIEwvSkjR1hsTIQgdMHaBK1B62A3v8fD07WVuAQMcrpaStreDxz/sJ5L XJiMcpetzd3VnSzDxb3iloDZ6cSTEVl9Dwc+OcS5tjmaH+XBbwLN6sno3q0rgJZ8RlAr KBtU6ibo+eJGAfDUyU/a8d8mOQ8AWBVAw82VMUNeiFy8xG4O/SWHSkBLpNu98MyFR/ul n4kK3lVlKKAAVU4cI8uB3mHCogsplMR5JVzrLrE7srOGiOT1VFTwxr73CIN4RMImAlVT pqqg== 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=AL98V2ZGMdKMI/cOZT1IAH+hq+UC8ztsRK+JF4K0wxU=; b=g8vTPNkT+8CDVT+//xqg2V40b7MUuUu2xxObZeancb5PWsNU3vuhlZRXn8sGKUjL3K fc8UK1brB+xefFSdMLONtIWwgRHDoXyV/sx2oRN+wq9h+FsTopxq51fN3MOrjIIlewom 5nHfG1/94YhyRr3pXA/juzf0P1sZub71CtUFAi5LipCfpY8XtUsZ8D+m3StPmopEmWji yhE7uEvHTP+IsdejY0CcWYiIPCT0IUtCmQjLXPw+z8LTgKuOB9W3rkltFgxG8wsqCS6k nwdSE58JdJZ9schzjg6vYQPvSQPo3rAP5Mh4c0azEnqo6nuYU4itzndDuBQJhACkTGcl Z6jQ== X-Gm-Message-State: APjAAAUibMXx6dyPC1j+y5+7svlAFnPHsSflZ1BVJydSYiB5Qx3VqWlr Pl5ZZarQcYeTzDUkTxBlxPUi9yXQdlY= X-Google-Smtp-Source: APXvYqzijlUhHpFD9q7Dk3KsX7YW6dFrZuZFr17sBiE5Ho2v57Z2Vl6gAqK8wdV5dmvZrJVm34oDpg== X-Received: by 2002:a5d:984b:: with SMTP id p11mr11604287ios.269.1552943813063; Mon, 18 Mar 2019 14:16:53 -0700 (PDT) Received: from saturn.home.sansel.ca (CPE40167ea0e1c2-CM788df74daaa0.cpe.net.cable.rogers.com. [99.228.215.92]) by smtp.gmail.com with ESMTPSA id i23sm1035674ion.40.2019.03.18.14.16.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 14:16:52 -0700 (PDT) From: selva.nair@gmail.com To: openvpn-devel@lists.sourceforge.net Date: Mon, 18 Mar 2019 17:16:49 -0400 Message-Id: <1552943809-6367-1-git-send-email-selva.nair@gmail.com> X-Mailer: git-send-email 2.1.4 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 (selva.nair[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.166.47 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches 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: 1h5zcx-00BsQs-2N Subject: [Openvpn-devel] [PATCH] Improve the documentation for --dhcp-option 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 From: Selva Nair Make clear that --dhcp-option is not processed on non-Windows clients and the user is expected to handle it using an --up script. Signed-off-by: Selva Nair --- doc/openvpn.8 | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/doc/openvpn.8 b/doc/openvpn.8 index ce44044..993c8bd 100644 --- a/doc/openvpn.8 +++ b/doc/openvpn.8 @@ -6026,13 +6026,21 @@ scope IDs. The Scope ID becomes a part of the NetBIOS name, making the name uniq .B DISABLE\-NBT \-\- Disable Netbios\-over\-TCP/IP. -Note that if +Note that +.B \-\-dhcp\-option +is processed only on Windows clients. If .B \-\-dhcp\-option -is pushed via +is used directly on or pushed via .B \-\-push -to a non\-windows client, the option will be saved in the client's -environment before the up script is called, under -the name "foreign_option_{n}". +to a non\-windows client, the option is +.B only +saved in the client's +environment before the +.B \-\-up +script is called, under the name "foreign_option_{n}". +The user has to arrange an +.B \-\-up +script to pick up those parameters and act on them as required. .\"********************************************************* .TP .B \-\-tap\-sleep n