Re: wg-quick (script snippets) for OpenWRT/LEDE

2018-04-08 Thread Yousong Zhou
On 3 April 2018 at 23:19, wrote: > Hi, > > it appears that wg-quick is not provided for OpenWRT/LEDE. > > The reason is not really clear to me. As far I understand wg-quick depends > on BASH whilst the default shell in OpenWRT/LEDE is ASH. > This however can be easily remidied by installing the B

compilation error on centos 7 kernels

2018-07-29 Thread Yousong Zhou
Yesterday I tried compiling openvswitch-dkms on 2 centos 7 systems, both failed out of box because of the compat conditional compilation code Both system has LINUX_VERSION_CODE 199168, i.e. 3.10.0. The 1st runs kernel 3.10.0-514.26.2.el7.x86_64, and the second runs 3.10.0-693.2.2.el7.x86_64. The

Re: compilation error on centos 7 kernels

2018-07-29 Thread Yousong Zhou
On Mon, 30 Jul 2018 at 11:26, Yousong Zhou wrote: > > Yesterday I tried compiling openvswitch-dkms on 2 centos 7 systems, > both failed out of box because of the compat conditional compilation > code > Forgot to mention that the openvswitch-dkms version in use

Re: compilation error on centos 7 kernels

2018-07-29 Thread Yousong Zhou
On Mon, 30 Jul 2018 at 11:29, Jason A. Donenfeld wrote: > > Update to the latest available centos kernel in the latest available > centos release, and then after install WireGuard. If you're facing > problems then, email a compilation log. Well, better add a note in the installation page about th

Re: compilation error on centos 7 kernels

2018-07-30 Thread Yousong Zhou
On Mon, 30 Jul 2018 at 15:42, Greg KH wrote: > > On Mon, Jul 30, 2018 at 11:34:31AM +0800, Yousong Zhou wrote: > > On Mon, 30 Jul 2018 at 11:29, Jason A. Donenfeld wrote: > > > > > > Update to the latest available centos kernel in the latest available > > >

Improve "[WireGuard] Header / MTU sizes for Wireguard"

2019-07-17 Thread Yousong Zhou
Hi, For WireGuard overhead breakdown [1], maybe it's worth also mentioning that N the length of encrypted data will be padded to be multiples of 16. I am only aware of this when fragmentation was spotted. With 1500 as MTU for ethernet, PPPoE has MTU 1492 (1500 - 8). I thought 1432 (1492 - 60) f

Flood ping can cause oom when handshake fails

2017-09-22 Thread Yousong Zhou
Hi, I have encountered a few issues when running WireGuard on VoCore: a small ramips device with 16MB flash and 32MB ram (https://wiki.openwrt.org/toh/vocore/vocore). root@LEDE:/# uname -a Linux LEDE 4.9.49 #0 Fri Sep 15 05:14:29 2017 mips GNU/Linux root@LEDE:/# opkg list-installed | grep -i

Re: Flood ping can cause oom when handshake fails

2017-09-22 Thread Yousong Zhou
On 22 September 2017 at 21:19, Jason A. Donenfeld wrote: > Hi Yousong, > > Thanks for the report. > > On Fri, Sep 22, 2017 at 2:58 PM, Yousong Zhou wrote: >> The first issue is that occasionally wireguard failed to send >> handshake initiation packets to the remote

Fwd: Flood ping can cause oom when handshake fails

2017-09-22 Thread Yousong Zhou
Sorry, my previous mail dropped off list accidentally. yousong -- Forwarded message -- From: Yousong Zhou Date: 22 September 2017 at 21:22 Subject: Re: Flood ping can cause oom when handshake fails To: Aaron Jones On 22 September 2017 at 21:15, Aaron Jones

Re: Flood ping can cause oom when handshake fails

2017-10-23 Thread Yousong Zhou
gh, really awesome. Regards, yousong On 22 September 2017 at 21:19, Jason A. Donenfeld wrote: > Hi Yousong, > > Thanks for the report. > > On Fri, Sep 22, 2017 at 2:58 PM, Yousong Zhou wrote: >> The first issue is that occasionally wireguard failed to send >