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.
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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_recordreads 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 anactive_onlyagent. 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.