From patchwork Tue Nov 16 19:44:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 2077 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director14.mail.ord1d.rsapps.net ([172.28.255.1]) by backend30.mail.ord1d.rsapps.net with LMTP id 0H9WGNqqlGGbDwAAIUCqbw (envelope-from ) for ; Wed, 17 Nov 2021 02:10:18 -0500 Received: from proxy3.mail.ord1c.rsapps.net ([172.28.255.1]) by director14.mail.ord1d.rsapps.net with LMTP id eFUaGNqqlGE3QQAAeJ7fFg (envelope-from ) for ; Wed, 17 Nov 2021 02:10:18 -0500 Received: from smtp7.gate.ord1c ([172.28.255.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy3.mail.ord1c.rsapps.net with LMTPS id 6CLTF9qqlGGXRAAANIxBXg (envelope-from ) for ; Wed, 17 Nov 2021 02:10:18 -0500 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: smtp7.gate.ord1c.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; dmarc=none (p=nil; dis=none) header.from=greenie.muc.de X-Suspicious-Flag: YES X-Classification-ID: 6aea06d6-4775-11ec-84db-bc305bf04148-1-1 Received: from [216.105.38.7] ([216.105.38.7:47548] helo=lists.sourceforge.net) by smtp7.gate.ord1c.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id EE/5E-24080-9DAA4916; Wed, 17 Nov 2021 02:10:17 -0500 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.94.2) (envelope-from ) id 1mnF3o-0000n1-0B; Wed, 17 Nov 2021 07:08:48 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mnF3l-0000mv-3A for openvpn-devel@lists.sourceforge.net; Wed, 17 Nov 2021 07:08:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-Id: Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type: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=Y51OA50QwANEZuEXTWVmfnqKWFNPhq5XcKK7QtN2yBc=; b=FoTOYAhnhunlNbpkNgwzM1QD8l BZP8bFOZkx7pyMVLr9KRuMHz+KTqPhXuQLkEp/uQR14u2ZnFXmg5un4+hvIAMItopYRXgnE7VM4NU MFuwGBtJrWQ4wKj2Ss10CRlKZZOnkj1nuAzqZtVjx5h/dAP5Wjhost1xeEV9ElKpxEnY=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Type: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=Y51OA50QwANEZuEXTWVmfnqKWFNPhq5XcKK7QtN2yBc=; b=R L05mZ06tg9nq6rHEoHPvj1VQRJvgdEtV/9M7XO3W++Rj7dpkjkDzwz5V2bLuJ47e0Z3PVCPxh8C3y Hi7/GM++ZuO7+ExBLpNjM206kxQwl/aNRpfJOTCL4easPe7ztMagdZBjNELLJBzRxmVb6+XmT8vMD agJ8rE40oufrPXgk=; Received: from dhcp-174.greenie.muc.de ([193.149.48.174] helo=blue.greenie.muc.de) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) id 1mnF3f-0007n2-GW for openvpn-devel@lists.sourceforge.net; Wed, 17 Nov 2021 07:08:44 +0000 Received: from blue.greenie.muc.de (localhost [127.0.0.1]) by blue.greenie.muc.de (8.15.2/8.14.9) with ESMTP id 1AH6ihhx015949 for ; Wed, 17 Nov 2021 07:44:43 +0100 Received: (from gert@localhost) by blue.greenie.muc.de (8.15.2/8.14.9/Submit) id 1AH6ihHq015948 for openvpn-devel@lists.sourceforge.net; Wed, 17 Nov 2021 07:44:43 +0100 From: Gert Doering To: openvpn-devel@lists.sourceforge.net Date: Wed, 17 Nov 2021 07:44:42 +0100 Message-Id: <20211117064442.15899-1-gert@greenie.muc.de> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 X-Spam-Report: Spam detection software, running on the system "util-spamd-1.v13.lw.sourceforge.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: "push-remove" has been in OpenVPN since 2.4, but managed to stay hidden from the "--help" output. Add. Reported-by: mike tancsa Signed-off-by: Gert Doering --- src/openvpn/options.c | 2 ++ 1 file changed, 2 insertions(+) Content analysis details: (-0.0 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1mnF3f-0007n2-GW Subject: [Openvpn-devel] [PATCH] Include --push-remove in the output of --help. 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: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox "push-remove" has been in OpenVPN since 2.4, but managed to stay hidden from the "--help" output. Add. Reported-by: mike tancsa Signed-off-by: Gert Doering Acked-by: Antonio Quartulli --- src/openvpn/options.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openvpn/options.c b/src/openvpn/options.c index a167a08a..cc3d9fa0 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -409,6 +409,8 @@ static const char usage_message[] = " execution. Peer must specify --pull in its config file.\n" "--push-reset : Don't inherit global push list for specific\n" " client instance.\n" + "--push-remove opt : Remove options matching 'opt' from the push list for\n" + " a specific client instance.\n" "--ifconfig-pool start-IP end-IP [netmask] : Set aside a pool of subnets\n" " to be dynamically allocated to connecting clients.\n" "--ifconfig-pool-persist file [seconds] : Persist/unpersist ifconfig-pool\n"