Projet

Général

Profil

squid.conf.patch

Samuel LEFOL, 06/01/2011 10:56

Télécharger (1,73 ko)

Voir les différences:

modif/squid.conf 2011-01-06 09:18:51.000000000 +0100
2685 2685
acl nocache dstdomain "/etc/squid/domaines_nocache"
2686 2686
acl nocache dstdomain "/etc/squid/domaines_nocache_user"
2687 2687
acl nocache dstdomain "/etc/squid/domaines_nocache_acad"
2688
#domaines accessibles directement (sans passer par proxy père)
2689
acl nopeerproxy dstdomain "/etc/squid/domaines_nopeerproxy"
2688 2690
# sources à ne pas authentifier
2689 2691
acl srcnoauth src "/etc/squid/src_noauth"
2690 2692
acl srcnoauth src "/etc/squid/src_noauth_user"
......
2765 2767
%end for
2766 2768
%end if
2767 2769
%end if
2770
always_direct allow nopeerproxy
2768 2771
never_direct allow all
2769 2772
%end if
2770 2773
##
......
2934 2937
%end if
2935 2938
%end for
2936 2939
%end if
2940

  
2941
## connexion aux reseaux internes
2942
%if %%nombre_interfaces >= "3"
2943
http_access allow reseaueth2
2944
%end if
2945
%if %%nombre_interfaces >= "4"
2946
http_access allow reseaueth3
2947
%if %%vlan_eth3 == "oui"
2948
%for %%vlans3 in %%id_vlan_eth3
2949
http_access allow reseaueth3_%%vlans3
2950
%end for
2951
%end if
2952
%end if
2953
%if %%nombre_interfaces >= "5"
2954
http_access allow reseaueth4
2955
%if %%vlan_eth4 == "oui"
2956
%for %%vlans4 in %%id_vlan_eth4
2957
http_access allow reseaueth4_%%vlans4
2958
%end for
2959
%end if
2960
%end if
2961
%if %%is_defined('nom_dmz')
2962
http_access allow reseaudmz
2963
%end if
2964

  
2937 2965
#rvp
2938 2966
%if %%adresse_network_zone_rvp != ['']
2939 2967
%for %%net in %%adresse_network_zone_rvp
......
3009 3037
http_access allow password
3010 3038
%end if
3011 3039

  
3012
## connexion aux reseaux internes
3013
%if %%nombre_interfaces >= "3"
3014
http_access allow reseaueth2
3015
%end if
3016
%if %%nombre_interfaces >= "4"
3017
http_access allow reseaueth3
3018
%end if
3019
%if %%nombre_interfaces >= "5"
3020
http_access allow reseaueth4
3021
%end if
3022
%if %%is_defined('nom_dmz')
3023
http_access allow reseaudmz
3024
%end if
3025 3040
#
3026 3041
http_access deny all
3027 3042