Bonjour,
j'ai un raspberry avec une raspbian et apache 2.4.10, squid 2.7.
voici mon fichier squid.conf :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
| acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl papa src 192.168.1.9/32
acl nonutil src 192.168.1.14-192.168.1.254/32
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
acl macasuswifipapa arp 11:22:33:44:55:66
acl ipasuswifipapa src 192.168.1.9/32
acl listepapa dstdomain "/etc/squid/listepapa"
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny ipasuswifipapa !macasuswifipapa
http_access deny nonutil
http_access2 deny ipasuswifipapa !listepapa
http_access allow localnet
http_access allow localhost
http_access deny all
icp_access allow localnet
icp_access deny all
http_port 3128
hierarchy_stoplist cgi-bin ?
access_log /var/log/squid/access.log squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
refresh_pattern . 0 20% 4320
acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
upgrade_http0.9 deny shoutcast
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
error_directory /usr/share/squid/errors/fr
hosts_file /etc/hosts
coredump_dir /var/spool/squid |
/usr/share/squid/errors/fr contient la page ERR_ACCESS_DENIED qui est appelée quand je tente d'aller sur un site qui n'est pas dans la liste 'listepapa'
problème : dans de rares cas, ce n'est pas cette page qui est appelée, et je voudrais savoir pourquoi ...
par exemple, le marque-page suivant :
https://www.creditmutuel.fr/cmne/fr/identification/index.html
retourne la page :
1 2 3 4 5 6
| La connexion a été refusée par le serveur proxy
Firefox est configuré pour utiliser un serveur proxy mais celui-ci n'accepte pas les connexions.
Vérifiez que les paramètres du proxy sont corrects ;
Contactez votre administrateur réseau pour vous assurer que le serveur proxy fonctionne. |
Avez-vous une explication ?
Partager