Page MenuHomeVyOS Platform
Feed All Stories

Apr 9 2020

Viacheslav added a comment to T2172: Enable conf VXLAN without remote address.

@c-po Shure, config attached to task https://phabricator.vyos.net/T1315 (left-r1, left-r2, right-r1, right-r2)
Section "Autostart commands"

Apr 9 2020, 7:05 AM · VyOS 1.3 Equuleus (1.3.0)
dmbaturin created T2254: Provide more information on the build branch in the version data.
Apr 9 2020, 6:55 AM · VyOS 1.3 Equuleus
GitHub <noreply@github.com> committed rVYOSONEXd7c1bab9b996: Merge pull request #316 from thomas-mangin/T2242 (authored by c-po).
Apr 9 2020, 5:39 AM
GitHub <noreply@github.com> committed rVYOSONEXb10240816503: Merge pull request #317 from thomas-mangin/T2028-remote (authored by c-po).
Apr 9 2020, 5:38 AM
GitHub <noreply@github.com> committed rVYOSONEXd4469e373df1: Merge pull request #314 from thomas-mangin/T2186 (authored by c-po).
Apr 9 2020, 5:38 AM
jestabro renamed T2253: Fix use of cmd in merge config and remote function helpers from Fix use of cmd in vyos merge and remote function helper to Fix use of cmd in merge config and remote function helpers.
Apr 9 2020, 5:19 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro triaged T2253: Fix use of cmd in merge config and remote function helpers as Normal priority.
Apr 9 2020, 5:15 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro moved T2252: HTTP API add system image can return '504 Gateway Time-out' from Backport Candidates to Finished on the VyOS 1.3 Equuleus board.
Apr 9 2020, 5:05 AM · VyOS 1.2 Crux (VyOS 1.2.5)
jestabro moved T2252: HTTP API add system image can return '504 Gateway Time-out' from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.5) board.
Apr 9 2020, 5:05 AM · VyOS 1.2 Crux (VyOS 1.2.5)
jestabro committed rVYOSONEXc4a389a2c0b9: http api: T2252: backport increase proxy_read_timeout.
Apr 9 2020, 5:00 AM
jestabro closed T2093: HTTP-API image management requests don't work as Resolved.

The time-out issue is resolved in T2252; other issues as summarized above.

Apr 9 2020, 3:51 AM
jestabro added a parent task for T2252: HTTP API add system image can return '504 Gateway Time-out': T2093: HTTP-API image management requests don't work.
Apr 9 2020, 3:16 AM · VyOS 1.2 Crux (VyOS 1.2.5)
jestabro added a subtask for T2093: HTTP-API image management requests don't work: T2252: HTTP API add system image can return '504 Gateway Time-out'.
Apr 9 2020, 3:16 AM
jestabro added a project to T2252: HTTP API add system image can return '504 Gateway Time-out': VyOS 1.2 Crux (VyOS 1.2.5).
Apr 9 2020, 3:16 AM · VyOS 1.2 Crux (VyOS 1.2.5)
jestabro closed T2252: HTTP API add system image can return '504 Gateway Time-out' as Resolved.
Apr 9 2020, 3:15 AM · VyOS 1.2 Crux (VyOS 1.2.5)
jestabro committed rVYOSONEXec99423f227f: http api: T2252: increase proxy_read_timeout for image management.
Apr 9 2020, 3:14 AM
jestabro added a reverting change for rVYOSONEX9664e7d68530: util: T2226: rewrite merge config to use cmd: rVYOSONEX6086b7fa718f: Revert "util: T2226: rewrite merge config to use cmd".
Apr 9 2020, 3:14 AM
jestabro committed rVYOSONEX6086b7fa718f: Revert "util: T2226: rewrite merge config to use cmd".
Apr 9 2020, 3:14 AM
jestabro committed rVYOSONEX10717c6a3cdf: Revert "util: T2226: rewrite remote function helpers to use cmd".
Apr 9 2020, 3:14 AM
jestabro added a reverting change for rVYOSONEX7219d4013814: util: T2226: rewrite remote function helpers to use cmd: rVYOSONEX10717c6a3cdf: Revert "util: T2226: rewrite remote function helpers to use cmd".
Apr 9 2020, 3:14 AM
jestabro created T2252: HTTP API add system image can return '504 Gateway Time-out'.
Apr 9 2020, 3:10 AM · VyOS 1.2 Crux (VyOS 1.2.5)

Apr 8 2020

Coopercentral created T2251: VRF communication breaks when utilizing zone-based firewalling.
Apr 8 2020, 11:57 PM · VyOS Rolling, Bugs
jjakob added a comment to T2205: "set interface ethernet" fails on Hyper-V.

Is this normal?

vyos@rt-home# set interfaces ethernet eth4 vif 20
[edit]
vyos@rt-home# commit
[ interfaces ethernet eth4 ]
DEBUG/ifconfig cmd '/sbin/ethtool -K eth4 gro off'
DEBUG/ifconfig cmd '/sbin/ethtool -K eth4 gso off'
DEBUG/ifconfig cmd '/sbin/ethtool -K eth4 sg off'
DEBUG/ifconfig cmd '/sbin/ethtool -K eth4 tso off'
DEBUG/ifconfig cmd '/sbin/ethtool -K eth4 ufo off'
DEBUG/ifconfig returned:
Cannot change udp-fragmentation-offload
Apr 8 2020, 10:55 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2189: Adding a large port-range will take ~ 20 minutes to commit.

T2199 for the firewall rewrite - free for the taking. I wouldn't stray much from the old code logic, as some things have hidden meanings. Especially leaving checks out could introduce bugs unless you're absolutely sure they can be bypassed.

Apr 8 2020, 10:49 PM · VyOS 1.3 Equuleus (1.3.3)
jjakob added a comment to T1538: Update conntrack-sync packages to fix VRRP issues.

There was a new upstream release 1.4.6 7 days ago, but that shouldn't make it to debian stable (buster). Only the patch done by elbandi via PR could get released as 1.4.5-3, but it hasn't been yet. We could make a backport of 1.4.6 into buster-backports and add a custom apt pin for the package. (I'd rather not go the backport route, as that means the backporter needs to always update the upload for security fixes, rather I'd add all patches for bugs into 1.4.5 for buster and ask for a new buster release).

Apr 8 2020, 10:28 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob claimed T2250: vyos-build "make iso" error if configure was ran outside of the docker container.
Apr 8 2020, 10:05 PM · VyOS 1.3 Equuleus (1.3.5)
jjakob added a comment to T2250: vyos-build "make iso" error if configure was ran outside of the docker container.

https://github.com/vyos/vyos-build/pull/99

Apr 8 2020, 10:05 PM · VyOS 1.3 Equuleus (1.3.5)
jjakob triaged T2250: vyos-build "make iso" error if configure was ran outside of the docker container as Low priority.
Apr 8 2020, 9:54 PM · VyOS 1.3 Equuleus (1.3.5)
tjh updated the task description for T2248: PPPoE Broken in Latest 1.3 Rolling (1.3-rolling-202004070629).
Apr 8 2020, 9:25 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob updated the task description for T2249: Interface definitions must always have the correct 'type:' set.
Apr 8 2020, 9:10 PM · VyOS Rolling
jjakob added a parent task for T1911: Completion helper list is not sorted: T2249: Interface definitions must always have the correct 'type:' set.
Apr 8 2020, 9:05 PM · VyOS Rolling, Bugs
jjakob added a subtask for T2249: Interface definitions must always have the correct 'type:' set: T1911: Completion helper list is not sorted.
Apr 8 2020, 9:05 PM · VyOS Rolling
jjakob triaged T2249: Interface definitions must always have the correct 'type:' set as Low priority.
Apr 8 2020, 9:04 PM · VyOS Rolling
tjh added a comment to T2248: PPPoE Broken in Latest 1.3 Rolling (1.3-rolling-202004070629).

Please find below, with some comments redacted.

Apr 8 2020, 8:50 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a comment to T2248: PPPoE Broken in Latest 1.3 Rolling (1.3-rolling-202004070629).

I can't reproduce it with the code in the rolling image that will be available by tomorrow.

Apr 8 2020, 8:49 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a project to T2248: PPPoE Broken in Latest 1.3 Rolling (1.3-rolling-202004070629): VyOS 1.3 Equuleus.
Apr 8 2020, 8:45 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a comment to T2248: PPPoE Broken in Latest 1.3 Rolling (1.3-rolling-202004070629).

Can you please share your configuration on the pppoe interface with us?

Apr 8 2020, 8:37 PM · VyOS 1.3 Equuleus (1.3.0)
c-po claimed T2248: PPPoE Broken in Latest 1.3 Rolling (1.3-rolling-202004070629).
Apr 8 2020, 8:36 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEXd16348285127: vyos.util: introduce chmod_750() for files/directories.
Apr 8 2020, 8:31 PM
c-po committed rVYOSONEX9123a03824f0: wireguard: T2244: re-use interface removal code from WireGuardIf class.
Apr 8 2020, 8:31 PM
c-po committed rVYOSONEX6474b89e2dca: wireguard: T2244: fix writing PSK.
Apr 8 2020, 8:31 PM
c-po committed rVYOSONEX091e921fe433: wireguard: T2226: fix generation of psk.
Apr 8 2020, 8:31 PM
c-po committed rVYOSONEX12a67646986e: vyos-util: rename chown_file() > chown().
Apr 8 2020, 8:31 PM
c-po committed rVYOSONEX2d33cf656f58: vif-s: T2240: add VRF support.
Apr 8 2020, 8:31 PM
tjh updated tjh.
Apr 8 2020, 8:16 PM
tjh added a comment to T2248: PPPoE Broken in Latest 1.3 Rolling (1.3-rolling-202004070629).

The only major differences I've noticed are the kernel versions:

Apr 8 2020, 8:13 PM · VyOS 1.3 Equuleus (1.3.0)
tjh created T2248: PPPoE Broken in Latest 1.3 Rolling (1.3-rolling-202004070629).
Apr 8 2020, 8:11 PM · VyOS 1.3 Equuleus (1.3.0)
c-po reassigned T2091: swanctl.conf file is not generated properly if more than one IPsec profile is used from c-po to Unknown Object (User).
Apr 8 2020, 7:59 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po updated subscribers of T2091: swanctl.conf file is not generated properly if more than one IPsec profile is used.

Re-assigning to @Dmitry after checking with him as he's more experienced here.

Apr 8 2020, 7:59 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po closed T2240: Support for bind vif-c interfaces into VRFs as Resolved.
Apr 8 2020, 7:54 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a comment to T2172: Enable conf VXLAN without remote address.

Where do I get the local address from? Can you share your complete config? Maybe we need source-address or something similar in CLI.

Apr 8 2020, 7:35 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a comment to T2232: Prevent deletion of bridge member interfaces.

Yes - there are some parts which make use of this bad practice (mostly introduced by me), cleanup required.

Apr 8 2020, 7:34 PM · Restricted Project, VyOS 1.5 Circinus
c-po updated the task description for T2232: Prevent deletion of bridge member interfaces.
Apr 8 2020, 7:33 PM · Restricted Project, VyOS 1.5 Circinus
c-po closed T2244: WireGuard: cleanup Python implementation and reduce amount of boilerplate code, a subtask of T2232: Prevent deletion of bridge member interfaces, as Resolved.
Apr 8 2020, 7:32 PM · Restricted Project, VyOS 1.5 Circinus
c-po closed T2244: WireGuard: cleanup Python implementation and reduce amount of boilerplate code as Resolved.
Apr 8 2020, 7:32 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2247: WireGuard: add VRF support as Resolved.
Apr 8 2020, 7:31 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEX3f44a6e92010: wireguard: T2244: split port configuration to XML include file.
Apr 8 2020, 7:29 PM
c-po committed rVYOSONEXa9ad4ad88ff3: Merge branch 't2244-wireguard' of github.com:c-po/vyos-1x into current.
Apr 8 2020, 7:29 PM
c-po committed rVYOSONEXae80fdac76f2: wireguard: T2247: add VRF support.
Apr 8 2020, 7:29 PM
c-po committed rVYOSONEX038add76f9bc: wireguard: T2244: use xml include for mtu.
Apr 8 2020, 7:29 PM
c-po committed rVYOSONEX026477e2cebc: wireguard: T2244: rewrite to match code structure of other interfaces.
Apr 8 2020, 7:29 PM
c-po changed the status of T2247: WireGuard: add VRF support from Open to In progress.
Apr 8 2020, 7:08 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2247: WireGuard: add VRF support.
Apr 8 2020, 7:08 PM · VyOS 1.3 Equuleus (1.3.0)
c-po renamed T2244: WireGuard: cleanup Python implementation and reduce amount of boilerplate code from WireGuard: cleanup Python implementation and reduce amount of boiler plate code to WireGuard: cleanup Python implementation and reduce amount of boilerplate code.
Apr 8 2020, 6:59 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEXb184a5700f22: op-mode: lldp: T2246: check if service is configured.
Apr 8 2020, 6:37 PM
c-po committed rVYOSONEXc497007369bf: op-mode: dns: forwarding: cleanup.
Apr 8 2020, 6:37 PM
c-po closed T2246: LLDP op-mode error as Resolved.
Apr 8 2020, 6:37 PM · VyOS 1.3 Equuleus (1.3.0)
c-po claimed T2246: LLDP op-mode error.
Apr 8 2020, 6:22 PM · VyOS 1.3 Equuleus (1.3.0)
Viacheslav created T2246: LLDP op-mode error.
Apr 8 2020, 5:29 PM · VyOS 1.3 Equuleus (1.3.0)
zsdc changed the status of T2245: Need to create a common logging module for Python scripts from Open to In progress.
Apr 8 2020, 5:21 PM · VyOS Rolling
zsdc created T2245: Need to create a common logging module for Python scripts.
Apr 8 2020, 5:20 PM · VyOS Rolling
thomas-mangin added a comment to T2171: Unify creation and manipulation of interfaces.

There is an issue with storing the state of the interface and then applying it in bulk. For some interface we want to admin it down before performing change and then bringing it back up.
If we store this then only the change and the up command will be applied, this is not going to work.

Apr 8 2020, 4:56 PM · VyOS 1.4 Sagitta
thomas-mangin added a comment to T2204: Support tunnel source-interface.

@cpo should another task be created to make sure we exclude the interfaces themself from source-interface (s) ?

Apr 8 2020, 4:50 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin closed T2242: Remove import * from the code as Resolved.
Apr 8 2020, 4:48 PM
thomas-mangin added a comment to T2242: Remove import * from the code.

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

Apr 8 2020, 4:48 PM
thomas-mangin closed T2186: Provide more information to the user when a traceback is reported to the user as Resolved.
Apr 8 2020, 4:06 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.

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

Apr 8 2020, 4:04 PM · VyOS 1.3 Equuleus (1.3.0)
GitHub <noreply@github.com> committed rVYOSONEX53754fcbbf92: Merge pull request #315 from jjakob/openvpn-template (authored by c-po).
Apr 8 2020, 3:55 PM
Viacheslav claimed T2201: Rewrite protocol BGP [op-mode] to new XML/Python style.
Apr 8 2020, 3:50 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEXac1916e46707: vrf: add additional documentation link.
Apr 8 2020, 3:50 PM
c-po added a subtask for T2232: Prevent deletion of bridge member interfaces: T2244: WireGuard: cleanup Python implementation and reduce amount of boilerplate code.
Apr 8 2020, 3:48 PM · Restricted Project, VyOS 1.5 Circinus
c-po added a parent task for T2244: WireGuard: cleanup Python implementation and reduce amount of boilerplate code: T2232: Prevent deletion of bridge member interfaces.
Apr 8 2020, 3:48 PM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T2244: WireGuard: cleanup Python implementation and reduce amount of boilerplate code from Open to In progress.
Apr 8 2020, 3:48 PM · VyOS 1.3 Equuleus (1.3.0)
Viacheslav updated the task description for T2201: Rewrite protocol BGP [op-mode] to new XML/Python style.
Apr 8 2020, 3:47 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2244: WireGuard: cleanup Python implementation and reduce amount of boilerplate code.
Apr 8 2020, 3:47 PM · VyOS 1.3 Equuleus (1.3.0)
GitHub <noreply@github.com> committed rVYOSONEXa15eae4bc572: Merge pull request #313 from DmitriyEshenko/dmvpn-fix1 (authored by c-po).
Apr 8 2020, 3:44 PM
GitHub <noreply@github.com> committed rVYOSONEXb9c1722c8a73: Merge pull request #311 from thomas-mangin/T2028-explain (authored by c-po).
Apr 8 2020, 3:43 PM
GitHub <noreply@github.com> committed rVYOSONEX27d70a21a2e0: Merge pull request #312 from DmitriyEshenko/patch-11 (authored by c-po).
Apr 8 2020, 3:42 PM
c-po created T2243: Bridge interface fails if member is VXLAN interface with VTI underlay.
Apr 8 2020, 3:40 PM · Bugs, VyOS 1.3 Equuleus (1.3.9)
thomas-mangin claimed T2242: Remove import * from the code.
Apr 8 2020, 3:39 PM
zsdc changed the status of T1820: VRRP transition scripts for sync-groups are not supported in VyOS (anymore) from Open to Needs testing.

Hello, @adestis!
Support of transition-scripts was added to sync-groups in a rolling version.

Apr 8 2020, 3:35 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin created T2242: Remove import * from the code.
Apr 8 2020, 3:24 PM
zsdc claimed T2189: Adding a large port-range will take ~ 20 minutes to commit.

I have investigated this a bit. Most operations for ports are doing one-by-one. Deleting as I see is always done in this way. Adding a range is done by a single command, but checking ports are doing one-by-one.
If we skip/change mentioned checking for adding ports, this should decrease initial commit time. But when we try to change/delete ports, the issue will back.
I think that there should be better to reimplement the whole firewall group section in Python, instead of fixing this logic now.

Apr 8 2020, 2:21 PM · VyOS 1.3 Equuleus (1.3.3)
Unknown Object (User) changed the status of T2236: DMVPN broken after tunnel rewrite to XML/Python from Open to Needs testing.
Apr 8 2020, 1:37 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) added a comment to T2236: DMVPN broken after tunnel rewrite to XML/Python.

PR for this task https://github.com/vyos/vyos-1x/pull/313

Apr 8 2020, 1:37 PM · VyOS 1.3 Equuleus (1.3.0)
Viacheslav updated the task description for T2201: Rewrite protocol BGP [op-mode] to new XML/Python style.
Apr 8 2020, 1:20 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.

thanks to @runborg .. my own initial attempt to syslog failed (facility level ??)
This works

import logging
import logging.handlers
my_logger = logging.getLogger('MyLogger')  # logger is singleton
my_logger.setLevel(logging.DEBUG)
handler = logging.handlers.SysLogHandler(address='/dev/log', facility="auth")
my_logger.addHandler(handler)
my_logger.critical('this is critical')
Apr 8 2020, 12:07 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.
from shlex import quote
def systemd(self, level, message):
    msg = quote(message)
    run(f'echo {msg} | systemd-cat -p {self.level}')
Apr 8 2020, 11:53 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob updated the task description for T2241: Changing settings on an interface causes it to fall out of bridge.
Apr 8 2020, 11:52 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob triaged T2241: Changing settings on an interface causes it to fall out of bridge as Urgent! priority.
Apr 8 2020, 11:42 AM · VyOS 1.3 Equuleus (1.3.0)