Page MenuHomePhabricator
Feed Advanced Search

Aug 21 2018

Lochnair added a comment to T427: Wireguard support.

@mrjones Seems like it's currently 0.0.20180708, based on this: https://github.com/vyos/vyos-wireguard/blob/current/debian/changelog

Aug 21 2018, 2:55 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
Lochnair added a comment to T725: Cake and FQ-PIE.
In T725#18039, @c-po wrote:

Nice work!

https://lwn.net/Articles/762566/ states:

The CAKE queuing discipline, which works to overcome bufferbloat and other problems associated with home network links, has been merged.

I'm well aware that it's been merged, but we still won't see it in a release before 4.19 is released mid-October.

ISO (with Kernel 4.18 and iproute2 4.18) can be found here at 11:30 p.m. CEST (UTC +2):

cpo@LR1:~$ uname -a
Linux LR1.mucI.mybll.net 4.18.0-amd64-vyos #3 SMP Mon Aug 20 21:32:31 CEST 2018 x86_64 GNU/Linux
cpo@LR1:~$ sudo modprobe wireguard
cpo@LR1:~$ dmesg | tail -n 3
[  180.114930] wireguard: loading out-of-tree module taints kernel.
[  180.115868] wireguard: WireGuard 0.0.20180708-1 loaded. See www.wireguard.com for information.
[  180.115869] wireguard: Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
cpo@LR1:~$ ip -V
ip utility, iproute2-ss171113

Not that I've tested it "properly", but your ISO seemed to work fine in a VM I fired it up in.

Aug 21 2018, 11:11 AM · VyOS 1.3 Equuleus

Aug 20 2018

Lochnair added a comment to T725: Cake and FQ-PIE.

I've also started thinking about the template:

traffic-policy {
    cake cakepolicy {
        bandwidth 10mbit
        direction egress
        flow-isolation dual-srchost
        memlimit 4096000
        nat-lookup enable
        overhead 32 atm
        priority-queue diffserv4
        rtt 100ms
        split-gso enable
        wash disable
    }
}
Aug 20 2018, 4:41 PM · VyOS 1.3 Equuleus
Lochnair added a comment to T725: Cake and FQ-PIE.

Might as well if you're up for it :)

Aug 20 2018, 4:24 PM · VyOS 1.3 Equuleus
Lochnair added a comment to T725: Cake and FQ-PIE.

Hrrmf, 'twas more painful to get the iproute2 patches right than I'd hoped. Not sure how much effort I should spend getting the patches to apply, or if we should just bump to 4.18.
Apart from the kernel headers in the iproute2 tree, everything works as-is that way.

Aug 20 2018, 1:36 PM · VyOS 1.3 Equuleus

Aug 19 2018

Lochnair added a comment to T725: Cake and FQ-PIE.

CAKE is upstream, but it didn't make it into 4.18, so it's currently only in master. To be fair it's easy enough to backport for 4.14, most of it is small changes.
Also I thought you'd prefer to stay on a LTS kernel, thus the backporting attempt.

Aug 19 2018, 6:19 PM · VyOS 1.3 Equuleus
Lochnair added a comment to T725: Cake and FQ-PIE.

I've attempted to backport the CAKE patches accepted into net-next for the VyOS kernel here: https://github.com/Lochnair/vyos-kernel/commits/linux-vyos-4.14.y
I've gotten it to the point that it compiles, but I haven't tested to see if I accidentally broke anything. Partly because I haven't had the chance to look at backporting the tc stuff yet.

Aug 19 2018, 5:03 PM · VyOS 1.3 Equuleus