Скачал уже сконпелир. squid-2.6.STABLE14 на винду. Настороил squid.conf. Все работает. Пытаюсь запустить squid с использованием ncsa_auth. Дописываю в конфиге сквида:acl password proxy_auth REQUIRED
http_access allow passwordhttp_access deny all
authenticate_program c:\squid\libexec\ncsa_auth c:\squid\etc\passwd
Пытаюсь запустиь из консоли :
C:\squid\sbin>net start squid14
Служба "Squid14" запускается.
Не удалось запустить службу "Squid14".Служба не сообщает об ошибке.
Для вызова дополнительной справки наберите NET HELPMSG 3534.
C:\squid\sbin>net helpmsg 3534Служба не сообщает об ошибке.
C:\squid\sbin>squid -v
Squid Cache: Version 2.6.STABLE14
configure options: --enable-win32-service --enable-storeio='ufs aufs null coss'
--enable-removal-policies='heap lru' --enable-snmp --enable-htcp --disable-wccp
--disable-wccpv2 --enable-useragent-log --enable-referer-log --enable-cache-dige
sts --enable-auth='basic ntlm digest negotiate' --enable-coss-aio-ops --enable-b
asic-auth-helpers='LDAP NCSA mswin_sspi' --enable-negotiate-auth-helpers=mswin_s
spi--enable-ntlm-auth-helpers='mswin_sspi fakeauth' --enable-external-acl-helper
s='mswin_lm_group ldap_group' --enable-large-cache-files --enable-digest-auth-he
lpers='password LDAP'--enable-arp-acl --prefix=c:/squid
Compiled as Windows System Service.НЕ ЗАПУСКАЕТСЯ.
Что то не понятное. Если удалить из конфига строкиacl password proxy_auth REQUIRED
http_access allow passwordто рабатает. Кто может подсказать что мне делать и как дальше жить :-(
(Как произвести аунтентификациию используя сервер squid windows?)
Что пишет в журнале cache_log ?
>Что пишет в журнале cache_log ?в squid.exe.txt (в sbin) пишет :
2007/11/08 19:39:03| WARNING: '192.168.0.0/255.255.0.0' is a subnetwork of '192.168.0.0/255.255.0.0'
2007/11/08 19:39:03| WARNING: because of this '192.168.0.0/255.255.0.0' is ignored to keep splay tree searching predictable
2007/11/08 19:39:03| WARNING: You should probably remove '192.168.0.0/255.255.0.0' from the ACL named 'our_networks'
2007/11/08 19:39:03| Invalid Proxy Auth ACL 'acl password proxy_auth REQUIRED' because no authentication schemes are fully configured.
FATAL: Bungled squid.conf line 3042: acl password proxy_auth REQUIRED
Squid Cache (Version 2.6.STABLE14): Terminated abnormally.В cache.log ни чего не добовляется
вот на всякий случай конфиг:http_port 192.168.10.1:3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
#acl apache rep_header Server ^Apache
#broken_vary_encoding allow apachecache_mem 64 MB
maximum_object_size 16384 KB
cache_dir ufs c:/squid/var/cache 1250 16 256icp_port 0
access_log c:/squid/var/logs/access.log squidcache_log c:/squid/var/logs/cache.log
cache_store_log c:/squid/var/logs/store.log
#log_ip_on_direct on
# log_mime_hdrs on
# log_fqdn offacl 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
acl localnet src 192.168.0.0/255.255.0.0
acl SSL_ports port 443 563
acl Safe_ports port 80 8080
acl CONNECT method CONNECThttp_access allow manager localhost
#http_access allow manager localnet
http_access allow localnet
http_access deny manageracl password proxy_auth REQUIRED #!!!! ошибка
http_access allow password
authenticate_program c:\squid\libexec\ncsa_auth c:\squid\etc\passwdhttp_access deny CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !Safe_ports
http_access deny CONNECT !SSL_portshttp_access deny all
#icp_access allow all это нужно прописывать?
visible_hostname 192.168.10.1
coredump_dir c:/squid/var/cacheЕсли найдете какой-нибудь ошибку в конфиге, сообщите
Весь squid.conf нужно было переделать, что бы все безопасно заработало.
Всех благодарю, кто пытался помочь.