- Joined
- Jan 28, 2013
- Messages
- 1
- Reaction score
- 0
- Points
- 1
Good afternoon.
I have the following problem.
I have squidman proxy running on a macbook pro and I woud like to add ncsa authentication to users in my LAN. but when I enter and configure the proxy in the explorer it doen't ask for
authentication.
Here's my squidman template's config:
Do anybody have an idea about why it doesn't ask for user and password? I would be very thankful
And here ir my support links as far:
Howto: Squid proxy authentication using ncsa_auth helper
Crazy House: 【
Squid Anonymous Proxy on OS X — James Stroud's Pages
I have the following problem.
I have squidman proxy running on a macbook pro and I woud like to add ncsa authentication to users in my LAN. but when I enter and configure the proxy in the explorer it doen't ask for
authentication.
Here's my squidman template's config:
Code:
# ----------------------------------------------------------------------
# WARNING - do not edit this template unless you know what you are doing
# ----------------------------------------------------------------------
# the parent cache
cache_peer %PARENTPROXY% parent %PARENTPORT% 7 no-query no-digest no-netdb-exchange default
# disk and memory cache settings
cache_dir ufs %CACHEDIR% %CACHESIZE% 16 256
maximum_object_size %MAXOBJECTSIZE%
# store coredumps in the first cache dir
coredump_dir %CACHEDIR%
# the hostname squid displays in error messages
visible_hostname %VISIBLEHOSTNAME%
# log & process ID file details
cache_access_log %ACCESSLOG%
cache_log %CACHELOG%
cache_store_log %STORELOG%
pid_filename %PIDFILE%
# Squid listening port
http_port %PORT%
# Access Control lists
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl manager proto cache_object
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
%ALLOWEDHOSTS%
%DIRECTHOSTS%
# acl badsite dstdomain "/Users/Krosa/Library/Preferences/badsite.acl"
# acl special_clients src "/Users/Krosa/Library/Preferences/special_clients_ip.acl"
acl badsite dstdomain .facebook.com .twitter.com .blogger.com
# Only allow cachemgr access from localhost
http_access allow manager localhost
http_access deny manager
# http_access allow badsite special_clients
http_access deny badsite
# Deny requests to certain unsafe ports
http_access deny !Safe_ports
# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports
# protect web apps running on the proxy host from external users
http_access deny to_localhost
# rules for client access go here
http_access allow localhost
%HTTPACCESSALLOWED%
# after allowed hosts, deny all other access to this proxy
# don't list any other access settings below this point
# http_access deny all
# specify which hosts have direct access (bypassing the parent proxy)
%ALWAYSDIRECT%
always_direct deny all
# hierarchy stop list (squid-recommended)
hierarchy_stoplist cgi-bin ?
error_directory /usr/local/squid/share/errors/es
auth_param basic realm Welcome to proxy service, please enter your name and password.
auth_param basic program /usr/local/squid/libexec/ncsa_auth /usr/local/squid/etc/squid_passwd
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
#INSERT YOUR OWN RULES(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
acl ncsaauth proxy_auth REQUIRED
http_access allow ncsaauth
# THE DENY ALL CONTROL IS ADDED BACK
http_access deny all
# forwarded_for off
# acl ip1 myip 10.0.0.1
# tcp_outgoing_address 10.0.0.1 ip1
# request_header_access Allow allow all
# request_header_access Authorization allow all
# request_header_access WWW-Authenticate allow all
# request_header_access Proxy-Authorization allow all
# request_header_access Proxy-Authenticate allow all
# request_header_access Cache-Control allow all
# request_header_access Content-Encoding allow all
# request_header_access Content-Length allow all
# request_header_access Content-Type allow all
# request_header_access Date allow all
# request_header_access Expires allow all
# request_header_access Host allow all
# request_header_access If-Modified-Since allow all
# request_header_access Last-Modified allow all
# request_header_access Location allow all
# request_header_access Pragma allow all
# request_header_access Accept allow all
# request_header_access Accept-Charset allow all
# request_header_access Accept-Encoding allow all
# request_header_access Accept-Language allow all
# request_header_access Content-Language allow all
# request_header_access Mime-Version allow all
# request_header_access Retry-After allow all
# request_header_access Title allow all
# request_header_access Connection allow all
# request_header_access Proxy-Connection allow all
# request_header_access User-Agent allow all
# request_header_access Cookie allow all
# request_header_access All deny all
# dns_nameservers 8.8.8.8 8.8.4.4
# refresh patterns (squid-recommended)
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
Do anybody have an idea about why it doesn't ask for user and password? I would be very thankful
And here ir my support links as far:
Howto: Squid proxy authentication using ncsa_auth helper
Crazy House: 【
Squid Anonymous Proxy on OS X — James Stroud's Pages