From patchwork Thu Nov 15 20:14:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jason A. Donenfeld" X-Patchwork-Id: 998535 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=fail (p=none dis=none) header.from=zx2c4.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="bZoJ10lP"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="aytwGRhq"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=zx2c4.com header.i=@zx2c4.com header.b="ilIvBmBY"; 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 42wszx0DK0z9s3Z for ; Fri, 16 Nov 2018 07:15:24 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:Message-Id:Date: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=UKug3sMwm8ya5fh1X5Yy2gyrnZKrD8UXwTs5oF534/0=; b=bZoJ10lPZVgHdN TudGGWUGV26QTMIfGPB83Bo6m6qPIpYRekQ5q29lvELlTpjeg5qXhMjtJcNBvVhCsaTQs7Epxg99i YAaDihZ5QIZHani4Mr/FT0eEyfHOYfuJrDo/AxI41oVQMmZKJ0gje8pnQ0CeVPsTynTzDB6WMUpfP Ktr+0R9y8sdwt6QLiH4qWn1Gg4Wgxw9PCHTTmQEafavloqO1jUznJFeWB0a5oVW9S8CFgzYHBmgLo 5T9zsg3zRc3ifDQynbbV2BwINk9JT7v3jIYu82llXQXLLOExjZHTP0M/HSxrfIMs+x1FXrPRW70sK p3jigZPvR/nGqURtEkfw==; 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 1gNO2m-0002CZ-PY; Thu, 15 Nov 2018 20:15:16 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNO2l-0002CS-EM for openwrt-devel@bombadil.infradead.org; Thu, 15 Nov 2018 20:15:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: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=3XYktSDoR1E7K6RVXp+gpzjNbIWP/vuQtrzbicJCItE=; b=aytwGRhqLZJZL+k/omWy2AHa2O Z6ASq9tSWltmgtcuUEIduDUxGcJUeD9vva5kpXxi4wj8qcINVSd4ouiZtai8wL8fN/fpYfvJaTfqg RBqIlFXAY0aNtqroZa1WYEK4CC+VfydCpwmyw0Lvvxgvpjebs+x6/nbJsbJU8b/BqDQTkrfrCrcWX aKKOaIMbxAj8mB0KOZYTcm3w/WcDLNBx7Lr9MEd2koKZr8PVAs8hipYEOGf7aWgh0qE1j8sQ0C8MA /Qa7x9CRmSKbr1F4uWCjpTtiBad/L89p89LthgV/4X0Z6pz9GqOvJQEIUua547nnGqX7WzK3YfnyA +nK1PVDg==; Received: from frisell.zx2c4.com ([192.95.5.64]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNO2h-0005Wq-0M for openwrt-devel@lists.openwrt.org; Thu, 15 Nov 2018 20:15:13 +0000 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 244d61e0; Thu, 15 Nov 2018 20:09:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=mail; bh=AxxLbbixV0umnBM7pNeL2pJfhDo=; b=ilIvBmBYdtT0L2WSdhez dVyu/7k2AbwWj0+fUZ8RyhDOxtfIRciSclj7UPN7qoJjs7rGvz318FJkcmo4nKen zAHyLxkmfRPkoB13XXdc2OJ8cFc/lXaQxdMujBvjj98shQ7wajGzWy5NXBq4qOP1 ZKW1hmPK8qWxSU36xnsDWIzgTDjvyzXQXgBx25ltKHGnK43SMH96hq3mTwA8DqCY Hsyqz+6cxEy+Hjg73tifl9SdNUfAtNdp0Orr+7iIc9r7s7YpQE2SD/PwOPi9reAI mXwfrEzv/90kGeK6ssYRhvpx+UAtd5v6T7tFlTyaPqWTwksJdlIm9FRS5JJPaT+z EQ== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 48867f22 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 15 Nov 2018 20:09:22 +0000 (UTC) From: "Jason A. Donenfeld" To: openwrt-devel@lists.openwrt.org Date: Thu, 15 Nov 2018 12:14:49 -0800 Message-Id: <20181115201449.28517-1-Jason@zx2c4.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_201511_324815_E3561150 X-CRM114-Status: GOOD ( 12.95 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on casper.infradead.org summary: Content analysis details: (-0.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [192.95.5.64 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 Subject: [OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20181115 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: "Jason A. Donenfeld" Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org * Zinc no longer ships generated assembly code. Rather, we now bundle in the original perlasm generator for it. The primary purpose of this snapshot is to get testing of this. * Clarify the peer removal logic and make lifetimes more precise. * Use READ_ONCE for is_valid and is_dead. * No need to use atomic when the recounter is mutex protected. * Fix up macros and annotations in allowedips. * Increment drop counter when staged packets are dropped. * Use static constants instead of enums for 64-bit values in selftest. * Mark large constants as ULL in poly1305-donna64. * Fix sparse warnings in allowedips debugging code. * Do not use wg_peer_get_maybe_zero in timer callbacks, since we now can carefully control the lifetime of these functions and ensure they never execute after dropping the last reference. * Cleanup hashing in ratelimiter. * Do not guard timer removals, since del_timer is always okay. * We now check for PM_AUTOSLEEP, which makes the clear*on-suspend decision a bit more general. * Set csum_level to ~0, since the poly1305 authenticator certainly means that no data was modified in transit. * Use CHECKSUM_PARTIAL check for skb_checksum_help instead of skb_checksum_setup check. * wg.8: specify that wg(8) shows runtime info too * wg.8: AllowedIPs isn't actually required * keygen-html: add missing glue macro * wg-quick: android: do not choke on empty allowed-ips Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/wireguard/Makefile b/package/network/services/wireguard/Makefile index 8a71ce2..442938c 100644 --- a/package/network/services/wireguard/Makefile +++ b/package/network/services/wireguard/Makefile @@ -11,12 +11,12 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=wireguard -PKG_VERSION:=0.0.20181018 +PKG_VERSION:=0.0.20181115 PKG_RELEASE:=1 PKG_SOURCE:=WireGuard-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://git.zx2c4.com/WireGuard/snapshot/ -PKG_HASH:=af05824211b27cbeeea2b8d6b76be29552c0d80bfe716471215e4e43d259e327 +PKG_HASH:=11292c7e86fce6fb0d9fd170389d2afc609bda963a7faf1fd713e11c2af53085 PKG_LICENSE:=GPL-2.0 Apache-2.0 PKG_LICENSE_FILES:=COPYING