Page MenuHomeVyOS Platform
Feed All Stories

Sep 10 2019

trystan added a comment to T921: Encrypted DNS.

Just adding a suggestion since cloudflared (argo tunnel) is open source : https://github.com/cloudflare/cloudflared

Sep 10 2019, 3:22 PM · VyOS Rolling
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)
Unknown Object (User) triaged T1647: event-handler configurable syslog.pipe level as Wishlist priority.
Sep 10 2019, 11:28 AM · VyOS 1.3 Equuleus (1.3.4), VyOS 1.4 Sagitta, eventwatchd
syncer renamed T1646: - from How do i resolve HP printer driver is unavailable on windows 10 to -.
Sep 10 2019, 9:25 AM · Invalid
Unknown Object (User) created T1646: -.
Sep 10 2019, 9:24 AM · Invalid
Unknown Object (User) added a comment to T1417: IPv6 zone based firewall rules can't be modified.

This behavior not only for ipv6 and appears after task T484

Sep 10 2019, 9:05 AM
Unknown Object (User) updated the task description for T1645: SPAM.
Sep 10 2019, 4:20 AM · Invalid
Unknown Object (User) created T1645: SPAM.
Sep 10 2019, 4:20 AM · Invalid
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
Asteroza added a comment to T1644: Wireguard listen ports lower than 1024.

Actually somebody made a nifty websocket tunnel named wstunnel (similar to stunnel conceptually, but websockets is more natural for tunneling generic binary protocols thanks to webRTC...) that seems to work alright for Wireguard.

Sep 10 2019, 1:06 AM · Rejected
trystan added a comment to T1644: Wireguard listen ports lower than 1024.

I was thinking some more along the lines of stunnel and wrapping wireguard that way but it would require additional packaging and integration on the vyos side. Luckily whatever outbound filtering is in place for this specific implementation seems to be relatively basic and limited to port blocking/whitelisting.

Sep 10 2019, 12:51 AM · Rejected
Asteroza added a comment to T1644: Wireguard listen ports lower than 1024.

As long as the local nginx is not listening on the external interface on udp/443, functionally there should be no limitation to running wireguard on 443 there. A convoluted script to check that the current config has no existing 443 mapping is one solution, but that seems a bit fragile, and wouldn't really tell you where in the config the blocking 443 instance is.

Sep 10 2019, 12:30 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
trystan added a comment to T1644: Wireguard listen ports lower than 1024.

Yes, I understand that. The primary request is to be able to set a listen port lower than 1024 without having to create a destination NAT rule to get the same result.

Sep 9 2019, 9:29 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
trystan added a comment to T1644: Wireguard listen ports lower than 1024.
set interfaces wireguard wg1 port 443
Sep 9 2019, 9:14 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
trystan created T1644: Wireguard listen ports lower than 1024.
Sep 9 2019, 7:54 PM · Rejected
kroy updated the task description for T1643: Deleting all firewall zones failed and locked out box.
Sep 9 2019, 6:34 PM · VyOS 1.3 Equuleus (1.3.0), test
kroy created T1643: Deleting all firewall zones failed and locked out box.
Sep 9 2019, 6:33 PM · VyOS 1.3 Equuleus (1.3.0), test
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)
dmbaturin claimed T1642: BGP configuration error when using remove-private-as.
Sep 9 2019, 12:31 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin edited projects for T1642: BGP configuration error when using remove-private-as, added: VyOS 1.2 Crux (VyOS 1.2.3); removed VyOS 1.2 Crux.
Sep 9 2019, 12:31 PM · VyOS 1.2 Crux (VyOS 1.2.3)
rcit created T1642: BGP configuration error when using remove-private-as.
Sep 9 2019, 12:16 PM · VyOS 1.2 Crux (VyOS 1.2.3)

Sep 8 2019

Daya added a comment to T1641: VRRP conntrack-sync dropping packets passing through the router.

Thanks for that, What I am suspecting is once the maximum value is reached the router is starting to drop packets, rather clearing the stale connections.

Sep 8 2019, 11:54 PM
Unknown Object (User) added a comment to T1641: VRRP conntrack-sync dropping packets passing through the router.

Hello @Daya , you can set custom kernel params for nf_conntrack

set system sysctl custom net.netfilter.nf_conntrack_max value 786432
set system sysctl custom net.nf_conntrack_max value 786432
Sep 8 2019, 4:37 PM
Daya renamed T1641: VRRP conntrack-sync dropping packets passing through the router from VRRP conntrack-sync dropping packet to VRRP conntrack-sync dropping packets passing through the router.
Sep 8 2019, 10:49 AM
Daya created T1641: VRRP conntrack-sync dropping packets passing through the router.
Sep 8 2019, 10:49 AM

Sep 7 2019

c-po updated the task description for T1640: Update Linux Kernel to v4.19.70.
Sep 7 2019, 10:21 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T1640: Update Linux Kernel to v4.19.70 as Resolved.
Sep 7 2019, 10:19 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T1640: Update Linux Kernel to v4.19.70.
Sep 7 2019, 10:17 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T1604: equuleus: buster: vbash: tab completion breaks.

It still fails in config mode:

vyos@vyos# ls <TAB>
  Configuration path [-o] is not valid
  Set failed
Sep 7 2019, 9:12 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T1604: equuleus: buster: vbash: tab completion breaks.

This PR fixes it for me: https://github.com/vyos/vyatta-op/pull/29

Sep 7 2019, 8:19 PM · VyOS 1.3 Equuleus (1.3.0)
runar added a comment to T945: Unable to change configuration after changing it from script (vbash + script-template).

As a workaround could this be added as the first lines of the bash script?
This will check the primary group the script executes via and respawn as the vyattacfg group if it's something else before continuing.

if [ $(id -gn) != vyattacfg ]; then
    exec sg vyattacfg "$0 $*"
fi

NB! the if is necessary because the script should not execute the exec when you respawn as correct group.
You will end in a exec loop if its not there .. :)
i've not tested this on vyos, but have helped me on other systems

Sep 7 2019, 7:21 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jestabro changed the status of T1424: Rewrite the config load script from On hold to In progress.
Sep 7 2019, 3:59 PM · VyOS 1.3 Equuleus (1.3.0)
lluu131 added a comment to T1020: OSPF Stops distributing default route after a while.

Using 1.2.3-eap1 frr version 7.2-dev-10290718, there is still a problem that the default route disappears between 30 minutes and 40 minutes.

Sep 7 2019, 2:33 PM · VyOS 1.2 Crux (VyOS 1.2.5)
c-po committed rVYOSONEX6f666f0a62fb: bonding: T1614: bugfix in validate - enslave failed.
Sep 7 2019, 1:31 PM
c-po committed rVYOSONEXa9756cfd49b1: bridge: bonding: minor comment cleanup.
Sep 7 2019, 12:20 PM

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)
dmbaturin closed T1624: Failed to set up config session as Resolved.

Works in the latest image for me.

Sep 6 2019, 5:40 PM · VyOS 1.3 Equuleus (1.3.0)
dmbaturin closed T1623: Systemd reports dependency cycle during boot, a subtask of T1598: New implementation of the resolv.conf and hosts update mechanism, as Resolved.
Sep 6 2019, 5:39 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin closed T1623: Systemd reports dependency cycle during boot as Resolved.

It should have been fixed by https://github.com/vyos/vyos-1x/commit/ff05e2a90edf8af5d7b8ad5c69cae2dd40af2c8d It works for me in post-Sep 01 images and I don't see the error in the latest one, but I'm not sure why it would appear in the Sep 01 image if the commit is from Aug 30.

Sep 6 2019, 5:39 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin closed T1616: 'renew dhcpv6 interface <interfaceName>' command fails, but work within config session as Resolved.

@nirmal The full fix is a bit more complicated. There are two cases: when it's called from conf mode at commit time, it needs to use the value from the proposed config (that's returnValue). However, in op mode, it also re-generates the config, so your fix would make the send dhcp6.client-id option disappear from the config when a user runs renew dhcpv6 interface .... A full fix needs to handle both cases and use returnEffectiveValue in op mode.

Sep 6 2019, 5:27 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin closed T1478: libvyosconfig parser does not support escaped quotes inside single-quoted strings as Resolved.
Sep 6 2019, 5:00 PM · VyOS 1.3 Equuleus (1.3.0)
dmbaturin closed T1479: libvyosconfig error reporting doesn't include line numbers as Resolved.
Sep 6 2019, 4:59 PM · VyOS 1.3 Equuleus (1.3.0)
dmbaturin added a comment to T1479: libvyosconfig error reporting doesn't include line numbers.
>>> s="""
... foo {
...   bar {
...     baz quux foo
...   }
... }
... """
>>> import vyos.configtree
>>> c = vyos.configtree.ConfigTree(s)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/vyos/configtree.py", line 167, in __init__
    raise ValueError("Failed to parse config: {0}".format(msg))
ValueError: Failed to parse config: Syntax error on line 4, character 14: Invalid syntax.
Sep 6 2019, 4:46 PM · VyOS 1.3 Equuleus (1.3.0)
dmbaturin closed T1360: DNS nameservers from dhcp not set, a subtask of T1598: New implementation of the resolv.conf and hosts update mechanism, as Resolved.
Sep 6 2019, 4:22 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin closed T1360: DNS nameservers from dhcp not set as Resolved.

It was indeed a bug, caused by the same issue as all other subtasks of T1598: lack of proper synchronization.
If it re-appears, please reopen of course.

Sep 6 2019, 4:22 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin added a parent task for T1360: DNS nameservers from dhcp not set: T1598: New implementation of the resolv.conf and hosts update mechanism.
Sep 6 2019, 4:21 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin added a subtask for T1598: New implementation of the resolv.conf and hosts update mechanism: T1360: DNS nameservers from dhcp not set.
Sep 6 2019, 4:21 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin added a project to T1360: DNS nameservers from dhcp not set: VyOS 1.2 Crux (VyOS 1.2.3).
Sep 6 2019, 4:21 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin edited projects for T1616: 'renew dhcpv6 interface <interfaceName>' command fails, but work within config session, added: VyOS 1.2 Crux (VyOS 1.2.3); removed VyOS 1.2 Crux (VyOS 1.2.4).
Sep 6 2019, 4:20 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin edited projects for T1540: Static-host-mappings disappear from /etc/hosts after a while, added: VyOS 1.2 Crux (VyOS 1.2.3); removed VyOS 1.3 Equuleus.
Sep 6 2019, 4:19 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin closed T1540: Static-host-mappings disappear from /etc/hosts after a while, a subtask of T1598: New implementation of the resolv.conf and hosts update mechanism, as Resolved.
Sep 6 2019, 4:19 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin closed T1540: Static-host-mappings disappear from /etc/hosts after a while as Resolved.

Disappearing entries should no longer be a problem, but if it re-appears due to a missing case, please reopen.

Sep 6 2019, 4:19 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin renamed T1316: Support for IS-IS from Support for ISIS to Support for IS-IS .
Sep 6 2019, 4:17 PM · VyOS 1.3 Equuleus (1.3.0)
dmbaturin merged T1303: Implement ISIS into T1316: Support for IS-IS .
Sep 6 2019, 4:17 PM · VyOS 1.3 Equuleus (1.3.0)
dmbaturin merged task T1303: Implement ISIS into T1316: Support for IS-IS .
Sep 6 2019, 4:17 PM · VyOS 1.3 Equuleus (1.3.0)
dmbaturin closed T1264: /usr/libexec/vyos/conf_mode/host_name.py improvments, a subtask of T1598: New implementation of the resolv.conf and hosts update mechanism, as Resolved.
Sep 6 2019, 4:16 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin closed T1264: /usr/libexec/vyos/conf_mode/host_name.py improvments as Resolved.
Sep 6 2019, 4:16 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin added a subtask for T1598: New implementation of the resolv.conf and hosts update mechanism: T1264: /usr/libexec/vyos/conf_mode/host_name.py improvments.
Sep 6 2019, 4:15 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin added a parent task for T1264: /usr/libexec/vyos/conf_mode/host_name.py improvments: T1598: New implementation of the resolv.conf and hosts update mechanism.
Sep 6 2019, 4:15 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin added a parent task for T1398: Remove vyatta-config-migrate package: T805: Drop config compatibility with Vyatta Core older than 6.5.
Sep 6 2019, 4:15 PM · VyOS 1.3 Equuleus (1.3.0)
dmbaturin added a subtask for T805: Drop config compatibility with Vyatta Core older than 6.5: T1398: Remove vyatta-config-migrate package.
Sep 6 2019, 4:15 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
dmbaturin closed T808: replace lighthttpd with nginx, a subtask of T1443: New "service https" implementation, as Resolved.
Sep 6 2019, 4:14 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin closed T808: replace lighthttpd with nginx as Resolved.
Sep 6 2019, 4:14 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
dmbaturin added a subtask for T1443: New "service https" implementation: T808: replace lighthttpd with nginx.
Sep 6 2019, 4:13 PM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin added a parent task for T808: replace lighthttpd with nginx: T1443: New "service https" implementation.
Sep 6 2019, 4:13 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po committed rVYOSONEX26ace9a7b920: openvpn: T1548: always restart OpenVPN.
Sep 6 2019, 4:11 PM
c-po committed rVYOSONEX2e3b701f9045: openvpn: T1548: cleanup import statements.
Sep 6 2019, 4:11 PM
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)
kroy added a subtask for T1598: New implementation of the resolv.conf and hosts update mechanism: T1638: vyos-hostsd not setting system domain name .
Sep 6 2019, 2:17 PM · VyOS 1.2 Crux (VyOS 1.2.3)
kroy added a parent task for T1638: vyos-hostsd not setting system domain name : T1598: New implementation of the resolv.conf and hosts update mechanism.
Sep 6 2019, 2:17 PM · VyOS 1.2 Crux (VyOS 1.2.4)
kroy updated the task description for T1638: vyos-hostsd not setting system domain name .
Sep 6 2019, 2:13 PM · VyOS 1.2 Crux (VyOS 1.2.4)
kroy created T1638: vyos-hostsd not setting system domain name .
Sep 6 2019, 2:12 PM · VyOS 1.2 Crux (VyOS 1.2.4)
c-po changed the status of T1637: Rewrite ethernet interface in new style XML syntax from Open to In progress.
Sep 6 2019, 1:26 PM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T1637: Rewrite ethernet interface in new style XML syntax, a subtask of T1579: Rewrite all interface types in new XML/Python style, from Open to In progress.
Sep 6 2019, 1:26 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T1637: Rewrite ethernet interface in new style XML syntax.
Sep 6 2019, 1:26 PM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T1630: OpenVPN after changing it from root to nobody (unprivileged user) cant add routes from Open to Needs testing.
Sep 6 2019, 1:20 PM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T1630: OpenVPN after changing it from root to nobody (unprivileged user) cant add routes, a subtask of T1548: Rewrite OpenVPN interface/op-commands in new style XML/Python, from Open to Needs testing.
Sep 6 2019, 1:20 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a comment to T1630: OpenVPN after changing it from root to nobody (unprivileged user) cant add routes.

OpenVPN now runs as user openvpn with the above helper script. Please also test this new implementation, it will be in the rolling ISO which is building right now.

Sep 6 2019, 1:19 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEX2e48db607e3f: openvpn: T1630: support adding routes as unpriviledged user.
Sep 6 2019, 1:13 PM
c-po added a comment to T1630: OpenVPN after changing it from root to nobody (unprivileged user) cant add routes.

Persistent tunnel is a configuration option set interfaces openvpn vtun10 persistent-tunnel

Sep 6 2019, 11:07 AM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T1636: Rewrite VXLAN in new style XML/Python, a subtask of T1579: Rewrite all interface types in new XML/Python style, as Resolved.
Sep 6 2019, 11:03 AM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T1636: Rewrite VXLAN in new style XML/Python as Resolved.
Sep 6 2019, 11:03 AM · VyOS 1.3 Equuleus (1.3.0)
c-po updated the task description for T1636: Rewrite VXLAN in new style XML/Python.
Sep 6 2019, 11:03 AM · VyOS 1.3 Equuleus (1.3.0)
GitHub <noreply@github.com> committed rVYOSONEXf5066563cb5d: Merge pull request #125 from c-po/t1636-vxlan (authored by c-po).
Sep 6 2019, 11:02 AM