From patchwork Mon May 6 14:23:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 3702 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7000:83a3:b0:577:9287:30c5 with SMTP id e3csp1344559mat; Mon, 6 May 2024 07:23:38 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWaNQ6DcJgqYA0qV/9MiEegIWR/1QUQSrfEtdfz2VeEeEXdqjs1MqFHHe8cn7YEUsAgVwvtPbF5l5xxpQC1FBWK3JkYjx8= X-Google-Smtp-Source: AGHT+IE+Nyur0yYpkuNiApI2v0Pdq+k6HNtFXuSNhJuiDvl/yDGydpGa7E177u2pt4uUx+TSj6sN X-Received: by 2002:a05:6a20:7289:b0:1ae:38d5:fd3b with SMTP id o9-20020a056a20728900b001ae38d5fd3bmr14311720pzk.5.1715005417961; Mon, 06 May 2024 07:23:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1715005417; cv=none; d=google.com; s=arc-20160816; b=hjRTuAw5kbgu+e1e2wYcKxCE1g7JxRaIND9OvycAmopm4yOpf4GvoBTZpXF9obSfzt X6wmymSAkYDRyCOMOyb6xqeYzsWp1C3aWYQSxM4kVmqta5slDKC9Gv4SNI6H/TYF+OKP yXnEuB00RpyLed8Dy3khuHsqq2NddApZ7bFF+ZY+6hdTPbQlso6Mwi4ksaGhMUraQufC D2KwObQ4gzTucmBwgSHvEh4R/Ed+zLuQJppKhTcGbjV3UtE4gSDSRbiDTZI1ZYUuuiwG +S0W2wMhujHHn9+IScbI2+GMXBmdXteJMGGpk6mpDXK+0H5pvMiEV05tXi4uz4NPQ/Ny H6Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-signature; bh=S/sUUdE1BWc0uHw1gB0Yn1FhDxBMLSj2XTk4hc7yM6g=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=jOws522X97JOZMW5k4ExwwovStFTK/blUXI4Urg0eqX85Db+guo9NlSLy6ZFtmqVLU x4+iSGXyHWi12Di1/rY4KENEd7m7pRBkXPHq7sPZjVMWliBJ4xzAo60eV4WQM7grW12T CZCi3hff7J9BoqRk3YYTba7d4FLrh4XqnT86xt01iBzzrVKYZjCBcOj6hlcWT9r5iOHJ usjHxgknOn5t7rlRet0uw+U2+La4KCjFlRhbTQy0yb7NuJ+oRtzyUKFBpfzPHJ90hzH/ YOzOKhyLTnSyNqdoWQ/OS60umakv4vwiZujOAp8mOPTsHtJuturNO+7tLyknwO+yXfeE BndA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=nISFhxup; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=BC6waoza; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id n12-20020a6543cc000000b0060014ceb575si8317786pgp.218.2024.05.06.07.23.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 May 2024 07:23:37 -0700 (PDT) Received-SPF: pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) client-ip=216.105.38.7; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=nISFhxup; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=BC6waoza; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1s3zFN-0002sc-SO; Mon, 06 May 2024 14:23:18 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1s3zFM-0002sV-Ib for openvpn-devel@lists.sourceforge.net; Mon, 06 May 2024 14:23:16 +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:References: In-Reply-To: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:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9QizZtf7f9d1tnQYwcnVSxuagaINHWCeX7Uy/QtHROU=; b=nISFhxup9P2LHWQsK76rpU/r4H jH0mFE5ckHHEIBNex0Fe0o9vZwvml2UGnhfR0DVAaHCyElsQzdCAHs6fFPEOm0h76tS/6c4YZfLty cjtq7CosYZTOvHFFRQT52U3HvJFVkkgoiZAJpI9UA4gx070fQsvWK281f605ITYjjOvc=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: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:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=9QizZtf7f9d1tnQYwcnVSxuagaINHWCeX7Uy/QtHROU=; b=BC6waozaSQTLlofqL1In9AwIVZ xUQPHpiWsCanNXXA8MtMwax89gDbqSRJVyMslxadwAoM3leme0T8lYzlQKR0n3bdiozuxwmU6hbas 7wtGmyoiYIYgT/+lK1HSVW3oZipd4jb1q7puJdJSl4AFDLFclgpgDoflvSFEmMZbck4c=; 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 (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1s3zFK-0004vL-R0 for openvpn-devel@lists.sourceforge.net; Mon, 06 May 2024 14:23:16 +0000 Received: from blue.greenie.muc.de (localhost [127.0.0.1]) by blue.greenie.muc.de (8.17.1.9/8.17.1.9) with ESMTP id 446EN8RW013252 for ; Mon, 6 May 2024 16:23:08 +0200 Received: (from gert@localhost) by blue.greenie.muc.de (8.17.1.9/8.17.1.9/Submit) id 446EN8TP013251 for openvpn-devel@lists.sourceforge.net; Mon, 6 May 2024 16:23:08 +0200 From: Gert Doering To: openvpn-devel@lists.sourceforge.net Date: Mon, 6 May 2024 16:23:03 +0200 Message-ID: <20240506142303.13198-1-gert@greenie.muc.de> X-Mailer: git-send-email 2.43.2 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "util-spamd-2.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: From: Arne Schwabe This help pinpointing errors in logs from my app Change-Id: Ie2b62bc95371daf7e1eb58e0323835f169399910 Signed-off-by: Arne Schwabe Acked-by: Frank Lichtenheld --- Content analysis details: (0.0 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: openvpn.net] 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [193.149.48.174 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1s3zFK-0004vL-R0 Subject: [Openvpn-devel] [PATCH v1] Repeat the unknown command in errors from management interface 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 X-GMAIL-THRID: =?utf-8?q?1798313520981445655?= X-GMAIL-MSGID: =?utf-8?q?1798313520981445655?= From: Arne Schwabe This help pinpointing errors in logs from my app Change-Id: Ie2b62bc95371daf7e1eb58e0323835f169399910 Signed-off-by: Arne Schwabe Acked-by: Frank Lichtenheld --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/584 This mail reflects revision 1 of this Change. Acked-by according to Gerrit (reflected above): Frank Lichtenheld diff --git a/src/openvpn/manage.c b/src/openvpn/manage.c index 43c5507..415ee7a 100644 --- a/src/openvpn/manage.c +++ b/src/openvpn/manage.c @@ -1663,7 +1663,7 @@ #endif else { - msg(M_CLIENT, "ERROR: unknown command, enter 'help' for more options"); + msg(M_CLIENT, "ERROR: unknown command [%s], enter 'help' for more options", p[0]); } done: