Page MenuHomeVyOS Platform
Feed Search

Sep 12 2019

hagbard changed the status of T1655: equuleus: buster: arm: vyos-accel-ppp build failes because of filename hardcoded as x86_64 in debian/rules from Open to In progress.
Sep 12 2019, 3:32 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard closed T1572: Wireguard keyPair per interface as Resolved.
Sep 12 2019, 3:27 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard claimed T1655: equuleus: buster: arm: vyos-accel-ppp build failes because of filename hardcoded as x86_64 in debian/rules.
Sep 12 2019, 3:26 PM · VyOS 1.3 Equuleus (1.3.0)

Sep 11 2019

hagbard added a comment to T1040: rc.local is executed too early.

@rcit Is that still a relevant issue?

Sep 11 2019, 10:29 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
hagbard closed T1652: vyos-xe-guestutilities sync upstream as Wontfix.

nothing added we would need.

Sep 11 2019, 10:27 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard changed the status of T770: Bonded interfaces get updated with incorrect hw-id in config. from Confirmed to In progress.
Sep 11 2019, 5:16 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
hagbard added a comment to T1600: Convert 'ping' operation from vyatta-op to new syntax.

@alkersan I think you need to create the link via Makefile in vyos-1x. At least I don't know of any possibility doing that within the xml.

Sep 11 2019, 3:24 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard added a comment to T534: VPN/IPSEC/BGP/DPD - unknown bug, tunnel and interfaces up, but no traffic.

Thanks for your response, did you test a newer image already? There was a lot of work done meanwhile.

Sep 11 2019, 2:56 PM · Rejected

Sep 10 2019

hagbard triaged T1652: vyos-xe-guestutilities sync upstream as Low priority.
Sep 10 2019, 10:46 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard claimed T1652: vyos-xe-guestutilities sync upstream.
Sep 10 2019, 10:32 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard created T1652: vyos-xe-guestutilities sync upstream.
Sep 10 2019, 10:31 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard moved T1597: /usr/sbin/rsyslogd after deleting "system syslog" from Need Triage to In Progress on the VyOS 1.3 Equuleus board.
Sep 10 2019, 10:12 PM · VyOS 1.2 Crux (VyOS 1.2.4)
hagbard moved T1597: /usr/sbin/rsyslogd after deleting "system syslog" from Needs Triage to Backlog on the VyOS 1.2 Crux (VyOS 1.2.4) board.
Sep 10 2019, 10:12 PM · VyOS 1.2 Crux (VyOS 1.2.4)
hagbard claimed T534: VPN/IPSEC/BGP/DPD - unknown bug, tunnel and interfaces up, but no traffic.

@mario Did you manage to upgrade to 1.2 and if so, do you still have that issue?

Sep 10 2019, 10:05 PM · Rejected
hagbard changed the status of T1597: /usr/sbin/rsyslogd after deleting "system syslog" from Open to Needs testing.

https://github.com/vyos/vyos-1x/commit/d34fd745438951d55c5c4899b2b3c7bfa5d08026

Sep 10 2019, 9:59 PM · VyOS 1.2 Crux (VyOS 1.2.4)
hagbard committed rVYOSONEXd34fd7454389: [syslog] - T1597: 'del system system' stops now rsyslog.
Sep 10 2019, 9:58 PM
hagbard claimed T1597: /usr/sbin/rsyslogd after deleting "system syslog".
Sep 10 2019, 9:26 PM · VyOS 1.2 Crux (VyOS 1.2.4)
hagbard changed the status of T1395: Improve boot time for instances with a big count of DHCP servers from In progress to On hold.
Sep 10 2019, 9:02 PM
hagbard added a comment to T1572: Wireguard keyPair per interface.

https://downloads.vyos.io/rolling/current/amd64/vyos-1.2-rolling-201909102147-amd64.iso or later

Sep 10 2019, 8:59 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard closed T1649: feature documentation different keypairs per interface as Resolved.

https://vyos.readthedocs.io/en/latest/vpn/wireguard.html

Sep 10 2019, 7:45 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard closed T1649: feature documentation different keypairs per interface , a subtask of T1572: Wireguard keyPair per interface, as Resolved.
Sep 10 2019, 7:45 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard committed rVYOSONEX4f7b5ed06e85: [wireguard] - clean up duplicated op options.
Sep 10 2019, 7:38 PM
hagbard committed rVYOSONEXa237bd44396f: Revert "[wireguard] - remove 'show wireguard keypair'".
Sep 10 2019, 7:38 PM
hagbard added a reverting change for rVYOSONEXe85c90bf3188: [wireguard] - remove 'show wireguard keypair' in favor for 'show wireguard…: rVYOSONEXa237bd44396f: Revert "[wireguard] - remove 'show wireguard keypair'".
Sep 10 2019, 7:38 PM
hagbard committed rVYOSONEXe85c90bf3188: [wireguard] - remove 'show wireguard keypair' in favor for 'show wireguard….
Sep 10 2019, 7:18 PM
hagbard closed T1650: implement wireguard default key removal, a subtask of T1572: Wireguard keyPair per interface, as Resolved.
Sep 10 2019, 6:44 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard closed T1650: implement wireguard default key removal as Resolved.

https://github.com/vyos/vyos-1x/commit/db07e6fa76d90eaf80a06729753fb89266437674

Sep 10 2019, 6:44 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard committed rVYOSONEXdb07e6fa76d9: [wireguard]: T1650 - cli option to delete default wg key.
Sep 10 2019, 6:29 PM
hagbard changed the status of T1650: implement wireguard default key removal, a subtask of T1572: Wireguard keyPair per interface, from Open to In progress.
Sep 10 2019, 6:12 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard changed the status of T1650: implement wireguard default key removal from Open to In progress.
Sep 10 2019, 6:12 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard claimed T1650: implement wireguard default key removal.
Sep 10 2019, 5:59 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard created T1650: implement wireguard default key removal.
Sep 10 2019, 5:59 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard changed the status of T1649: feature documentation different keypairs per interface , a subtask of T1572: Wireguard keyPair per interface, from Open to In progress.
Sep 10 2019, 5:33 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard changed the status of T1649: feature documentation different keypairs per interface from Open to In progress.
Sep 10 2019, 5:33 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard closed T1648: add cli command 'delete wireguard named-key <key>', a subtask of T1572: Wireguard keyPair per interface, as Resolved.
Sep 10 2019, 5:33 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard closed T1648: add cli command 'delete wireguard named-key <key>' as Resolved.
Sep 10 2019, 5:33 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard changed the status of T1572: Wireguard keyPair per interface from In progress to Needs testing.

https://github.com/vyos/vyos-1x/commit/1017c8103f12ebd6db4f250d8a154571fff32db1
Will be available in tomorrows rolling release for testing. Documentation is underway.

Sep 10 2019, 5:32 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard committed rVYOSONEX1017c8103f12: [wireguard]: T1572 - Wireguard keyPair per interface.
Sep 10 2019, 5:32 PM
hagbard changed the status of T1648: add cli command 'delete wireguard named-key <key>', a subtask of T1572: Wireguard keyPair per interface, from Open to In progress.
Sep 10 2019, 5:16 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard changed the status of T1648: add cli command 'delete wireguard named-key <key>' from Open to In progress.

The default keys can only be overwritten, named-keys can be removed.

Sep 10 2019, 5:16 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard claimed T1649: feature documentation different keypairs per interface .
Sep 10 2019, 4:05 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard created T1649: feature documentation different keypairs per interface .
Sep 10 2019, 4:05 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard claimed T1648: add cli command 'delete wireguard named-key <key>'.
Sep 10 2019, 3:13 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard created T1648: add cli command 'delete wireguard named-key <key>'.
Sep 10 2019, 3:13 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard closed T1644: Wireguard listen ports lower than 1024 as Wontfix.

I think encapsulate the udp based traffic into tcp is more than counter productive and makes it an easy DoS target.

Sep 10 2019, 3:36 AM · Rejected

Sep 9 2019

hagbard added a comment to T1644: Wireguard listen ports lower than 1024.

Why not using ports higher 1024? Port 80 and 443 are so called privileged ports, not sure if that is really required. Port udp/80, udp/443 for instance may interfere in the future with QUIC.

Sep 9 2019, 9:49 PM · Rejected
hagbard added a comment to T1644: Wireguard listen ports lower than 1024.

That is listen port. endpoints are peer specific, if you have multiple peers on the same interface, each one has of course it's own endpoint if you want to initiate the connections. Otherwise, once the other peer connected to your gateway (assuming the handshake was successful), this information is taken from the header.

Sep 9 2019, 9:24 PM · Rejected
hagbard added a comment to T1644: Wireguard listen ports lower than 1024.

@trystan Listen or endpoint? The listen port had been limited to avoid issues with IANA assigned ports.
udp/80 or udp/443 might not m=be the best option anyway.

Sep 9 2019, 8:57 PM · Rejected
hagbard claimed T1644: Wireguard listen ports lower than 1024.
Sep 9 2019, 8:50 PM · Rejected
hagbard closed T1639: wireguard pubkey change error as Resolved.

https://github.com/vyos/vyos-1x/commit/f7456361b5b94f3c69f8fa0f34f8bff0ef68f9aa

Sep 9 2019, 4:51 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard committed rVYOSONEXf7456361b5b9: [wireguard] - T1639: wireguard pubkey change error.
Sep 9 2019, 4:35 PM
hagbard reopened T1639: wireguard pubkey change error as "Open".
Sep 9 2019, 3:40 PM · VyOS 1.3 Equuleus (1.3.0)

Sep 6 2019

hagbard closed T1639: wireguard pubkey change error as Resolved.

https://github.com/vyos/vyos-1x/commit/189ae4f7096abf7ca7100a4a31e038ce9e3e19c2

Sep 6 2019, 9:52 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard committed rVYOSONEX189ae4f7096a: [wireguard] - T1639: wireguard pubkey change error.
Sep 6 2019, 9:52 PM
hagbard claimed T1639: wireguard pubkey change error .
Sep 6 2019, 9:35 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard created T1639: wireguard pubkey change error .
Sep 6 2019, 9:35 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard changed the status of T1572: Wireguard keyPair per interface from On hold to In progress.
Sep 6 2019, 8:24 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard changed the status of T770: Bonded interfaces get updated with incorrect hw-id in config. from In progress to Confirmed.
Sep 6 2019, 7:05 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
hagbard added a project to T770: Bonded interfaces get updated with incorrect hw-id in config.: VyOS 1.2 Crux.
Sep 6 2019, 7:04 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
hagbard changed the status of T770: Bonded interfaces get updated with incorrect hw-id in config. from On hold to In progress.
Sep 6 2019, 7:03 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
hagbard added a comment to T770: Bonded interfaces get updated with incorrect hw-id in config..

Confirmed, same issue in 1.2.2

Sep 6 2019, 6:51 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
hagbard changed the status of T770: Bonded interfaces get updated with incorrect hw-id in config. from In progress to On hold.
Sep 6 2019, 6:44 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
hagbard added a comment to T1572: Wireguard keyPair per interface.

It's not so much the implementation as I wrote before, it just doesn't seem beneficial. It gets implemented anyway, but I try to understand why a user would like to use that. The private key is by the way no identity and also won't interfere with multiple VPN peers if you are using only one pk. On IP:12345 arrives an encrypted packet, it is simply decrypted using your pk. If it works it's given to your kernel netlink interface as far as I recall and routed there, so no verification of the private key anywhere. If it can't be decrypted, it's discarded. If you have multiple wg interfaces, your 'crypto routing' either allows the traffic to the peer or discards it if it doesn't fit, the private key has nothing to do with that, since the public key of your peer is used to encrypt it. Summary, I still cna't see any benefit having that, which doesn't mean that I won't implement it.

Sep 6 2019, 3:08 PM · VyOS 1.3 Equuleus (1.3.0)

Sep 5 2019

hagbard edited a custom field on T770: Bonded interfaces get updated with incorrect hw-id in config..
Sep 5 2019, 9:38 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
hagbard added a comment to T770: Bonded interfaces get updated with incorrect hw-id in config..

So there are 2 issues as I found out, I fixed one so far. `/opt/vyatta/sbin/vyatta-interfaces.pl``` has been fixed, if it's called with a bonding interface it doesn't care about hw-id as long as it's a bond member, otherwise the legacy code just continues as before.
That helps with config changes and a cold boot, reboot however brings in another issue. Before the system goes down it compares mac addresses and sorts them. bond is still active and 2 eth interface have the same mac which confuses `/lib/udev/vyatta_net_name```

Sep 5 2019, 7:42 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
hagbard added a comment to T770: Bonded interfaces get updated with incorrect hw-id in config..
/opt/vyatta/sbin/vyatta-interfaces.pl

Has nothing to do with your rewrite, it is the legacy code which sets up the ethernet interfaces. Bond runs first, after that comes ethernet and changes the mac address of the bond member interface and that's the issue.

Sep 5 2019, 6:13 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
hagbard added a comment to T770: Bonded interfaces get updated with incorrect hw-id in config..

To reproduce:

Sep 5 2019, 4:51 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
hagbard added a comment to T770: Bonded interfaces get updated with incorrect hw-id in config..

@c-po vyos config does touch it via a perl script. I have a patch ready today for it.

Sep 5 2019, 4:48 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
hagbard changed the status of T770: Bonded interfaces get updated with incorrect hw-id in config. from On hold to In progress.
Sep 5 2019, 4:47 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
hagbard added a comment to T770: Bonded interfaces get updated with incorrect hw-id in config..

No worries, I checked it out, the issue still persists but is not easily fixable.

Sep 5 2019, 3:04 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
hagbard added a comment to T1572: Wireguard keyPair per interface.

Well, it's not so much the technical implementation via cli. The private key gets exposed on the computer you generate it, then you transfer it to the vyos box, now you have a duplicate if the origin is not removed. It creates multiple points where you can get the private key. If you have that key and the connection is not secured via pre-shared key, you can decrypt the traffic easily. Or do i See that completely wrong?

Sep 5 2019, 2:44 PM · VyOS 1.3 Equuleus (1.3.0)

Sep 4 2019

hagbard claimed T1635: Rewrite interface pseudo-ethernet in new XML/Python style.
Sep 4 2019, 10:34 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard created T1635: Rewrite interface pseudo-ethernet in new XML/Python style.
Sep 4 2019, 10:34 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard added a comment to T1395: Improve boot time for instances with a big count of DHCP servers.

@zsdc Can you please provide a relevant config snippet? I won't have a system with 400 interfaces, but I try to measure the difference with 4 to see if it exponentially increases the boot time.

Sep 4 2019, 10:30 PM
hagbard moved T1299: Allow SNMPd to be extended with custom scripts from In Progress to Finished on the VyOS 1.3 Equuleus board.
Sep 4 2019, 10:27 PM · VyOS 1.2 Crux (VyOS 1.2.4)
hagbard changed the status of T770: Bonded interfaces get updated with incorrect hw-id in config. from Confirmed to On hold.

@mb300sd can you please test with the latest rolling image and see if the issue still exists?

Sep 4 2019, 10:26 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
hagbard changed the status of T1572: Wireguard keyPair per interface from Open to On hold.
Sep 4 2019, 10:05 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard added a comment to T1572: Wireguard keyPair per interface.

@zx2c4 The private key stays on the system it is generated in a directory only accessible by the user who created it. Now when you create an interface let's say wg01 with 20 peers set up, you hand out 20 time the same public key and to decrypt the incoming traffic you use the single private key. Now, let's say you create an interface wg02, also with 20 peers. Why would it be better to generate a new key pair for wg02 on the same system and use a new private key just for that interface?

Sep 4 2019, 10:05 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard closed T1628: Adopt WireGuard configuration script to new vyos.ifconfig class, a subtask of T1557: Create generic abstraction for configuring interfaces e.g. IP address, as Resolved.
Sep 4 2019, 9:58 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard closed T1628: Adopt WireGuard configuration script to new vyos.ifconfig class as Resolved.

available via rolling releases
https://github.com/vyos/vyos-1x/blob/current/python/vyos/ifconfig.py#L1270
https://github.com/vyos/vyos-1x/blob/current/src/conf_mode/interface-wireguard.py

Sep 4 2019, 9:58 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard committed rVYOSONEX1bac4362d007: [wireguard] - T1628: line break in coment added.
Sep 4 2019, 9:55 PM
hagbard committed rVYOSONEX4778f7d2f771: [wireguard] - T1628: renaming member functions, removing wg_ prefix.
Sep 4 2019, 9:38 PM
hagbard committed rVYOSONEXd1a121d54e11: Merge branch 'current' of https://github.com/vyos/vyos-1x into current.
Sep 4 2019, 8:18 PM
hagbard committed rVYOSONEXa4f34dfe7e00: [wireguard] - T1628: fixing comment indent.
Sep 4 2019, 8:18 PM
hagbard committed rVYOSONEXff34756f534b: [wireguard] - T1628: Adopt WireGuard configuration script to new vyos.ifconfig….
Sep 4 2019, 7:52 PM

Sep 3 2019

hagbard edited a custom field on T1628: Adopt WireGuard configuration script to new vyos.ifconfig class.
Sep 3 2019, 6:12 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard added a comment to T1628: Adopt WireGuard configuration script to new vyos.ifconfig class.

That will be a complete rewrite, since the interface name is now readable via VYOS_TAGNODE_VALUE, that affects get_config() quite a lot and will reduce the number of code line significantly. The flip side of the coin is, that the current code was running pretty reliable, so I will release small updates while adopting to see if I break anything configure outside of my test environment.

Sep 3 2019, 4:32 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard closed T1565: [wireguard] - use VYOS_TAGNODE_VALUE to determine changed tagNodes as Invalid.

Duplicate: T1628

Sep 3 2019, 3:45 PM · VyOS 1.3 Equuleus (1.3.0)

Aug 31 2019

hagbard added a comment to T1557: Create generic abstraction for configuring interfaces e.g. IP address.

@c-po sorry was camping in a remote area without cell coverage. What's the way we go then? I'll look tomorrow, eventually Tuesday next week into the dhcp stuff.

Aug 31 2019, 11:40 PM · VyOS 1.3 Equuleus (1.3.0)

Aug 26 2019

hagbard added a comment to T1557: Create generic abstraction for configuring interfaces e.g. IP address.

Perfect, I think the dummy interface would be one which needs to be corrected before I can remove the class file entirely.

Aug 26 2019, 3:43 PM · VyOS 1.3 Equuleus (1.3.0)

Aug 22 2019

hagbard committed rVYOSONEXcee38e3ed090: [interfaceconfig] - linkstate as property and depriccated message for….
Aug 22 2019, 2:08 AM

Aug 21 2019

hagbard added a comment to T1557: Create generic abstraction for configuring interfaces e.g. IP address.

moved get functions into properties, for ifalias, macaddr and mtu to see how it works. If the old get_ function is being used, it prints a message to the console but still works. Will see how well that works.
https://github.com/vyos/vyos-1x/commit/0b9c894fcece6df553a89e42147768ce6efaf372

Aug 21 2019, 5:43 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard committed rVYOSONEXb1c2275a492e: Merge branch 'current' of https://github.com/vyos/vyos-1x into current.
Aug 21 2019, 4:56 PM
hagbard committed rVYOSONEX0b9c894fcece: [interfaceconfig class] - moved get functionaility for mtu, mac and ifalias….
Aug 21 2019, 4:56 PM

Aug 15 2019

hagbard added a comment to T1572: Wireguard keyPair per interface.

[e]ach network interface has a private key [...]

Aug 15 2019, 8:47 PM · VyOS 1.3 Equuleus (1.3.0)

Aug 9 2019

hagbard committed rVYOSONEXb570f31e7fce: [config] - T1557: setting object properties for the class.
Aug 9 2019, 10:54 PM
hagbard closed T1569: interfaceconfig class documetation, a subtask of T1557: Create generic abstraction for configuring interfaces e.g. IP address, as Resolved.
Aug 9 2019, 6:32 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard closed T1569: interfaceconfig class documetation as Resolved.

https://vyos.readthedocs.io/en/equuleus/contributing/vyos-api/interface-config.html#interface-config
https://vyos.readthedocs.io/en/latest/contributing/vyos-api/interface-config.html

Aug 9 2019, 6:32 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard added a comment to T1572: Wireguard keyPair per interface.

I don't think it's a good idea, for several reasons.

Aug 9 2019, 2:34 PM · VyOS 1.3 Equuleus (1.3.0)

Aug 8 2019

hagbard changed the status of T1569: interfaceconfig class documetation, a subtask of T1557: Create generic abstraction for configuring interfaces e.g. IP address, from Open to In progress.
Aug 8 2019, 10:44 PM · VyOS 1.3 Equuleus (1.3.0)