Accès tablette : détection des pare-feu tiers (Bitdefender, Norton…)
Qualité & Sécurité / Web (ESLint · angular-eslint + sonarjs) (push) Successful in 46s
Qualité & Sécurité / MegaLinter (PMD · Ruff · Bandit · gitleaks · hadolint) (push) Successful in 59s
Qualité & Sécurité / Trivy (CVE dépendances Maven / pip / npm) (push) Failing after 1m4s

Constat terrain : avec Bitdefender, la règle Windows était en place et la
vérification affichait « prêt » alors que le pare-feu de l'antivirus
filtrait encore les connexions de la tablette.

- Lecture du Centre de sécurité Windows (SecurityCenter2/FirewallProduct) :
  les pare-feu tiers déclarés sont remontés avec le diagnostic.
- Vérification du réseau : plus de « tout est prêt » trompeur quand un pare-feu
  tiers est présent — avertissement nommant le logiciel, consigne (réseau
  domestique, mode furtif désactivé, règle entrante pour DM Loremind) et lien
  vers la doc.

Vérifié : core clean verify (1221 tests, dont la lecture réelle sur Windows
qui remonte bien « Bitdefender Pare-feu »), web build + 337 vitest, lint sans
erreur.
À redéployer : core + web (mode bureau ; aucune migration).
This commit is contained in:
2026-10-17 15:08:12 +02:00
parent 8c6b642975
commit fbb1956e17
12 changed files with 94 additions and 13 deletions
@@ -38,6 +38,8 @@ export interface NetworkReadiness {
publicNetworks: string[];
firewallAllowed: boolean;
firewallBlocked: boolean;
/** Pare-feu tiers (Bitdefender…) : ils filtrent en plus de Windows, réglages illisibles d'ici. */
thirdPartyFirewalls: string[];
program?: string | null;
}
@@ -37,12 +37,12 @@
</div>
@if (network?.supported) {
<div class="remote-block network-check" [class.ok]="network!.ready">
<div class="remote-block network-check" [class.ok]="allClear">
<h3>{{ 'remoteAccess.network.title' | translate }}</h3>
@if (network!.ready) {
<p class="check-ok">
<lucide-icon [img]="CheckCircle2" [size]="16"></lucide-icon>
{{ 'remoteAccess.network.ready' | translate }}
{{ (thirdPartyFirewalls.length > 0 ? 'remoteAccess.network.windowsReady' : 'remoteAccess.network.ready') | translate }}
</p>
} @else {
@if (network!.publicNetworks.length > 0) {
@@ -68,6 +68,15 @@
</div>
}
}
@if (thirdPartyFirewalls.length > 0) {
<div class="check-item">
<p class="check-problem">{{ 'remoteAccess.network.thirdParty' | translate: { names: thirdPartyFirewalls.join(', ') } }}</p>
<p class="note">{{ 'remoteAccess.network.thirdPartyHowTo' | translate }}</p>
<a class="btn-link" [href]="'remoteAccess.network.docUrl' | translate" target="_blank" rel="noopener">
{{ 'remoteAccess.network.docLink' | translate }}
</a>
</div>
}
@if (fixMessage) {
<p class="fix-message" role="status">{{ fixMessage }}</p>
}
@@ -188,6 +188,15 @@ export class RemoteAccessSectionComponent implements OnInit, OnDestroy {
this.remoteAccess.openNetworkSettings().subscribe({ error: () => undefined });
}
/** Vert seulement si rien ne bloque côté Windows ET qu'aucun pare-feu tiers n'échappe à la vérification. */
get allClear(): boolean {
return !!this.network && this.network.ready && this.thirdPartyFirewalls.length === 0;
}
get thirdPartyFirewalls(): string[] {
return this.network?.thirdPartyFirewalls ?? [];
}
get firewallNeedsFix(): boolean {
return !!this.network && (!this.network.firewallAllowed || this.network.firewallBlocked);
}
+6 -1
View File
@@ -2453,7 +2453,12 @@
"CANCELLED": "Confirmation cancelled: nothing was changed.",
"FAILED": "The permission failed. You can try again, or add it manually (see the documentation).",
"UNSUPPORTED": "This check is only available on Windows."
}
},
"windowsReady": "The Windows firewall and the network type let the tablet through.",
"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"
}
},
"mobileShell": {
+6 -1
View File
@@ -2453,7 +2453,12 @@
"CANCELLED": "Confirmation annulée : rien n'a été modifié.",
"FAILED": "L'autorisation a échoué. Tu peux réessayer, ou l'ajouter à la main (voir la documentation).",
"UNSUPPORTED": "Cette vérification n'est disponible que sur Windows."
}
},
"windowsReady": "Le pare-feu Windows et le type de réseau laissent passer la tablette.",
"thirdParty": "{{names}} filtre aussi les connexions sur ce PC, avec ses propres règles que DM Loremind ne peut pas vérifier. Tant qu'il ne l'autorise pas, la tablette chargera sans fin.",
"thirdPartyHowTo": "Dans les réglages du pare-feu de ce logiciel : classe ton Wi-Fi en réseau domestique (pas public, sans mode furtif), puis ajoute une règle qui autorise DM Loremind en connexions entrantes.",
"docLink": "Voir la marche à suivre",
"docUrl": "https://loremind-docs.igmlcreation.fr/docs/configuration/acces-tablette#la-tablette-charge-sans-fin"
}
},
"mobileShell": {
@@ -64,7 +64,12 @@
"CANCELLED": "Confirmation cancelled: nothing was changed.",
"FAILED": "The permission failed. You can try again, or add it manually (see the documentation).",
"UNSUPPORTED": "This check is only available on Windows."
}
},
"windowsReady": "The Windows firewall and the network type let the tablet through.",
"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"
}
}
}
@@ -64,7 +64,12 @@
"CANCELLED": "Confirmation annulée : rien n'a été modifié.",
"FAILED": "L'autorisation a échoué. Tu peux réessayer, ou l'ajouter à la main (voir la documentation).",
"UNSUPPORTED": "Cette vérification n'est disponible que sur Windows."
}
},
"windowsReady": "Le pare-feu Windows et le type de réseau laissent passer la tablette.",
"thirdParty": "{{names}} filtre aussi les connexions sur ce PC, avec ses propres règles que DM Loremind ne peut pas vérifier. Tant qu'il ne l'autorise pas, la tablette chargera sans fin.",
"thirdPartyHowTo": "Dans les réglages du pare-feu de ce logiciel : classe ton Wi-Fi en réseau domestique (pas public, sans mode furtif), puis ajoute une règle qui autorise DM Loremind en connexions entrantes.",
"docLink": "Voir la marche à suivre",
"docUrl": "https://loremind-docs.igmlcreation.fr/docs/configuration/acces-tablette#la-tablette-charge-sans-fin"
}
}
}