Anomalie #7777
diagnose, erreur quand parefeu désactivé
Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
Distribution:
EOLE 2.4
Description
root - Creole error 1: trying to access to an option named: ssh_eth0 with properties ['disabled']
root - Creole error 1: trying to access to an option named: admin_eth0 with properties ['disabled']
Sur l'interface réseau eth0
/usr/share/eole/diagnose/04-network: line 94: [: =: unary operator expected
. SSH => Désactivé
/usr/share/eole/diagnose/04-network: line 99: [: =: unary operator expected
. EAD Web => Désactivé
Demandes liées
Révisions associées
diagnose/04-network : prise en compte du firewall
Fixes: #7777 @40m
diagnose.sh : ajout d'un test pour le firewall
Ref #7777 @15m
Historique
#1 Mis à jour par Joël Cuissinat il y a environ 10 ans
- Echéance mis à 04/04/2014
- Statut changé de Nouveau à Accepté
- Assigné à mis à Joël Cuissinat
- Version cible mis à Eole 2.4-RC3
- Temps estimé mis à 1.00 h
#2 Mis à jour par Joël Cuissinat il y a environ 10 ans
- Statut changé de Accepté à Résolu
- % réalisé changé de 0 à 100
Appliqué par commit d737013d528dd50cea3f1404f91512cfc934d83a.
#3 Mis à jour par Joël Cuissinat il y a environ 10 ans
J'ai ajouté un test diagnose qui réagit de la façon suivante :
- activer_firewall=non : orange
- activer_firewall=oui et règles en place : vert
- activer_firewall=oui sans les règles (ie :
ouvre.firewall
) : rouge
#4 Mis à jour par Emmanuel GARETTE il y a presque 10 ans
OK :
root@scribe:~# CreoleGet activer_firewall oui root@scribe:~# /usr/share/eole/diagnose/04-network [...] . Pare-feu => Ok [...] root@scribe:~# CreoleSet activer_firewall non root@scribe:~# /usr/share/eole/diagnose/04-network [...] . Pare-feu => Désactivé [...] root@scribe:~# CreoleSet --default activer_firewall root@scribe:~# ouvre.firewall root@scribe:~# /usr/share/eole/diagnose/04-network . Pare-feu => Erreur
Sur Amon :
root@amon:~# /usr/share/eole/diagnose/04-network [...] . Pare-feu => Ok [...] root@amon:~# ouvre.firewall root@amon:~# /usr/share/eole/diagnose/04-network [...] . Pare-feu => Erreur [...]
#5 Mis à jour par Emmanuel GARETTE il y a presque 10 ans
- Statut changé de Résolu à Fermé