From patchwork Fri Oct 12 20:37:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hauke Mehrtens X-Patchwork-Id: 983291 X-Patchwork-Delegate: hauke@hauke-m.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) 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=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=hauke-m.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HqfJXded"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42X06p3lsmz9s3Z for ; Sat, 13 Oct 2018 07:38:58 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pbtKmzNSnm1RMZgngBdeSgi/doKSXHv8Z0+1aYpu41E=; b=HqfJXdedZxiD9v vvHk92U5pspeiva/ZApDUkPYux5u0vq/q1C2jJYBTPLOlExDIV4qabKcPas8cYblEI9JdMEywHH7S K9MT7QsxkFFB3AeO29qFG9zcZd8At3EaXdXlnlWNDWD85iqK73O90ytj2ABMcaXBhQTOjJsl5LM3w dTASoS7BqQTqdHaE2PpSQk665VgBweSBEWzfbOZh74cRm1dttYsjOvsGXpgwuTOuX57HvzhxnkTly VwYW7aCuJD1m6l2WM4blwzum4o6GzEukFKKOW9y6bO9g4vngjqLOvjMorQsWf3GZL1y/Lp41x6umv YPVFamX+B1VrspeNGCKw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gB4Cz-0001aF-49; Fri, 12 Oct 2018 20:38:53 +0000 Received: from mx2.mailbox.org ([80.241.60.215]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gB4Bq-00010b-Kf for openwrt-devel@lists.openwrt.org; Fri, 12 Oct 2018 20:37:47 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 6EF2B405C2; Fri, 12 Oct 2018 22:37:30 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id LdLYDI7YKfrW; Fri, 12 Oct 2018 22:37:29 +0200 (CEST) From: Hauke Mehrtens To: openwrt-devel@lists.openwrt.org Date: Fri, 12 Oct 2018 22:37:06 +0200 Message-Id: <20181012203707.14716-9-hauke@hauke-m.de> In-Reply-To: <20181012203707.14716-1-hauke@hauke-m.de> References: <20181012203707.14716-1-hauke@hauke-m.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181012_133742_849612_F2ED5426 X-CRM114-Status: GOOD ( 12.58 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [80.241.60.215 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record Subject: [OpenWrt-Devel] [PATCH 8/9] netifd: Add support for wireless OWE authentication X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hauke Mehrtens MIME-Version: 1.0 Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Signed-off-by: Hauke Mehrtens --- ...Add-Opportunistic-Wireless-Encryption-OWE.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 package/network/config/netifd/patches/002-wireless-Add-Opportunistic-Wireless-Encryption-OWE.patch diff --git a/package/network/config/netifd/patches/002-wireless-Add-Opportunistic-Wireless-Encryption-OWE.patch b/package/network/config/netifd/patches/002-wireless-Add-Opportunistic-Wireless-Encryption-OWE.patch new file mode 100644 index 0000000000..9fe10ff84b --- /dev/null +++ b/package/network/config/netifd/patches/002-wireless-Add-Opportunistic-Wireless-Encryption-OWE.patch @@ -0,0 +1,31 @@ +From c6c3a0d8988013f2059157404e519db9ec7ddf14 Mon Sep 17 00:00:00 2001 +From: Hauke Mehrtens +Date: Tue, 9 Oct 2018 22:57:13 +0200 +Subject: wireless: Add Opportunistic Wireless Encryption (OWE) + +Signed-off-by: Hauke Mehrtens +--- + scripts/netifd-wireless.sh | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +--- a/scripts/netifd-wireless.sh ++++ b/scripts/netifd-wireless.sh +@@ -211,7 +211,7 @@ wireless_vif_parse_encryption() { + # wpa2/tkip+aes => WPA2 RADIUS, CCMP+TKIP + + case "$encryption" in +- wpa2*|*psk2*|psk3*|sae*) ++ wpa2*|*psk2*|psk3*|sae*|owe*) + wpa=2 + ;; + wpa*mixed*|*psk*mixed*) +@@ -228,6 +228,9 @@ wireless_vif_parse_encryption() { + wpa_pairwise="$wpa_cipher" + + case "$encryption" in ++ owe*) ++ auth_type=owe ++ ;; + psk3-mixed*|sae-mixed*) + auth_type=psk-sae + ;;