Accès tablette : détection des pare-feu tiers (Bitdefender, Norton…)
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:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user