Page MenuHomeVyOS Platform
Feed Search

Aug 19 2018

hagbard triaged T790: wireguard: add status commands as Normal priority.
Aug 19 2018, 5:08 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard added a comment to T774: Wireguard: Write wiki documentation.

@mrjones Thanks, it looks very good. I'm about to add a few status commands, like sh wireguard wbN status and peer status and the such, so please leave this task still open. I stopped after 2 lines of writing wiki, the annoying google captchas wasted my time, so I stopped :).

Aug 19 2018, 5:07 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc3), Restricted Project
c-po renamed T774: Wireguard: Write wiki documentation from write wiki documentation to Wireguard: Write wiki documentation.
Aug 19 2018, 10:57 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc3), Restricted Project
syncer added a comment to T774: Wireguard: Write wiki documentation.

@mrjones i whitelisted you on wiki
try again

Aug 19 2018, 10:51 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc3), Restricted Project
mrjones added a comment to T774: Wireguard: Write wiki documentation.

@hagbard wiki tells me that my post is spam, so I am unable to save at the moment. https://wiki.vyos.net/index.php?title=Wireguard

Aug 19 2018, 8:24 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc3), Restricted Project

Aug 18 2018

syncer moved T783: implement persistent-keepalive for wireguard from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.0-rc1) board.
Aug 18 2018, 3:49 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard closed T783: implement persistent-keepalive for wireguard as Resolved.
Aug 18 2018, 3:47 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard closed T783: implement persistent-keepalive for wireguard, a subtask of T427: Wireguard support, as Resolved.
Aug 18 2018, 3:47 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 17 2018

hagbard added a comment to T427: Wireguard support.

Found a possible bug when you remove keppalive, the wg device show still as configured with keepalive, I have to check if that is actually true and if so I need to ping upstream and let them know.

Aug 17 2018, 10:06 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard changed the status of T779: adding /etc/modprobe/wireguard.conf to https://github.com/vyos/vyos-wireguard from Open to In progress.
Aug 17 2018, 7:49 PM · Rejected
hagbard changed the status of T779: adding /etc/modprobe/wireguard.conf to https://github.com/vyos/vyos-wireguard, a subtask of T427: Wireguard support, from Open to In progress.
Aug 17 2018, 7:49 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard added a comment to T427: Wireguard support.

T783 and making endpoint optional is currently reviewed by the maintainers.

Aug 17 2018, 7:48 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard changed the status of T783: implement persistent-keepalive for wireguard from Open to In progress.
Aug 17 2018, 7:36 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard changed the status of T783: implement persistent-keepalive for wireguard, a subtask of T427: Wireguard support, from Open to In progress.
Aug 17 2018, 7:36 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
vas-ast added a comment to T427: Wireguard support.

@hagbard
Good. There is no urgency.

Aug 17 2018, 6:45 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
alkersan changed the status of T784: Bring back update dns dynamic operation from Open to In progress.
Aug 17 2018, 6:43 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard triaged T783: implement persistent-keepalive for wireguard as Normal priority.
Aug 17 2018, 6:33 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard added a comment to T427: Wireguard support.

@vast-ast
Already fixed in my branch, since it's a minor change. I have the keepalive option on my plate as well as the show command. I was just on vacation for a week and didn't have much time to contribute. How urgent do you need persistent-keepalive?

Aug 17 2018, 6:32 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
vas-ast added a comment to T427: Wireguard support.

@hagbard
This is not critical, but it would be convenient to save the tun interface without specifying a peer. Now validation does not allow this. One of the cases, when we prepared the server, and then we automate the addition and removal of the peer (my case), or we want to do this later for some other reason.

Aug 17 2018, 4:47 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard reassigned T774: Wireguard: Write wiki documentation from hagbard to mrjones.

Let me know if you need any help with it or have any questions.
I'm going to change the endpoint parameter to an optional parameter.
https://www.wireguard.com/#conceptual-overview may help you as well.

Aug 17 2018, 4:34 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc3), Restricted Project
hagbard updated subscribers of T779: adding /etc/modprobe/wireguard.conf to https://github.com/vyos/vyos-wireguard.

https://github.com/vyos/vyos-wireguard is just copied, not forked. Anything else inside is/was unmodified. I can had 3 lines to have the module loaded at boot time, but in general I don't feel very happy with the package and it's maintenance.
How do you usually backport packages in general and track patches and the such?
Should it be re-debianized and produce the vyos-wireguard-tools etc. instead of wireguard-tools?
Who is maintaining it, like adding the patches, testing etc.?

Aug 17 2018, 4:32 PM · Rejected
hagbard added a comment to T427: Wireguard support.

Thx @vas-ast, it's not only when you run via NAT, it's in general if you act as the server. I'm going to fix that, that was the first implementation I was happy to have that release to the public. Your input is always valuable, so if you find more, please don't hesitate to report here.
Thanks again.

Aug 17 2018, 4:24 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
mrjones added a comment to T774: Wireguard: Write wiki documentation.

I would like to contribute

Aug 17 2018, 12:42 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc3), Restricted Project
vas-ast added a comment to T427: Wireguard support.
In T427#17621, @hagbard wrote:

All right pull request opened. I'm going to enhance a few parts, like the endpoint format check, show status etc., but as mentioned above I won't have much time next week and it seemed everyone needed it quickly.
I've rebuilt the iso, rebuilt vyos-1x and used the follwing config:

host01:

set interfaces wireguard wg01 address '10.2.2.1/24'
set interfaces wireguard wg01 description 'wg02-test'
set interfaces wireguard wg01 listen-port '12345'
set interfaces wireguard wg01 peer 7QQU75St+Kr4+B097E7qzMv0PbBtbvLCyGCpTwRxBEI= allowed-ips '10.1.1.0/24'
set interfaces wireguard wg01 peer 7QQU75St+Kr4+B097E7qzMv0PbBtbvLCyGCpTwRxBEI= endpoint '192.168.0.130:12345'
set protocols static interface-route 10.1.1.0/24 next-hop-interface wg01

host02:
set interfaces wireguard wg01 address '10.1.1.1/24'
set interfaces wireguard wg01 description 'wg01-test'
set interfaces wireguard wg01 listen-port '12345'
set interfaces wireguard wg01 peer z80pwzfFfwfte3p06iIVVBDPfUL+MSH0dL9I33nJzTo= allowed-ips '10.2.2.0/24'
set interfaces wireguard wg01 peer z80pwzfFfwfte3p06iIVVBDPfUL+MSH0dL9I33nJzTo= endpoint '192.168.0.113:12345'
set protocols static interface-route 10.2.2.0/24 next-hop-interface wg01

You'll need:
https://github.com/vyos/vyos-1x/pull/27/files
https://github.com/vyos/vyos-build/pull/22

and the config above. You can add multiple endpoints and peers to a wg device, or multiple wg devices with single or multiple peers. So far all working as long as you set your route. I did basic IPv6 tests as well, ss the main functionality should be working well.
I'm going to open a subtask for documentation, I need to create first an account for the wiki etc.

Aug 17 2018, 12:18 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 15 2018

hagbard triaged T779: adding /etc/modprobe/wireguard.conf to https://github.com/vyos/vyos-wireguard as Normal priority.
Aug 15 2018, 4:34 PM · Rejected
c-po reopened T776: Update VyOS Kernel to latest 4.14.62 as "In progress".
Aug 15 2018, 9:52 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
c-po reopened T702: set system flow-accounting netflow source-ip failed as "In progress".
Aug 15 2018, 9:52 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc4)
c-po closed T702: set system flow-accounting netflow source-ip failed as Resolved.
Aug 15 2018, 9:51 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc4)
c-po closed T776: Update VyOS Kernel to latest 4.14.62 as Resolved.
Aug 15 2018, 9:50 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 12 2018

hagbard triaged T774: Wireguard: Write wiki documentation as Normal priority.
Aug 12 2018, 7:53 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc3), Restricted Project
hagbard added a comment to T427: Wireguard support.

All right pull request opened. I'm going to enhance a few parts, like the endpoint format check, show status etc., but as mentioned above I won't have much time next week and it seemed everyone needed it quickly.
I've rebuilt the iso, rebuilt vyos-1x and used the follwing config:

Aug 12 2018, 7:52 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard closed T773: Add wireguard packages to vyos-1x and vyos-build as Resolved.
Aug 12 2018, 4:45 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard closed T773: Add wireguard packages to vyos-1x and vyos-build, a subtask of T427: Wireguard support, as Resolved.
Aug 12 2018, 4:45 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 11 2018

syncer added a comment to T427: Wireguard support.

Cool, Thanks!

Aug 11 2018, 10:56 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard added a comment to T427: Wireguard support.

@syncer he is following me anyway. I'm almost done, just need to implement the suggested changes from Daniil and Christian.

Aug 11 2018, 10:35 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard changed the status of T773: Add wireguard packages to vyos-1x and vyos-build from Open to In progress.
Aug 11 2018, 10:28 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin triaged T772: Make it possible to pass custom arguments to VRRP transition scripts as High priority.
Aug 11 2018, 8:24 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
syncer added a comment to T427: Wireguard support.

@hagbard just merge your changes and @UnicronNL can continue

Aug 11 2018, 4:31 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard added a comment to T427: Wireguard support.

@c-po thanks a lot, I was thinking first I have to add it to the rules and do it via configure, the control file is way easier of course. I'm off next week and try to enjoy summer before the rain comes, but try to get the first stages going.

Aug 11 2018, 4:24 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
c-po added a comment to T427: Wireguard support.

Required packages should be added to this file: https://github.com/vyos/vyos-1x/blob/current/debian/control

Aug 11 2018, 8:27 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 10 2018

hagbard added a comment to T427: Wireguard support.

@dmbaturin When I rebuild the iso, I'm currently using the ./configure switch you recently introduced to get the wireguard packages added. How am I supposed to to it for the pull request then? Where would I have to define the modules to load?

Aug 10 2018, 8:55 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard added a comment to T427: Wireguard support.

Thx guys, learned something new. will implement it that way.

Aug 10 2018, 4:04 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
c-po added a comment to T427: Wireguard support.

Please put key generation as usual under run generate vpn (openvpn key generation uses the same subtree)

Aug 10 2018, 6:23 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 9 2018

dmbaturin added a comment to T427: Wireguard support.

if the interface gets delete from the config, the wg device gets deleted from the OS and all its routes

This is exactly the reason why "set protocols static ..." commands use zebra instead of pushing routes directly to the kernel with iproute2. Zebra takes care of interfaces going up and down and reinstalls the routes when needed.

Aug 9 2018, 11:15 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard added a comment to T427: Wireguard support.

Should I place the key-pair generation under 'system wireguard' or 'system options wireguard'?

Aug 9 2018, 10:39 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard added a comment to T427: Wireguard support.

@dmbaturin thx for the input, I have added the route setup to the wireguard.py script, because if the interface gets delete from the config, the wg device gets deleted from the OS and all its routes. The config would still have then the routes in the effective config and when you reboot it tries to setup routes on a non existing interface.
The examples on the wireguard website, do it similar, after the tunnel is up, they add the routes. I also couldn't find anything in their code which adds automatically the routes for allowed-ips.

Aug 9 2018, 10:25 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin updated subscribers of T427: Wireguard support.

Now, is that suppose to happen automatically ( i can include it in the wireguard.py script), or is it supposed to be setup via 'set static proto ...'? What would be the better way?

If wireguard cannot create routes on its own, I believe we should leave route setup to the user. Doing it automatically when it's not actually supported is a very leaky abstraction.

Aug 9 2018, 10:01 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard added a comment to T427: Wireguard support.

pre-build pkgs:
https://github.com/hagbard-01/wireguard-pkgs

Aug 9 2018, 5:25 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard added a comment to T427: Wireguard support.

Hi Guys,

Aug 9 2018, 5:19 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 8 2018

hagbard added a comment to T427: Wireguard support.

@Asteroza I can understand why. I never knew about it till I got the task here, digging into the documentation for a few days, I was quite impressed and thought, well let's test it first. It's an awesome way of implementing tunnels.

Aug 8 2018, 11:09 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard changed the status of T427: Wireguard support from Open to In progress.
Aug 8 2018, 4:19 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
Asteroza added a comment to T427: Wireguard support.

Apparently Linus loves Wireguard as well now.

Aug 8 2018, 5:19 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 7 2018

hagbard added a comment to T427: Wireguard support.

@syncer I think by the end of this week I should have it fully working. Didn't have much time during the weekend to do anything since I was on-call. I read their paper they published, the technology is actually pretty cool.

Aug 7 2018, 7:19 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
syncer added a comment to T427: Wireguard support.

@hagbard hey, let me know when it's ready, keen to test that
people keeping to tell that it works great

Aug 7 2018, 4:43 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
JulesT reopened T733: Regression: Python snmp configuration parser doesn't set 'community6' SNMP fields as "In progress".

Sorry guys - the fix worked, but only for community strings that are network-specific. See new pull request for the non-specific network version as well.

Aug 7 2018, 11:49 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 6 2018

dmbaturin renamed T768: Wrong path to ss in multiple scripts from Wrong path to ss and ip in multiple scripts to Wrong path to ss in multiple scripts.
Aug 6 2018, 3:12 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin renamed T768: Wrong path to ss in multiple scripts from Wrong path to ss and ip in op mode scripts scripts to Wrong path to ss and ip in multiple scripts.
Aug 6 2018, 3:08 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin renamed T768: Wrong path to ss in multiple scripts from Wrong path to ss in "run show system connections" scripts to Wrong path to ss and ip in op mode scripts scripts.
Aug 6 2018, 2:44 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin triaged T768: Wrong path to ss in multiple scripts as High priority.
Aug 6 2018, 2:37 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 4 2018

dmbaturin edited projects for T754: Enable DNSSEC in DNS forwarder, added: VyOS 1.2 Crux (VyOS 1.2.0-rc1); removed VyOS 1.2 Crux.
Aug 4 2018, 8:50 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin closed T677: Build ppp 2.4.7 with patches for interface renaming support as Resolved.

Works now, though I need to discuss the pull requests with PPP maintainers.

Aug 4 2018, 8:49 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin closed T678: PPPoE client doesn't start after upgrade to ppp 2.4.7 as Resolved.

Should be working now.

Aug 4 2018, 8:49 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin added a comment to T668: Double bind mount of /config makes files in /config and /opt/vyatta/etc/config go out of sync.

I believe I've fixed it, though feedback won't harm.

Aug 4 2018, 8:48 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin renamed T710: Move the contents of the vyatta-util package to vyatta-cfg from Move the contents of the vyatta-util package to vyatta-cfg-system to Move the contents of the vyatta-util package to vyatta-cfg.
Aug 4 2018, 8:19 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin closed T710: Move the contents of the vyatta-util package to vyatta-cfg as Resolved.
Aug 4 2018, 8:19 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin closed T712: Simplify building VyOS images with custom packages as Resolved.
Aug 4 2018, 8:18 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin closed T749: Create a library with common initial setup functions that we can use in installation and virtual/cloud platform first boot scripts as Resolved.
Aug 4 2018, 8:10 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin renamed T616: Migrate to keepalived 2.x (including IPv6 VRRP) from Migrate to keepalived 1.3.x (including IPv6 VRRP) to Migrate to keepalived 2.x (including IPv6 VRRP).
Aug 4 2018, 8:09 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin closed T666: Define new VRRP syntax as Resolved.
Aug 4 2018, 8:09 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin edited projects for T757: Rewrite 'service dns dynamic' in new XML style format, added: VyOS 1.2 Crux (VyOS 1.2.0-rc1); removed VyOS 1.2 Crux.
Aug 4 2018, 8:08 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin renamed T668: Double bind mount of /config makes files in /config and /opt/vyatta/etc/config go out of sync from /config/config.boot gets out of sync with /opt/vyatta/etc/config/config.boot to Double bind mount of /config makes files in /config and /opt/vyatta/etc/config go out of sync.
Aug 4 2018, 7:03 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin closed T727: Add support for pre-config script as Resolved.
Aug 4 2018, 7:00 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin closed T629: Migration scripts insert "commit-revisions 20" into system config-management even if commit-revisions option is already present as Resolved.
Aug 4 2018, 6:57 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin edited projects for T629: Migration scripts insert "commit-revisions 20" into system config-management even if commit-revisions option is already present, added: VyOS 1.2 Crux (VyOS 1.2.0-rc1); removed VyOS 1.2 Crux.
Aug 4 2018, 6:57 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin created T765: vyos.configtree config formatter outputs formerly escaped characters literally.
Aug 4 2018, 5:42 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 2 2018

dmbaturin triaged T764: Minimum disk size requirement set by the installer is too small to be practical as Normal priority.
Aug 2 2018, 9:50 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
UnicronNL added a comment to T427: Wireguard support.

Found that already :)

Aug 2 2018, 7:07 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
thinkl33t closed T658: DNS Forwarder does not reload hosts file when modified. as Resolved.
Aug 2 2018, 9:41 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
thinkl33t claimed T658: DNS Forwarder does not reload hosts file when modified..

This was solved in https://github.com/vyos/vyatta-cfg-dhcp-server/commit/7488d52ce2946a4eaa47b1d909970f24956529c7

Aug 2 2018, 9:40 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 1 2018

hagbard added a comment to T427: Wireguard support.

In case anyone wants to follow the progress: https://github.com/hagbard-01/vyos-1x/tree/wireguard

Aug 1 2018, 10:27 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
UnicronNL added a comment to T427: Wireguard support.

Haha tnx!

Aug 1 2018, 9:15 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard added a comment to T427: Wireguard support.

Arghh, I had the rolling build from July 30th. Sorry for the noise, all working now.
Oh and you guys are really awesome.

Aug 1 2018, 3:42 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
UnicronNL added a comment to T427: Wireguard support.

image vyos-1.2.0-rolling+201807301123-amd64.iso

Aug 1 2018, 9:48 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
UnicronNL added a comment to T427: Wireguard support.

@hagbard and then install the packages on that. (download and install)

Aug 1 2018, 9:39 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
syncer added a comment to T427: Wireguard support.

@hagbard you need latest rolling to get it up

Aug 1 2018, 9:36 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
syncer added a comment to T742: Replace poptop and xl2tpd with accel-ppp.

@hagbard yea, it's more about share work and involves other people in collaboration :)
You also may want to join accel-ppp telegram channel tg://join?invite=DS6swRC3DvEWdNijTqaaeA

Aug 1 2018, 7:05 AM · VyOS 1.3 Equuleus (1.3.0-epa1)

Jul 31 2018

hagbard added a comment to T427: Wireguard support.

2312 open("/sys/module/wireguard/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
2312 stat("/sys/module/wireguard", 0x7ffeb8212c70) = -1 ENOENT (No such file or directory) <-----
2312 open("/lib/modules/4.14.26-amd64-vyos/extra/wireguard.ko", O_RDONLY|O_CLOEXEC) = 3
2312 fstat(3, {st_mode=S_IFREG|0644, st_size=342768, ...}) = 0
2312 mmap(NULL, 342768, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0f94c3a000
2312 finit_module(3, "", 0) = -1 EINVAL (Invalid argument)
2312 write(2, "modprobe: ERROR: could not inser"..., 64) = 64

Jul 31 2018, 11:06 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard added a comment to T427: Wireguard support.

@UnicronNL module can't be loaded via modpprobe I get.

Jul 31 2018, 10:59 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard added a comment to T742: Replace poptop and xl2tpd with accel-ppp.

@syncer It doesn't really matter to me, I was just concerned that if you have pppoe-server running, you can't use gre tunnels (the kernel module can't be loaded anymore).

Jul 31 2018, 10:45 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
hagbard added a comment to T427: Wireguard support.

@dmbaturin No worries, I'm well aware of the new scheme. (will be a fresh and new implementation of the syntax).

Jul 31 2018, 9:58 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
UnicronNL added a comment to T427: Wireguard support.

@syncer he means the edgOs one :) package i build are only the wire guard tools and kernel module. Those packages are good.

Jul 31 2018, 9:27 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
syncer added a comment to T427: Wireguard support.

What package do you refer?
Built by @UnicronNL or edgeos one?
If latest, than we just use it as reference for cli and need to migrate it to xml

Jul 31 2018, 8:56 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin added a comment to T427: Wireguard support.

@UnicronNL @hagbard Please do not use that package! I've inspected it, and it's below any reasonable standards!

Jul 31 2018, 8:53 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
UnicronNL added a comment to T427: Wireguard support.

@hagbard http://dev.packages.vyos.net/repositories/current/vyos/pool/main/w/wireguard/
here are the packages

Jul 31 2018, 8:44 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
syncer updated subscribers of T742: Replace poptop and xl2tpd with accel-ppp.

@hagbard if you want you can do cli part and we can ask do other stuff @dmbaturin and/or @UnicronNL
it's up to you
thanks!

Jul 31 2018, 7:18 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
syncer added a comment to T742: Replace poptop and xl2tpd with accel-ppp.

@hagbard not having GRE on PPPoE server not a problem
we still need to see how we handle this and bunch of other issues
but we definitely need BRAS functionality

Jul 31 2018, 7:15 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
hagbard added a comment to T427: Wireguard support.

@UnicronNL thx a lot for the packages, speeds my task up quite a bit.

Jul 31 2018, 7:12 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
hagbard added a comment to T742: Replace poptop and xl2tpd with accel-ppp.

@syncer I discovered a possible issue, accel-ppp is incompatible with the ip_gre driver, so using accel-ppp means you can't have gre tunnels anymore and vice versa. I'm not sure if accel-ppp is a good idea to integrate into vyos. Shall I continue with the packages or should we check if we can find anything compatible which doesn't interfere with router stuff. Not having gre is in my opinion a very significant issue.

Jul 31 2018, 7:07 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
UnicronNL added a comment to T427: Wireguard support.

@hagbard I have created the wireguard package https://github.com/vyos/vyos-wireguard

Jul 31 2018, 5:56 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Jul 30 2018

hagbard added a comment to T742: Replace poptop and xl2tpd with accel-ppp.

It will come in 2 parts, the ppp server as a package first and then the rewrite for its config, hard to estimate the time it will need, let me first package accel-ppp.

Jul 30 2018, 3:46 PM · VyOS 1.3 Equuleus (1.3.0-epa1)