From f85284f465ab3f51ef6469c597cc9d3c5c6dcd00 Mon Sep 17 00:00:00 2001 From: Giacomo Sanchietti Date: Fri, 6 Nov 2026 14:45:14 +0100 Subject: [PATCH 1/7] docs(release_notes): add 8.8.1 changelog NethSecurity 8.8.1 fixes CVE-2026-98432 in the Linux kernel and ships every package update released for 8.8.0. List the changes in both locales and explain how to remove the temporary workaround. Refs NethServer/nethsecurity#2002 Assisted-by: Claude Code:Sonnet 5.5 --- .../about/release_notes.md | 64 +++++++++++++++++++ .../about/release_notes.md | 64 +++++++++++++++++++ 2 files changed, 128 insertions(+) diff --git a/docs/administrator-manual/about/release_notes.md b/docs/administrator-manual/about/release_notes.md index d18687b3f..d1233766c 100644 --- a/docs/administrator-manual/about/release_notes.md +++ b/docs/administrator-manual/about/release_notes.md @@ -10,6 +10,70 @@ NethSecurity releases changelogs. - List of [known bugs](https://github.com/NethServer/nethsecurity/issues?q=is%3Aissue%20is%3Aopen%20type%3ABug%20) - Discussions around [possible bugs](http://community.nethserver.org/c/bug) +## Major changes on 2026-11-09 + +Image version: `8.8.1` (based on OpenWrt 25.12.5) + +This image includes all the bug fixes and features released after the 8.8.0 image. Systems running 8.8.0 have already received them as package updates. The only new change is a fix for a security bug in the Linux kernel. Package updates cannot replace the kernel, so this fix requires the new image. + +**Security fixes** + +- Linux kernel: fixed CVE-2026-98432, a use-after-free bug in IPv4 TCP option handling ([advisory](https://lists.openwall.net/linux-cve-announce/2026/10/15/1)). The upstream fix is applied to the current kernel, so the version is still `6.12.94`. +- OpenVPN Road Warrior: regenerating a certificate now revokes the old one, and deleting an account revokes all its certificates. Certificates left behind by users deleted in the past are revoked when a new account with the same name is added. +- OpenVPN Road Warrior: when both certificate and credentials are required, the certificate must belong to the user who logs in. +- Users: a user with an OpenVPN Road Warrior account can no longer be deleted. Remove the account first. The web interface explains why the user cannot be deleted. +- Improved input validation. + +:::note + +If you applied the temporary workaround for CVE-2026-98432 on 8.8.0, remove it after the update: + +``` +rm /etc/nftables.d/50-drop-ipv4-options.nft +fw4 reload +``` + +::: + +**New features** + +- Firewall rules: source MAC addresses can be used as the rule source, and the rules table can be filtered by tag. +- Threat Shield IP: registered firewalls send the addresses blocked by the brute force protection to Nethesis, and firewalls with the Threat Shield add-on can enable the [Nethesis community blocklist](../security/threat_shield_ip.md#nethesis_community-section). +- Threat Shield IP: a blocklist feed can now match only some ports, protocols or traffic directions. +- DPI: the section has been redesigned. +- The sngrep package can be installed from the package repository. +- Firewalls with an Enterprise subscription now connect directly to the new my.nethesis.it services for backups, inventory and alerts. +- Controller: the web interface of a unit is now opened through the controller, and actions made from the controller are logged with the name of the operator. + +**Improvements** + +- Updated netifyd to 5.2.9. +- Alerts: the root filesystem alert now uses fixed free-space limits (20 MB warning, 10 MB critical) instead of a percentage, and `/boot` is no longer monitored. The WAN down alert is now a warning. +- Dashboard: the warnings now match the active alerts. +- OpenVPN Road Warrior: fewer log lines from the connection tracking script. +- Port forward: the search is no longer case sensitive. + +**Bug fixes** + +- Adblock: DNS queries are redirected to the local DNS server again when local DNS enforcement is enabled. +- Adblock: the blocklist is no longer written to the root filesystem when the dnsmasq directory cannot be found. A leftover file is removed on update. +- Storage: services check that the data disk is really mounted before writing to it, so a failed disk no longer fills the root filesystem. +- Storage: setup and removal work with any disk partition naming. +- Snort: rules are generated in `/var` instead of the data disk. +- Monitoring: interface traffic graphs show correct values. +- Monitoring: the system log is no longer flooded with VictoriaMetrics warnings while an alert is active. +- Backups: cloud backups detect newly added files, and the backup list works with the new portal. +- Updates: image updates use the current subscription credentials. +- OpenVPN tunnels: point-to-point tunnels start again, the digest setting is applied correctly, and migrated tunnels get default MTU and MSS values. At least one public IP address is required. +- WireGuard: new peer tunnels get the first free name. +- Multi-WAN: a policy without gateways can no longer be saved. +- FlashStart: Pro accounts no longer fetch sessions they cannot use. +- Hotspot: the login form is shown again after a session expires, and the unregister button is back for username and password logins. +- Threat Shield IP: Enterprise feeds are kept on update, and malware reports group hits by feed name. +- Network scan: OpenVPN and WireGuard interfaces are no longer scanned. +- nginx is no longer restarted twice when the web interface is updated. +- High Availability: fixed the help messages of the node configuration commands. + ## Major changes on 2026-07-29 Image version: `8.8.0` (based on OpenWrt 25.12.5) diff --git a/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md b/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md index 37d2f1ab6..af8a22197 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md @@ -10,6 +10,70 @@ Changelog dei rilasci di NethSecurity. - Elenco dei [bug noti](https://github.com/NethServer/nethsecurity/issues?q=is%3Aissue%20is%3Aopen%20type%3ABug%20) - Discussioni sui [possibili bug](http://community.nethserver.org/c/bug) +## Principali modifiche il 2026-11-09 + +Versione immagine: `8.8.1` (basata su OpenWrt 25.12.5) + +Questa immagine include tutte le correzioni di bug e le funzionalità rilasciate dopo l'immagine 8.8.0. I sistemi con la 8.8.0 le hanno già ricevute come aggiornamenti dei pacchetti. L'unica novità è la correzione di un problema di sicurezza del kernel Linux. Gli aggiornamenti dei pacchetti non possono sostituire il kernel, quindi questa correzione richiede la nuova immagine. + +**Correzioni di sicurezza** + +- Kernel Linux: corretta la CVE-2026-98432, un bug di tipo use-after-free nella gestione delle opzioni TCP su IPv4 ([advisory](https://lists.openwall.net/linux-cve-announce/2026/10/15/1)). La correzione upstream è applicata al kernel attuale, quindi la versione resta `6.12.94`. +- OpenVPN Road Warrior: rigenerare un certificato ora revoca quello vecchio, e cancellare un account revoca tutti i suoi certificati. I certificati lasciati da utenti cancellati in passato vengono revocati quando si aggiunge un nuovo account con lo stesso nome. +- OpenVPN Road Warrior: quando sono richiesti sia certificato che credenziali, il certificato deve appartenere all'utente che effettua l'accesso. +- Utenti: un utente con un account OpenVPN Road Warrior non può più essere cancellato. Rimuovere prima l'account. L'interfaccia web spiega perché l'utente non può essere cancellato. +- Migliorata la validazione dei dati inseriti. + +:::note + +Se sulla 8.8.0 è stata applicata la soluzione temporanea per la CVE-2026-98432, rimuoverla dopo l'aggiornamento: + +``` +rm /etc/nftables.d/50-drop-ipv4-options.nft +fw4 reload +``` + +::: + +**Nuove funzionalità** + +- Regole firewall: gli indirizzi MAC possono essere usati come sorgente della regola, e la tabella delle regole può essere filtrata per tag. +- Threat Shield IP: i firewall registrati inviano a Nethesis gli indirizzi bloccati dalla protezione contro gli attacchi brute force, e i firewall con l'add-on Threat Shield possono abilitare la [blocklist della community Nethesis](../security/threat_shield_ip.md#nethesis_community-section). +- Threat Shield IP: un feed di blocklist ora può applicarsi solo ad alcune porte, protocolli o direzioni del traffico. +- DPI: la sezione è stata ridisegnata. +- Il pacchetto sngrep può essere installato dal repository dei pacchetti. +- I firewall con sottoscrizione Enterprise ora si collegano direttamente ai nuovi servizi di my.nethesis.it per backup, inventario e avvisi. +- Controller: l'interfaccia web di un'unità viene ora aperta attraverso il controller, e le azioni eseguite dal controller vengono registrate con il nome dell'operatore. + +**Miglioramenti** + +- netifyd è stato aggiornato alla versione 5.2.9. +- Avvisi: l'avviso sul filesystem di root ora usa limiti fissi di spazio libero (20 MB per il warning, 10 MB per il critico) invece di una percentuale, e `/boot` non viene più monitorata. L'avviso di WAN non raggiungibile è ora un warning. +- Dashboard: gli avvisi mostrati corrispondono ora agli avvisi attivi. +- OpenVPN Road Warrior: meno righe di log dallo script di tracciamento delle connessioni. +- Port forward: la ricerca non distingue più tra maiuscole e minuscole. + +**Correzioni di bug** + +- Adblock: le query DNS vengono di nuovo reindirizzate al server DNS locale quando l'imposizione del DNS locale è abilitata. +- Adblock: la blocklist non viene più scritta nel filesystem di root quando la directory di dnsmasq non viene trovata. Un eventuale file rimasto viene rimosso durante l'aggiornamento. +- Storage: i servizi verificano che il disco dati sia davvero montato prima di scriverci, quindi un disco guasto non riempie più il filesystem di root. +- Storage: configurazione e rimozione funzionano con qualsiasi schema di nomi delle partizioni. +- Snort: le regole vengono generate in `/var` invece che sul disco dati. +- Monitoraggio: i grafici del traffico delle interfacce mostrano valori corretti. +- Monitoraggio: il log di sistema non viene più riempito di warning di VictoriaMetrics mentre un avviso è attivo. +- Backup: i backup cloud rilevano i file aggiunti di recente, e l'elenco dei backup funziona con il nuovo portale. +- Aggiornamenti: gli aggiornamenti dell'immagine usano le credenziali della sottoscrizione attuale. +- Tunnel OpenVPN: i tunnel punto-punto partono di nuovo, l'impostazione del digest viene applicata correttamente, e i tunnel migrati ricevono valori MTU e MSS predefiniti. È richiesto almeno un indirizzo IP pubblico. +- WireGuard: i nuovi tunnel peer ricevono il primo nome libero. +- Multi-WAN: non è più possibile salvare una policy senza gateway. +- FlashStart: gli account Pro non recuperano più sessioni che non possono usare. +- Hotspot: il modulo di accesso viene mostrato di nuovo dopo la scadenza di una sessione, e il pulsante di deregistrazione è tornato per gli accessi con nome utente e password. +- Threat Shield IP: i feed Enterprise vengono mantenuti durante l'aggiornamento, e i report malware raggruppano i blocchi per nome del feed. +- Scansione di rete: le interfacce OpenVPN e WireGuard non vengono più scansionate. +- nginx non viene più riavviato due volte quando l'interfaccia web viene aggiornata. +- High Availability: corretti i messaggi di aiuto dei comandi di configurazione dei nodi. + ## Principali modifiche il 2026-06-25 Versione immagine: `8.8.0-beta1` (basata su OpenWrt 25.12.4) From 7864c4c98b274d27d91a5aab78c5187fcdf93c6c Mon Sep 17 00:00:00 2001 From: Giacomo Sanchietti Date: Fri, 6 Nov 2026 14:45:48 +0100 Subject: [PATCH 2/7] docs(release_notes): add Italian 8.8.0 entry The Italian page still listed 8.8.0-beta1 while the English page lists the final 8.8.0 release. Replace the beta entry with the translated 8.8.0 changelog to keep the two locales parallel. Assisted-by: Claude Code:Sonnet 5.5 --- .../about/release_notes.md | 31 +++++++++++++++---- 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md b/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md index af8a22197..a8cc107f7 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md @@ -74,19 +74,24 @@ fw4 reload - nginx non viene più riavviato due volte quando l'interfaccia web viene aggiornata. - High Availability: corretti i messaggi di aiuto dei comandi di configurazione dei nodi. -## Principali modifiche il 2026-06-25 +## Principali modifiche il 2026-07-29 -Versione immagine: `8.8.0-beta1` (basata su OpenWrt 25.12.4) +Versione immagine: `8.8.0` (basata su OpenWrt 25.12.5) **Nuove funzionalità** -- NethSecurity è stato ribasato su OpenWrt 25.12.4 e il sistema di gestione dei pacchetti è stato cambiato da `opkg` a `apk`. +- NethSecurity è stato ribasato su OpenWrt 25.12.5 e il sistema di gestione dei pacchetti è stato cambiato da `opkg` a `apk`. - Il monitoraggio ora archivia le metriche in VictoriaMetrics e utilizza automaticamente l'archiviazione persistente quando disponibile. -- Gli avvisi sono ora accessibili dall'interfaccia web. +- Gli avvisi sono ora accessibili dall'interfaccia web; sui sistemi con sottoscrizione gli avvisi vengono inoltrati tramite il proxy di my.nethesis.it, riutilizzando le credenziali di sistema esistenti. +- È stato aggiunto un assistente di configurazione da console per completare la configurazione iniziale direttamente dalla console locale, e un banner di accesso che mostra nome del prodotto, versione e suggerimenti per la configurazione. - La cronologia di Bash è stata preservata tra i riavvii e `/var` persistente è stata abilitata quando l'archiviazione è disponibile. - Il pacchetto Avahi (mDNS) è stato aggiunto al repository di NethSecurity. -- È stata aggiunta l'azione del firewall `DON\'T TRACK`. +- È stata aggiunta l'azione del firewall `DON'T TRACK`. - Diverse funzionalità precedentemente limitate alle versioni basate su sottoscrizione sono ora disponibili nell'edizione Community. +- È stata aggiunta la funzionalità di Geoblocking a Threat Shield IP, che permette di bloccare il traffico da specifici paesi o regioni. +- È stato aggiunto il supporto a più intervalli DHCP direttamente nell'interfaccia, per un'assegnazione degli indirizzi IP più flessibile. +- Il pacchetto softflowd è stato aggiunto al repository di NethSecurity. +- Log remoto: ora è possibile selezionare l'indirizzo IP di ascolto del collettore syslog. **Miglioramenti** @@ -97,13 +102,27 @@ Versione immagine: `8.8.0-beta1` (basata su OpenWrt 25.12.4) - Netdata non è più installato per impostazione predefinita; i dashboard del controller legacy possono ancora ripristinarlo manualmente. - I leasing DHCP sono ora persistenti se l'archiviazione locale è disponibile, prevenendo la perdita di leasing al riavvio. - Le modifiche all'elenco locale DNS di Threat Shield vengono ora applicate utilizzando il pulsante commit, come tutte le altre opzioni di Threat Shield. +- La dashboard si carica molto più velocemente: l'interfaccia ora raggruppa le richieste in una singola chiamata API, con un miglioramento evidente sull'hardware meno recente. +- I backup cloud vengono caricati solo quando la configurazione è effettivamente cambiata. +- Telegraf: le interfacce non attive vengono ignorate, i controlli ping sono stati migliorati e sono stati aggiunti i plugin per WireGuard e nftables. +- I log di accesso di nginx non vengono più scritti, riducendo l'uso del disco e il rumore nei log. **Correzioni di bug** -- Gli errori DNS/DHCP ora mostrano informazioni di risoluzione dei problemi più chiare: se dnamsq non riesce ad avviarsi, l'interfaccia web visualizzerà un avviso. +- Gli errori DNS/DHCP ora mostrano informazioni di risoluzione dei problemi più chiare: se dnsmasq non riesce ad avviarsi, l'interfaccia web visualizzerà un avviso. - Adblock non si riavvia più con elenchi vuoti dopo ripetute modifiche alla blocklist o allowlist. - Le opzioni di registrazione del traffico sono mostrate in modo coerente nell'interfaccia del firewall. - Il tunnel IPSec può ora utilizzare l'azione dpd_action di riavvio. +- OpenVPN: gli utenti autenticati su un database esterno non vengono più mostrati come disconnessi mentre sono connessi. +- OpenVPN: il contatore della dashboard non conta più come connessi i tunnel client disconnessi. +- OpenVPN Roadwarrior: corretta l'estrazione del nome del certificato client. +- Threat Shield IP: il Geoblocking ora blocca solo le connessioni in ingresso. +- Flashstart: le regole di bypass vengono ora rispettate per le voci di tipo oggetto di rete nei profili Pro+. +- rsyslog non riempie più il filesystem di root quando l'archiviazione configurata non è montata. +- Hotspot: le righe di log di chilli e dedalo sono ora etichettate con la facility syslog corretta e non vengono più duplicate. +- Le sessioni degli amministratori declassati o cancellati vengono ora revocate immediatamente. +- La mappa della tastiera della console viene ora preservata durante gli aggiornamenti. +- Interfaccia: la dimensione di pagina selezionata viene ora preservata nelle tabelle dei leasing DHCP. ## Principali modifiche il 2026-03-25 From 93033c57d4a504726555e472a395bf252a010d9d Mon Sep 17 00:00:00 2001 From: Giacomo Sanchietti Date: Fri, 6 Nov 2026 15:11:23 +0100 Subject: [PATCH 3/7] docs(release_notes): add 8.9.0 changelog List the changes coming with the NethSecurity 8.9.0 image in both locales. The release date is still to be set. Refs NethServer/nethsecurity#1988 Assisted-by: Claude Code:Opus 5.5 --- .../about/release_notes.md | 35 +++++++++++++++++++ .../about/release_notes.md | 35 +++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/docs/administrator-manual/about/release_notes.md b/docs/administrator-manual/about/release_notes.md index d1233766c..a40464204 100644 --- a/docs/administrator-manual/about/release_notes.md +++ b/docs/administrator-manual/about/release_notes.md @@ -10,6 +10,41 @@ NethSecurity releases changelogs. - List of [known bugs](https://github.com/NethServer/nethsecurity/issues?q=is%3Aissue%20is%3Aopen%20type%3ABug%20) - Discussions around [possible bugs](http://community.nethserver.org/c/bug) +## Major changes on xx-xx-xx + +Image version: `8.9.0` (based on OpenWrt 25.12.6) + +:::warning + +New installations no longer allow access to the web interface on port 9090 from the WAN. Existing installations keep their current rule. To open or close this access, use the [`setup` command](../installation/remote_access.md#setup-command-section) from the console. + +::: + +**New features** + +- The web interface on port 9090 is closed on the WAN by default on new installations. +- `setup` command: new menu entries to change the `root` password and to open or close access to the web interface from the WAN. +- Logs: VictoriaLogs is now the default long-term log storage. It keeps its data on the persistent storage. rsyslog no longer writes logs to `/mnt/data`, and logrotate is no longer scheduled. +- Logs: kernel boot messages are now written to `/var/log/messages`. +- Disk monitoring: the `smartctl` and `nvme-cli` tools are included in the image, and Telegraf collects the disk health status. +- OpenVPN: data channel offload (DCO) is enabled by default, for better performance. +- The ulogd package is included in the image. It is installed but not running. + +**Improvements** + +- Updated the base image to OpenWrt 25.12.6. +- Updated VictoriaLogs to 1.53.0. +- Updated VictoriaMetrics to 1.153.0. +- Updated Telegraf to 1.40.2. +- Updated the Debian image used to build NethSecurity to 13.7. + +**Bug fixes** + +- Adblock: the credentials of the Nethesis DNS feeds are no longer written to the logs when a download fails. +- The DROP log rule of the IP/MAC binding is now rate limited, so it can no longer overload the CPU. +- DPI: scripts now write their messages to the system log. +- Some log messages now use a more suitable log level. + ## Major changes on 2026-11-09 Image version: `8.8.1` (based on OpenWrt 25.12.5) diff --git a/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md b/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md index a8cc107f7..bd2d88e20 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md @@ -10,6 +10,41 @@ Changelog dei rilasci di NethSecurity. - Elenco dei [bug noti](https://github.com/NethServer/nethsecurity/issues?q=is%3Aissue%20is%3Aopen%20type%3ABug%20) - Discussioni sui [possibili bug](http://community.nethserver.org/c/bug) +## Principali modifiche il xx-xx-xx + +Versione immagine: `8.9.0` (basata su OpenWrt 25.12.6) + +:::warning + +Le nuove installazioni non permettono più l'accesso all'interfaccia web sulla porta 9090 dalla WAN. Le installazioni esistenti mantengono la regola attuale. Per aprire o chiudere questo accesso, usare il comando `setup` dalla console. + +::: + +**Nuove funzionalità** + +- Nelle nuove installazioni l'interfaccia web sulla porta 9090 è chiusa sulla WAN per impostazione predefinita. +- Comando `setup`: nuove voci di menu per cambiare la password di `root` e per aprire o chiudere l'accesso all'interfaccia web dalla WAN. +- Log: VictoriaLogs è ora l'archivio predefinito dei log a lungo termine. Conserva i dati sull'archiviazione persistente. rsyslog non scrive più i log in `/mnt/data`, e logrotate non viene più pianificato. +- Log: i messaggi del kernel all'avvio vengono ora scritti in `/var/log/messages`. +- Monitoraggio dei dischi: gli strumenti `smartctl` e `nvme-cli` sono inclusi nell'immagine, e Telegraf raccoglie lo stato di salute dei dischi. +- OpenVPN: il data channel offload (DCO) è abilitato per impostazione predefinita, per prestazioni migliori. +- Il pacchetto ulogd è incluso nell'immagine. È installato ma non in esecuzione. + +**Miglioramenti** + +- L'immagine di base è stata aggiornata a OpenWrt 25.12.6. +- VictoriaLogs è stato aggiornato alla versione 1.53.0. +- VictoriaMetrics è stato aggiornato alla versione 1.153.0. +- Telegraf è stato aggiornato alla versione 1.40.2. +- L'immagine Debian usata per compilare NethSecurity è stata aggiornata alla versione 13.7. + +**Correzioni di bug** + +- Adblock: le credenziali dei feed DNS di Nethesis non vengono più scritte nei log quando un download fallisce. +- La regola di log DROP del binding IP/MAC ora ha un limite di frequenza, quindi non può più sovraccaricare la CPU. +- DPI: gli script ora scrivono i propri messaggi nel log di sistema. +- Alcuni messaggi di log usano ora un livello di log più adatto. + ## Principali modifiche il 2026-11-09 Versione immagine: `8.8.1` (basata su OpenWrt 25.12.5) From f8ab8cea0421e4be12b0271859d8d97a1e722d94 Mon Sep 17 00:00:00 2001 From: Giacomo Sanchietti Date: Fri, 6 Nov 2026 15:38:16 +0100 Subject: [PATCH 4/7] docs(release_notes): add fail2ban to 8.9.0 Threat Shield IP brute force protection moves from the banIP log monitor to fail2ban jails in 8.9.0. Describe the jails, the banned IPs page, the new Insights opt-out and the upgrade behavior. Refs NethServer/nethsecurity#1977 Assisted-by: Claude Code:Opus 5.5 --- .../administrator-manual/about/release_notes.md | 17 +++++++++++++++++ .../administrator-manual/about/release_notes.md | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/docs/administrator-manual/about/release_notes.md b/docs/administrator-manual/about/release_notes.md index a40464204..16f1adaa5 100644 --- a/docs/administrator-manual/about/release_notes.md +++ b/docs/administrator-manual/about/release_notes.md @@ -14,6 +14,12 @@ NethSecurity releases changelogs. Image version: `8.9.0` (based on OpenWrt 25.12.6) +:::note + +On the first upgrade from the banIP log monitor, all the brute force jails are enabled. Custom brute force patterns and the "Ban after N failed accesses" value are removed. Later upgrades keep your jail selection. + +::: + :::warning New installations no longer allow access to the web interface on port 9090 from the WAN. Existing installations keep their current rule. To open or close this access, use the [`setup` command](../installation/remote_access.md#setup-command-section) from the console. @@ -22,6 +28,14 @@ New installations no longer allow access to the web interface on port 9090 from **New features** +- Threat Shield IP: the [brute force protection](../security/threat_shield_ip.md#brute_force-section) now uses fail2ban instead of the banIP log monitor. Each protected service has its own jail with a fixed threshold, and you can enable each one from the Threat Shield IP settings: + - SSH + - web interface + - OpenVPN Road Warrior + - reverse proxy logins + - web scans: repeated "not found" errors on the reverse proxy and on the web interface +- Threat Shield IP: the **Banned IPs** page lists recent bans, active and expired, with the reason, the number of failures and the matched log lines. Active bans can be removed with **Unban**. +- Threat Shield IP: each address banned by fail2ban is reported to Nethesis right away, instead of every 5 minutes. To stop reporting, run `uci set banip.global.ns_insights_report=0` and `uci commit banip`. - The web interface on port 9090 is closed on the WAN by default on new installations. - `setup` command: new menu entries to change the `root` password and to open or close access to the web interface from the WAN. - Logs: VictoriaLogs is now the default long-term log storage. It keeps its data on the persistent storage. rsyslog no longer writes logs to `/mnt/data`, and logrotate is no longer scheduled. @@ -36,10 +50,13 @@ New installations no longer allow access to the web interface on port 9090 from - Updated VictoriaLogs to 1.53.0. - Updated VictoriaMetrics to 1.153.0. - Updated Telegraf to 1.40.2. +- High Availability: fail2ban runs only on the primary node. +- Monitoring: Telegraf collects fail2ban ban metrics, and the attack reports include fail2ban bans. - Updated the Debian image used to build NethSecurity to 13.7. **Bug fixes** +- API server: request paths are cleaned before they are written to the rate limit log, so they can no longer forge log lines. - Adblock: the credentials of the Nethesis DNS feeds are no longer written to the logs when a download fails. - The DROP log rule of the IP/MAC binding is now rate limited, so it can no longer overload the CPU. - DPI: scripts now write their messages to the system log. diff --git a/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md b/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md index bd2d88e20..627a1f632 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md @@ -14,6 +14,12 @@ Changelog dei rilasci di NethSecurity. Versione immagine: `8.9.0` (basata su OpenWrt 25.12.6) +:::note + +Al primo aggiornamento dal monitor dei log di banIP, tutte le jail brute force vengono abilitate. I pattern brute force personalizzati e il valore "Blocca dopo N accessi falliti" vengono rimossi. Gli aggiornamenti successivi mantengono la selezione delle jail. + +::: + :::warning Le nuove installazioni non permettono più l'accesso all'interfaccia web sulla porta 9090 dalla WAN. Le installazioni esistenti mantengono la regola attuale. Per aprire o chiudere questo accesso, usare il comando `setup` dalla console. @@ -22,6 +28,14 @@ Le nuove installazioni non permettono più l'accesso all'interfaccia web sulla p **Nuove funzionalità** +- Threat Shield IP: la [protezione brute force](../security/threat_shield_ip.md#brute_force-section) ora usa fail2ban al posto del monitor dei log di banIP. Ogni servizio protetto ha una propria jail con una soglia fissa, e ciascuna può essere abilitata dalle impostazioni di Threat Shield IP: + - SSH + - interfaccia web + - OpenVPN Road Warrior + - accessi al reverse proxy + - scansioni web: errori "not found" ripetuti sul reverse proxy e sull'interfaccia web +- Threat Shield IP: la pagina **IP bloccati** elenca i blocchi recenti, attivi e scaduti, con il motivo, il numero di tentativi falliti e le righe di log corrispondenti. I blocchi attivi possono essere rimossi con **Sblocca**. +- Threat Shield IP: ogni indirizzo bloccato da fail2ban viene segnalato subito a Nethesis, invece che ogni 5 minuti. Per interrompere le segnalazioni, eseguire `uci set banip.global.ns_insights_report=0` e `uci commit banip`. - Nelle nuove installazioni l'interfaccia web sulla porta 9090 è chiusa sulla WAN per impostazione predefinita. - Comando `setup`: nuove voci di menu per cambiare la password di `root` e per aprire o chiudere l'accesso all'interfaccia web dalla WAN. - Log: VictoriaLogs è ora l'archivio predefinito dei log a lungo termine. Conserva i dati sull'archiviazione persistente. rsyslog non scrive più i log in `/mnt/data`, e logrotate non viene più pianificato. @@ -36,10 +50,13 @@ Le nuove installazioni non permettono più l'accesso all'interfaccia web sulla p - VictoriaLogs è stato aggiornato alla versione 1.53.0. - VictoriaMetrics è stato aggiornato alla versione 1.153.0. - Telegraf è stato aggiornato alla versione 1.40.2. +- High Availability: fail2ban è in esecuzione solo sul nodo primario. +- Monitoraggio: Telegraf raccoglie le metriche dei blocchi di fail2ban, e i report degli attacchi includono i blocchi di fail2ban. - L'immagine Debian usata per compilare NethSecurity è stata aggiornata alla versione 13.7. **Correzioni di bug** +- API server: i percorsi delle richieste vengono ripuliti prima di essere scritti nel log del rate limit, quindi non possono più falsificare righe di log. - Adblock: le credenziali dei feed DNS di Nethesis non vengono più scritte nei log quando un download fallisce. - La regola di log DROP del binding IP/MAC ora ha un limite di frequenza, quindi non può più sovraccaricare la CPU. - DPI: gli script ora scrivono i propri messaggi nel log di sistema. From 44c5da738894b9acd23f4021441f5e0df45fece5 Mon Sep 17 00:00:00 2001 From: Giacomo Sanchietti Date: Fri, 6 Nov 2026 15:40:07 +0100 Subject: [PATCH 5/7] docs(threat_shield): update Insights opt-out With fail2ban, banned addresses are reported to Nethesis at once and the opt-out moves from ban_blockhook to ns_insights_report. Describe the new procedure and warn that the old setting no longer stops reporting after the upgrade. Refs NethServer/nethsecurity#1977 Assisted-by: Claude Code:Opus 5.5 --- .../security/threat_shield_ip.md | 19 ++++++++++++------- .../security/threat_shield_ip.md | 19 ++++++++++++------- 2 files changed, 24 insertions(+), 14 deletions(-) diff --git a/docs/administrator-manual/security/threat_shield_ip.md b/docs/administrator-manual/security/threat_shield_ip.md index 1ca907bf7..3064410fa 100644 --- a/docs/administrator-manual/security/threat_shield_ip.md +++ b/docs/administrator-manual/security/threat_shield_ip.md @@ -75,7 +75,7 @@ Attackers usually target many firewalls at once. NethSecurity and NethServer sys It works this way: -- When Threat Shield IP blocks an IP address with the [brute force protection](#brute_force-section), the firewall sends that address to Nethesis. Only public addresses are sent. The firewall sends them every 5 minutes. +- When Threat Shield IP blocks an IP address with the [brute force protection](#brute_force-section), the firewall sends that address to Nethesis right away. Only public addresses are sent: private, CGNAT and link-local addresses are not. - When enough systems report the same address, Nethesis adds it to the `Nethesis community - Level 2` blocklist. - Firewalls with the Threat Shield add-on can enable this blocklist from the `Blocklist feeds` tab, like the other Enterprise blocklists. It is disabled by default. @@ -96,22 +96,27 @@ No configuration is needed. Reporting starts when you register the firewall and Sending blocked addresses to Nethesis is enabled by default for registered firewalls. To turn it off, run these commands in a root shell of the firewall: ``` -uci set banip.global.ban_blockhook=/bin/true +uci set banip.global.ns_insights_report=0 uci commit banip -/etc/init.d/banip restart ``` +The change applies to the next ban: no restart is needed. Addresses are still banned on the firewall, they are just not sent to Nethesis. + This setting is available only from the command line. The Enterprise blocklists, including `Nethesis community - Level 2`, and the Nethesis global allowlist keep working. -To send blocked addresses again, remove the setting and restart the service: +To send blocked addresses again, remove the setting: ``` -uci delete banip.global.ban_blockhook +uci delete banip.global.ns_insights_report uci commit banip -ts-ip -/etc/init.d/banip restart ``` +:::warning + +Before NethSecurity 8.9.0, reporting was turned off with the `banip.global.ban_blockhook` option. That option no longer stops reporting. If you used it, run the commands above again after the upgrade. + +::: + ### Logging The Threat Shield IP feature includes advanced logging capabilities to monitor and track potential threats. The logging section allows you to configure which types of blocked packets are logged: diff --git a/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/security/threat_shield_ip.md b/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/security/threat_shield_ip.md index a642640c3..69edaabf5 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/security/threat_shield_ip.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/security/threat_shield_ip.md @@ -74,7 +74,7 @@ Gli attaccanti di solito colpiscono molti firewall contemporaneamente. I sistemi Come funziona: -- Quando Threat Shield IP blocca un indirizzo IP con la [protezione brute force](#brute_force-section), il firewall invia quell'indirizzo a Nethesis. Vengono inviati solo indirizzi pubblici. Il firewall li invia ogni 5 minuti. +- Quando Threat Shield IP blocca un indirizzo IP con la [protezione brute force](#brute_force-section), il firewall invia subito quell'indirizzo a Nethesis. Vengono inviati solo indirizzi pubblici: gli indirizzi privati, CGNAT e link-local non vengono inviati. - Quando abbastanza sistemi segnalano lo stesso indirizzo, Nethesis lo aggiunge alla lista di blocco `Nethesis community - Level 2`. - I firewall con l'add-on Threat Shield possono abilitare questa lista dalla scheda `Blocklist feeds`, come le altre liste di blocco Enterprise. È disabilitata di default. @@ -95,22 +95,27 @@ Non serve alcuna configurazione. L'invio parte quando registri il firewall e si L'invio degli indirizzi bloccati a Nethesis è abilitato di default per i firewall registrati. Per disattivarlo, esegui questi comandi in una shell di root del firewall: ``` -uci set banip.global.ban_blockhook=/bin/true +uci set banip.global.ns_insights_report=0 uci commit banip -/etc/init.d/banip restart ``` +La modifica vale dal blocco successivo: non serve riavviare alcun servizio. Gli indirizzi vengono comunque bloccati sul firewall, semplicemente non vengono inviati a Nethesis. + Questa impostazione è disponibile solo da riga di comando. Le liste di blocco Enterprise, compresa `Nethesis community - Level 2`, e la allowlist globale di Nethesis continuano a funzionare. -Per riprendere l'invio degli indirizzi bloccati, rimuovi l'impostazione e riavvia il servizio: +Per riprendere l'invio degli indirizzi bloccati, rimuovi l'impostazione: ``` -uci delete banip.global.ban_blockhook +uci delete banip.global.ns_insights_report uci commit banip -ts-ip -/etc/init.d/banip restart ``` +:::warning + +Prima di NethSecurity 8.9.0, l'invio si disattivava con l'opzione `banip.global.ban_blockhook`. Questa opzione non interrompe più l'invio. Se l'avevi usata, esegui di nuovo i comandi sopra dopo l'aggiornamento. + +::: + ### Logging La funzione Threat Shield IP include funzionalità avanzate di logging per monitorare e tracciare le minacce potenziali. La sezione di logging consente di configurare quali tipi di pacchetti bloccati vengono registrati: From ad2d44cb1b606cfc8b9ba61bd49396620fda2fdd Mon Sep 17 00:00:00 2001 From: Giacomo Sanchietti Date: Fri, 6 Nov 2026 15:40:07 +0100 Subject: [PATCH 6/7] docs(release_notes): shorten fail2ban entry Merge the fail2ban changes into a single new feature line that points to the new Insights opt-out procedure. Assisted-by: Claude Code:Opus 5.5 --- docs/administrator-manual/about/release_notes.md | 9 +-------- .../current/administrator-manual/about/release_notes.md | 9 +-------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/docs/administrator-manual/about/release_notes.md b/docs/administrator-manual/about/release_notes.md index 16f1adaa5..76cf6f421 100644 --- a/docs/administrator-manual/about/release_notes.md +++ b/docs/administrator-manual/about/release_notes.md @@ -28,14 +28,7 @@ New installations no longer allow access to the web interface on port 9090 from **New features** -- Threat Shield IP: the [brute force protection](../security/threat_shield_ip.md#brute_force-section) now uses fail2ban instead of the banIP log monitor. Each protected service has its own jail with a fixed threshold, and you can enable each one from the Threat Shield IP settings: - - SSH - - web interface - - OpenVPN Road Warrior - - reverse proxy logins - - web scans: repeated "not found" errors on the reverse proxy and on the web interface -- Threat Shield IP: the **Banned IPs** page lists recent bans, active and expired, with the reason, the number of failures and the matched log lines. Active bans can be removed with **Unban**. -- Threat Shield IP: each address banned by fail2ban is reported to Nethesis right away, instead of every 5 minutes. To stop reporting, run `uci set banip.global.ns_insights_report=0` and `uci commit banip`. +- Threat Shield IP: [brute force protection](../security/threat_shield_ip.md#brute_force-section) now uses fail2ban, with one jail per service, a list of recent bans, and immediate reporting to Nethesis ([new opt-out](../security/threat_shield_ip.md#nethesis_community_push-section)). - The web interface on port 9090 is closed on the WAN by default on new installations. - `setup` command: new menu entries to change the `root` password and to open or close access to the web interface from the WAN. - Logs: VictoriaLogs is now the default long-term log storage. It keeps its data on the persistent storage. rsyslog no longer writes logs to `/mnt/data`, and logrotate is no longer scheduled. diff --git a/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md b/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md index 627a1f632..58de38dc1 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md @@ -28,14 +28,7 @@ Le nuove installazioni non permettono più l'accesso all'interfaccia web sulla p **Nuove funzionalità** -- Threat Shield IP: la [protezione brute force](../security/threat_shield_ip.md#brute_force-section) ora usa fail2ban al posto del monitor dei log di banIP. Ogni servizio protetto ha una propria jail con una soglia fissa, e ciascuna può essere abilitata dalle impostazioni di Threat Shield IP: - - SSH - - interfaccia web - - OpenVPN Road Warrior - - accessi al reverse proxy - - scansioni web: errori "not found" ripetuti sul reverse proxy e sull'interfaccia web -- Threat Shield IP: la pagina **IP bloccati** elenca i blocchi recenti, attivi e scaduti, con il motivo, il numero di tentativi falliti e le righe di log corrispondenti. I blocchi attivi possono essere rimossi con **Sblocca**. -- Threat Shield IP: ogni indirizzo bloccato da fail2ban viene segnalato subito a Nethesis, invece che ogni 5 minuti. Per interrompere le segnalazioni, eseguire `uci set banip.global.ns_insights_report=0` e `uci commit banip`. +- Threat Shield IP: la [protezione brute force](../security/threat_shield_ip.md#brute_force-section) ora usa fail2ban, con una jail per servizio, un elenco dei blocchi recenti e l'invio immediato a Nethesis ([nuova procedura per disattivarlo](../security/threat_shield_ip.md#nethesis_community_push-section)). - Nelle nuove installazioni l'interfaccia web sulla porta 9090 è chiusa sulla WAN per impostazione predefinita. - Comando `setup`: nuove voci di menu per cambiare la password di `root` e per aprire o chiudere l'accesso all'interfaccia web dalla WAN. - Log: VictoriaLogs è ora l'archivio predefinito dei log a lungo termine. Conserva i dati sull'archiviazione persistente. rsyslog non scrive più i log in `/mnt/data`, e logrotate non viene più pianificato. From 69c976c11b40be11c7c74c00e67cb2ef8cd31207 Mon Sep 17 00:00:00 2001 From: Giacomo Sanchietti Date: Fri, 6 Nov 2026 15:40:40 +0100 Subject: [PATCH 7/7] docs(release_notes): drop fail2ban upgrade note Remove the note about the jail migration from the 8.9.0 entry in both locales. Assisted-by: Claude Code:Opus 5.5 --- docs/administrator-manual/about/release_notes.md | 6 ------ .../current/administrator-manual/about/release_notes.md | 6 ------ 2 files changed, 12 deletions(-) diff --git a/docs/administrator-manual/about/release_notes.md b/docs/administrator-manual/about/release_notes.md index 76cf6f421..7e23af152 100644 --- a/docs/administrator-manual/about/release_notes.md +++ b/docs/administrator-manual/about/release_notes.md @@ -14,12 +14,6 @@ NethSecurity releases changelogs. Image version: `8.9.0` (based on OpenWrt 25.12.6) -:::note - -On the first upgrade from the banIP log monitor, all the brute force jails are enabled. Custom brute force patterns and the "Ban after N failed accesses" value are removed. Later upgrades keep your jail selection. - -::: - :::warning New installations no longer allow access to the web interface on port 9090 from the WAN. Existing installations keep their current rule. To open or close this access, use the [`setup` command](../installation/remote_access.md#setup-command-section) from the console. diff --git a/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md b/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md index 58de38dc1..73e8d2038 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/about/release_notes.md @@ -14,12 +14,6 @@ Changelog dei rilasci di NethSecurity. Versione immagine: `8.9.0` (basata su OpenWrt 25.12.6) -:::note - -Al primo aggiornamento dal monitor dei log di banIP, tutte le jail brute force vengono abilitate. I pattern brute force personalizzati e il valore "Blocca dopo N accessi falliti" vengono rimossi. Gli aggiornamenti successivi mantengono la selezione delle jail. - -::: - :::warning Le nuove installazioni non permettono più l'accesso all'interfaccia web sulla porta 9090 dalla WAN. Le installazioni esistenti mantengono la regola attuale. Per aprire o chiudere questo accesso, usare il comando `setup` dalla console.