summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-11-13Merge pull request #5628 from natali-rs1985/T9568rollingJohn Estabrook
remote: T9568: Do not send HTTP credentials to another host after a redirect
2026-11-12Merge pull request #5648 from c-po/T9606-ospf-compatibleKyrylo Yatsenko
ospf: T9606: add "compatible" node for RFC1583 and RFC7474 options
2026-11-12Merge pull request #5647 from c-po/T9615-pylint-coverageChristian Breunig
T9615: extend pylint coverage
2026-11-12ospf: T9606: add "compatible rfc7474" to control strict sequence number ↵Christian Breunig
validation FRR now makes strict RFC7474 sequence number validation for OSPF cryptographic authentication optional. It is on by default and only the "no compatible rfc7474" form is shown. The new CLI node "compatible rfc7474" enables strict validation. When it is not set, "no compatible rfc7474" is rendered. Migration does not set it, so the previous behaviour of non-strict sequence number validation is kept on upgraded routers. Users must explicitly enable strict validation.
2026-11-12ospf: T9606: move "parameters rfc1583-compatibility" to "compatible rfc1583"Christian Breunig
The RFC1583 option sat under "parameters" although FRR groups it with its other "compatible" commands. It now lives under "compatible rfc1583" for the default and VRF instances. Migration moves an existing setting and drops a "parameters" node left empty by the move.
2026-11-12Makefile: T9615: run pylint error checks on all Python filesChristian Breunig
Error checks only covered parts of the tree, so broken imports in helpers, utils, validators and Python subpackages went unnoticed. Unused imports were checked in a separate run. Both checks now run in a single pass over every Python file, including scripts without a .py extension. Modules missing from the build environment, generated on install or imported via sys.path changes are ignored globally, as are protoc generated files.
2026-11-12boot-config-loader: T9615: assign config file name outside the else branchChristian Breunig
No functional change, pylint reported a used-before-assignment as it does not know the other branch exits.
2026-11-12T9615: remove unused importsChristian Breunig
2026-11-12T9615: remove helpers calling dropped config tree test functionsChristian Breunig
The show_commit_data and test_commit wrappers were removed by commit 09cb7801d790 ("T7272: drop test functions"), but the helper scripts using them were left behind and failed on import.
2026-11-12T9615: run is_ip_network test shadowed by a duplicate nameChristian Breunig
Two tests shared one name, so the is_ip_network test was replaced by the compare_netmask test and never ran.
2026-11-12keepalived: T9615: only ignore EAGAIN when reading the FIFOChristian Breunig
Any exception without an errno attribute raised an AttributeError inside the handler instead of being logged. EAGAIN is now caught on its own and everything else is logged.
2026-11-12vyos-hostsd-client: T9615: fix setting the host nameChristian Breunig
The host name and domain name were passed to the client as a single dict, so --set-host-name always failed with a TypeError. Both are now passed as separate arguments.
2026-11-12Merge pull request #5558 from jestabro/commit-confirm-timerViacheslav Hletenko
T9446: start commit-confirm timer after commit completes in the case 'reload'
2026-11-12Merge pull request #5566 from natali-rs1985/T9466Viacheslav Hletenko
load-balancing: T9466: Fix listen-address check for VRF, link-local and new IPv6 addresses
2026-11-12Merge pull request #5619 from alexandr-san4ez/T9329-rollingViacheslav Hletenko
telegraf: T9329: Add PKI based TLS options for InfluxDB output
2026-11-12Merge pull request #5637 from c-po/T6301-dhcpv6-client-release-timeoutViacheslav Hletenko
dhcpv6-client: T6301: do not block commits on an unanswered Release
2026-11-11telegraf: T9329: Add PKI based TLS options for InfluxDB outputOleksandr Kuchmystyi
Add a reusable `tls` node for Telegraf outputs and use it for InfluxDB: `ca-certificate`, `certificate`, `server-name` and `insecure`. Referenced PKI objects are written to `/run/telegraf/certs`.
2026-11-10Merge pull request #5644 from asklymenko/rollingChristian Breunig
T9607: Synchronize the list of branches across all scripts
2026-11-10T9607: Synchronize the list of branches across all scriptsasklymenko
2026-11-10Merge pull request #5636 from jestabro/perms-write-fileJohn Estabrook
T9590: fix order of set perms/ownership and first write in utils write_file
2026-11-10Merge pull request #5640 from natali-rs1985/T9601Viacheslav Hletenko
telegraf: T9601: Pass Azure Data Explorer credentials via the environment file
2026-11-10Merge pull request #5638 from c-po/T9587-vyos-op-run-suidViacheslav Hletenko
debian: T9587: restore SUID bit on vyos-op-run
2026-11-09telegraf: T9601: Pass Azure Data Explorer credentials via the environment fileNataliia Solomko
The Azure client ID, secret and tenant ID were only set in the commit process environment, so they never reached the telegraf service and the Azure Data Explorer output could not authenticate. The secret also stayed in the configuration daemon after the commit. The credentials are now written to the same root-only environment file as the InfluxDB token, and changing them restarts telegraf.
2026-11-09utils: T9590: set perms/ownership before first write in write_fileJohn Estabrook
2026-11-09load-balancing: T9466: Fix listen-address check for VRF, link-local and new ↵Nataliia Solomko
IPv6 addresses The listen-address check ignored the HAProxy VRF. An address on an interface in that VRF was reported as not assigned. With "vrf default" the port check always failed. Changing the VRF only reloaded HAProxy, so it kept running in the old VRF. HAProxy cannot parse a link-local address with its "%interface" scope. The commit passed, but HAProxy failed to load the config. A new IPv6 address cannot be used until duplicate address detection finishes. Adding it together with the listen-address, as on every boot, was refused as "port used by another service". Now: - addresses and ports are checked inside the HAProxy VRF, and "default" means no VRF - HAProxy restarts when its VRF changes - a link-local address is passed to HAProxy as "bind <address> interface <interface>"; one without an interface is refused - the check waits until a new IPv6 address can be used
2026-11-08Merge pull request #5526 from yzguy/wwan-static-bearer-addressingChristian Breunig
wwan: T9388: apply a static bearer's address/gateway/DNS directly instead of DHCP(v6)/SLAAC
2026-11-08wwan: T9388: import wait_for() only where the bearer is polledChristian Breunig
Every interface script loads the WWAN interface class, but only polling the bearer of a modem needs wait_for(). Import it there, as the WWAN helpers already do.
2026-11-08wwan: T9388: import the WWAN route helpers only where they are usedChristian Breunig
The configuration dictionary helpers are imported by nearly every configuration script, but only the collection of WWAN default routes needs the WWAN helpers and the XML default values. Import them there instead of at module level.
2026-11-08wwan: T9388: import tempfile only when recording bearer stateChristian Breunig
The WWAN helpers imported tempfile at module level, which loads shutil, random and the bz2/lzma/zlib modules. As these helpers are imported by the configuration dictionary helpers, every process importing those paid about 2 ms for it, although only writing the bearer state needs it.
2026-11-08op-mode: T9587: reject control characters in operator commandsChristian Breunig
The special character check for operator-level users allowed any whitespace, including newlines. Tag node values are substituted into a shell command which runs as root, so an operator could append arbitrary commands, e.g. "vyos-op-run show interfaces ethernet $'eth0\nid'". Only plain spaces are accepted now, everything else is rejected before privileges are raised. The operator smoketest covers this case.
2026-11-08smoketest: T9587: verify operator users can run op-mode commandsChristian Breunig
No smoketest logged in as an operator-level user, so losing the SUID bit on the op-mode runner went unnoticed. Add a test which checks the SUID bit, then logs in via SSH as an operator and verifies that commands in the command-policy return the same output as for an admin, while commands outside of it are rejected.
2026-11-08debian: T9587: restore SUID bit on vyos-op-runChristian Breunig
When vyos-utils was merged into vyos-1x, the post-install step that sets the SUID bit on vyos-op-run was not carried over. Operator-level users have no sudo rights and rely on that bit for the runner to switch to root after the command-policy check, so every op-mode command they ran silently produced no output. The vyos-1x post-install script now sets the SUID bit again.
2026-11-08Merge pull request #5629 from natali-rs1985/T9569Christian Breunig
telegraf: T9569: Pass InfluxDB token via a root-only environment file
2026-11-08Merge pull request #5632 from sever-sever/T9582Christian Breunig
T9582: Fix OpenConnect RADIUS accounting server missing from radius_servers
2026-11-08Merge pull request #5634 from natali-rs1985/T9588Christian Breunig
http-api: T9588: Keep config strings out of world-readable /tmp
2026-11-08Merge pull request #5633 from natali-rs1985/T9585Christian Breunig
nhrp: T9585: Fix verify() never validating NHRP tunnels
2026-11-08Merge pull request #5477 from ruben-herold/T9322-intf-addr-assigned-hardeningChristian Breunig
utils: T9322: validate the address is_intf_addr_assigned() is given
2026-11-08utils: T9322: simplify address assignment lookup and document ValueErrorChristian Breunig
The lookup for an address on all interfaces carried a copy of the zone index and VRF filtering that already exists in the lookup returning the matching interfaces. It now delegates to it, so the two cannot drift. The per-interface address match is written as a single condition, the comments are trimmed, and the docstrings state that anything but a single address raises ValueError instead of being reported as not assigned. The sflow zone index smoketest removes the dummy interface it creates, and the unit tests drop a stale task reference and a duplicate import.
2026-11-08utils: T9322: reject addresses that are not a single address and honour zone ↵Ruben Herold
indexes The helper that tells whether an address is assigned to an interface accepted ranges and addresses with a zone index. A range ended in a traceback. A zone index was ignored, so an address on the loopback interface was reported as assigned to the interface named in the zone. The helper now rejects everything that is not a single address, a zone index included. The functions that look for an address on all interfaces use the zone to pick the one interface to check, so a zone that names an interface which does not hold the address is no longer accepted. The command that lists the addresses is passed as a list, so the interface name and the namespace do not reach a shell. Unit tests and a smoketest cover the cases.
2026-11-07wwan: T9388: tidy up reading the default route optionsChristian Breunig
Import default_value() at module level instead of once per WWAN interface, and share the dhcp-options path of both route options so the lines stay within the line length. No functional change.
2026-11-07wwan: T9388: work out the bearer address families in one placeChristian Breunig
Which address families an interface takes from its bearer was derived from "address dhcp", "address dhcpv6" and "ipv6 address autoconf" in three places: the connect options, the FRR default routes and the re-apply after a re-dial. Share a single helper so they cannot drift apart. No functional change.
2026-11-07wwan: T9388: add and remove a bearer's address via the common helpersChristian Breunig
The address of a static bearer was added and removed with hand-written ip commands, duplicating the assigned check, the IPv4 broadcast and the address cache of the generic interface code. Use add_addr() and del_addr() instead. No functional change.
2026-11-07netlinkd: T9388: keep the bearer retry bookkeeping under the lockChristian Breunig
The pending bearer re-applies are updated by the dial and retry worker threads while the reconcile loop drops interfaces which are gone, disabled or disconnected. A worker finishing its attempt afterwards wrote the entry back, so such an interface was tried once more. All access now holds the WWAN lock, and a worker only updates an entry which is still pending.
2026-11-07wwan: T9388: honour no-default-route for the IPv6 route of a bearerChristian Breunig
"dhcp-options no-default-route" only suppressed the IPv4 default route of a static bearer, and only with "address dhcp" configured, as the option is dropped from the interface config otherwise. The IPv6 route was always installed. The option now suppresses both routes, as it does for PPPoE, regardless of which address family is configured.
2026-11-07wwan: T9388: drop a stale DHCP router once a static bearer appliesChristian Breunig
An interface with "address dhcp" contributes a DHCP default route next to the one of its static bearer. The DHCP one is built from the router of the last lease event, which is only cleared by a STOP event. A client which ended up failed never sends one, so a router from an earlier lease added a second default route towards a stale gateway. The record of the last lease event is now removed when a static bearer takes over IPv4.
2026-11-07wwan: T9388: always stop the DHCP(v6) client for a static bearerChristian Breunig
The client was only stopped after asking systemd whether it was running at all. Stopping an inactive unit does nothing, so the query is dropped. This also removes the configuration a client left behind when it ended up failed, which the query skipped.
2026-11-07wwan: T9388: do not retry a family the network does not supplyChristian Breunig
After a re-dial, a configured family the connected bearer had no settings for was reported as incomplete. On a network without IPv6 this was retried on the next ten reconcile passes, restarting the DHCPv6 client or SLAAC each time, and then logged as given up - on every re-dial. A family the connected bearer does not supply is now settled with the configured fallback. Only a missing bearer or a static one without an address is retried.
2026-11-07wwan: T9388: stop waiting for a bearer which cannot completeChristian Breunig
The bearer settings of a family were polled for up to five seconds whenever they were missing. Without a connected bearer, or on a network that only supplies one family, they never arrive, so every such commit waited out the timeout once per configured family. Only wait while the connected bearer has no settings for either family yet.
2026-11-07wwan: T9388: simplify waiting for the bearer methodChristian Breunig
Keep the polled bearer and method in plain variables via nonlocal, as the modem index lookup already does, instead of a result dict. No functional change.
2026-11-07wwan: T9388: apply a bearer's settings only for the static methodChristian Breunig
Every bearer method other than dhcp was handled as static, including unknown. ModemManager reports the address and prefix of such a bearer as "--", which was then installed as "--/--" and aborted the commit. Only a static bearer is applied now, any other method falls back to the DHCP(v6) client or SLAAC, and a placeholder address or prefix counts as missing.