Page MenuHomeVyOS Platform
Feed Search

Oct 11 2019

hagbard added a project to T1725: VyOS 1.2 Rolling 201910110117 DHCP Server Configuration Fails: VyOS 1.2 Crux.
Oct 11 2019, 5:27 PM · Invalid
hagbard closed T1723: wireguard - Interface wg01 could not be brought up in time as Resolved.

Looks like it has changed already in ifconfig.py. Tested it successfully as well.
https://github.com/vyos/vyos-1x/commit/f5c04661e6c031baedb6092ecafee501cca7bc28#diff-def38e05f2ac1eb35139b37ec8d47338R1375

Oct 11 2019, 4:51 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard moved T1720: support for more 'show ip route' commands from Need Triage to In Progress on the VyOS 1.2 Crux board.
Oct 11 2019, 4:41 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard moved T1724: wireguard - add endpoint check in verify() from In Progress to Finished on the VyOS 1.3 Equuleus board.
Oct 11 2019, 4:10 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard closed T1724: wireguard - add endpoint check in verify() as Resolved.
Oct 11 2019, 4:10 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard changed the status of T1724: wireguard - add endpoint check in verify() from Open to In progress.
Oct 11 2019, 3:43 PM · VyOS 1.3 Equuleus (1.3.0)
fvbrasileiro added a comment to T1705: High CPU usage by bgpd when snmp is active.

No problem, I had already made the change manually in the snmp.py file. Since then, the problem has not occurred.

Oct 11 2019, 10:19 AM · VyOS 1.2 Crux (VyOS 1.2.4)
c-po added a comment to T1723: wireguard - Interface wg01 could not be brought up in time .

I‘d simply override the set_state() function in derived WireGuard Class without that check. If more interface have this (possibly VXLAN) it could be added to baseclass with a flag that the particular code is not executed.

Oct 11 2019, 3:40 AM · VyOS 1.3 Equuleus (1.3.0)

Oct 10 2019

hagbard triaged T1724: wireguard - add endpoint check in verify() as Normal priority.
Oct 10 2019, 10:42 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard claimed T1724: wireguard - add endpoint check in verify().
Oct 10 2019, 10:42 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard created T1724: wireguard - add endpoint check in verify().
Oct 10 2019, 10:42 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard triaged T1723: wireguard - Interface wg01 could not be brought up in time as Normal priority.
Oct 10 2019, 10:40 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard added a comment to T1723: wireguard - Interface wg01 could not be brought up in time .

@cpo operstate will be unknown for wg interfaces, I think it's the only interface type having unknown. Anything else should be up or down, I think. I can re-implement with the wg class if that's better.
Let me know what you think, wg is working with no issues, so functionality isn't an issue here.

Oct 10 2019, 10:40 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard updated the task description for T1723: wireguard - Interface wg01 could not be brought up in time .
Oct 10 2019, 10:32 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard updated the task description for T1723: wireguard - Interface wg01 could not be brought up in time .
Oct 10 2019, 10:29 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard claimed T1723: wireguard - Interface wg01 could not be brought up in time .
Oct 10 2019, 10:26 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard created T1723: wireguard - Interface wg01 could not be brought up in time .
Oct 10 2019, 10:25 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard added a comment to T1722: Add ability to debug Wireguard connections.

@bertleywjh wg state and link state is all is unfortunately all you will be able to see, plus like when was the last handshake and how many bytes were transfered. AFAIK there is no other way to see states of the handshake etc.

Oct 10 2019, 9:58 PM · Rejected
bertleywjh added a comment to T1722: Add ability to debug Wireguard connections.

@hagbard

show interfaces wireguard wgN

This just shows general configuration info & link state.

Oct 10 2019, 9:44 PM · Rejected
hagbard added a comment to T1705: High CPU usage by bgpd when snmp is active.

@fvbrasileiro here you go: https://downloads.vyos.io/rolling/current/amd64/vyos-1.2-rolling-201910102056-amd64.iso

Oct 10 2019, 9:27 PM · VyOS 1.2 Crux (VyOS 1.2.4)
hagbard added a comment to T1705: High CPU usage by bgpd when snmp is active.

@fvbrasileiro Yeah, we found that out too today, we are working on a solution already. Please be patient.

Oct 10 2019, 8:54 PM · VyOS 1.2 Crux (VyOS 1.2.4)
fvbrasileiro added a comment to T1705: High CPU usage by bgpd when snmp is active.
Oct 10 2019, 8:39 PM · VyOS 1.2 Crux (VyOS 1.2.4)
hagbard moved T1722: Add ability to debug Wireguard connections from Need Triage to In Progress on the VyOS 1.3 Equuleus board.
Oct 10 2019, 8:38 PM · Rejected
hagbard moved T1722: Add ability to debug Wireguard connections from Need Triage to In Progress on the VyOS 1.2 Crux board.
Oct 10 2019, 8:38 PM · Rejected
hagbard triaged T1722: Add ability to debug Wireguard connections as Normal priority.
Oct 10 2019, 8:38 PM · Rejected
hagbard changed the status of T1720: support for more 'show ip route' commands from Open to In progress.

Next rolling will have it: https://github.com/vyos/vyatta-op-quagga/commit/219265ae4c8886bb6997ffc79f34610d6e2ea2d0 or you can manually install from the source below, if it is an urgent matter.

Oct 10 2019, 8:35 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard added a comment to T1720: support for more 'show ip route' commands .

The cli part for the routing suite is up for rewrite, json is only working because it's supported by frr and the cli doesn't filter it. I think getting show ip route tag 20 working shouldn't be a big deal, but I try to avoid to add too much to the cli, will make just the rewrite way harder.

Oct 10 2019, 6:13 PM · VyOS 1.3 Equuleus (1.3.0)
olofl added a comment to T1720: support for more 'show ip route' commands .

@hagbard via a route-map for example. set policy route-map TAG rule 10 set tag 33

Oct 10 2019, 5:21 PM · VyOS 1.3 Equuleus (1.3.0)
lbv2rus created T1721: Recursive Next Hop not updated for static routes.
Oct 10 2019, 4:38 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard added a comment to T1705: High CPU usage by bgpd when snmp is active.

There were multiple complains about bgpd crashes, memory issues inthe forum. They used the workaround removing the tables from snmpd successfully.

Oct 10 2019, 4:17 PM · VyOS 1.2 Crux (VyOS 1.2.4)
hagbard added a comment to T1720: support for more 'show ip route' commands .

@olofl How do you set the tag? via CLI?

Oct 10 2019, 4:13 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a comment to T1705: High CPU usage by bgpd when snmp is active.

I do not see this problem on a full table v4/v6 router with 2 cores 4 GB RAM. The question is why? Is removing the table a good idea? What was the state with 1.1.8?

Oct 10 2019, 4:03 PM · VyOS 1.2 Crux (VyOS 1.2.4)
hagbard claimed T1720: support for more 'show ip route' commands .
Oct 10 2019, 3:49 PM · VyOS 1.3 Equuleus (1.3.0)
hagbard added a comment to T1705: High CPU usage by bgpd when snmp is active.

@fvbrasileiro Please test at your earliest convenience.

Oct 10 2019, 3:10 PM · VyOS 1.2 Crux (VyOS 1.2.4)
hagbard moved T1705: High CPU usage by bgpd when snmp is active from Need Triage to In Progress on the VyOS 1.2 Crux board.
Oct 10 2019, 3:07 PM · VyOS 1.2 Crux (VyOS 1.2.4)
hagbard changed the status of T1705: High CPU usage by bgpd when snmp is active from Open to Needs testing.
Oct 10 2019, 3:07 PM · VyOS 1.2 Crux (VyOS 1.2.4)
olofl created T1720: support for more 'show ip route' commands .
Oct 10 2019, 11:29 AM · VyOS 1.3 Equuleus (1.3.0)

Oct 7 2019

c-po changed the status of T1716: Update Intel NIC drivers to recent versions from Open to In progress.
Oct 7 2019, 5:02 PM · VyOS 1.2 Crux (VyOS 1.2.4)
c-po created T1716: Update Intel NIC drivers to recent versions.
Oct 7 2019, 5:01 PM · VyOS 1.2 Crux (VyOS 1.2.4)

Oct 6 2019

trae32566 created T1715: System DNS Server Order Incorrect.
Oct 6 2019, 6:33 PM · VyOS 1.3 Equuleus (1.3.0)
trae32566 created T1714: Disable DHCP Nameservers Not Working.
Oct 6 2019, 6:15 PM · VyOS 1.3 Equuleus (1.3.0)

Oct 4 2019

Viacheslav updated the task description for T1711: BGP - migrate from tagNode to node (remove ASN from tagNode).
Oct 4 2019, 8:51 AM · VyOS 1.4 Sagitta
Viacheslav created T1711: BGP - migrate from tagNode to node (remove ASN from tagNode).
Oct 4 2019, 5:35 AM · VyOS 1.4 Sagitta

Oct 3 2019

hagbard moved T1700: Wireguard FQDN endpoint doesn't work after reboot from In Progress to Finished on the VyOS 1.3 Equuleus board.
Oct 3 2019, 5:39 PM · Rejected
hagbard moved T1700: Wireguard FQDN endpoint doesn't work after reboot from Backlog to Finished on the VyOS 1.2 Crux board.
Oct 3 2019, 5:39 PM · Rejected
hagbard closed T1700: Wireguard FQDN endpoint doesn't work after reboot as Wontfix.
Oct 3 2019, 5:38 PM · Rejected
c-po added a comment to T1707: DHCP static mapping and exclude address not working.

I can confirm the issue. Actually it boils down to two individual ones.

Oct 3 2019, 4:16 PM · VyOS 1.2 Crux (VyOS 1.2.4)
c-po renamed T1707: DHCP static mapping and exclude address not working from DHCP static mapping work wrong to DHCP static mapping and exclude address not working.
Oct 3 2019, 11:23 AM · VyOS 1.2 Crux (VyOS 1.2.4)
c-po created T1709: Update WireGuard to 0.0.20190913.
Oct 3 2019, 9:03 AM · VyOS 1.2 Crux (VyOS 1.2.4)

Oct 2 2019

c-po added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

It is an upstream issue so I agree totally in closing as wonˋt fix

Oct 2 2019, 11:25 PM · Rejected
hagbard added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

Shall I close it as won't fix, given the fact that it is an upstream issue. Anything build around it, is in my opinion just a kludge, unless we would go with a separate daemon which can check and re-establish connections if they fail. The danger is that vyos becomes then more a server than a router. As workaround, a cronjob could do that as well, either setting an option via cli (wg-heartbeat or so since keepalive is a wg option already), which drops a cronjob onto the box and checks the wg endpoint periodically, if it fails it just calls diable/enable and checks again for X times, before it sleeps for let's say 24hs or so. @kroy would something like acronjob help you? Could be also set as a @reboot job and once the traffic flows it kicks itself out. Just wanna throw out ideas here.

Oct 2 2019, 7:18 PM · Rejected
c-po claimed T1707: DHCP static mapping and exclude address not working.
Oct 2 2019, 6:12 AM · VyOS 1.2 Crux (VyOS 1.2.4)

Oct 1 2019

lbv2rus created T1707: DHCP static mapping and exclude address not working.
Oct 1 2019, 10:54 PM · VyOS 1.2 Crux (VyOS 1.2.4)
hagbard added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

FYI: https://git.zx2c4.com/wg-dynamic/about/docs/idea.md

Oct 1 2019, 3:37 PM · Rejected
c-po added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

The Linux kernel has embedded name resolution, maybe this can be added to WireGuard itself. Its better then we design a patch for it.

Oct 1 2019, 3:37 PM · Rejected
hagbard added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

reverted the commit. I'm not sure if a daemon would be a good idea. Another option is to allow only IP's entered via cli or checking the name whenever wg is executed, resolve the name and send it to hostd to get it written to /etc/host. That would solve at least the issue at reboot and in most cases the correct IP should be in /etc/hosts.

Oct 1 2019, 3:29 PM · Rejected
runar added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

@kroy just to be clear, i'm not against using dns as endpoint for wireguard.. i'm for it, because i have the same issue as you do, but what i'm against is the way to getting there. As the wireguard protocol does not support dns in it self using this method is a loosing game.. what i'm not against is writing a daemon that does the name resolution for you when it comes available.. and available could mean after 1sec, 1m, 1h or even longer after the system is booted.. this daemon also could do re-resolving when the peer is down and the dns has changed...

Oct 1 2019, 2:48 PM · Rejected
kroy added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

This is going to become more and more of a problem as wireguard adoption continues. Most major Wireguard VPN services provide a FQDN as their endpoint, not IP:

Oct 1 2019, 1:58 PM · Rejected
runar added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

As for openvpn i dont know, but if the app itself does dns queries on connect it will work quite fint (as i think it does)

Oct 1 2019, 6:54 AM · Rejected
runar added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

As i tried to say, this fix will only work in some scenarios, and this comes down to the implementation of the app were configuring. And to be clear, wireguard does NOT support dns, but the wg config utillity does. On execution time it reads the dns name and tries to resolve it once, and only once. When it fails things would not work.. this is the same with eg. Nhrp that works exactly the same.. using this has raise conditions with getting ip up and running and not only on the host file. We do not wait for dhcp to delegate an address or dns servers.. these could come many ms/sec after wireguard is configured.. this is even true in the case when you change the priority.. and the length of the config/execution time also comes in as an parameter in this raise condition.. so, if you ask me, revert the priority and instead create a dns daemon thing that could read the config and populate the entry when it has failed.

Oct 1 2019, 6:53 AM · Rejected
c-po added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

Shouldn‘t OpenVPN have a similar problem?

Oct 1 2019, 6:28 AM · Rejected
kroy added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

This should be reverted, as the change is breaking. After more testing, I found some problems due to things like static routing being applied before wireguard now. So the wireguard tunnel works, but in some cases any routing that shouldbe going over the tunnel does not work.

Oct 1 2019, 1:20 AM · Rejected

Sep 30 2019

hagbard added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

http://dev.packages.vyos.net/repositories/current/vyos/pool/main/v/vyos-1x/vyos-1x_1.3.0-16_all.deb or next rolling release should fix the issue.

Sep 30 2019, 10:20 PM · Rejected
hagbard moved T1700: Wireguard FQDN endpoint doesn't work after reboot from Need Triage to In Progress on the VyOS 1.3 Equuleus board.
Sep 30 2019, 10:18 PM · Rejected
hagbard changed the status of T1700: Wireguard FQDN endpoint doesn't work after reboot from Open to Needs testing.
Sep 30 2019, 10:18 PM · Rejected
hagbard triaged T1700: Wireguard FQDN endpoint doesn't work after reboot as Normal priority.
Sep 30 2019, 10:18 PM · Rejected
hagbard claimed T1700: Wireguard FQDN endpoint doesn't work after reboot.
Sep 30 2019, 10:14 PM · Rejected
kroy added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

Yep. Changing the priority fixes the issue completely

Sep 30 2019, 9:55 PM · Rejected
hagbard added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

@kroy You can quickly test it via setting Priority to 999 in /opt/vyatta/share/vyatta-cfg/templates/interfaces/wireguard/node.def. It's currently 459. Let me know your results, please.

Sep 30 2019, 9:30 PM · Rejected
kroy added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

@runar This isn't a routing issue though.

Sep 30 2019, 8:31 PM · Rejected
runar added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

Changing the priority will only change a portion of this. It.. could fix the situation there the user have static ip and a default route, but will not give effect when the user has dhcp or uses bgp el.. so my wote goes to not changing priorities on this. This is a loosing race as long as we dont have a daemon el. That manages the connections..

Sep 30 2019, 5:44 PM · Rejected
c-po added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

Could we raise WireGuard Priority to 999? So it is launched very late?

Sep 30 2019, 5:21 PM · Rejected
hagbard added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

There is not really an up or down, there is only a verified handshake and the transferred bytes. If you haven't sent and received anything, the interface is in 'unknown' state in terms of wireguard, even if it's 'up' if you look via iproute2. All can could do it checking if the endpoint resolves and if it does, send a packet and see if the handshake completes.

Sep 30 2019, 5:06 PM · Rejected
kroy added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

Changing when the tunnel comes up isn’t an option? For whatever reason the tunnel comes up before DNS resolution works. Using a hostname when the system is running works perfectly

Sep 30 2019, 4:22 PM · Rejected
hagbard added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

yes, you need to be either able to resolve your endpoints name or have it in /etc/hosts mapped. The name is being resolved (or tried) when the wg command configures the tunnel. There is unfortunately not too much I can do against, unless implementing a probe service or something like that ( could be as simple as ping).

Sep 30 2019, 3:01 PM · Rejected

Sep 29 2019

Unknown Object (User) changed the status of T1701: Delete domain-name and domain-search won't work from Open to In progress.
Sep 29 2019, 10:19 PM · VyOS 1.2 Crux (VyOS 1.2.4)
Unknown Object (User) added a comment to T1701: Delete domain-name and domain-search won't work.

PR #142

Sep 29 2019, 10:19 PM · VyOS 1.2 Crux (VyOS 1.2.4)
Unknown Object (User) created T1701: Delete domain-name and domain-search won't work.
Sep 29 2019, 10:15 PM · VyOS 1.2 Crux (VyOS 1.2.4)
kroy added a comment to T1700: Wireguard FQDN endpoint doesn't work after reboot.

Guess? Wireguard coming up before vyos-hostsd?

Sep 29 2019, 8:12 PM · Rejected
kroy created T1700: Wireguard FQDN endpoint doesn't work after reboot.
Sep 29 2019, 8:03 PM · Rejected
kroy added a comment to T1697: Configurable FQDN at vbash prompt.
Sep 29 2019, 7:55 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a comment to T1697: Configurable FQDN at vbash prompt.

\h is the short hostname, I thought we want to have the full one (\H)

Sep 29 2019, 4:00 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) added a comment to T1697: Configurable FQDN at vbash prompt.

Sorry for duplicate, after T1531 seems this feature broken.
Proposed solution: change for vbash PS1='${debian_chroot:+($debian_chroot)}\u@\H:\w\$ ' to PS1='${debian_chroot:+($debian_chroot)}\u@$(hostname -f):\w\$ '

Sep 29 2019, 12:39 PM · VyOS 1.3 Equuleus (1.3.0)

Sep 28 2019

c-po added a comment to T1697: Configurable FQDN at vbash prompt.

Duplicate of T1310. It worked in 1.2.2 but its not working as expected in 1.2.3 after using vyos-hostsd

Sep 28 2019, 6:27 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) created T1697: Configurable FQDN at vbash prompt.
Sep 28 2019, 6:21 PM · VyOS 1.3 Equuleus (1.3.0)

Sep 27 2019

phoenix updated the task description for T1694: NTPd: Do not listen on all interfaces by default.
Sep 27 2019, 11:14 AM · VyOS 1.2 Crux (VyOS 1.2.4)
phoenix created T1694: NTPd: Do not listen on all interfaces by default.
Sep 27 2019, 11:02 AM · VyOS 1.2 Crux (VyOS 1.2.4)
DWilly92 created T1693: DNS Forwarding Services not responding with Allow-From.
Sep 27 2019, 2:26 AM · VyOS 1.3 Equuleus (1.3.0)

Sep 26 2019

Woodster1975 closed T1687: Compare function producing error as Resolved.

I have rebuilt the router and this appears to be working as expected now. Marking as resolved.

Sep 26 2019, 9:10 AM · Invalid
Woodster1975 created T1687: Compare function producing error.
Sep 26 2019, 8:51 AM · Invalid

Sep 24 2019

Unknown Object (User) added a comment to T1678: hostfile-update missing line feed.

PR https://github.com/vyos/vyos-1x/pull/137, using vyos-hostsd-client instead of typical adding record to /etc/hosts

Sep 24 2019, 5:03 PM · VyOS 1.2 Crux (VyOS 1.2.4)
Unknown Object (User) claimed T1678: hostfile-update missing line feed.
Sep 24 2019, 4:09 PM · VyOS 1.2 Crux (VyOS 1.2.4)

Sep 23 2019

maznu added a comment to T1679: during bootup: invalid literal for int() with base 10.

Symptoms which cause no configuration of the device after booting into 1.2:

Sep 23 2019, 3:01 PM · VyOS 1.3 Equuleus (1.3.0)
maznu added a comment to T1679: during bootup: invalid literal for int() with base 10.

PR to fix this: https://github.com/vyos/vyos-1x/pull/136

Sep 23 2019, 3:00 PM · VyOS 1.3 Equuleus (1.3.0)
maznu created T1679: during bootup: invalid literal for int() with base 10.
Sep 23 2019, 2:56 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) edited a custom field on T1678: hostfile-update missing line feed.
Sep 23 2019, 2:49 PM · VyOS 1.2 Crux (VyOS 1.2.4)
Unknown Object (User) added a comment to T1678: hostfile-update missing line feed.

Also exist additional issue, if we add system static host-mapping all dhcp records will be erased.

Sep 23 2019, 2:48 PM · VyOS 1.2 Crux (VyOS 1.2.4)
Unknown Object (User) created T1678: hostfile-update missing line feed.
Sep 23 2019, 2:03 PM · VyOS 1.2 Crux (VyOS 1.2.4)

Sep 21 2019

c-po added a comment to T1675: OpenVPN - Specify minimum TLS version.

Thanks for the contribution, Please use VyOS 1.3 tag as this won't be backported to crux easily

Sep 21 2019, 8:06 AM · VyOS 1.3 Equuleus (1.3.0)
vindenesen closed T1675: OpenVPN - Specify minimum TLS version as Resolved.
Sep 21 2019, 5:44 AM · VyOS 1.3 Equuleus (1.3.0)