From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: mail@danrl.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 4bacace8 for ; Tue, 20 Dec 2016 14:40:41 +0000 (UTC) Received: from mx.sealand.io (mx.sealand.io [193.160.39.68]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 42c52b9d for ; Tue, 20 Dec 2016 14:40:41 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: openwrt route_allowed_ips is inprecise From: =?utf-8?Q?Dan_L=C3=BCdtke?= In-Reply-To: Date: Tue, 20 Dec 2016 15:51:24 +0100 Message-Id: References: <20161220011334.GB16814@tuxmachine.polynome.dn42> <89D5D16F-84AF-4FC6-9AA1-55EFCB6A3B9E@danrl.com> <40FCA8CB-1FAA-42AF-B229-8692568F8226@danrl.com> <59811706-CB39-4A8F-823B-9B270ABFD211@danrl.com> To: "Jason A. Donenfeld" Cc: WireGuard mailing list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > On 20 Dec 2016, at 14:33, Jason A. Donenfeld wrote: > On Tue, Dec 20, 2016 at 11:15 AM, Dan L=C3=BCdtke = wrote: >> New environment, build from latest sources this morning. Can't = reproduce. I can't see duplicate routes. Static routes were added via = LuCI to represent a typical user's approach. >>=20 >> Can we drop this discussion until we can reproduce the problem? >=20 > That's a weird way of putting it, because you !=3D we. Sorry, not a native speaker. > config wireguard_wg > option public_key '0Nz4n2wdhDJtFbkdIFqlJ4vkKIGFgBVQPxyJ0XWE31o=3D'= > list allowed_ips '10.200.100.1/32' > option route_allowed_ips '1' > config interface 'wgnet' > option proto 'static' > option ifname 'wg' > option ipaddr '10.200.100.4/24' > --> > root@mipsnet:~# ip r > 10.200.100.0/24 dev wg src 10.200.100.4 > 10.200.100.1 dev wg I see what you mean now. Don't see a real problem there despite = ugliness, but let me think of a solution. May not be my highest priority = right now, though. Cheers, Dan=