Project

General

Profile

Anomalie #7309

La communication inter-tunnel ne fonctionne pas sur Sphynx

Added by Karim Ayari over 9 years ago. Updated over 9 years ago.

Status:
Fermé
Priority:
Normal
Category:
-
Start date:
Due date:
03/21/2014
% Done:

100%

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

Description

quand on sélectionne le protocole tcp la règle n'est pas valide :

par exemple pour les valeurs suivantes :

ip_source_etab 10.69.184.0
netmask_source_etab 255.255.255.0
ip_dest_etab 10.69.0.0
netmask_dest_etab 255.255.0.0
proto_dest_etab tcp
port_dest_etab 4200

ajoute la règle :

allow_src(interface='eth0', ip='10.69.184.0/255.255.255.0', protocol='ipsec', dest_port='4200')
#-m state --state NEW

ce qui génére une erreur au démarrage de bastion, il ne connait pas le protocole ipsec.

en lien avec la ligne :

allow_src(interface='eth0', ip='%%ip_etab/%%ip_etab.netmask_source_etab', protocol='ipsec', dest_port='%%ip_etab.port_dest_etab')
#-m state --state NEW

d'ailleurs on peut peut-être supprimer la ligne "#-m state --state NEW" non? :)


Related issues

Related to conf-sphynx - Anomalie #7306: manque un test dans le template 00_root_sphynx.fw Fermé 03/21/2014

Associated revisions

Revision 16bfc032 (diff)
Added by Fabrice Barconnière over 9 years ago

00_root_sphynx.fw : partie intertunnel déplacé dans eole-common ->
end_static_rules.sh
fixes #7306 ref #7309 @2h

Revision 8fdbeb16 (diff)
Added by Fabrice Barconnière over 9 years ago

end_static_rules.sh : traitement partie intertunnel provenant de
conf-sphynx (00_root_sphynx.fw)
fixes #7309 ref #7306 @2h

Revision e8618f17 (diff)
Added by Fabrice Barconnière over 9 years ago

end_static_rules.sh : suppression commentaire inutile
ref #7309 @10m

History

#1 Updated by Karim Ayari over 9 years ago

si on remplace protocol='ipsec' par protocol='esp' on a ce message au lancement de bastion :

Error while loading 00_root_sphynx.fw : dest_port only if wide address

#2 Updated by Fabrice Barconnière over 9 years ago

  • Project changed from Distribution EOLE to eole-common
  • Subject changed from fw_interetab_accept to La communication inter-tunnel ne fonctionne pas sur Sphynx
  • Due date set to 03/21/2014
  • Status changed from Nouveau to A étudier
  • Target version set to Mises à jour 2.3.13
  • Estimated time set to 2.00 h

à vérifier

#3 Updated by Fabrice Barconnière over 9 years ago

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

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

  • Assigned To set to Fabrice Barconnière

#5 Updated by Gilles Grandgérard over 9 years ago

  • Status changed from Résolu to Fermé

ok idem 7306

Also available in: Atom PDF