From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Jason@zx2c4.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 587887d5 for ; Mon, 19 Dec 2016 12:25:37 +0000 (UTC) Received: from frisell.zx2c4.com (frisell.zx2c4.com [192.95.5.64]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 4c689cdf for ; Mon, 19 Dec 2016 12:25:37 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 7231e19a for ; Mon, 19 Dec 2016 12:25:37 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 6c8e2477 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Mon, 19 Dec 2016 12:25:37 +0000 (UTC) Received: by mail-oi0-f53.google.com with SMTP id b126so143362788oia.2 for ; Mon, 19 Dec 2016 04:32:32 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <232dbabb-d3f0-6f84-bd21-a6c6abab2441@higgsboson.tk> References: <232dbabb-d3f0-6f84-bd21-a6c6abab2441@higgsboson.tk> From: "Jason A. Donenfeld" Date: Mon, 19 Dec 2016 13:32:31 +0100 Message-ID: Subject: Re: openwrt route_allowed_ips is inprecise To: =?UTF-8?Q?J=C3=B6rg_Thalheim?= Content-Type: text/plain; charset=UTF-8 Cc: WireGuard mailing list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Dec 19, 2016 at 9:00 AM, J=C3=B6rg Thalheim w= rote: > Should no the output first sorted from the shortest subnet prefix to the = longest? No; that doesn't matter. > What do you mean be precise? Is there a bug in the other logic apart from > probably unnecessary routes? Performance will suffer unnecessarily.