Tâche #12476
Scénario #12513: Corriger la prise en compte des "Exceptions de type nom de domaine" en l'absence d'exceptions de type réseau
ipset et les variables proxy_bypass_ethx
Description
- si on crée une exception avec un nom de domaine dans par exemple proxy_bypass_domain_eth2 et que l'on reconfigure, les scripts ne sont pas du tout créés :
root@plateforme:/usr/share/era/ipsets# CreoleGet proxy_bypass_domain_eth2 webmail.ac-lyon.fr root@plateforme:/usr/share/era/ipsets# ll total 8 drwxr-xr-x 2 root root 4096 juil. 24 13:35 ./ drwxr-xr-x 13 root root 4096 juil. 23 13:31 ../
- si on ajoute en plus de cela une exception de type ip avec proxy_bypass_network_eth2 cela fonctionne :
root@plateforme:/usr/share/era/ipsets# CreoleGet proxy_bypass_network_eth2 193.78.20.49 root@plateforme:/usr/share/era/ipsets# ll total 32 drwxr-xr-x 2 root root 4096 juil. 24 13:40 ./ drwxr-xr-x 13 root root 4096 juil. 23 13:31 ../ -rwxr-xr-x 1 root root 116 juil. 24 13:40 bastion-pedago-exterieur-11-dst.sh* -rwxr-xr-x 1 root root 55 juil. 24 13:40 bastion-pedago-exterieur-11-src.sh* -rwxr-xr-x 1 root root 114 juil. 24 13:40 bastion-pedago-exterieur-7-dst.sh* -rwxr-xr-x 1 root root 54 juil. 24 13:40 bastion-pedago-exterieur-7-src.sh* -rwxr-xr-x 1 root root 114 juil. 24 13:40 bastion-pedago-exterieur-9-dst.sh* -rwxr-xr-x 1 root root 54 juil. 24 13:40 bastion-pedago-exterieur-9-src.sh* root@plateforme:/usr/share/era/ipsets#
Associated revisions
Exceptions proxy sur les domaines : dans les 2 active_tags ForceProxy et
Bypass
ref #12476 @1h
Exceptions proxy sur les domaines : dans les 2 active_tags ForceProxy et
Bypass
ref #12476 @30m
Exceptions proxy sur les domaines : ne pas traiter Creolevar contenant "/"
ref #12476 @30m
History
#1 Updated by Joël Cuissinat over 5 years ago
Si proxy_bypass_ethX est à non, le template active_tags demande l'utilisation des directives étiquetées ForceProxyX au lieu de ProxyBypassX cependant les directives ForceProxyX ne contiennent pas l'exception sur proxy_bypass_domain_ethX (<exception name="" ip="" eolvar="%%proxy_bypass_domain_ethX" src="0" dest="1"/>
)
#2 Updated by Joël Cuissinat over 5 years ago
- Tracker changed from Anomalie to Tâche
- Estimated time set to 3.00 h
- Remaining (hours) set to 3.0
#3 Updated by Joël Cuissinat over 5 years ago
- Parent task set to #12513
#4 Updated by Scrum Master over 5 years ago
- Status changed from Nouveau to En cours
#5 Updated by Scrum Master over 5 years ago
- Assigned To set to Fabrice Barconnière
#6 Updated by Fabrice Barconnière over 5 years ago
- % Done changed from 0 to 100
- Remaining (hours) changed from 3.0 to 0.25
#7 Updated by Fabrice Barconnière over 5 years ago
Révision c36c3416 : ref dans cette demande par erreur. Ce commit concerne en fait #12453
#8 Updated by Scrum Master over 5 years ago
- Status changed from En cours to Résolu
#9 Updated by Joël Cuissinat over 5 years ago
OK sur 2.4.3
#10 Updated by Joël Cuissinat over 5 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.25 to 0.0
OK sur 2.5.1