The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"Squid 2.3 Stable 4 beta авторизация"
Вариант для распечатки  
Пред. тема | След. тема 
Форумы Настройка Squid и других прокси серверов (Public)
Изначальное сообщение [Проследить за развитием треда]

"Squid 2.3 Stable 4 beta авторизация"  
Сообщение от fordfocus2 email(ok) on 17-Мрт-06, 13:20 
Здраствуйте. Ломаю голову по поводу авторизации на данном сквиде под Windows.
Вот почти весь squid.conf

authenticate_program c:/squid/ncsa_auth.dll c:/squid/passwd
quick_abort_min 5 KB
quick_abort_max 5 KB
negative_ttl 1 minutes
read_timeout 4 minutes
client_lifetime 500 minutes
proxy_auth_realm Squid proxy-caching web server
acl all src 10.121.5.0/255.255.255.0
acl users proxy_auth "c:/squid/users"
acl password proxy_auth REQUIRED
acl manager proto cache_object
acl radd url_regex "c:/squid/etc/stop"
http_access allow users
http_access allow password
#                     ^ откуда это берется?
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
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_access deny radd all
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
icp_access allow all
miss_access allow all
never_direct allow all
maximum_single_addr_tries 6
never_direct allow all
ident_lookup_access deny all


вот часть лога:

14:50:18| Squid Cache (Version 2.3.STABLE4): Exiting normally.
14:50:19| Starting Squid Cache version 2.3.STABLE4 for WIN32...
14:50:19| Process ID 1016
14:50:19| With 2560 file descriptors available
14:50:19| Performing DNS Tests...
14:50:19| Successful DNS name lookup tests...
14:50:19| dnsInit: Loading c:/squid/dnsserver.dll
14:50:19| dnsInit: Initializing DNS plugin
14:50:19| authenticateInit: Loading c:/squid/ncsa_auth.dll
14:50:19| authenticateInit: Initializing with group c:/squid/passwd
14:50:19| Swap maxSize 102400 KB, estimated 7876 objects
14:50:19| Target number of buckets: 157
14:50:19| Using 8192 Store buckets
14:50:19| Max Mem  size: 8192 KB
14:50:19| Max Swap size: 102400 KB
14:50:19| Rebuilding storage in c:/squid/cache (DIRTY)
14:50:19| Set Current Directory to c:/squid/cache

Как видно, хочу использовать ncsa авторизацию. Dll-ку загружает, на компе спрашивает логин и пароль, но когда вводишь - он выкидывает на страничку, что мол недоступен интернет. Пароли создаю программой htpasswd.exe, делал даже squid -k reconfigure.
Ничего не помогает. Без авторизации все отлично работает. Помогите! Может где недописал чего-нибуть? В файле users описаны пользователи ,по одному на каждой строчке.

Правка | Высказать мнение | Ответить | Cообщить модератору | Наверх

 Оглавление

Сообщения по теме [Сортировка по времени, UBB]


1. "Squid 2.3 Stable 4 beta авторизация"  
Сообщение от Саня on 20-Мрт-06, 14:56 
ты полюбому неправильно пароли создал!

-c  Create a new file.
-n  Don't update file; display results on stdout.
-m  Force MD5 encryption of the password.
-d  Force CRYPT encryption of the password (default).
-p  Do not encrypt the password (plaintext).
-s  Force SHA encryption of the password.
-b  Use the password from the command line rather than prompting for it.
-D  Delete the specified user.

Я вот только не помню вроде с -m пароль нада делать...или с -d короче либо то либо то попробуй...должно сразу всё заработать.

Правка | Высказать мнение | Ответить | Cообщить модератору | Наверх

Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ] [Рекомендовать для помещения в FAQ]




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру