In T3117#81576, @c-po wrote:Unfortunately setting udp4 was never "valid" in the first place, this was only possible by a wrong regex here: https://github.com/vyos/vyos-1x/blob/406083932ae62ccde5ff547ef7d7960efe0269e3/interface-definitions/interfaces-openvpn.xml.in#L345 this has been corrected already which shows the above mentioned result in a not loading config.
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Feed All Stories
All Stories
All Stories
Dec 8 2020
Dec 8 2020
Matwolf added a comment to T3117: OpenVPN config migration errors upgrading from 1.3-rolling-202010280217 to 1.3-rolling-202012060217.
c-po changed the status of T3117: OpenVPN config migration errors upgrading from 1.3-rolling-202010280217 to 1.3-rolling-202012060217 from In progress to Needs testing.
c-po added a comment to T3117: OpenVPN config migration errors upgrading from 1.3-rolling-202010280217 to 1.3-rolling-202012060217.
Unfortunately setting udp4 was never "valid" in the first place, this was only possible by a wrong regex here: https://github.com/vyos/vyos-1x/blob/406083932ae62ccde5ff547ef7d7960efe0269e3/interface-definitions/interfaces-openvpn.xml.in#L345 this has been corrected already which shows the above mentioned result in a not loading config.
c-po closed T2562: VyOS can't be used as a DHCP server for a DHCP relay, a subtask of T3100: Migrate DHCP/DHCPv6 server to get_config_dict(), as Resolved.
jack9603301 reopened T3089: Migrate port mirroring to vyos-1x and support two-way traffic mirroring as "Needs testing".
c-po changed the status of T3117: OpenVPN config migration errors upgrading from 1.3-rolling-202010280217 to 1.3-rolling-202012060217 from Open to In progress.
c-po changed the status of T2562: VyOS can't be used as a DHCP server for a DHCP relay, a subtask of T3100: Migrate DHCP/DHCPv6 server to get_config_dict(), from In progress to Needs testing.
c-po changed the status of T2562: VyOS can't be used as a DHCP server for a DHCP relay from In progress to Needs testing.
c-po added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
Unfortunately this is the wrong way to go. If it is - for whatever reason - not possible to configure the VLAN parameters for this given interface b/c the enslaved interface is yet not present on the system, it should be later configured by the individual interface.
primoz added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
Tried this patch with @jack9603301 , it solves the problem for me.
jack9603301 renamed T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails from VLAN-aware bridges + VXLAN to When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
jack9603301 added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
@c-po Please merge this PR, the problem will be fixed directly
jack9603301 changed the status of T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails from Open to In progress.
jack9603301 added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
I may have to change the configuration priority. Due to priority issues, the settings may fail
GitHub <noreply@github.com> committed rVYOSONEX2a25efce5f3e: Merge pull request #633 from jack9603301/T3089 (authored by c-po).
sever-sever <v.gletenko@vyos.io> committed rVYOSONEX9f49c546bed3: bgp: T2174: Fix Template. Update to use FRRConfig framework.
GitHub <noreply@github.com> committed rVYOSONEX7ef0840d4642: Merge pull request #637 from sever-sever/T2174 (authored by c-po).
PR for fixing bgp template (prefix-list) and add the ability to use updated frr.py framework functions.
jack9603301 added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
@primoz Can you contact me in Slack?
how to build any version of linux kernel using build-kernel.sh and make iso?
Dec 7 2020
Dec 7 2020
some corruption. I redeployed the instance and copied the config over and now it works.
To clarify, in this case I am trying to commit a config with an interface that's configured as an AP.
Well this is from old Vyatta times, on system bootup this script is called (https://github.com/vyos/vyatta-cfg-system/blob/current/scripts/system/vyatta_interface_rescan#L137-L140) and a WIFI node is created if a wifi interface is detected. The script could be altered, too if monitor is not supported.
@bbs2web, here's what I got...
@bbs2web, getting this one (https://downloads.vyos.io/rolling/current/amd64/vyos-1.3-rolling-202012070521-amd64.iso) and will troubleshoot...
That's a little unclear to me. If the interface is defined but doesn't yet exist, then it needs to be created. A brief look at the code makes it seem like it always creates new interfaces with type=monitor.
I guess the best thing would be to not add this interface at all
efficiosoft added a comment to T3113: dhcp-server: Multiple domain-search values are escaped incorrectly.
Thanks for the quick fix!
jack9603301 added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
@primoz Delete the old one, create a new bridge after commit, and then commit. Can it work normally?
primoz added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
it's an edit + delete/delete/delete ... no creation (at least in my edge case).
sempervictus added a comment to T2884: Upstream Kernel Patches from Semper Victus Linux Hardened Tree.
Important note on this PR - in order to build the GCC plugins which perform most of the self-protection work, the Docker container needs gcc-8-plugin-dev installed. Otherwise it builds, but silently downgrades the configs dropping RANDSTRUCT/STACKLEAK silently.
Pulled RSBAC out for now (issues with building the rest while its in there but disabled), validated builds with and without the plugins package for GCC8.
Installed 1.3-rolling-202012060217 yesterday and the VLAN interfaces don't appear to get MPLS enabled. I essentially removed the following lines, which work as expected when present:
set system sysctl custom net.mpls.conf.eth0/11.input value '1' set system sysctl custom net.mpls.conf.eth0/13.input value '1' set system sysctl custom net.mpls.conf.eth0/14.input value '1'
GitHub <noreply@github.com> committed rVYOSONEX722e886ac2bf: Merge pull request #636 from c-po/t2562-dhcp (authored by c-po).
jack9603301 added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
@c-po Does the deletion of the bridge occur after the new bridge is created or before?
sempervictus added a comment to T2884: Upstream Kernel Patches from Semper Victus Linux Hardened Tree.
Added an inert patch (disabled in Kconfig) for https://www.rsbac.org/ on 5.4. This can be used to significantly harden the restrictions intended by the CLI to limit users to specifically defined roles, same goes for applications/containers.
If adding container support to VyOS is still on the roadmap, we're going to want to take extra care to enforce the boundaries between them and the host since real world use cases are pretty much guaranteed to leave old vulnerable containers running on long-running network appliances making for a variable and worsening attack surface over time.
This isn't quite as integrated and doesnt provide nearly the coverage as what you get with grsec+pax, but a rough approximation of "role-based FS restrictions and runtime hardening" is now in the pull request along with the other stuff which seemed pertinent for upstream.
sempervictus added a comment to T2884: Upstream Kernel Patches from Semper Victus Linux Hardened Tree.
Thank you sir. Worked through a clean build, updated patches, rebased, and pushed.
Dec 6 2020
Dec 6 2020
primoz added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
As it looks to me (but i'm not sure yet), the configuration system is fixing devices one by one and was trying to add port into new bridge before the old bridges were removed (and so ports were still in them). If this is the case ... not sure that there even exist an easy fix.
GitHub <noreply@github.com> committed rVYOSONEX6b7aa5ae54b5: vyos.validate: T1579: support prefix length in is_ipv6_link_local() (authored by c-po).
c-po renamed T3100: Migrate DHCP/DHCPv6 server to get_config_dict() from Migrate DHCP server to get_config_dict() to Migrate DHCP/DHCPv6 server to get_config_dict().
GitHub <noreply@github.com> committed rVYOSONEXb2ee69bbfb73: Merge pull request #635 from Cheeze-It/current (authored by c-po).
jack9603301 added a comment to T3089: Migrate port mirroring to vyos-1x and support two-way traffic mirroring.
OK, the latest PR can be tested. I just tested the basic functions and the effectiveness of the migration script. But I haven't submitted the PR of vyatta-cfg-system
c-po added a comment to T3089: Migrate port mirroring to vyos-1x and support two-way traffic mirroring.
Okay, debugging with @jack9603301 showed that there was/is an issue. If you are running DHCP client on the interface which is using mirroring, this indeed becomes an issue as traffic is dropped until the session is re-established.
jack9603301 added a comment to T3089: Migrate port mirroring to vyos-1x and support two-way traffic mirroring.
In the latest PR implementation, eth0 will shake at the moment when the eth0 configuration is changed, but it seems to be restored immediately
jack9603301 added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
Do you have any good fixes?
primoz added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
first delete original, commit, then new and final commit.
jack9603301 added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
You mean, if you submit it in 2 steps and configure it separately, it works fine?
primoz added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
For some reason ... nothing in logs:
primoz added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
It works nicely with VXLANs ... no problems there. You can use it like this to get local port into vxlan (without this, vxlans become useless). I have problems with bond interface (everything else works). Debugging now.
jack9603301 added a comment to T3089: Migrate port mirroring to vyos-1x and support two-way traffic mirroring.
In the test topology, the same situation was found in the mirror test of pppoe0
jack9603301 added a comment to T3089: Migrate port mirroring to vyos-1x and support two-way traffic mirroring.
I am a little doubtful whether this is in design, and whether there will be a short-term up to down to up conversion when the interface is modified.
c-po added a comment to T3089: Migrate port mirroring to vyos-1x and support two-way traffic mirroring.
Of course, restarting ping works, but all flows in transit will stop, this is not what you wan't on an edge device running 10GBit/s of traffic
jack9603301 added a comment to T3089: Migrate port mirroring to vyos-1x and support two-way traffic mirroring.
Can I restart ping? Can be restored after restart
c-po added a comment to T3089: Migrate port mirroring to vyos-1x and support two-way traffic mirroring.
Running VyOS 1.3-rolling-202012060217 immediately when I enable port mirroring all sessions are dropped on this link.
jack9603301 added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
Please only allow native-vlan and allowed-vlan for ethernet and bond type of interfaces for the time beeing
c-po added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
Please only allow native-vlan and allowed-vlan for ethernet and bond type of interfaces for the time beeing
jack9603301 added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
Logically speaking, any interface that can be added as a member interface when setting the bridge interface should be fine. bridge vlan applies to any member interface, but I don’t know why it is sometimes possible and sometimes not. I need More information to determine the problem (since there is a situation that can be set successfully, and no abnormality is reported, then the setting should be successful, WLAN is not working because the WLAN bridge is set by hostapd)
c-po added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
I wonder if this configuration should be possible at all. In my opinion native-vlan and allowed-vlan should be supported only on bond and ethernet interface types
c-po changed the status of T2562: VyOS can't be used as a DHCP server for a DHCP relay, a subtask of T3100: Migrate DHCP/DHCPv6 server to get_config_dict(), from Open to In progress.
c-po changed the status of T2562: VyOS can't be used as a DHCP server for a DHCP relay from Open to In progress.
Taking the following configuration as a pool serving relays:
c-po changed the status of T3113: dhcp-server: Multiple domain-search values are escaped incorrectly from Open to In progress.
Put in a new PR to enable LDP local label allocation control.
jack9603301 added a comment to T3114: When the bridge member is a non-ethernet interface, setting VLAN-aware bridge parameters fails.
I don't know what you mean?
Dec 5 2020
Dec 5 2020
c-po added a comment to T2996: Checking digital signature failed on downgrade from rolling to stable..
Disable downgrades in general is a bad idea. We still can leave the user with a broken config on downgrade but prevent it is bad. Imagine a very simple config, that would be downgradable.
successfully tested on the self-build image from crux branch and the latest rolling image