-
napalm-linux 0.27.0
Stabledriver / lowest (push) Successful in 26sdriver / standard (push) Successful in 15sdriver / lint (push) Successful in 12sdriver / types (push) Successful in 1m1sdriver / test (3.13) (push) Successful in 54sdriver / test (3.12) (push) Successful in 1m3sdriver / build (push) Successful in 26sdriver / security (push) Successful in 1m6sdriver / publish (push) Successful in 24sCI / driver (push) Successful in 2m41sreleased this
2026-12-03 17:57:17 +00:00 | 0 commits to main since this releaseAdded
get_shares()(napalm-device-types'PosixSharesMixin, 4.58.0): the NFS exports and
Samba shares the host serves, from the kernel's export table andtestparm -s, each
naming the service that serves it (NetOrk/netork#3104). Read on an exec channel as the
login user: both are readable to everyone. A NAS driver built onLinuxDriverthat reads
its own configuration (OpenMediaVault) keeps its ownget_shares.get_network_mounts()(napalm-device-types'NetworkMountsMixin, 4.58.0): the NFS
exports and SMB shares the host has mounted, from/proc/self/mounts, on an exec channel
as the login user (NetOrk/netork#3104).
Changed
- Through napalm-device-types 4.58.0,
get_servicesreportsnfs-serveras running while
its unit is active, andget_listening_socketsnames it as the unit of the kernel's NFS
sockets.
Downloads
-
napalm-linux 0.26.0
Stabledriver / types (push) Successful in 51sdriver / standard (push) Successful in 14sdriver / lint (push) Successful in 13sdriver / test (3.13) (push) Successful in 48sdriver / lowest (push) Successful in 32sdriver / test (3.12) (push) Successful in 1m4sdriver / build (push) Successful in 26sdriver / security (push) Successful in 53sdriver / publish (push) Successful in 28sCI / driver (push) Successful in 2m26sreleased this
2026-12-01 09:05:45 +00:00 | 3 commits to main since this releaseAdded
get_login_sessions()(napalm-device-types'LoginSessionsMixin, 4.55.0): the
interactive logins the host recorded over the last seven days, fromwtmpdb lastand
last, each with its account, terminal, address and times, and the address of the
driver's own SSH session, whose sessions are left out (NetOrk/netork#2881). Read on an
exec channel as the login user: the records are readable to everyone, and sudo would
dropSSH_CONNECTION. OpenMediaVault and QNAP have it throughLinuxDriver; a host
whoselastis BusyBox's raisesLoginSessionsUnavailable.
Downloads
-
napalm-linux 0.24.0
Stabledriver / lint (push) Successful in 15sdriver / standard (push) Successful in 17sdriver / lowest (push) Successful in 26sdriver / types (push) Successful in 54sdriver / test (3.12) (push) Successful in 1m0sdriver / test (3.13) (push) Successful in 53sdriver / build (push) Successful in 26sdriver / security (push) Successful in 1m1sdriver / publish (push) Successful in 25sCI / driver (push) Successful in 2m10sreleased this
2026-11-29 10:30:52 +00:00 | 8 commits to main since this releaseAdded
install_cpu_microcode()through napalm-device-types'CpuMicrocodeMixin(4.53.0): the
CPU vendor's microcode on a host that runs on its own CPU (NetOrk/netork#2838). A guest is
refused; on Debian the archive's firmware component (non-free-firmware,non-freeup
to bullseye) is added to Debian's own sources first, written through the driver's staged
root write, and the index loaded again. The microcode loads at the next boot.- The hardening reading carries
virtualizationandcpu_vendor(napalm-device-types
4.53.0), over the same read-only command. OpenMediaVault and QNAP have both through
LinuxDriver; on QNAP the fix finds no package and changes nothing.
Downloads
-
napalm-linux 0.22.0
Stabledriver / types (push) Successful in 1m0sdriver / standard (push) Successful in 15sdriver / lint (push) Successful in 13sdriver / test (3.12) (push) Successful in 1m3sdriver / test (3.13) (push) Successful in 51sdriver / lowest (push) Successful in 31sdriver / build (push) Successful in 26sdriver / security (push) Successful in 56sdriver / publish (push) Successful in 24sCI / driver (push) Successful in 2m52sreleased this
2026-11-28 10:33:14 +00:00 | 10 commits to main since this releaseAdded
- The kernel facts carry the kernel's live patches through napalm-device-types 4.52.0: the
patches loaded in/sys/kernel/livepatch,kpatch list, and Canonical Livepatch's status
with the CVEs it fixes (NetOrk/netork#2701). Where Canonical's status does not read without
root,_run_livepatch_status_commandreads it again through the driver's sudo, one fixed,
read-only command that reads no stdin. OpenMediaVault and QNAP have it throughLinuxDriver.
Downloads
- The kernel facts carry the kernel's live patches through napalm-device-types 4.52.0: the
-
napalm-linux 0.21.0
Stabledriver / types (push) Successful in 1m1sdriver / standard (push) Successful in 16sdriver / lint (push) Successful in 13sdriver / test (3.12) (push) Successful in 1m2sdriver / test (3.13) (push) Successful in 54sdriver / lowest (push) Successful in 27sdriver / build (push) Successful in 31sdriver / security (push) Successful in 1m3sdriver / publish (push) Successful in 28sCI / driver (push) Successful in 3m4sreleased this
2026-11-28 10:10:45 +00:00 | 14 commits to main since this releaseAdded
get_login_accounts()through napalm-device-types'LoginAccountsMixin(4.51.0): every
account on the host a person can log in with -- root and UID 1000 on with a login shell
-- with its last login and where it came from, its lock and expiry, and the failed
attempts since its last login (NetOrk/netork#2707). One read-only command on an exec
channel (a full btmp makes a long report), as root first and as the login user, for the
last logins only, where root is refused. OpenMediaVault and QNAP have it through
LinuxDriver.
Downloads
-
napalm-linux 0.20.0
Stabledriver / types (push) Successful in 1m0sdriver / standard (push) Successful in 16sdriver / lint (push) Successful in 13sdriver / test (3.12) (push) Successful in 1m4sdriver / test (3.13) (push) Successful in 57sdriver / lowest (push) Successful in 27sdriver / build (push) Successful in 28sdriver / security (push) Successful in 59sdriver / publish (push) Successful in 28sCI / driver (push) Successful in 3m2sreleased this
2026-11-28 02:00:00 +00:00 | 18 commits to main since this releaseAdded
get_hardening()through napalm-device-types'HardeningMixin(4.48.0): how the host is hardened
-- its security modules, SELinux's and AppArmor's state, the crypto policy and FIPS mode,
the kernel's answer for each CPU vulnerability, andmitigations=/nosmtfrom the
kernel command line (NetOrk/netork#2706). One read-only command on an exec channel
(aa-status --jsonprints one long line), as root first for AppArmor's profiles and as
the login user where root is refused. OpenMediaVault and QNAP have it through
LinuxDriver.
Downloads
-
napalm-linux 0.19.0
Stabledriver / types (push) Successful in 1m6sdriver / standard (push) Successful in 19sdriver / lint (push) Successful in 17sdriver / test (3.12) (push) Successful in 1m9sdriver / test (3.13) (push) Successful in 1m4sdriver / lowest (push) Successful in 34sdriver / build (push) Successful in 34sdriver / security (push) Successful in 1m15sdriver / publish (push) Successful in 31sCI / driver (push) Successful in 3m31sreleased this
2026-11-26 19:12:21 +00:00 | 22 commits to main since this releaseAdded
get_services_need_restart()through napalm-device-types'ServicesRestartMixin(4.45.0):
the systemd services that still run code an update replaced on disk, so they keep the old
library until they restart (NetOrk/netork#2700). Read as root only, through the driver's
sudo like the listening sockets, in one fixed command that reads no stdin; without root
there is no reading, since one of the login user's own processes would read as clean.
OpenMediaVault and QNAP have it throughLinuxDriver.
Downloads
-
napalm-linux 0.18.0
Stabledriver / types (push) Successful in 1m5sdriver / standard (push) Successful in 16sdriver / lint (push) Successful in 14sdriver / test (3.12) (push) Successful in 59sdriver / test (3.13) (push) Successful in 56sdriver / lowest (push) Successful in 41sdriver / build (push) Successful in 32sdriver / security (push) Successful in 1m19sdriver / publish (push) Successful in 27sCI / driver (push) Successful in 4m35sreleased this
2026-11-26 11:48:20 +00:00 | 26 commits to main since this releaseAdded
- An active-only Zabbix agent closes the port netOrk opened for it on an earlier passive run
(_revoke_zabbix_agent_sources, napalm-device-typesZabbixAgentMixin,
NetOrk/netork#2693). firewalld, ufw and iptables do not say who wrote a rule, so every rule
the firewall step adds -- the Zabbix agent's tcp/listen_port, SNMP's udp/161 -- is now
recorded in/var/lib/netork/opened-ports(napalm-device-typesopened_ports), and only
when the firewall did not have it before: an identical rule the operator wrote is never
recorded. Closing removes exactly the agent's recorded rules, whatever port they opened,
from the zone and configuration recorded (firewalld), and rewrites the record. It reads the
record only when it is root's alone, and reports the rules for the port it left in place:
the operator's, or ones opened before this version recorded them. - A native Zabbix agent (napalm-device-types
ZabbixAgentMixin, NetOrk/netork#2571), for a
host without a container engine:configure_zabbix_agent(settings)installs
zabbix-agentfrom the host's packages, and where they have none and the caller names
the server's release line, from Zabbix's repository (zabbix-releasefor Debian, Ubuntu,
Raspberry Pi OS and the RHEL family). It writes the caller's values into
/etc/zabbix/zabbix_agentd.conf(the old file stays as.bak), opens tcp/listen_port
for the allowed sources in firewalld, ufw or iptables, enables and restarts the service. - On an rpm host each package names the source rpm it was built from, as
source_rpm
(perf→kernel); absent where rpm names none (gpg-pubkey). Red Hat listsperf,
python3-perfandbpftoolin every kernel CVE, and the source is what tells them apart
from user space (NetOrk/netork#2394). Not dpkg'ssource_package: netOrk reads that as
the name a distribution files its verdicts under, and Oracle's and Red Hat's name the
binary. get_installed_advisory_cves()through napalm-device-types'UpdateMixin(4.37.0): the
CVEs a dnf host's installed security advisories close, per package, read as root from
the cache. netOrk reads it where its knowledge base holds no records of the host's
release (NetOrk/netork#2394). dnf only; other package managers raise
NotImplementedError.
Changed
- Needs napalm-device-types 4.40.0 or later (
ZabbixAgentMixin). - The SNMP agent's firewall step is the shared
_allow_sources(allowed, port, proto); the
rules it writes for udp/161 are the same. load_replace_candidateisNoneinstead of a method that raises
NotImplementedError, so a caller that asks whether the driver can replace a
configuration gets no. netOrk offered a config restore for these devices that
could only fail (NetOrk/netork#2503).- On an rpm host a package's version carries its epoch where it has one
(1:6.2.0-13.el9), as on a dpkg host. Oracle's and Red Hat's fixes name it, and without
it an epoch-1 fix read as newer than every installed build (NetOrk/netork#2394).
Fixed
open_stream(privileged=True)with a sudo password asks sudo first whether it wants it
(sudo -n sh -c true). A sudo that does not prompt (NOPASSWD, a cached timestamp) used to
get the password on stdin anyway, where it went to the command as the first bytes of the
stream: into the Podman API, oversudo podman system dial-stdio(NetOrk/netork#818).
Such a sudo now gets the command throughsudo -n, and only one that asks gets the
password.
Added
get_time_sync()andconfigure_time_sync()through napalm-device-types'
PosixTimeSyncMixin(4.35.0): the host's NTP servers in its client's order, its time zone,
whether the clock is synchronised and which client keeps it (chrony, systemd-timesyncd,
ntpd, OpenNTPD), read in one round trip as the login user. The zone is set with
timedatectl set-timezone; chrony's servers go to/etc/chrony/sources.d/netork.sources
(else aconfdiror an included file) with every other source commented out,
systemd-timesyncd's to/etc/systemd/timesyncd.conf.d/netork.conf. The host ends up with
exactly the servers given (NetOrk/netork#2361). OpenMediaVault and QNAP inherit it.get_running_backups()through napalm-device-types'RunningBackupsMixin(4.34.0): the
host's own backups a restart would abort -- a process of restic, resticprofile, autorestic,
borg, borgmatic, duplicity, duply, rsnapshot, rdiff-backup, proxmox-backup-client, kopia or
btrbk doing a backup, prune, check or copy (not a mount, a restore or a listing), with the
systemd service it runs in as its job (a timer's service; none for a cron or a login
session), its process id and when it started. One round trip as the login user; aps
withoutetimesfails the reading (NetOrk/netork#2318). OpenMediaVault and QNAP inherit it.get_log_sources()through napalm-device-types'LogSourcesMixin(4.30.0): the units
journald holds entries for and the log files running processes hold open, with the service
or container writing each, as root, and without root what the login user may see
(NetOrk/netork#2049). OpenMediaVault and QNAP inherit it.- A deleted key can take the password with it (NetOrk/netork#2033): through
napalm-device-types'remove_local_account_keys(..., clear_password=True)the keys go
as the person, the password goes (usermod -p '*'), and so do the sudo rule and the
admin groups. The account stays open and logs in with its other keys only.
Changed
- Needs napalm-device-types 4.35.0.
Fixed
configure_snmp_agent()opens udp/161 on a host running firewalld (Oracle Linux, RHEL,
Fedora): a rich rule per allowed source in the default zone and every active zone, at
runtime and permanently, without a reload. It used to insert an iptables rule there,
which firewalld's own reject overrides, so the fix reported the port open while SNMP
stayed blocked (#77).
Downloads
- An active-only Zabbix agent closes the port netOrk opened for it on an earlier passive run
-
napalm-linux 0.17.0
Stabledriver / types (push) Successful in 1m7sdriver / standard (push) Successful in 20sdriver / lint (push) Successful in 16sdriver / test (3.12) (push) Successful in 1m13sdriver / test (3.13) (push) Successful in 1m6sdriver / lowest (push) Successful in 38sdriver / build (push) Successful in 30sdriver / security (push) Successful in 1m10sdriver / publish (push) Successful in 30sCI / driver (push) Successful in 3m31sreleased this
2026-11-04 11:24:12 +00:00 | 61 commits to main since this releaseAdded
- Personal accounts follow what the person changes (NetOrk/netork#2013):
add_local_account(..., replaces=[...])takes the old keys out of the account's key
files as the new one goes in,remove_local_account_keystakes deleted keys out and
leaves the account open, andadd_local_account(..., clear_password=True)removes the
password (usermod -p '*'): the account logs in with its key only and has no sudo.
Keys the person added on the host stay.
Changed
- Needs napalm-device-types 4.28.0.
Downloads
- Personal accounts follow what the person changes (NetOrk/netork#2013):
-
napalm-linux 0.16.0
Stabledriver / types (push) Successful in 59sdriver / standard (push) Successful in 14sdriver / lint (push) Successful in 14sdriver / test (3.12) (push) Successful in 1m3sdriver / test (3.13) (push) Successful in 51sdriver / lowest (push) Successful in 28sdriver / build (push) Successful in 31sdriver / security (push) Successful in 59sdriver / publish (push) Successful in 25sCI / driver (push) Successful in 2m52sreleased this
2026-11-03 08:04:20 +00:00 | 65 commits to main since this releaseAdded
- Scheduled jobs (NetOrk/netork#1933, #67), through napalm-device-types'
PosixScheduledJobsMixin:
get_scheduled_jobs()reads/etc/crontab,/etc/cron.d, the user crontabs (Debian,
RHEL, Alpine), the run-parts directories,/etc/anacrontaband every systemd timer in one
round trip as root;manage_scheduled_job()enables, disables or runs one now;
put_scheduled_job()anddelete_scheduled_job()write and remove an application's own.
OpenMediaVault and QNAP QTS inherit it and decide per verb in their own packages. - netOrk's own account with a fixed uid (NetOrk/netork#1817):
_account_create_with_uid
makes it withuseradd -m -u <uid>. BelowUID_MINuseradd warns and goes on, as a
system's account. - Personal accounts (NetOrk/netork#1793), through napalm-device-types'
LocalAccountsMixin:
get_local_accounts(),add_local_account()andlock_local_account()with
shadow-utils' commands (useradd -m -s /bin/bash,usermod,gpasswd -d). A locked
account is an expired one (usermod -L -e 1): PAM refuses it a key login too, where a
!in front of the password stops only the password. Opening it again lifts the expiry
and gives the old password back. Checked on Debian 13 and Rocky Linux 9 with sshd and
sudo. OpenMediaVault (Debian) inherits it; QNAP QTS opts out in napalm-qnap-qts.
Requires the napalm-device-types release withLocalAccountsMixin. open()tries the connection again after 1, 3, 7 and 15 s when sshd closes it before
its banner -- what OpenSSH 9.8+ does to a source it has just penalised
(PerSourcePenalties), e.g. after a security scanner's probes. Needs
napalm-device-types'retry_refused(NAPALM/napalm-device-types#63,
NetOrk/netork#1800).- The sudo password the old
_sudoleft in shell histories (NetOrk/netork#1090), through
napalm-device-types'SudoHistoryMixin. Until NetOrk/netork#1039 every privileged command
was typed into the interactive shell asecho '<password>' | sudo -S -p "" …, so the
login user's history kept the password once per command.get_history_sudo_lines()
counts those lines withgrep -c, without reading them;remove_history_sudo_lines()
deletes exactly them and gives/etc/snmp/snmpd.confand/etc/apt/apt.conf.d/00proxy
back toroot:rootwhere the old partial sudo left them to the login user (a regular
file, never a symbolic link). OpenMediaVault and QNAP inherit both. Requires the
napalm-device-types release withSudoHistoryMixin. set_hostname()(#45): netOrk could save a Linux host's new name but not apply it
("The driver linux does not support set_hostname()"). The host now takes the short
name throughhostnamectl, or/etc/hostnameandhostname(1)without systemd;
/etc/hostsfollows (the lines naming the old name, else the127.0.1.1line), and a
cloud-init host getspreserve_hostname: trueso its next boot keeps the name. Names
that are not valid hostnames are refused before anything runs on the host.
Changed
- Python 3.12 is the floor (
requires-python = ">=3.12"): netOrk runs every driver
on 3.12, so 3.10 and 3.11 are no longer tested (NAPALM/driver-standard#6). - The floor on napalm-device-types is 4.24.0, for its shared
lldpctlparser.
Fixed
get_lldp_neighbors()raises when lldpd runs but lldpctl fails (its socket out of
the login's reach, a daemon restarting), with lldpctl's message, instead of reporting
no neighbours (#66). A stopped lldpd is recognised as stopped: systemd'sinactive
used to pass the running check, as it contains the word "active". A host without
lldpd, or with lldpd stopped, still reports no neighbours.get_lldp_neighbors()lists every neighbour of a port (#58): a phone and the PC
behind it, or the devices behind an unmanaged switch, used to merge into one entry
and only the last one was left. A neighbour whose chassis id is a MAC address now
carries it asmac(it never did), a port given as a MAC address or local id is
reported instead of coming back empty, and an interface with a dot in its name
(eth0.100) keeps its whole name.get_route_to()reads unreachable, blackhole, prohibit and throw routes and
multipath routes (#57). Their destinations came back asunreachable/32,
blackhole/32ornexthop/32, and a multipath route as one entry without a next
hop. A typed route now has its real prefix and its type in
protocol_attributes({"type": "blackhole"}), with no next hop and no outgoing
interface, since it sends nothing out. A multipath route has one entry per next hop,
each with its gateway and interface. A host route that FRR reports without a prefix
length is a/128for IPv6 instead of a/32(#64), so it meets the kernel's route
for the same host and gets FRR's protocol.get_route_to()reads the next hop of an IPv4 route through an IPv6 gateway (RFC
8950, as BGP unnumbered sets up), whichip routeprints asvia inet6 fe80::1
(#65). The next hop came back asinet6; it is now the address, for multipath
routes too. Such a route staysfamily: ipv4: the family is the destination's,
never the next hop's.get_available_updates()works on dnf and yum hosts whose login user has
passwordless sudo (NOPASSWD), as netOrk's own account does, and marks the security
fixes there (#56). The security-advisory query did not parse undersudo -n, so no
answer came back and the read ran into its 120 s timeout. Without a sudo password a
privileged command now runs as root as a whole, in onesh -c, as it already did
with a password; before, only its first command did. A refused sudo still reports
its exit status at once.ping()passesdestinationandsourceto the host's shell as one quoted word
each (#55). A destination such as192.0.2.1; idran the command after the;as
the login user.count,timeout,sizeandttlmust be numbers; anything else
raisesValueErrorbefore a command is sent. A destination or source that starts
with-is refused the same way (#63):pingwould read-fas its flood option,
and no address or hostname starts with-.- dnf and yum hosts read pending updates and security advisories from the cached
metadata only (--cacheonly), as apt reads its local index (#59). With an expired
cachecheck-updatedownloaded the repositories' metadata first, and on an Oracle
Linux host on OCI that outlasted netOrk's whole poll, every time. Refreshing stays
refresh_available_updates()(dnf makecache). Without a cache the read fails at
once and says to refresh the index. Requires the napalm-device-types release with
NAPALM/napalm-device-types#76 for dnf's security query. get_arp_table()reports an unknown age as-1.0(napalm-device-types'
ARP_AGE_UNKNOWN) instead of0.0, which means "confirmed just now":ip neigh
has no age, and a STALE entry may be hours old (NetOrk/netork#1327).install_package()reports success by the package manager's exit status, as
uninstall_package()already does (#4). It used to search the output for words like
"failed": an install whose postinst merely mentioned a failure read as failed, and a
failure that used none of the words read as success.get_vpn_tunnels()makes the public-key prefix in a WireGuard peer's key URL-safe
(+becomes-,/becomes_), as napalm-opnsense does (#43). A key with/
could not be used as a URL path segment, so such a tunnel could not be edited in
netOrk. The key of a peer whose first eight key characters hold+or/changes
once;public_keyis reported unchanged.get_processes()reports a process's whole start time instarted
(Tue Oct 6 08:47:15 2026) and only the command line incommand(#21).started
held the weekday alone andcommandbegan with the rest of the date. The start time
is read in the C locale, so its words are English on every host.get_packages()on apt hosts no longer lists removed packages whose configuration
dpkg still keeps (staterc) (#17). They were reported as installed: old kernels, or
an agent that had been removed. A package that is held, unpacked or half-configured
still counts, since its files are on disk.ping()reads BusyBox's output, thepingon Alpine (#15). Its summary says
"2 packets received", which did not match, so every target came back as an error and
a LAN scan through an Alpine host found nothing. Replies to IPv6 targets, BusyBox's
seq=replies and replies from a name (bytes from host (address)) now appear in
results, BusyBox'sround-tripline fills the RTT fields, and an iputils summary
that counts errors is read as well.get_route_to()reports a dual-stack host's IPv6 default route as::/0(#6). It
came back as a second0.0.0.0/0withfamily: ipv6, becauseip -6 route show
calls its default routedefaultas well. An IPv6 host route is now a/128
instead of a/32.
Removed
get_cron_jobs(): it read without root, missed other users' crontabs,/etc/crontab,
run-parts, anacron and every systemd timer, and nothing called it.get_scheduled_jobs()
replaces it.
Downloads
- Scheduled jobs (NetOrk/netork#1933, #67), through napalm-device-types'