From patchwork Sat Oct 2 05:46:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianhui zhao X-Patchwork-Id: 1535579 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=bND3mRZ7; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=l12nGQd1; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (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) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HLx1f4QRrz9t25 for ; Sat, 2 Oct 2021 15:51:34 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=5OwT9aDK2mRymvN9mixbyNEetIxLwVyes3Vy9saNYNo=; b=bND3mRZ7zNSq1B G0iw4eIeiFf0Ail1//yASzPxqYyJaRzS3nSkvLdkhjjaAoXyBjc6PyR1se0V9fE2wdGAKInxuZfTd eGapOkUIpfL/UHTGN0vj02Cfs9Y0Zh+rqVL0aKG0C+Z3eHc4Zf8AwBdJfCBwNmx90r/uRt5+2fQ9g FWec8QGw4jbAtb5X0LkfwNd7O/SJwpT+HYAg6PG2f9NtjpuNAlri6XtZgt2psflwzC+xCho7wgveg Gin3NJFrpd/YqZlHFVuNdvw58+1XSTh26NTvcChPxL9Bh5pd97ArcfAohyGAKTKbrmguJrlOT82W6 xTAnH7/8mPqLseZjy/xA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mWXrs-001oRr-Pv; Sat, 02 Oct 2021 05:47:28 +0000 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mWXrp-001oRZ-9F for openwrt-devel@lists.openwrt.org; Sat, 02 Oct 2021 05:47:26 +0000 Received: by mail-pj1-x102e.google.com with SMTP id me5-20020a17090b17c500b0019af76b7bb4so698020pjb.2 for ; Fri, 01 Oct 2021 22:47:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oj6MI4XIfWWC3/6tBWYv4vkwccmvCqz0C+XOxBofRUo=; b=l12nGQd101+8oCrmedmMYQ6WCbigbboagigIdEgYu8f8OpFVLWyEIlDMtiTj4txUyp nOv++x0lJEMYlJO2CjVsjerEF6CtfqhoNg+LspcVJTVWyu7UxJf9Qal8izi3hMRRoczQ euIZ6mz9jJkQk/ZItNSjmL7Nug4povzmqgrTD+uAQHfqG9VuzbFNeVzTVWLygdw9HASk c9MiwJFYKfE7Sgzk1gQxENP9HT0d3MH8OOgE79XZMpPOm6/Cb33CnG6eCtGo7cKU4BJu w0tWlQ8RxyerYoZ29KRbkHs4+Q2f87n4HliEz8fBntcbIovbaySjoO+YOEPWVEWrdfpm bnxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oj6MI4XIfWWC3/6tBWYv4vkwccmvCqz0C+XOxBofRUo=; b=fUfdrFvNSFNaZfpSl2LyMSr+T+NB5Z4UbLhom/hejU8iA8PguJYTioyoD4JhbRCW0c awTt8sKeXMh92Ymwf5Aodud19oi1MR2rgLNj9uldGWUGILewEKrVN3Wblnb3xsGiPkNZ 1yLR2gOoKQufrIYXZy/UucAJAoeYKSZA7NWSw1aVi1aE+EM2dFGkRmNYh7E2TVRN9v69 Oau9zsCl4Hqs+MMl/2RZodSOgqqfXJyw2rxJkB2VeP0nSESvygpPnXmH05o3W83s5UPQ NQNw3z/crVZrU8Doe5+5Q3sSJGgAFLmljueDutB4qBZOIwx44xIV4a2ae2SZ69teAmXx xi5A== X-Gm-Message-State: AOAM532OlZSoU+L5P6NF/HyYN8tg9wfBWuQxTTqZwPskgJll/bTvppGj Pof4SJqrX3Hk8HlkSU6FJVv5WdWj2yEz8g== X-Google-Smtp-Source: ABdhPJxr0vkA8QKO6vQByaYUS9EOOk5I6wq+WuGDzkir5zoM9UMkeLPMi41QsR6QWA92CZhhQTvTIg== X-Received: by 2002:a17:90b:390d:: with SMTP id ob13mr5789323pjb.203.1633153643409; Fri, 01 Oct 2021 22:47:23 -0700 (PDT) Received: from localhost ([113.92.196.180]) by smtp.gmail.com with ESMTPSA id p2sm8269573pgd.84.2021.10.01.22.47.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Oct 2021 22:47:22 -0700 (PDT) From: Jianhui Zhao To: openwrt-devel@lists.openwrt.org Subject: [PATCH v2] iwinfo: add missing CIPHER_NAMES and KMGMT_NAMES Date: Sat, 2 Oct 2021 05:46:56 +0000 Message-Id: <20211002054656.3677160-1-zhaojh329@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211001_224725_385236_3A4A723F X-CRM114-Status: UNSURE ( 7.75 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.1 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", 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: This happens while parse crypto info in Lua. Signed-off-by: Jianhui Zhao --- Changes v1 -> v2: - Add description in commit message Content analysis details: (0.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [zhaojh329[at]gmail.com] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [zhaojh329[at]gmail.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:102e listed in] [list.dnswl.org] -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 -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jo@mein.io, Jianhui Zhao , foss@volatilesystems.org, mail@david-bauer.net, nbd@nbd.name Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org This happens while parse crypto info in Lua. Signed-off-by: Jianhui Zhao --- Changes v1 -> v2: - Add description in commit message Signed-off-by: Paul Spooren --- iwinfo_lib.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iwinfo_lib.c b/iwinfo_lib.c index 70b080c..7fa8133 100644 --- a/iwinfo_lib.c +++ b/iwinfo_lib.c @@ -31,12 +31,15 @@ const char *IWINFO_CIPHER_NAMES[] = { "WEP104", "AES-OCB", "CKIP", + "GCMP" }; const char *IWINFO_KMGMT_NAMES[] = { "NONE", "802.1X", "PSK", + "SAE", + "OWE" }; const char *IWINFO_AUTH_NAMES[] = {