summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-08-19Merge pull request #3973 from vyos/mergify/bp/sagitta/pr-3961Christian Breunig
configverify: T6642: verify_interface_exists requires config_dict arg (backport #3961)
2024-08-17Merge pull request #3990 from vyos/mergify/bp/sagitta/pr-3988Christian Breunig
T5794: firewall: change firewall priority in oder to be loaded after all interfaces (backport #3988)
2024-08-17Merge pull request #3994 from vyos/mergify/bp/sagitta/pr-3989Christian Breunig
utils: T6658: fix write_file check in case of empty directory path (backport #3989)
2024-08-16utils: T6658: fix write_file check in case of empty directory pathJohn Estabrook
(cherry picked from commit 58125b64c6678ea581998c9f83a19fae0cdbda12)
2024-08-16T5794: change firewall priority in oder to be loaded after all interfaces.nicolas
(cherry picked from commit b3ae35987a860a5d2cf64dfbc156a7ee7cc799a2)
2024-08-15Merge pull request #3984 from vyos/mergify/bp/sagitta/pr-3981Christian Breunig
T6646: conntrack: in ignore rules, if protocols=all, do not append it to the rule (backport #3981)
2024-08-14T6646: conntrack: in ignore rules, if protocols=all, do not append it to the ↵Nicolas Fort
rule (cherry picked from commit 2d953bedd0e416ead924f77ec612c997f950535a)
2024-08-13Merge pull request #3957 from vyos/mergify/bp/sagitta/pr-3916Christian Breunig
T6619: Remove the remaining uses of per-protocol FRR configs (backport #3916)
2024-08-13configverify: T6642: verify_interface_exists requires config_dict argJohn Estabrook
The function verify_interface_exists requires a reference to the ambient config_dict rather than creating an instance. As access is required to the 'interfaces' path, provide as attribute of class ConfigDict, so as not to confuse path searches of script-specific config_dict instances. (cherry picked from commit 5f23b7275564cfaa7c178d320868b5f5e86ae606)
2024-08-12Merge pull request #3967 from vyos/mergify/bp/sagitta/pr-3964Christian Breunig
T6643: firewall: fix ip address range parsing on firewall rules. (backport #3964)
2024-08-11T6643: firewall: fix ip address range parsing on firewall rules.Nicolas Fort
(cherry picked from commit ff58f3e5f30d3775487a6a3b561863aa37d11d43)
2024-08-09Merge pull request #3962 from vyos/mergify/bp/sagitta/pr-3960John Estabrook
qos: T6638: require interface state existence in verify conditional (backport #3960)
2024-08-09qos: T6638: require interface state existence in verify conditionalJohn Estabrook
(cherry picked from commit ed63c9d1896a218715e13e1799fc059f4561f75e)
2024-08-08Merge pull request #3953 from vyos/mergify/bp/sagitta/pr-3790Christian Breunig
smoketest: T6539: remove explicit test for non existing global log entry (backport #3790)
2024-08-08T6619: Remove the remaining uses of per-protocol FRR configs (#3916)Roman Khramshin
(cherry picked from commit f2256ad338fc3fbaa9a5de2c0615603cd23e0f94)
2024-08-07smoketest: T6539: remove explicit test for non existing global log entryChristian Breunig
Commit dd5908eac ("T6539: add logging options to load-balancer reverse-proxy") added CLI commands to add custom log entries for frontend and backend servers as well as a global log directive. Remove explicit test code for no longer always present "global log" directive. (cherry picked from commit b71481f7de93d43ff7208ff76cbc6b829b8951b2)
2024-08-03Merge pull request #3928 from vyos/mergify/bp/sagitta/pr-3923Daniil Baturin
console: T3334: remove unused directories imported from vyos.defaults (backport #3923)
2024-08-02T6486: T6379: Rewrite generate openvpn client-config (#3926)mergify[bot]
This command helps to generate users `.ovpn` files Rewrite `generate openvpn client-config` to use Config() It needs to get the default values as `ConfigTreeQuery` is not supporting default values. Fixed "ignores configured protocol type" if TCP is used Fixed lzo, was used even if lzo not configured Fixed encryption is not parse the dict (cherry picked from commit fe50f1a9292b34e168b35453f2cfc2aee2ca4843) Co-authored-by: Viacheslav Hletenko <v.gletenko@vyos.io>
2024-08-02Merge pull request #3921 from vyos/mergify/bp/sagitta/pr-3903Christian Breunig
T6617: T6618: vpn ipsec remote-access: fix profile generators (backport #3903)
2024-08-02Merge pull request #3905 from vyos/mergify/bp/sagitta/pr-3883Christian Breunig
vrf: T6603: conntrack ct_iface_map must only contain one entry for iifname/oifname (backport #3883)
2024-08-01console: T3334: remove unused directories imported from vyos.defaultsChristian Breunig
(cherry picked from commit 4055090a8d4fd64288eab7ae41aa9440f5de4ece)
2024-08-01T6617: T6618: vpn ipsec remote-access: fix profile generatorsLucas Christian
(cherry picked from commit e97d86e619e134f4dfda06efb7df4a3296d17b95)
2024-08-01Merge pull request #3914 from vyos/mergify/bp/sagitta/pr-3874Christian Breunig
smoketest: T6592: remove unused "import os" (backport #3874)
2024-08-01Merge pull request #3918 from vyos/mergify/bp/sagitta/pr-3915Christian Breunig
ipsec: T6148: Removed unused imports (backport #3915)
2024-07-31Merge pull request #3907 from vyos/mergify/bp/sagitta/pr-3715fett0
T6313: Add "NAT" to "generate" command for rule resequence (backport #3715)
2024-07-31ipsec: T6148: Removed unused imports (#3915)aapostoliuk
Removed unused pprint module (cherry picked from commit cb1834742f4ed01d99d6396af8339dd59788ef65)
2024-07-31ipsec: T6148: Fixed reset command by adding init after terminating (#3763) ↵mergify[bot]
(#3909) Strongswan does not initiate session after termination via vici. Added an CHILD SAs initialization on the initiator side of the tunnel. (cherry picked from commit 8838b29180ccc26d2aca0c22c9c8ca5e274825b2) Co-authored-by: aapostoliuk <108394744+aapostoliuk@users.noreply.github.com>
2024-07-31Merge pull request #3910 from vyos/mergify/bp/sagitta/pr-3698Christian Breunig
system: op-mode: T3334: allow delayed getty restart when configuring serial ports (backport #3698)
2024-07-31Merge pull request #3913 from vyos/mergify/bp/sagitta/pr-3753Christian Breunig
T6539: add logging options to load-balancer reverse-proxy (backport #3753)
2024-07-31smoketest: T6592: remove unused "import os"Christian Breunig
(cherry picked from commit 4717139174a869141a71cd28d10018e0cfcaece0)
2024-07-30T6539: add logging options to load-balancer reverse-proxyJonathan Voss
(cherry picked from commit dd5908eac390294ea178953fc0e6821d803d62f6)
2024-07-30system: op-mode: T3334: replace some print() statements with Warning()Christian Breunig
Make it more obvious for the user aber the severity of his action. (cherry picked from commit b3b31153963cc4338e8229f9f94b339682dd73a0)
2024-07-30system: op-mode: T3334: allow delayed getty restart when configuring serial ↵Andrew Topp
ports * Created op-mode command "restart serial console" * Relocated service control to vyos.utils.serial helpers, used by conf- and op-mode serial console handling * Checking for logged-in serial sessions that may be affected by getty reconfig * Warning the user when changes are committed and serial sessions are active, otherwise restart services as normal. No prompts issued during commit, all config gen/commit steps still occur except for the service restarts (everything remains consistent) * To apply committed changes, user will need to run "restart serial console" to complete the process or reboot the whole router * Added additional flags and target filtering for generic use of helpers. (cherry picked from commit bc9049ebd76576d727fa87b10b96d1616950237c)
2024-07-30T6313: Add "NAT" to "generate" command for rule resequencekhramshinr
(cherry picked from commit 142545b0535d0a994182389c99b7bcd6d7c37c24)
2024-07-30vrf: T6603: improve code runtime when retrieving info from nftables vrf zoneChristian Breunig
(cherry picked from commit 31acb42ecdf4ecf0f636f831f42a845b8a00d367)
2024-07-30vrf: T6603: conntrack ct_iface_map must only contain one entry for ↵Christian Breunig
iifname/oifname When any of the following features NAT, NAT66 or Firewall is enabled, for every VRF on the CLI we install one rule into nftables for conntrack: chain vrf_zones_ct_in { type filter hook prerouting priority raw; policy accept; counter packets 3113 bytes 32227 ct original zone set iifname map @ct_iface_map counter packets 8550 bytes 80739 ct original zone set iifname map @ct_iface_map counter packets 5644 bytes 67697 ct original zone set iifname map @ct_iface_map } This is superfluous. (cherry picked from commit d6e9824f1612bd8c876437c071f31a1a0f44af5d)
2024-07-29Merge pull request #3890 from vyos/mergify/bp/sagitta/pr-3889Christian Breunig
smoketest: T5705: use locally connected remote syslog servers (backport #3889)
2024-07-29Merge pull request #3893 from vyos/mergify/bp/sagitta/pr-3888Christian Breunig
smoketest: T6614: initial support for op-mode command testing (backport #3888)
2024-07-29Merge pull request #3862 from vyos/mergify/bp/sagitta/pr-3853Christian Breunig
system_option: T5552: Apply IPv4 and IPv6 options after reapplying sysctls by TuneD (backport #3853)
2024-07-28T6605: restore configd error formatting to be consistent with CLI (#3868) ↵mergify[bot]
(#3878) (cherry picked from commit 645f24908c9b338adc56ecc83f8c44d0b0206550) Co-authored-by: John Estabrook <jestabro@vyos.io>
2024-07-28smoketest: T6614: initial support for op-mode command testingChristian Breunig
(cherry picked from commit 33156c675f1bce0d2b3b1836a7d85abe25cd7f61)
2024-07-28Merge pull request #3886 from vyos/mergify/bp/sagitta/pr-3873Christian Breunig
Debian: T6598: depend on podman version >=4.9.5 (backport #3873)
2024-07-28smoketest: T5705: use locally connected remote syslog serversChristian Breunig
As there has been no route to the configured syslog servers, smoketests produced: rsyslogd: omfwd: socket 8: error 101 sending via udp: Network is unreachable Rather use some fake syslog servers from 127.0.0.0/8 which are directly connected and we do not need to look up a route, which will suppress the above error message. (cherry picked from commit 744ecfe60ed3633775feeb3da767a88709fd626c)
2024-07-27Debian: T6598: depend on podman version >=4.9.5Christian Breunig
(cherry picked from commit b9daaaa38abc08d27158ea44e016752b3cb45400)
2024-07-26Merge pull request #3882 from vyos/mergify/bp/sagitta/pr-3756Daniil Baturin
vxlan: T6505: Support VXLAN VLAN-VNI range mapping in CLI (backport #3756)
2024-07-26vxlan: T6505: Support VXLAN VLAN-VNI range mapping in CLI (#3756)Nataliia S
(cherry picked from commit 115e99630a317cab62c6f99e0461f6ce2c1edaf3)
2024-07-25Merge pull request #3880 from c-po/sagitta-wireless-smoketestChristian Breunig
smoketest: T6425: fix wireless smoketest CLI from invalid backport
2024-07-25Merge pull request #3872 from vyos/mergify/bp/sagitta/pr-3857Christian Breunig
interface: T6592: remove interface from conntrack ct_iface_map on deletion (backport #3857)
2024-07-25smoketest: T6425: fix wireless smoketest CLI from invalid backportChristian Breunig
New CLI syntax got backported via commit 6fb600f3c ("wireless: T6320: add 802.11ax at 6GHz") Revert back to the stable CLI syntax in the 1.4 (sagitta) release.
2024-07-25smoketest: T6592: verify no interface stalls in conntrack ct_iface_map on ↵Christian Breunig
deletion Now that interfaces are deleted from ct_iface_map during deletion it's time to also add a smoketest ensuring there is no entry in the ct_iface_map once an interface was deleted from the CLI. (cherry picked from commit 1c42ee9d16dd49fff2cbde652bf24a38f364526c)