Projet

Général

Profil

Anomalie #7777

diagnose, erreur quand parefeu désactivé

Ajouté par Klaas TJEBBES il y a environ 10 ans. Mis à jour il y a presque 10 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Début:
Echéance:
04/04/2014
% réalisé:

100%

Temps estimé:
1.00 h
Temps passé:
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

Lié à zephir-client - Bac à idée #4080: état des règles Amon Fermé 17/09/2012

Révisions associées

Révision d737013d (diff)
Ajouté par Joël Cuissinat il y a environ 10 ans

diagnose/04-network : prise en compte du firewall

Fixes: #7777 @40m

Révision c3ab3d8a (diff)
Ajouté par Joël Cuissinat il y a environ 10 ans

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

#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é

Formats disponibles : Atom PDF