Page MenuHomeVyOS Platform
Feed All Stories

Oct 19 2020

c-po added a comment to T2969: OpenVPN: command_set on interface is not applied, if interface doesn't come up in commit.

There have been some deletion errors yesterday - are you running the latest rolling release? They should have been fixed in there. If noe please provide me some CLI samples to reproduce the issue.

Oct 19 2020, 10:39 AM · VyOS 1.3 Equuleus (1.3.0)
Viacheslav added a comment to T2987: VxLAN not working properly after upgrading to latest October build and with a new installation.

Check out the October versions on both sides.

Oct 19 2020, 10:17 AM · VyOS 1.3 Equuleus (1.3.0)
Magnum reopened T2969: OpenVPN: command_set on interface is not applied, if interface doesn't come up in commit, a subtask of T1579: Rewrite all interface types in new XML/Python style, as In progress.
Oct 19 2020, 10:16 AM · VyOS 1.3 Equuleus (1.3.0)
Magnum reopened T2969: OpenVPN: command_set on interface is not applied, if interface doesn't come up in commit as "In progress".

I spoke to soon.
The interfaces are very persistant now - when you delete the vtun interface it doesn't get taken down!

Oct 19 2020, 10:16 AM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T2995: Enhancements/bugfixes for vyos_dict_search() from Open to In progress.
Oct 19 2020, 10:05 AM · VyOS 1.3 Equuleus (1.3.0)
c-po updated the task description for T2995: Enhancements/bugfixes for vyos_dict_search().
Oct 19 2020, 10:04 AM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) created T2996: Checking digital signature failed on downgrade from rolling to stable..
Oct 19 2020, 10:01 AM · VyOS 1.3 Equuleus (1.3.5)
c-po created T2995: Enhancements/bugfixes for vyos_dict_search().
Oct 19 2020, 10:01 AM · VyOS 1.3 Equuleus (1.3.0)
c-po renamed T2969: OpenVPN: command_set on interface is not applied, if interface doesn't come up in commit from command_set on interface is not applied, if interface doesn't come up in commit to OpenVPN: command_set on interface is not applied, if interface doesn't come up in commit.
Oct 19 2020, 9:02 AM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2969: OpenVPN: command_set on interface is not applied, if interface doesn't come up in commit, a subtask of T1579: Rewrite all interface types in new XML/Python style, as Resolved.
Oct 19 2020, 9:01 AM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2969: OpenVPN: command_set on interface is not applied, if interface doesn't come up in commit as Resolved.
Oct 19 2020, 9:01 AM · VyOS 1.3 Equuleus (1.3.0)
Magnum added a comment to T2969: OpenVPN: command_set on interface is not applied, if interface doesn't come up in commit.

Tested in my lab and it works both during creation and reboot.

Oct 19 2020, 8:57 AM · VyOS 1.3 Equuleus (1.3.0)

Oct 18 2020

Cheeze_It added a comment to T2989: MPLS documentation expansion.

Submitted PR

Oct 18 2020, 10:11 PM · VyOS 1.3 Equuleus (1.3.0)
trae32566 closed T2965: Brief BFD Peer Info as Resolved.
Oct 18 2020, 9:45 PM · VyOS 1.3 Equuleus (1.3.0)
trae32566 added a comment to T2965: Brief BFD Peer Info.

Works for me!

trae@cr01b-vyos:~$ show protocols bfd peers
Session count: 11
SessionId  LocalAddress                             PeerAddress                             Status         
=========  ============                             ===========                             ======         
3776760774 192.168.253.3                            192.168.253.7                           up             
1851352402 fd52:d62e:8011:fffe:192:168:253:3        fd52:d62e:8011:fffe:192:168:253:6       up             
3344115206 192.168.253.3                            192.168.253.2                           down           
1252680903 fd52:d62e:8011:fffe:192:168:253:3        fd52:d62e:8011:fffe:192:168:253:2       down           
3664188082 192.168.253.3                            192.168.253.6                           up             
2809207409 fd52:d62e:8011:fffe:192:168:253:3        fd52:d62e:8011:fffe:192:168:253:1       up             
2086113021 192.168.253.3                            192.168.253.12                          up             
1362288442 unknown                                  fd52:d62e:8011:fffe:192:168:253:12      down           
3846665654 fd52:d62e:8011:fffe:192:168:253:3        fd52:d62e:8011:fffe:192:168:253:7       up             
276439511  fd52:d62e:8011:fffe:192:168:253:3        fd52:d62e:8011:fffe:192:168:253:12      down           
1342044518 192.168.253.3                            192.168.253.1                           up
Oct 18 2020, 9:43 PM · VyOS 1.3 Equuleus (1.3.0)
GitHub <noreply@github.com> committed rVYOSONEX85cc735b05be: README: update folder structure and tests (authored by c-po).
Oct 18 2020, 7:58 PM
c-po committed rVYOSONEX18607487ad05: smoketest: openvpn: add server (P-t-MP) and site2site testcases.
Oct 18 2020, 7:35 PM
c-po committed rVYOSONEXb67bf3f77d1e: openvpn: T2969: ensure interface is always removed.
Oct 18 2020, 7:35 PM
Magnum added a comment to T2969: OpenVPN: command_set on interface is not applied, if interface doesn't come up in commit.

Well spotted - i hadn't seen that option before.
I'll give it a go and see how it runs.

Oct 18 2020, 6:32 PM · VyOS 1.3 Equuleus (1.3.0)
jack9603301 added a comment to T973: Create Prometheus Exporter for VyOS .

I agree. Therefore, if someone understands the code structure of FRR, we can modify the implementation from within FRR according to Prometheus protocol framework, implement the exporter integration, and then generate a patch file. Set the automatic compilation script and automatically package it into DEB

Oct 18 2020, 6:25 PM · VyOS Rolling, VyOS 1.5 Circinus
superq added a comment to T973: Create Prometheus Exporter for VyOS .

The best possible solution would be for FRR to support Prometheus directly, rather than require an exporter.

Oct 18 2020, 6:10 PM · VyOS Rolling, VyOS 1.5 Circinus
c-po updated the task description for T2994: Migrate OpenVPN interfaces to get_config_dict() syntax.
Oct 18 2020, 6:00 PM · VyOS 1.3 Equuleus (1.3.0)
c-po updated the task description for T2994: Migrate OpenVPN interfaces to get_config_dict() syntax.
Oct 18 2020, 6:00 PM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T2994: Migrate OpenVPN interfaces to get_config_dict() syntax from Open to In progress.
Oct 18 2020, 4:38 PM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T2994: Migrate OpenVPN interfaces to get_config_dict() syntax, a subtask of T2653: "set interfaces" Python handler code improvements - next iteration, from Open to In progress.
Oct 18 2020, 4:38 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2994: Migrate OpenVPN interfaces to get_config_dict() syntax.
Oct 18 2020, 4:38 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a subtask for T1579: Rewrite all interface types in new XML/Python style: T2653: "set interfaces" Python handler code improvements - next iteration.
Oct 18 2020, 4:37 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a parent task for T2653: "set interfaces" Python handler code improvements - next iteration: T1579: Rewrite all interface types in new XML/Python style.
Oct 18 2020, 4:37 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a subtask for T1579: Rewrite all interface types in new XML/Python style: T2969: OpenVPN: command_set on interface is not applied, if interface doesn't come up in commit.
Oct 18 2020, 4:37 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a parent task for T2969: OpenVPN: command_set on interface is not applied, if interface doesn't come up in commit: T1579: Rewrite all interface types in new XML/Python style.
Oct 18 2020, 4:37 PM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T2969: OpenVPN: command_set on interface is not applied, if interface doesn't come up in commit from In progress to Needs testing.
Oct 18 2020, 4:16 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEX029f9839c213: openvpn: T2969: force creation of tunnel interfaces.
Oct 18 2020, 4:15 PM
c-po added a comment to T2969: OpenVPN: command_set on interface is not applied, if interface doesn't come up in commit.

It seems that calling openvpn --mktun is what we need. Please try the next rolling ISO which will contain a fix for this.

Oct 18 2020, 4:03 PM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T2969: OpenVPN: command_set on interface is not applied, if interface doesn't come up in commit from Open to In progress.
Oct 18 2020, 3:58 PM · VyOS 1.3 Equuleus (1.3.0)
jack9603301 added a comment to T973: Create Prometheus Exporter for VyOS .

It is true, but I just want to record it to avoid forgetting that another solution is to redevelop FRR and promote it in parallel with the official version of FRR (in other words, we can patch FRR or maintain a branch separately, then compile a version of our own, and get the indication directly from its code, but this work needs someone to do.)

Oct 18 2020, 3:57 PM · VyOS Rolling, VyOS 1.5 Circinus
superq added a comment to T973: Create Prometheus Exporter for VyOS .

Timeouts and SIGKILL don't always work. If process is stuck on IO, it will not exit.

Oct 18 2020, 3:53 PM · VyOS Rolling, VyOS 1.5 Circinus
jack9603301 added a comment to T973: Create Prometheus Exporter for VyOS .

I think I understand what you mean. Don't worry. I'm also a user of Prometheus. I know how Prometheus works.

Oct 18 2020, 3:51 PM · VyOS Rolling, VyOS 1.5 Circinus
c-po updated the task description for T2992: Automatically verify sha256 checksum on ISO download.
Oct 18 2020, 3:49 PM · VyOS 1.3 Equuleus (1.3.0)
c-po updated the task description for T2992: Automatically verify sha256 checksum on ISO download.
Oct 18 2020, 3:49 PM · VyOS 1.3 Equuleus (1.3.0)
superq added a comment to T973: Create Prometheus Exporter for VyOS .

I'm not sure you understand how this works.

Oct 18 2020, 3:45 PM · VyOS Rolling, VyOS 1.5 Circinus
c-po updated the task description for T2992: Automatically verify sha256 checksum on ISO download.
Oct 18 2020, 3:43 PM · VyOS 1.3 Equuleus (1.3.0)
jack9603301 added a comment to T973: Create Prometheus Exporter for VyOS .

Most of Prometheus data is generated from the exporter. It is not collected and pushed in real time. When Prometheus queries, it can query relevant indications through the port exposed by the exporter. Therefore, I don't think it is possible to create thousands of sub processes/threads. What do you think?

Oct 18 2020, 3:30 PM · VyOS Rolling, VyOS 1.5 Circinus
GitHub <noreply@github.com> committed rVYOSONEXb3e486604c46: Merge pull request #578 from bmhughes/fix-show-lldp-neighbors (authored by dmbaturin).
Oct 18 2020, 3:26 PM
superq added a comment to T973: Create Prometheus Exporter for VyOS .

No, that's not the problem. The exporter itself could potentially create thousands of sub processes if something were to go wrong.

Oct 18 2020, 3:26 PM · VyOS Rolling, VyOS 1.5 Circinus
bmhughes added a comment to T2993: op-mode: lldp: show lldp neighbors - AttributeError: 'str' object has no attribute 'items'.

Fixup PR: https://github.com/vyos/vyos-1x/pull/578

Oct 18 2020, 3:21 PM · VyOS 1.3 Equuleus (1.3.0)
Magnum added a comment to T2969: OpenVPN: command_set on interface is not applied, if interface doesn't come up in commit.

I know, that my specific problem is related to OpenVPN, but are you saying, that this is only relevant for OpenVPN and it's not going to impact other interfaces?

Oct 18 2020, 3:13 PM · VyOS 1.3 Equuleus (1.3.0)
bmhughes changed the status of T2993: op-mode: lldp: show lldp neighbors - AttributeError: 'str' object has no attribute 'items' from Open to Needs testing.
Oct 18 2020, 2:54 PM · VyOS 1.3 Equuleus (1.3.0)
GitHub <noreply@github.com> committed rVYOSONEX8ae0935d6b8a: Merge pull request #577 from bmhughes/fix-show-lldp-neighbors (authored by dmbaturin).
Oct 18 2020, 2:52 PM
bmhughes claimed T2993: op-mode: lldp: show lldp neighbors - AttributeError: 'str' object has no attribute 'items'.

PR: https://github.com/vyos/vyos-1x/pull/577

Oct 18 2020, 2:40 PM · VyOS 1.3 Equuleus (1.3.0)
bmhughes created T2993: op-mode: lldp: show lldp neighbors - AttributeError: 'str' object has no attribute 'items'.
Oct 18 2020, 2:39 PM · VyOS 1.3 Equuleus (1.3.0)
jack9603301 added a comment to T766: Implement support for the Tinc VPN daemon.

@runar Some interesting commands, such as tinc - n netname join URL, seem to be supported in tinc1.1

Oct 18 2020, 2:37 PM
jack9603301 added a comment to T973: Create Prometheus Exporter for VyOS .

The frr_exporter linked uses os/exec to run an external binray, /usr/bin/vtysh. This is not a great way to build an exporter, as it can lead to a fork bomb. There is also the overhead of calling the external binary to gather data.

Oct 18 2020, 2:27 PM · VyOS Rolling, VyOS 1.5 Circinus
superq added a comment to T973: Create Prometheus Exporter for VyOS .

The frr_exporter linked uses os/exec to run an external binray, /usr/bin/vtysh. This is not a great way to build an exporter, as it can lead to a fork bomb. There is also the overhead of calling the external binary to gather data.

Oct 18 2020, 2:15 PM · VyOS Rolling, VyOS 1.5 Circinus
jack9603301 added a comment to T766: Implement support for the Tinc VPN daemon.

Tinc 1.1 supports rereading a lot of the configuration without resetarting the daemon, i've compiled a version of 1.1 for you from the debian salsa repository: https://salsa.debian.org/guus/tinc/-/tree/1.1/debian (this is whats available in the experimental debian branch) the deb is available her for now: https://borge.nu/vyos/tinc_1.1~pre17-1.1_amd64.deb. just put it in the packages directory when you're generating the iso or dpkg -i it into a image that have tinc-1.0 allready.

Oct 18 2020, 1:59 PM
runar added a comment to T766: Implement support for the Tinc VPN daemon.

What information do you need access to from within op-mode?

Since restarting tinc requires resetting the interface, it means that you may need to get all the configuration information to call the update function settings of the interface class

Oct 18 2020, 1:53 PM
jack9603301 added a comment to T973: Create Prometheus Exporter for VyOS .

Do you know of a version of that FRR exporter that doesn't fork sub processes?

Oct 18 2020, 1:41 PM · VyOS Rolling, VyOS 1.5 Circinus
superq added a comment to T973: Create Prometheus Exporter for VyOS .

@jack9603301 Do you know of a version of that FRR exporter that doesn't fork sub processes?

Oct 18 2020, 1:37 PM · VyOS Rolling, VyOS 1.5 Circinus
jack9603301 added a comment to T766: Implement support for the Tinc VPN daemon.

What information do you need access to from within op-mode?

Oct 18 2020, 1:35 PM
runar added a comment to T766: Implement support for the Tinc VPN daemon.

I hope to implement an operation mode command, but too many interface parameters are generated according to the configuration in the interface. I don't know how to call these existing configurations. Can I call the user's configuration information through config in operation mode?

It seems that we need to think about it now

Oct 18 2020, 1:32 PM
runar added a comment to T766: Implement support for the Tinc VPN daemon.

You can pull the host configuration in operation mode using the following command:

generate tinc tincN host-conf <user@service:/path>

Oct 18 2020, 1:30 PM
c-po closed T2985: Add glue code to create bridge interface on demand, a subtask of T2653: "set interfaces" Python handler code improvements - next iteration, as Resolved.
Oct 18 2020, 1:30 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2985: Add glue code to create bridge interface on demand as Resolved.
Oct 18 2020, 1:30 PM · VyOS 1.3 Equuleus (1.3.0)
jack9603301 added a comment to T766: Implement support for the Tinc VPN daemon.

I hope to implement an operation mode command, but too many interface parameters are generated according to the configuration in the interface. I don't know how to call these existing configurations. Can I call the user's configuration information through config in operation mode?

Oct 18 2020, 1:28 PM
runar added a comment to T766: Implement support for the Tinc VPN daemon.

Note: my test found that when the server is in switch mode, the client cannot Ping to the peer in routing mode (more tests may be needed)

Oct 18 2020, 1:26 PM
c-po changed the status of T2992: Automatically verify sha256 checksum on ISO download from Open to In progress.
Oct 18 2020, 12:53 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2992: Automatically verify sha256 checksum on ISO download.
Oct 18 2020, 12:53 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEX6bd976a0ac33: smoketest: openvpn: add initial client test.
Oct 18 2020, 12:36 PM
c-po committed rVYOSONEX0224fd7b8f59: smoketest: sstp: remove unused variable.
Oct 18 2020, 12:36 PM
jack9603301 added a comment to T973: Create Prometheus Exporter for VyOS .

To prevent forgetting, write the address of the exporter to task

Oct 18 2020, 11:53 AM · VyOS Rolling, VyOS 1.5 Circinus
c-po added a comment to T2969: OpenVPN: command_set on interface is not applied, if interface doesn't come up in commit.

The root cause of this problem is that OpenVPN when the deamon is started and in tries to connect to the server, yet did not create the vtun11 interface on the system. Thus all calls to the ifconfig python library will fail big time.

Oct 18 2020, 10:16 AM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2907: OpenVPN: Option to disable encryption as Resolved.
Oct 18 2020, 10:03 AM · VyOS 1.3 Equuleus (1.3.0), openvpn
jack9603301 added a comment to T766: Implement support for the Tinc VPN daemon.

I updated pr. so far, tinc VPN cli will automatically generate the local node key file, such as the following code:

Oct 18 2020, 9:53 AM
c-po committed rVYOSONEXd2cc59cfc7c7: ifconfig: T2985: remove no longer available vyos.ifconfig.stp include.
Oct 18 2020, 8:24 AM
jack9603301 added a comment to T160: Support NAT64.

Isn't anyone implementing this feature right now?

Oct 18 2020, 4:35 AM · VyOS 1.4 Sagitta (1.4.0-epa1)

Oct 17 2020

c-po committed rVYOSONEXb90041af38c1: smoketest: add IPv6 option tests to BasicInterfaceTest.
Oct 17 2020, 8:55 PM
c-po committed rVYOSONEXb5ef10cfeb83: ifconfig: T2985: support on demand bridge creation.
Oct 17 2020, 8:55 PM
c-po committed rVYOSONEX183130bcfa3c: Merge branch 'bridge' of github.com:c-po/vyos-1x into current.
Oct 17 2020, 8:55 PM
c-po changed the status of T2985: Add glue code to create bridge interface on demand, a subtask of T2653: "set interfaces" Python handler code improvements - next iteration, from In progress to Needs testing.
Oct 17 2020, 8:55 PM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T2985: Add glue code to create bridge interface on demand from In progress to Needs testing.
Oct 17 2020, 8:55 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEX1353c0064697: geneve: T1799: add IPv6 CLI options.
Oct 17 2020, 8:55 PM
c-po committed rVYOSONEX84ce69a46882: op-mode: add "show arp" command.
Oct 17 2020, 8:55 PM
c-po closed T2980: FRR bfdd crash due to invalid length as Resolved.
Oct 17 2020, 8:42 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2990: Update Linux Kernel to v4.19.152 as Resolved.
Oct 17 2020, 8:38 PM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T2990: Update Linux Kernel to v4.19.152 from Open to In progress.
Oct 17 2020, 8:35 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2991: Update WireGuard to 1.0.20200908, a subtask of T2990: Update Linux Kernel to v4.19.152, as Resolved.
Oct 17 2020, 8:34 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2991: Update WireGuard to 1.0.20200908 as Resolved.
Oct 17 2020, 8:34 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2991: Update WireGuard to 1.0.20200908.
Oct 17 2020, 8:34 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2990: Update Linux Kernel to v4.19.152.
Oct 17 2020, 8:34 PM · VyOS 1.3 Equuleus (1.3.0)
Cheeze_It changed the status of T2989: MPLS documentation expansion from Open to In progress.
Oct 17 2020, 7:28 PM · VyOS 1.3 Equuleus (1.3.0)
rherold created T2988: ip source validation not working for ipv6 aka move it to netfilter.
Oct 17 2020, 7:10 PM · VyOS 1.2 Crux
tom.siewert added a comment to T2987: VxLAN not working properly after upgrading to latest October build and with a new installation.

My last comment was wrong, here are the outputs for bridge fdb show dev vxlan122:

Oct 17 2020, 6:08 PM · VyOS 1.3 Equuleus (1.3.0)
tom.siewert added a comment to T2987: VxLAN not working properly after upgrading to latest October build and with a new installation.
Oct 17 2020, 5:58 PM · VyOS 1.3 Equuleus (1.3.0)
Viacheslav added a comment to T2987: VxLAN not working properly after upgrading to latest October build and with a new installation.

I can't reproduce it with VyOS 1.3-rolling-202010170146 and other october releases

Oct 17 2020, 4:27 PM · VyOS 1.3 Equuleus (1.3.0)
tom.siewert added a comment to T2987: VxLAN not working properly after upgrading to latest October build and with a new installation.

source-interface cannot be used as the routers are not in the same multicast group, neither can communicate via multicast

Oct 17 2020, 4:23 PM · VyOS 1.3 Equuleus (1.3.0)
Viacheslav added a comment to T2987: VxLAN not working properly after upgrading to latest October build and with a new installation.
Oct 17 2020, 4:20 PM · VyOS 1.3 Equuleus (1.3.0)
tom.siewert added a comment to T2987: VxLAN not working properly after upgrading to latest October build and with a new installation.

@tom.siewert
What will be if you delete the source-address on "October" node?

Oct 17 2020, 4:19 PM · VyOS 1.3 Equuleus (1.3.0)
Viacheslav added a comment to T2987: VxLAN not working properly after upgrading to latest October build and with a new installation.

@tom.siewert
What will be if you delete the source-address on "October" node?

Oct 17 2020, 4:08 PM · VyOS 1.3 Equuleus (1.3.0)
tom.siewert created T2987: VxLAN not working properly after upgrading to latest October build and with a new installation.
Oct 17 2020, 3:20 PM · VyOS 1.3 Equuleus (1.3.0)
GitHub <noreply@github.com> committed rVYOSONEX60109764cc18: Merge pull request #576 from sever-sever/T752 (authored by c-po).
Oct 17 2020, 3:17 PM
UnicronNL changed the status of T2834: Config rollback function is broken due lack access to the config.boot from Confirmed to Needs testing.
Oct 17 2020, 1:27 PM · Restricted Project