Accès tablette : vérification du pare-feu sous Linux (ufw, firewalld)
Qualité & Sécurité / Web (ESLint · angular-eslint + sonarjs) (push) Successful in 43s
Qualité & Sécurité / MegaLinter (PMD · Ruff · Bandit · gitleaks · hadolint) (push) Successful in 48s
Qualité & Sécurité / Trivy (CVE dépendances Maven / pip / npm) (push) Failing after 51s

- Choix de l'accès au pare-feu selon le système (HostNetworkAccessConfig) :
  Windows (PowerShell, UAC), Linux, sinon pas de diagnostic.
- Linux, sans droits root : ufw détecté via /etc/ufw/ufw.conf, firewalld via
  systemctl ; firewalld dit si le port est ouvert (firewall-cmd
  --query-port). Règles ufw illisibles sans root : port « inconnu », jamais
  de faux « prêt ».
- Vérification du réseau : état du pare-feu Linux et commande exacte à lancer
  sur la machine (sudo ufw allow <port>/tcp, ou firewall-cmd), avec bouton
  « Copier ». Pas d'autorisation en un clic (serveur sans écran).
- Le diagnostic reçoit le port réglé de l'accès distant.

Vérifié : core clean verify (1228 tests, dont lecture de ufw.conf,
interprétation de firewall-cmd et verdicts Linux), web build + 342 vitest,
lint sans erreur.
À redéployer : core + web (mode bureau ; aucune migration).
This commit is contained in:
2026-10-17 15:41:50 +02:00
parent 2e9632de49
commit d9a90f8412
19 changed files with 412 additions and 21 deletions
+7 -1
View File
@@ -2458,7 +2458,13 @@
"thirdParty": "{{names}} also filters connections on this PC, with its own rules that DM Loremind can't check. Until it allows it, the tablet will load forever.",
"thirdPartyHowTo": "In that software's firewall settings: classify your Wi-Fi as a home network (not public, stealth mode off), then add a rule allowing incoming connections for DM Loremind.",
"docLink": "See how to fix it",
"docUrl": "https://loremind-docs.igmlcreation.fr/en/docs/configuration/acces-tablette#the-tablet-loads-forever"
"docUrl": "https://loremind-docs.igmlcreation.fr/en/docs/configuration/acces-tablette#the-tablet-loads-forever",
"linuxNone": "No ufw or firewalld firewall is active on this machine: nothing to open.",
"linuxOpen": "The firewall ({{fw}}) lets port {{port}} through.",
"linuxClosed": "The firewall ({{fw}}) blocks port {{port}}: other devices would load forever. Open it with this command on the machine:",
"linuxUnknown": "The {{fw}} firewall is active. DM Loremind can't read its rules without administrator rights: if you haven't already, open port {{port}} with this command on the machine:",
"copy": "Copy",
"copied": "Copied"
}
},
"mobileShell": {