Page MenuHomeVyOS Platform
Feed All Stories

Apr 11 2020

c-po committed rVYOSONEX7f648cb2348e: vpn: sstp: T2008: bugfix KeyError 'client_gateway'.
Apr 11 2020, 5:14 PM
c-po committed rVYOSONEX2928a338dee7: vpn: l2tp: T2264: proper set PPP default values to ease Jinja2 template.
Apr 11 2020, 5:14 PM
c-po committed rVYOSONEXbecda904d1c4: vpn: l2tp: T2264: remove debug pprint.
Apr 11 2020, 5:14 PM
c-po committed rVYOSONEX9e07ddb150fb: vpn: l2tp: T2264: remove RADIUS req-limit node.
Apr 11 2020, 5:14 PM
c-po committed rVYOSONEX20da27d779ad: vpn: l2tp: T2110: re-use RADIUS XML include file.
Apr 11 2020, 5:14 PM
c-po committed rVYOSONEX033062f56be9: vpn: l2tp: T2264: migrate to new dictionary keys for radius auth.
Apr 11 2020, 5:14 PM
c-po committed rVYOSONEX0dd75963e82d: vpn: l2tp: T2264: use "with open()" when writing config.
Apr 11 2020, 5:14 PM
c-po closed T2264: l2tp: cleanup CLI definition as Resolved.
Apr 11 2020, 5:14 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEX02b4c640c8c0: vpn: sstp: T2008: set accell default values in config dict.
Apr 11 2020, 5:14 PM
c-po committed rVYOSONEX762d36d5b71d: vpn: l2tp: T2264: migrate to new dictionary keys for local auth.
Apr 11 2020, 5:14 PM
c-po committed rVYOSONEX539326509286: vpn: sstp: T2008: improve error message for non existent local-users.
Apr 11 2020, 5:14 PM
c-po committed rVYOSONEXc39968861c97: vpn: l2tp: T2264: cleanup thread_cnt generation.
Apr 11 2020, 5:14 PM
c-po committed rVYOSONEXa533ca621567: vpn: l2tp: T2264: combine WINS CLI syntax.
Apr 11 2020, 5:14 PM
c-po committed rVYOSONEXf21719e65a72: vpn: sstp: T2008: cleanup thread_cnt generation.
Apr 11 2020, 5:14 PM
c-po committed rVYOSONEX6a2e75dbe400: vpn: l2tp: T2264: combine IPv4/IPv6 name-server CLI syntax.
Apr 11 2020, 5:14 PM
c-po committed rVYOSONEXc2ae1ca3be86: vpn: sstp: T2008: adjust DNS error message.
Apr 11 2020, 5:14 PM
c-po committed rVYOSONEX0adecf6c79c0: vpn: l2tp: T2264: comment cleanup on chk_con().
Apr 11 2020, 5:14 PM
c-po committed rVYOSONEX5a1a4bb5ac2d: vpn: l2tp: T2264: introduce common config base.
Apr 11 2020, 5:14 PM
c-po committed rVYOSONEX3217abf03938: vpn: l2tp: T2264: use default_config_data dict.
Apr 11 2020, 5:14 PM
c-po committed rVYOSONEX87151df4aabc: vpn: l2tp: T2264: import cleanup.
Apr 11 2020, 5:14 PM
c-po committed rVYOSONEXf35cf88ec4c6: vpn: l2tp: T2264: rename files to match CLI levels.
Apr 11 2020, 5:14 PM
runar added a subtask for T2175: Rewriting all FRR processes allow for reloading and to XML/Python style: T2271: OSPF: add per VRF instance support.
Apr 11 2020, 5:10 PM
runar added a parent task for T2271: OSPF: add per VRF instance support: T2175: Rewriting all FRR processes allow for reloading and to XML/Python style.
Apr 11 2020, 5:10 PM · VyOS 1.3 Equuleus (1.3.0)
alainlamar added a comment to T2213: vyos-1x: WiFi mode ieee80211ac should also activate ieee80211n.

Pull request: https://github.com/vyos/vyos-1x/pull/330

Apr 11 2020, 5:07 PM · VyOS 1.3 Equuleus (1.3.0)
daniil renamed T2271: OSPF: add per VRF instance support from VyOS 1.3 Equuleus to OSPF: add VRF support.
Apr 11 2020, 5:07 PM · VyOS 1.3 Equuleus (1.3.0)
daniil created T2271: OSPF: add per VRF instance support.
Apr 11 2020, 5:06 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2270: using load with scp/sftp and a username and password does not work.

True, it doesn't currently work; that patch has various problems.

Apr 11 2020, 4:52 PM · VyOS 1.3 Equuleus (1.3.0)
alainlamar closed T2233: Typos in wlanX.cfg as Resolved.
Apr 11 2020, 3:17 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2253: Fix use of cmd in merge config and remote function helpers.
fingerprint = cmd(fingerprint_cmd, shell=True, stderr=DEVNULL)

I have converted this to

fingerprint = cmd(fingerprint_cmd,  stderr=DEVNULL, input=input=host_key)
Apr 11 2020, 2:01 PM · VyOS 1.3 Equuleus (1.3.0)
GitHub <noreply@github.com> committed rVYOSONEXc27f13ab459e: Merge pull request #326 from thomas-mangin/T2265 (authored by c-po).
Apr 11 2020, 1:33 PM
thomas-mangin claimed T2223: convert operational show interfaces to python/XML.
Apr 11 2020, 1:20 PM · VyOS 1.3 Equuleus (1.3.6)
thomas-mangin added a comment to T2186: Provide more information to the user when a traceback is reported to the user.

ok will add the feature once the current set of patch waiting approval are in to not have to deal with rebasing etc :-)

Apr 11 2020, 12:20 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2265: DHCP to be an attribute of the class instead of a inheritance.

The works also include the migration of template to separate files as per T2230

Apr 11 2020, 12:18 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2186: Provide more information to the user when a traceback is reported to the user.

Yes, that would be useful, for example conf_mode scripts could print warnings that would go to the syslog when the config is applied on boot. Other scripts output is seen by the user anyway so I don't see a use elsewhere.

Apr 11 2020, 12:15 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2186: Provide more information to the user when a traceback is reported to the user.

It will not intercept what is printed by executed programs. I could add an option for the functions to have stderr intercepted and printed by VyOS (causing program errors to go to logs)

Apr 11 2020, 11:19 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2186: Provide more information to the user when a traceback is reported to the user.

Oh, nice!

Apr 11 2020, 11:00 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2186: Provide more information to the user when a traceback is reported to the user.

Everything sent to stderr will both go to the screen and syslog.
If you raise it auto-magically format the raised exception to the user (the traceback is sent to stderr and thefore goes to syslog)

Apr 11 2020, 10:52 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2186: Provide more information to the user when a traceback is reported to the user.

How do we use this new "airbag.py" for on-demand logging from scripts? For example if I want to print a warning when executing a conf_mode script that should go both to stderr and to a file, but is not a fatal exception?

Apr 11 2020, 10:40 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2268: DHCPv6 is broken.
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 08:00:27:d9:5b:04 brd ff:ff:ff:ff:ff:ff
    inet 10.0.2.15/24 brd 10.0.2.255 scope global dynamic eth0
       valid_lft 78872sec preferred_lft 78872sec
    inet6 fe80::a00:27ff:fed9:5b04/64 scope link
       valid_lft forever preferred_lft forever
Apr 11 2020, 9:59 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin renamed T2270: using load with scp/sftp and a username and password does not work from using load with a username and password does not work to using load with scp/sftp and a username and password does not work.
Apr 11 2020, 9:31 AM · VyOS 1.3 Equuleus (1.3.0)
c-po updated the task description for T2264: l2tp: cleanup CLI definition.
Apr 11 2020, 9:30 AM · VyOS 1.3 Equuleus (1.3.0)
c-po updated the task description for T2264: l2tp: cleanup CLI definition.
Apr 11 2020, 9:29 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin assigned T2270: using load with scp/sftp and a username and password does not work to jestabro.
Apr 11 2020, 9:29 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin updated subscribers of T2270: using load with scp/sftp and a username and password does not work.

This naive patch fixes the issue but I am not sure it is correct and will let @jestabro decide how to handle it (as git gives him as the author of the file)

diff --git a/python/vyos/remote.py b/python/vyos/remote.py
index f8a21f0..a69537e 100644
--- a/python/vyos/remote.py
+++ b/python/vyos/remote.py
@@ -140,10 +140,18 @@ def get_remote_config(remote_file):
                 print('HTTP error: {0} {1}'.format(*val))
                 sys.exit(1)
Apr 11 2020, 9:29 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin created T2270: using load with scp/sftp and a username and password does not work.
Apr 11 2020, 9:21 AM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) changed the status of T2263: Reset feature for SSTP sessions from In progress to Needs testing.
Apr 11 2020, 7:00 AM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) changed the status of T2262: Broken reset commands for pptp and l2tp from In progress to Needs testing.
Apr 11 2020, 6:59 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2238: After re-writing list_interfaces.py to use Interfaces() pseudo-ethernet is missing.

Yes, it is missing, nothing to do with me but the fact the code does not yet find what is what from the interface data as we discussed.
https://github.com/vyos/vyos-1x/commit/bbea850ea5f8ff0402cd276ab63963ece7e0c763#diff-667867449bff9faf1ac285125ceada77

Apr 11 2020, 1:08 AM · VyOS 1.3 Equuleus (1.3.0)

Apr 10 2020

GitHub <noreply@github.com> committed rVYOSONEX74f498f8119a: Merge pull request #327 from DmitriyEshenko/fix-res-ra (authored by c-po).
Apr 10 2020, 11:26 PM
GitHub <noreply@github.com> committed rVYOSONEX097929176582: Merge pull request #328 from DmitriyEshenko/patch-12 (authored by c-po).
Apr 10 2020, 11:25 PM
c-po updated the task description for T2264: l2tp: cleanup CLI definition.
Apr 10 2020, 10:55 PM · VyOS 1.3 Equuleus (1.3.0)
c-po updated the task description for T2110: RADIUS: supply include file for radius config to have a uniform CLI.
Apr 10 2020, 10:35 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) changed the status of T2269: SSTP specify tunnels names from Open to In progress.

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

Apr 10 2020, 10:17 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) created T2269: SSTP specify tunnels names.
Apr 10 2020, 10:13 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) changed the status of T2263: Reset feature for SSTP sessions from Open to In progress.

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

Apr 10 2020, 9:59 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2268: DHCPv6 is broken.

no link-local IPv6 address for eth0

IIRC vyos doesn't support setting link-local addresses on interfaces
through the CLI, though a IPv6 interface should get one by default by the
kernel (I may be mistaken, what does "ip addr" say?)

Apr 10 2020, 9:50 PM · VyOS 1.3 Equuleus (1.3.0)
runar updated the task description for T2267: equuleus: Autogenerating deb package version number for internal packages.
Apr 10 2020, 9:38 PM
thomas-mangin renamed T2265: DHCP to be an attribute of the class instead of a inheritance from Move DHCP from inside Interface to DHCP to be an attribute of the class instead of a inheritance.
Apr 10 2020, 9:37 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin closed T2265: DHCP to be an attribute of the class instead of a inheritance as Resolved.
Apr 10 2020, 9:36 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2265: DHCP to be an attribute of the class instead of a inheritance.

https://github.com/vyos/vyos-1x/pull/326

Apr 10 2020, 9:36 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin created T2268: DHCPv6 is broken.
Apr 10 2020, 9:35 PM · VyOS 1.3 Equuleus (1.3.0)
runar added a comment to T2267: equuleus: Autogenerating deb package version number for internal packages.

Change description since last update:

Apr 10 2020, 9:24 PM
runar updated the task description for T2267: equuleus: Autogenerating deb package version number for internal packages.
Apr 10 2020, 9:21 PM
runar added a comment to T2267: equuleus: Autogenerating deb package version number for internal packages.

Change description since original update.
versioning of 1.3dev-3-g1234567 will count as newer then 1.3dev3-3-g1234567 this means that all dev releases needs to have a initial index. i've added it indexed from zero.
for a full version list see here

Original order               Sorted order                Upstream Version
1.3dev-0-g1234567          - 1.3.1-2-g1234567          : 1.3.1-2
1.3dev0-0-g1234567         - 1.3.1                     : 1.3.1
1.3.1-2-g1234567           - 1.3.0-7-g1234567          : 1.3.0-7
1.3.1                      - 1.3.0-3-g1234567          : 1.3.0-3
1.3dev2-8-g12345671.3.0    - 1.3dev-4-g1234567         : 1.3dev-4
1.3.0-7-g1234567           - 1.3dev-0-g1234567         : 1.3dev-0
1.3dev                     - 1.3dev2-8-g12345671.3.0   : 1.3dev2-8
1.3dev-4-g1234567          - 1.3dev2                   : 1.3dev2
1.3dev1                    - 1.3dev1-4-g1234567        : 1.3dev1-4
1.3dev2                    - 1.3dev1                   : 1.3dev1
1.3dev1-4-g1234567         - 1.3dev0-1-g1234567        : 1.3dev0-1
1.3.0-3-g1234567           - 1.3dev0-0-g1234567        : 1.3dev0-0
1.3dev0-1-g1234567         - 1.3dev                    : 1.3dev
Apr 10 2020, 9:12 PM
runar updated the task description for T2267: equuleus: Autogenerating deb package version number for internal packages.
Apr 10 2020, 9:06 PM
runar triaged T2267: equuleus: Autogenerating deb package version number for internal packages as Normal priority.
Apr 10 2020, 8:46 PM
zsdc reassigned T1381: Enable DHCP option 121 processing from dmbaturin to Unknown Object (User).
Apr 10 2020, 8:36 PM · VyOS 1.3 Equuleus (1.3.0)
cse342 added a comment to T1866: Commit archive over SFTP doesn't work with non-standard ports.

I did dive a bit deeper in this issue and found another workaround.
It seems to only occur when a sftp or scp host is specified with a different port than the default port.
The command "ssh-keyscan" is provided with the host in form of "hostname:port" which it doesn't resolve to an ssh-rsa key.
ssh-keyscan needs apparently the option "-p PORT" in order to write the host key of the remote sftp/scp server to the known hosts file.
To add a host to the known hosts file I ran the following command:

Apr 10 2020, 8:07 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.4 Sagitta
jjakob moved T2235: OpenVPN server client IP doesn't reserve that IP in the pool from Need Triage to In Progress on the VyOS 1.3 Equuleus board.
Apr 10 2020, 7:50 PM · VyOS 1.3 Equuleus (1.3.0), openvpn
jjakob added a comment to T2235: OpenVPN server client IP doesn't reserve that IP in the pool.

WIP: https://github.com/vyos/vyos-1x/pull/325
We won't do strict exclusion of client IPs from the server pool, but just print a warning if they overlap. This way old configs won't require migration and will still work, and new configurations will be able to manually set a smaller pool.

Apr 10 2020, 7:49 PM · VyOS 1.3 Equuleus (1.3.0), openvpn
jjakob changed the status of T2235: OpenVPN server client IP doesn't reserve that IP in the pool from Open to In progress.
Apr 10 2020, 7:48 PM · VyOS 1.3 Equuleus (1.3.0), openvpn
jjakob closed T2266: openvpn bridged client-server doesn't work (validation error) as Resolved.
Apr 10 2020, 7:31 PM · VyOS 1.3 Equuleus (1.3.0)
GitHub <noreply@github.com> committed rVYOSONEX2c8c3117093b: Merge pull request #324 from DmitriyEshenko/fix-res-ra (authored by c-po).
Apr 10 2020, 7:09 PM
Unknown Object (User) added a comment to T2262: Broken reset commands for pptp and l2tp.

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

Apr 10 2020, 6:18 PM · VyOS 1.3 Equuleus (1.3.0)
GitHub <noreply@github.com> committed rVYOSONEX881a9b679316: Merge pull request #323 from jjakob/openvpn-verify-bridge-fix (authored by c-po).
Apr 10 2020, 6:12 PM
jjakob changed the status of T2266: openvpn bridged client-server doesn't work (validation error) from Open to In progress.

https://github.com/vyos/vyos-1x/pull/323
Bridged mode still doesn't work until T2064 is fixed, but at least the validation should be fixed.

Apr 10 2020, 5:46 PM · VyOS 1.3 Equuleus (1.3.0)
c-po updated the task description for T2264: l2tp: cleanup CLI definition.
Apr 10 2020, 5:45 PM · VyOS 1.3 Equuleus (1.3.0)
GitHub <noreply@github.com> committed rVYOSONEX5ecfd5c973a5: Merge pull request #230 from DaniilHarun/upstream (authored by hagbard-01 <39653662+hagbard-01@users.noreply.github.com>).
Apr 10 2020, 5:36 PM
c-po updated the task description for T2264: l2tp: cleanup CLI definition.
Apr 10 2020, 5:33 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob triaged T2266: openvpn bridged client-server doesn't work (validation error) as Normal priority.
Apr 10 2020, 5:30 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEX7156762ed3b0: op-mode: raid: T689: Typo in description (authored by Viacheslav Hletenko <v.gletenko@vyos.io>).
Apr 10 2020, 4:41 PM
thomas-mangin created T2265: DHCP to be an attribute of the class instead of a inheritance.
Apr 10 2020, 4:35 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T1538: Update conntrack-sync packages to fix VRRP issues.

It's best if we just use packages targeted for buster, not another debian release. I suggest you create PRs for all pathches needed (in addition to the one you already submitted) in Debian's PTS for buster's conntrack-tools, and then ask them to make a new release with those patches included.

Apr 10 2020, 3:56 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro closed T2253: Fix use of cmd in merge config and remote function helpers as Resolved.
Apr 10 2020, 3:54 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro committed rVYOSONEXa68198f9bf18: util: T2253: fix translation to cmd.
Apr 10 2020, 3:47 PM
jestabro committed rVYOSONEX8e6948f226f4: Revert "Revert "util: T2226: rewrite merge config to use cmd"".
Apr 10 2020, 3:47 PM
jestabro added a reverting change for rVYOSONEX6086b7fa718f: Revert "util: T2226: rewrite merge config to use cmd": rVYOSONEX8e6948f226f4: Revert "Revert "util: T2226: rewrite merge config to use cmd"".
Apr 10 2020, 3:47 PM
jestabro committed rVYOSONEX162ead0105f3: util: T2253: fix translation of subprocess.check_output to cmd.
Apr 10 2020, 3:47 PM
jestabro committed rVYOSONEXa32cb241eaf8: Revert "Revert "util: T2226: rewrite remote function helpers to use cmd"".
Apr 10 2020, 3:47 PM
jestabro added a reverting change for rVYOSONEX10717c6a3cdf: Revert "util: T2226: rewrite remote function helpers to use cmd": rVYOSONEXa32cb241eaf8: Revert "Revert "util: T2226: rewrite remote function helpers to use cmd"".
Apr 10 2020, 3:47 PM
elbandi added a comment to T1538: Update conntrack-sync packages to fix VRRP issues.

The new conntract package depend in newer libnetfilter. but you dont need to rebuild the package, just download the debs.

Apr 10 2020, 3:03 PM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T2264: l2tp: cleanup CLI definition from Open to In progress.
Apr 10 2020, 1:32 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2264: l2tp: cleanup CLI definition.
Apr 10 2020, 1:25 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEX18859e32c4f2: l2tp: xml: group interface definition into vpn section.
Apr 10 2020, 1:22 PM
c-po placed T1748: vbash: beautify tab completion output/line breaks up for grabs.
Apr 10 2020, 1:20 PM · VyOS 1.4 Sagitta
Unknown Object (User) created T2263: Reset feature for SSTP sessions.
Apr 10 2020, 12:28 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) changed the status of T2262: Broken reset commands for pptp and l2tp from Open to In progress.
Apr 10 2020, 12:23 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) claimed T2262: Broken reset commands for pptp and l2tp.
Apr 10 2020, 12:23 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) updated the task description for T2262: Broken reset commands for pptp and l2tp.
Apr 10 2020, 12:23 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) created T2262: Broken reset commands for pptp and l2tp.
Apr 10 2020, 12:23 PM · VyOS 1.3 Equuleus (1.3.0)