Project

General

Profile

Anomalie #4594

pb sur nom de domaine smtp dans la conf de bastion

Added by Philippe Roy over 10 years ago. Updated over 10 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
12/13/2012
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:
Distribution:
EOLE 2.3

Description

Après mise à jour avec la candidate le service bastion renvoie le message d'erreur suivant :

Error : Error for ip smtp.ac-aix-marseille.fr: only one '-' allowed in IP Address in 00_mail.fw

Pour info. dernière ligne dans : /usr/share/eole/firewall/00_mail.fw

allow_dest(interface='eth0', ip='smtp.ac-aix-marseille.fr', port='25')

Associated revisions

Revision c5257add (diff)
Added by Joël Cuissinat over 10 years ago

  • loader.py : correction de la détection des noms de domaine

Fixes #4594 @20m

History

#1 Updated by Joël Cuissinat over 10 years ago

  • Status changed from Nouveau to Accepté
  • Assigned To set to Joël Cuissinat
  • Target version set to 2.3.7 Minimale
  • Estimated time set to 0.50 h

#2 Updated by Joël Cuissinat over 10 years ago

  • Status changed from Accepté to Résolu
  • % Done changed from 0 to 100

#3 Updated by Joël Cuissinat over 10 years ago

  • Project changed from Commun to eole-common

#4 Updated by Joël Cuissinat over 10 years ago

  • Status changed from Résolu to Fermé

eole-common 2.3-eole151

root@amonecole:~# cat /usr/share/eole/firewall/00_web_test.fw
allow_dest(interface='eth0', ip='1.2.3.4', port='99')
allow_dest(interface='eth0', ip='smtp.ac-dijon.fr', port='99')
allow_dest(interface='eth0', ip='smtp.ac-aix-marseille.fr', port='99')
root@amonecole:~# /etc/init.d/bastion restart
   [ ... ]
root@amonecole:~# iptables-save | grep ' 99 '
-A FORWARD -s 192.0.2.51/32 -d 1.2.3.4/32 -i br0 -o eth0 -p tcp -m tcp --dport 99 --tcp-flags FIN,SYN,RST,ACK SYN -j ACCEPT 
-A FORWARD -s 192.0.2.51/32 -d 195.221.236.200/32 -i br0 -o eth0 -p tcp -m tcp --dport 99 --tcp-flags FIN,SYN,RST,ACK SYN -j ACCEPT 
-A FORWARD -s 192.0.2.51/32 -d 195.83.253.121/32 -i br0 -o eth0 -p tcp -m tcp --dport 99 --tcp-flags FIN,SYN,RST,ACK SYN -j ACCEPT 
-A FORWARD -s 192.0.2.51/32 -d 195.83.253.122/32 -i br0 -o eth0 -p tcp -m tcp --dport 99 --tcp-flags FIN,SYN,RST,ACK SYN -j ACCEPT

Also available in: Atom PDF