From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: prvs=12561f0b45=sattler@med.uni-frankfurt.de Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 3b63e9f3 for ; Fri, 24 Mar 2017 11:32:40 +0000 (UTC) Received: from mailout.rz.uni-frankfurt.de (mailout.rz.uni-frankfurt.de [141.2.22.233]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 5c4fbc25 for ; Fri, 24 Mar 2017 11:32:40 +0000 (UTC) Subject: Re: unable to set allowed-ips To: "Jason A. Donenfeld" References: From: Thomas Sattler Message-ID: Date: Fri, 24 Mar 2017 12:37:17 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Cc: WireGuard mailing list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Am 24.03.2017 um 02:15 schrieb Jason A. Donenfeld: > Be sure userland wg(8) is built from the same source as kernel > land wireguard module. I'm not sure whether I understood that comment, but in case I did: I cloned https://git.zx2c4.com/WireGuard and then run these two commands: $ cd /usr/src/WireGuard/src/tools && make and $ cd /usr/src/linux && /usr/src/WireGuard/contrib/kernel-tree/create-patch.sh | patch -sp1 The obvious difference seems to be that I used different compilers for them: - sys-devel/gcc-4.9.4 for wg(8) and - cross-x86_64-pc-linux-gnu/gcc-4.9.4 for the kernel Just in case the compiler is not the cause: Maybe my kernel config is the problem? While I double checked to have everything activated that was mentioned at https://www.wireguard.io/install (except IPv6 stuff) there might be some other feature I have unset or set incompatible? Thomas