Прочитал кучу инфы, сделал как в книжке НЕРАБОТАЕТ
squid.conf
Код:
auth_param basic program /usr/lib/squid/ncsa_auth /usr/lib/etc/passwd
#Recommended minimum configuration:
acl users proxy_auth REQUIRED
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
http_access allow users
http_access allow all
icp_access allow all
# Squid normally listens to port 3128
http_port 3128
# Default is to allow all to be cached
#We recommend you to use the following two lines.
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
cache_dir ufs /var/spool/squid 100 16 256
access_log /var/log/squid/access.log squid
cache_log /var/log/squid/cache.log
#Suggested default:
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
# Apache to signal ETag correctly on such responses
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
error_directory /usr/lib/squid/errors/Russian-koi8-r
если убираю авторизацию, интернет работает.
Код: Выделить всё
[I have no name!@localhost squid]$ ./ncsa_auth /etc/passwd
dimon 123
OK
roman 1234
ERR Wrong password
roman 12345
OKБраузер мозилла кричит, что прокси не дает авторизации.
Клиенгтская машина тоже под Мандрива 2008 PP
Я так понимаю в браузере должно появляться окошко авторизации ?
Или на клиенте еще что то нужно запустить ?
Подскажите что делать ?