Page MenuHomeVyOS Platform
Feed All Stories

Sep 6 2019

c-po committed rVYOSONEX98aafc8f704e: vxlan: T1636: initial rewrite with XML and Python.
Sep 6 2019, 11:02 AM
c-po committed rVYOSONEXdcde45826501: Python/ifconfig: T1557: vxlan: initial support via VXLANIf.
Sep 6 2019, 11:02 AM
c-po committed rVYOSONEXc38097eb62df: dummy: loopback: T1580: T1601: synchronize comments.
Sep 6 2019, 11:02 AM
runar added a comment to T1572: Wireguard keyPair per interface.

i agree with allowing this.

Sep 6 2019, 10:23 AM · VyOS 1.3 Equuleus (1.3.0)
jonaswre added a comment to T1572: Wireguard keyPair per interface.

@hagbard the private key should stay where its generated. But thats not the point. The point @zx2c4 and I are making, is each interface represent a diffrent Identity. There are only some special cases where you would need the same private key on two interface. Useally you would just add all peers that connect with the same publickey to the same interface. You only need a second interface if there is a second identity you want to assume. For example wg01 might be used to connect to your workplace and wg02 to a vpn service. In that case you would want peers in wg01 and wg02 to know you under different identities.

Sep 6 2019, 9:16 AM · VyOS 1.3 Equuleus (1.3.0)
jdevincentis added a comment to T508: ISC DHCP incorrect UDP checksum generation.

I can confirm this is still a problem in current rolling versions.

Sep 6 2019, 9:08 AM · VyOS 1.3 Equuleus (1.3.0-epa1), vyatta-dhcp3
c-po committed rVYOSONEX5f87266d9ef3: bonding: T1614: members are not allowed to be underlaying vxlan devices.
Sep 6 2019, 8:55 AM
c-po committed rVYOSONEXf9eff4fcdf30: bonding: T1614: reword verify() error messages.
Sep 6 2019, 8:55 AM
c-po committed rVYOSONEX96e0f5697b18: bonding: T1614: enslaved interfaces can be added to only one bond at a time.
Sep 6 2019, 8:43 AM
c-po committed rVYOSONEX7e681c180de8: wireguard: T427: use long syntax on list_interfaces.py '--type' instead of '-t'.
Sep 6 2019, 8:43 AM
c-po committed rVYOSONEXbff9d998e963: openvpn: T1548: use long syntax on list_interfaces.py '--type' instead of '-t'.
Sep 6 2019, 8:43 AM
c-po committed rVYOSONEX4615feb0f7b1: bridge: T1556: make ARP cache constraint error message more generic.
Sep 6 2019, 8:43 AM
c-po committed rVYOSONEX33d67cb7b6c4: bonding: T1614: make ARP cache constraint error message more generic.
Sep 6 2019, 8:43 AM
c-po committed rVYOSONEX8b0e9c1fec67: gitignore: add patterns used by SlickEdit.
Sep 6 2019, 8:43 AM
c-po committed rVYOSONEXb4eaa216e7dc: Python/ifconfig: T1557: fix remove_peer commend in WireGuardIf.
Sep 6 2019, 8:27 AM
c-po committed rVYOSONEX35c7d66165da: Python/ifconfig: T1557: {add,del}_addr() now supports dhcp/dhcpv6.
Sep 6 2019, 8:23 AM
c-po committed rVYOSONEXfca8166ba083: Python/ifconfig: T1557: recursively delete VLAN interfaces on remove().
Sep 6 2019, 8:23 AM
Unknown Object (User) added a comment to T1594: l2tpv3 error on IPv6 local-ip.

Hello @kruisdraad . I trying to reproduce this issue, but without success. Tunnel works.

set interfaces l2tpv3 l2tpeth1010 address '192.168.37.2/27'
set interfaces l2tpv3 l2tpeth1010 encapsulation 'ip'
set interfaces l2tpv3 l2tpeth1010 local-ip '2001:db8::2'
set interfaces l2tpv3 l2tpeth1010 peer-session-id '100'
set interfaces l2tpv3 l2tpeth1010 peer-tunnel-id '200'
set interfaces l2tpv3 l2tpeth1010 remote-ip '2001:db8::1'
set interfaces l2tpv3 l2tpeth1010 session-id '100'
set interfaces l2tpv3 l2tpeth1010 tunnel-id '200'

Can you provide show log tail 100 after creating l2tpv3?

Sep 6 2019, 7:23 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.4 Sagitta, test

Sep 5 2019

rps added a comment to T1058: hw-id is ignored when naming interfaces.

I'm able to reproduce this bug.

Sep 5 2019, 10:31 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T1604: equuleus: buster: vbash: tab completion breaks.

The same, but on current (jessie):


The above 2 files can be diffed to see where the bug is triggered.
The _filedir function from /usr/share/bash-completion/bash_completion was changed, the offending part is:

reset=$(shopt -po noglob); set -o noglob
toks=( $( compgen -d -- "$cur" ) )
eval $reset

when eval is called, it expands to eval 'set -o noglob' which triggers _vyatta_op_run set -o noglob, which chokes on the input.
_vyatta_op_run was set up as alias for "set" in https://github.com/vyos/vyatta-op/blob/66753705b86a3d104dfe127d4dd2b904a54ab404/functions/interpreter/vyatta-op-run#L38

eval alias ${cmd:0:$pos}=\'_vyatta_op_run ${cmd:0:$pos}\'

due to "set" being part of the templates.

Sep 5 2019, 10:25 PM · VyOS 1.3 Equuleus (1.3.0)
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)
c-po added a comment to T770: Bonded interfaces get updated with incorrect hw-id in config..

Huh? Which perl script?

Sep 5 2019, 5:43 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)
c-po added a comment to T770: Bonded interfaces get updated with incorrect hw-id in config..

As the bonding interface has been completely rewritten this should not be an issue as I do not touch underlaying interface MAC addresses

Sep 5 2019, 4:19 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)
syncer moved T1443: New "service https" implementation from In Progress to Finished on the VyOS 1.3 Equuleus board.
Sep 5 2019, 8:43 AM · VyOS 1.2 Crux (VyOS 1.2.3)
syncer closed T1443: New "service https" implementation as Resolved.
Sep 5 2019, 8:43 AM · VyOS 1.2 Crux (VyOS 1.2.3)
c-po added a comment to T1572: Wireguard keyPair per interface.

Why not specify the keys or the key file location via CLI like other VPN implementations do it?

Sep 5 2019, 3:51 AM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T1636: Rewrite VXLAN in new style XML/Python, a subtask of T1579: Rewrite all interface types in new XML/Python style, from Open to In progress.
Sep 5 2019, 3:49 AM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T1636: Rewrite VXLAN in new style XML/Python from Open to In progress.
Sep 5 2019, 3:49 AM · VyOS 1.3 Equuleus (1.3.0)
c-po created T1636: Rewrite VXLAN in new style XML/Python.
Sep 5 2019, 3:49 AM · VyOS 1.3 Equuleus (1.3.0)
dmbaturin changed Is it a breaking change? from none to behavior on T1443: New "service https" implementation.
Sep 5 2019, 1:10 AM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin changed the status of T1443: New "service https" implementation from In progress to Needs testing.
Sep 5 2019, 1:10 AM · VyOS 1.2 Crux (VyOS 1.2.3)
dmbaturin added a project to T1443: New "service https" implementation: VyOS 1.2 Crux (VyOS 1.2.3).
Sep 5 2019, 1:09 AM · VyOS 1.2 Crux (VyOS 1.2.3)
jjakob added a comment to T1604: equuleus: buster: vbash: tab completion breaks.

Here's the output of set -x redirected to a file when doing "ls <TAB>" as root.


At first glance it seems like a call to "set -o tag" from within a script is interpreted as an argument to the template "set" node somewhere, which causes it to break.
If anyone wants to dig in to vyatta-op, this is a starting point.

Sep 5 2019, 12:18 AM · VyOS 1.3 Equuleus (1.3.0)
mb300sd added a comment to T770: Bonded interfaces get updated with incorrect hw-id in config..

@hagbard I no longer have the hardware the issue was found on, or anything else with identical interfaces to bond at the moment.

Sep 5 2019, 12:15 AM · VyOS 1.3 Equuleus (1.3.0-epa1)

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
c-po committed rVYOSONEX952871200ece: Python/configdict: add function vlan_to_dict.
Sep 4 2019, 8:03 PM
c-po committed rVYOSONEX64d58eda4c1e: Python/configdict: add list_diff function to compare two lists.
Sep 4 2019, 8:03 PM
hagbard committed rVYOSONEXff34756f534b: [wireguard] - T1628: Adopt WireGuard configuration script to new vyos.ifconfig….
Sep 4 2019, 7:52 PM
Unknown Object (User) added a comment to T1360: DNS nameservers from dhcp not set.

@yun can you check this issue on last rolling release, I think it fixed.

Sep 4 2019, 7:47 PM · VyOS 1.2 Crux (VyOS 1.2.3)
kruisdraad added a comment to T1593: Support ip6gre.

That is great to hear, i will schedule upgrade of our infra soon and add some tunnels on GRE6. Ill report back when i have info

Sep 4 2019, 7:37 PM · VyOS 1.2 Crux (VyOS 1.2.4)
zsdc changed the status of T1593: Support ip6gre from Open to Needs testing.

Hello, @kruisdraad!
IP6GRE tunnels are supported in 1.2-rolling-201909041703. You are welcome to test.

Sep 4 2019, 7:31 PM · VyOS 1.2 Crux (VyOS 1.2.4)
c-po changed the status of T1439: DHCPv6 static-mappings not working due to excess quotes around dhcp6.client-id from Unknown Status to Resolved.
Sep 4 2019, 7:28 PM · VyOS 1.2 Crux (VyOS 1.2.3)
c-po moved T1439: DHCPv6 static-mappings not working due to excess quotes around dhcp6.client-id from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.3) board.
Sep 4 2019, 7:28 PM · VyOS 1.2 Crux (VyOS 1.2.3)
c-po moved T1439: DHCPv6 static-mappings not working due to excess quotes around dhcp6.client-id from VyOS 1.2.4 to VyOS 1.2.3 on the VyOS 1.2 Crux board.
Sep 4 2019, 7:28 PM · VyOS 1.2 Crux (VyOS 1.2.3)
c-po moved T1439: DHCPv6 static-mappings not working due to excess quotes around dhcp6.client-id from Need Triage to Finished on the VyOS 1.3 Equuleus board.
Sep 4 2019, 7:27 PM · VyOS 1.2 Crux (VyOS 1.2.3)
c-po committed rVYOSONEXc1d834cf38d6: T1439: remove beginning and end anchors, they are implied with re.fullmatch (authored by jjakob).
Sep 4 2019, 7:27 PM
c-po committed rVYOSONEX294b14c3c8b9: T1439: move DUID validator to regex (authored by jjakob).
Sep 4 2019, 7:27 PM
c-po committed rVYOSONEX40cf05fdf294: T1439: add dhcpv6-client-id validator (authored by jjakob).
Sep 4 2019, 7:27 PM
c-po committed rVYOSONEX7072bb8eb694: T1439: remove quotes around dhcp6.client-id (authored by jjakob).
Sep 4 2019, 7:27 PM
c-po committed rVYOSONEX8257a5e67679: openvpn: T1617: T1632: support quotes in openvpn-option.
Sep 4 2019, 6:35 PM
c-po closed T1632: OpenVPN 'push' options with quotes as Resolved.
Sep 4 2019, 6:35 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a comment to T1632: OpenVPN 'push' options with quotes.

You could use quoting like mentioned in T1129.

Sep 4 2019, 6:31 PM · VyOS 1.3 Equuleus (1.3.0)
dmbaturin committed rVYOSONEX3409c233105b: [service https] T1443: rename "server-names" option to "server-name"..
Sep 4 2019, 4:40 PM
dmbaturin committed rVYOSONEXb142ab9f5093: [service https] T1443: rename "server-names" option to "server-name"..
Sep 4 2019, 4:40 PM
jjakob created T1634: Commit fails when changing policy route "set table" and adding the table at the same time, results in config deadlock.
Sep 4 2019, 3:59 PM
dmbaturin committed rVYOSONEX77e4de232fee: [service https] T1443: correct the listen-address option in the script..
Sep 4 2019, 3:47 PM
dmbaturin committed rVYOSONEXf0281a9bbb77: [service https] T1443: correct the listen-address option in the script..
Sep 4 2019, 3:47 PM
dmbaturin committed rVYOSONEXe695dee0f587: [service https] T1443: use "listen-address" option instead of "listen….
Sep 4 2019, 3:10 PM
dmbaturin committed rVYOSONEX9e42f2f599e8: [service https] T1443: use "listen-address" option instead of "listen….
Sep 4 2019, 3:10 PM
c-po added a comment to T1614: Rewrite bonding interface in new style XML syntax.

Rewrite was tested using:

Sep 4 2019, 2:43 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T1557: Create generic abstraction for configuring interfaces e.g. IP address as Resolved.
Sep 4 2019, 2:39 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T1557: Create generic abstraction for configuring interfaces e.g. IP address, a subtask of T1579: Rewrite all interface types in new XML/Python style, as Resolved.
Sep 4 2019, 2:39 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T1631: Multiple push-route options cause error generating openvpn configuration, a subtask of T1548: Rewrite OpenVPN interface/op-commands in new style XML/Python, as Resolved.
Sep 4 2019, 2:39 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T1631: Multiple push-route options cause error generating openvpn configuration as Resolved.
Sep 4 2019, 2:39 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T1614: Rewrite bonding interface in new style XML syntax, a subtask of T1579: Rewrite all interface types in new XML/Python style, as Resolved.
Sep 4 2019, 2:38 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T1614: Rewrite bonding interface in new style XML syntax as Resolved.
Sep 4 2019, 2:38 PM · VyOS 1.3 Equuleus (1.3.0)
c-po updated the task description for T1614: Rewrite bonding interface in new style XML syntax.
Sep 4 2019, 2:38 PM · VyOS 1.3 Equuleus (1.3.0)
hexes added a comment to T1630: OpenVPN after changing it from root to nobody (unprivileged user) cant add routes.

So in conf file should be enabled by default:
iproute /usr/local/sbin/unpriv-ip
persist-tun

Sep 4 2019, 2:38 PM · VyOS 1.3 Equuleus (1.3.0)
GitHub <noreply@github.com> committed rVYOSONEX62abfc2653e5: Merge pull request #124 from c-po/t1614-bonding (authored by c-po).
Sep 4 2019, 2:30 PM
hexes added a comment to T1630: OpenVPN after changing it from root to nobody (unprivileged user) cant add routes.

As i understand this script only generate conf file, but we need to change init script, add wrapper script and grant sudo access to the openvpn user to exec this wrapper script...

Sep 4 2019, 2:27 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.

I like the openvpn:openvpn ownership idea

Sep 4 2019, 2:15 PM · VyOS 1.3 Equuleus (1.3.0)
dmbaturin committed rVYOSONEXf2a3f5467941: Update changelog..
Sep 4 2019, 2:09 PM
dmbaturin committed rVYOSONEX65dd56453b45: Merge branch 'current' of https://github.com/vyos/vyos-1x into current.
Sep 4 2019, 2:09 PM
dmbaturin committed rVYOSONEX9e1cbaa5f894: [service https] T1443: create /etc/vyos if it doesn't exist..
Sep 4 2019, 2:09 PM
dmbaturin committed rVYOSONEXbc8a1218bae9: [service https] T1443: create /etc/vyos if it doesn't exist..
Sep 4 2019, 2:08 PM
dmbaturin committed rVYOSONEX4d50edfc9543: T1443: backport the HTTP API to crux..
Sep 4 2019, 2:08 PM
c-po added a comment to T1633: Cannot bridge interfaces.

The documentation is also correct. Please not that there are two git branches for the documentation, current and equuleus. You send me the VyOS 1.2.2 crux link. I gave you the upcoming VyOS 1.2 equuleus link.

Sep 4 2019, 1:57 PM · VyOS 1.3 Equuleus (1.3.0)
hexes added a comment to T1630: OpenVPN after changing it from root to nobody (unprivileged user) cant add routes.

Thanks, I'll try to figure it out. What do you think about openvpn:openvpn?

Sep 4 2019, 1:53 PM · VyOS 1.3 Equuleus (1.3.0)
dmbaturin committed rVYOSONEX7e367a928505: T1443: add dependencies on nginx-light and ssl-cert..
Sep 4 2019, 1:00 PM
c-po added a comment to T1631: Multiple push-route options cause error generating openvpn configuration.

This is actually a duplicate of T1617.

Sep 4 2019, 12:58 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEX501908ae54a1: openvpn: T1617: bugfix for server push-route.
Sep 4 2019, 12:56 PM