chore(release): 4.43.0 #131

Merged
christianmanivong merged 5 commits from chore/release-4.43.0 into main 2026-11-26 11:31:09 +00:00
Owner

An active-only Zabbix agent closes the port netOrk opened for it (NetOrk/netork#2693).

  • opened_ports: the record of the firewall rules netOrk opened on a host. ufw, iptables and firewalld do not say who wrote a rule, so a driver records each rule it adds in /var/lib/netork/opened-ports (root's), only when the firewall did not have it before. parse_opened_ports_record reads it strictly (not at all where the directory or file is not root's alone or a symbolic link; a line that is not exactly a rule is reported, never acted on). Shared helpers: ufw_allow_recorded_command, ufw_delete_command, revoke_recorded_rules, revoked_output.
  • ZabbixAgentMixin._revoke_zabbix_agent_sources(settings), optional: the firewall step calls it for an active_only agent. A driver without it changes nothing and says it cannot tell netOrk's rule from the operator's.

Merge this first: napalm-linux 0.18.0, napalm-openwrt 0.9.0 and napalm-proxmox 0.13.0 need it, and their CI installs this repository's main.

An active-only Zabbix agent closes the port netOrk opened for it (NetOrk/netork#2693). - `opened_ports`: the record of the firewall rules netOrk opened on a host. ufw, iptables and firewalld do not say who wrote a rule, so a driver records each rule it adds in `/var/lib/netork/opened-ports` (root's), only when the firewall did not have it before. `parse_opened_ports_record` reads it strictly (not at all where the directory or file is not root's alone or a symbolic link; a line that is not exactly a rule is reported, never acted on). Shared helpers: `ufw_allow_recorded_command`, `ufw_delete_command`, `revoke_recorded_rules`, `revoked_output`. - `ZabbixAgentMixin._revoke_zabbix_agent_sources(settings)`, optional: the firewall step calls it for an `active_only` agent. A driver without it changes nothing and says it cannot tell netOrk's rule from the operator's. Merge this first: napalm-linux 0.18.0, napalm-openwrt 0.9.0 and napalm-proxmox 0.13.0 need it, and their CI installs this repository's main.
christianmanivong added 4 commits 2026-11-26 07:27:28 +00:00
ufw, iptables and firewalld do not say who wrote a rule. opened_ports keeps a
root-owned record of the rules a driver opened, written only when the firewall
did not have the rule before, and read strictly. ZabbixAgentMixin's firewall
step calls the driver's optional _revoke_zabbix_agent_sources for an
active-only agent; a driver without it changes nothing and says why.
chore(release): 4.43.0
driver / lint (pull_request) Successful in 22s
driver / standard (pull_request) Failing after 22s
driver / types (pull_request) Successful in 59s
driver / test (3.13) (pull_request) Successful in 1m6s
driver / lowest (pull_request) Successful in 35s
driver / test (3.12) (pull_request) Successful in 1m15s
driver / build (pull_request) Successful in 28s
driver / security (pull_request) Successful in 55s
CI / driver (pull_request) Failing after 2m24s
driver / publish (pull_request) Skipped
507e9a8728
christianmanivong added 1 commit 2026-11-26 11:24:35 +00:00
refactor(opened-ports): reading a line in parts, within the quality ratchet
driver / lint (pull_request) Successful in 19s
driver / standard (pull_request) Successful in 22s
driver / types (pull_request) Successful in 1m1s
driver / lowest (pull_request) Successful in 37s
driver / test (3.12) (pull_request) Successful in 1m23s
driver / test (3.13) (pull_request) Successful in 1m22s
driver / build (pull_request) Successful in 34s
driver / security (pull_request) Successful in 1m6s
CI / driver (pull_request) Successful in 2m44s
driver / publish (pull_request) Skipped
66f26c3d8e
christianmanivong merged commit 818016b717 into main 2026-11-26 11:31:09 +00:00
christianmanivong deleted branch chore/release-4.43.0 2026-11-26 11:31:09 +00:00
Sign in to join this conversation.