[squid-users] Doesnt authorize with Squid

Edwin Quijada listas_quijada at hotmail.com
Wed Dec 13 17:03:31 UTC 2017


Hi!
I have installed a debian server with Squid3 to authorize surf for internet. My problem is when I get the screen for credentials I put my rigth credentials and always I get denied.

I have used a different helpers for authentication and I did my own using C

but the authorization is continue


There is a way to see or debug the autorization process?


It is the squid.conf. The helper just takes the values but always autorize, Always print OK

#Recommended minimum configuration:
http_port 3128
cache_dir ufs /var/spool/squid3 2048 16 256
maximum_object_size 100 MB
cache_swap_low 90
cache_swap_high 95

#--------------- Reglas de Autorizacion -------------
auth_param basic program   /root/squid_helper3
auth_param basic children 20
auth_param basic casesensitive off
auth_param basic realm Proxy Test --> Usuario Y Clave
auth_param basic credentialsttl 5 hours
#----------------------------------------------------
#
acl AuthenticatedUsers proxy_auth REQUIRED
http_access allow AuthenticatedUsers
#-------------------- ACL Puertos --------------------
acl SSL_ports port 443
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 CONNECT method CONNECT

#---------------------- HTTP ACCES DEFAULT-------------
#http_access allow manager localhost
#http_access deny manager
http_access deny !Safe_ports

Any help ?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20171213/a792d994/attachment.html>


More information about the squid-users mailing list