centos 6 build error

2017-01-02 Thread Lucian Cristian
i'm trying to make a centos 6 peer and I'm blocked by this error CC [M] /WireGuard/src/socket.o /WireGuard/src/socket.c: In function ‘socket_init’: /WireGuard/src/socket.c:343: error: unknown field ‘local_ip’ specified in initializer /WireGuard/src/socket.c:343: warning: missing braces aroun

Re: centos 6 build error

2017-01-02 Thread Lucian Cristian
On 02.01.2017 23:42, Jason A. Donenfeld wrote: Your compiler is ancient. Either update your compiler, or just remove lines 343 & 350 (which are no-ops anyway). Jason thanks! I used the devtoolset-2 from scientific linux CERN and now I have this: wireguard: loading out-of-tree module taints

Re: RTNETLINK answers: Operation not supported

2017-02-28 Thread Lucian Cristian
On 28.02.2017 18:08, William Clark wrote: Hello, So I wanted to try WireGuard but unfortunately I can't get pas this part: ip link add dev wg0 type wireguard. When ever I run the command "ip link add dev wg0 type wireguard" I get the output: RTNETLINK answers: Operation not supported This both

Re: Wireguard on Centos 7

2017-05-12 Thread Lucian Cristian
On 12.05.2017 12:47, Christophe Vanlancker wrote: I haven't done this kind of work but I'll try giving it a shot. :) Christophe On 12-05-17 11:38, Jason A. Donenfeld wrote: Centos's 3.10 is not kernel.org's 3.10. They patch it heavily. If you'd like to adjust compat.h to support centos's pat

fix centos 6 compile

2017-06-19 Thread Lucian Cristian
centos 6 has gcc 4.4.7 with some minor modification and the updated kernel from elrepo this is working as it should Regards diff -aur WireGuard-0.0.20170613/src/socket.c WireGuard-0.0.20170613-cnt6/src/socket.c --- WireGuard-0.0.20170613/src/socket.c 2017-06-13 01:18:14.0 +0300 +++

Re: fix centos 6 compile

2017-06-26 Thread Lucian Cristian
just reminding of this as I didn't see any input about it REHL 6 is EOL in 2020 and this is a minor change Regards On 19.06.2017 20:44, Lucian Cristian wrote: centos 6 has gcc 4.4.7 with some minor modification and the updated kernel from elrepo this is working as it should Re

Re: fix centos 6 compile

2017-06-27 Thread Lucian Cristian
On 27.06.2017 23:59, Jason A. Donenfeld wrote: Isn't EL6 still on 2.6.32, which is far away from the 3.10 that WireGuard requires? In that case you'll be running with a custom kernel. Why can't you just update your gcc from the same external repo, at the same time? I just backported to EL7.3 and

wg-quick add_route

2017-07-12 Thread Lucian Cristian
Hi Jason, I'm using wireguard in some mixed topology and until now I've had LEDE routers as clients but now I would like to add some CENTOS(and other distros) clients too. On LEDE there is an option "Create routes for Allowed IPs for this peer" that is off by default, but in wg-quick this th

Re: Module verification failed

2017-09-04 Thread Lucian Cristian
On 03.09.2017 05:52, DANG Fan wrote: I built WireGuard from source, and I got "Module verification failed" message when I tried to run "wg-quick up". Here is what I found in dmesg: [   55.700967] wireguard: module verification failed: signature and/or required key missing - tainting kernel [ 

Fwd: wg-quick add_route

2017-10-27 Thread Lucian Cristian
d, 12 Jul 2017 20:53:01 +0300 From: Lucian Cristian To: WireGuard mailing list , jason A. Donenfeld Hi Jason, I'm using wireguard in some mixed topology and until now I've had LEDE routers as clients but now I would like to add some CENTOS(and other distros) clients too. On L

Re: wg-quick add_route

2017-10-27 Thread Lucian Cristian
On 27.10.2017 22:48, Jason A. Donenfeld wrote: Hey Lucian, If you're using WireGuard for real purposes and not just for a quick "turn it on turn it off" situation with a remote endpoint, then wg-quick probably isn't the right tool for you. Instead, I think you'll be better off just calling wg(8)

Re: LibreCMC Wireguard Issue

2017-11-25 Thread Lucian Cristian
On 25.11.2017 13:38, xx xxx wrote: I have a Thinkpenguin TPE R1100 Router with a Librecmc snapshot dated 13 Nov 2017 installed. I've run "opkg update" and then unsuccessfully tried to install Wireguard [Luci-proto-wireguard} via both the cli and wui. In both cases I get the following errors: ro

Qualcomm Shortcut Forwarding Engine

2017-11-29 Thread Lucian Cristian
Hi Not sure if you can do something about this, I started to test this option for accelerated speed on NAT module (fast path) and I don't understand why is bothering the wireguard VPN, it should be active only on NAT connections. The problem is strange, the iperf3 speed test will do about ~3

Re: Babel over wireguard

2017-12-06 Thread Lucian Cristian
On 06.12.2017 15:22, Ryan Whelan wrote: If you're gauging interest, I would be very interested in using unicast atop Wireguard for routing selection Thank you for the explanation; very helpful. On Wed, Dec 6, 2017 at 8:11 AM, Toke Høiland-Jørgensen > wrote: Ryan Whe

ssh console hang

2018-04-04 Thread Lucian Cristian
Starting some time ago I get ssh console hangs when the screen is displaying lots of data (cat large file, compile something with lots of verbosity) I tried lowering the MTU of wg interface to 1380 or the MTU of the host but it's not helping. What can I try to do ? I observed that the hang start

Re: ssh console hang

2018-04-05 Thread Lucian Cristian
On 05.04.2018 09:44, Lucian Cristian wrote: Starting some time ago I get ssh console hangs when the screen is displaying lots of data (cat large file, compile something with lots of verbosity) I tried lowering the MTU of wg interface to 1380 or the MTU of the host but it's not helping.

Re: Bird OSPF Problems

2018-04-16 Thread Lucian Cristian
On 16.04.2018 13:31, Zsolt Hegyi wrote: Hi Cedric, As far as I know, wireguard doesn't support multicasts yet, which OSPF uses for neighbor discovery. The reason why BGP works is because it uses unicast TCP packets as means of communication. To get around this, try telling BIRD that your wir

Re: On redhat 7.4 wireguard not working

2018-04-19 Thread Lucian Cristian
On 19.04.2018 01:01, Vikas wrote: Just when I thought it worked here are more problems: The steps I followed were: 1. wget https://rpmfind.net/linux/fedora/linux/releases/25/Everything/x86_64/os/Packages/i/iproute-4.6.0-1.fc25.x86_64.rpm 2. yum install iproute-4.6.0-1.fc25.x86_64.rpm I inst

Re: On redhat 7.4 wireguard not working

2018-04-19 Thread Lucian Cristian
On 19.04.2018 16:19, Lucian Cristian wrote: On 19.04.2018 01:01, Vikas wrote: Just when I thought it worked here are more problems: The steps I followed were: 1. wget https://rpmfind.net/linux/fedora/linux/releases/25/Everything/x86_64/os/Packages/i/iproute-4.6.0-1.fc25.x86_64.rpm 2. yum

Re: src/crypto/curve25519-x86_64.h:1319: Error: no such instruction while compiling in centos 6

2018-06-25 Thread Lucian Cristian
On 26.06.2018 05:57, karthik kumar wrote: Hi,   I did see the yum repo already being there RPMs available. But we use only centos 6 and are desperately looking for alternate of strongswan :( Is there any other suggestion for me, other than Centos 7 ? Is it worth trying to rebuild the kernel wi

some mips iperf3 tests

2018-06-28 Thread Lucian Cristian
If someone needs an image about the speed of wireguard on mips 4.14.52 kernel these are some values made with iperf3 (but the "server" is the infamous version 0.0.20180620) [    0.00] SoC: Qualcomm Atheros QCA9533 ver 1 rev 1 [    0.00] CPU clock: 550.000 MHz Max down 37.4 Mbits/sec M

Re: src/crypto/curve25519-x86_64.h:1319: Error: no such instruction while compiling in centos 6

2018-07-03 Thread Lucian Cristian
On 03.07.2018 11:59, Vbook A1 wrote: WARNING: if you want to use ELrepo kernel - make sure your server does not have the Matrox G200 series video card! CentOS 6.x with kernel 4.x will not boot on Matrox GPU. On Tue, Jun 26, 2018 at 1:10 PM, Lucian Cristian wrote: On 26.06.2018 05:57, karthik

wireguard dkms systemd

2018-10-20 Thread Lucian Cristian
updating the wireguard module on systemd based linux gives Warning: The unit file, source configuration file or drop-ins of wg-quick@wg0.service changed on disk. Run 'systemctl daemon-reload' to reload units. Sleeping 3 seconds... can this be fixed int the restart script ? the tunnel won't c

Re: wireguard dkms systemd

2018-10-21 Thread Lucian Cristian
On 21.10.2018 15:12, Jordan Glover wrote: ‐‐‐ Original Message ‐‐‐ On Saturday, October 20, 2018 10:59 PM, Lucian Cristian wrote: updating the wireguard module on systemd based linux gives Warning: The unit file, source configuration file or drop-ins of wg-quick@wg0.service changed

Re: Load Balancing and policy routing with Wireguard

2019-02-17 Thread Lucian Cristian
On 09.02.2019 11:20, Alexago wrote: Hi, actually I use on my router (OpenWRT) two OpenVPN connections and one Wireguard connection (all VPN connections are client) over my WAN connection (1Gbps/500Mbps) with 2 different VPN providers (Mullvad and IVPN): for policy routing and load balancing,

Re: WireGuard Bug?

2019-05-18 Thread Lucian Cristian
On 17.05.2019 09:34, . . wrote: Hi, I am using WireGuard on a Raspberry Pi 3 B+ with Raspbian Stretch and 4.14.98-v7+ kernel. Now this works great for me and is very efficient, however I tried to add a lot of routes on one of the "spoke/client" nodes, 517 routes to be exact. If I do this, Wir

IS-IS routing protocol

2019-08-12 Thread Lucian Cristian
Has anyone managed to configure IS-IS routing with wireguard interfaces ? I've added multicast address to AllowedIPs (AllowedIPs=224.0.0.0/24) but when I activate ip router isis on the wireguard interface, tcpdump only shows: unknown ip 8 expecting to see something like L1 Lan IIH, hlen: 27,

Re: IS-IS routing protocol

2019-08-12 Thread Lucian Cristian
On 12.08.2019 22:01, Rouven Czerwinski wrote: Hi, Lucian Cristian writes: Has anyone managed to configure IS-IS routing with wireguard interfaces ? I've added multicast address to AllowedIPs (AllowedIPs=224.0.0.0/24) but when I activate ip router isis on the wireguard interface, tc