URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID12
Нить номер: 2298
[ Назад ]

Исходное сообщение
"Проблеммы при аутефикации SQUID "

Отправлено vrspider , 08-Июл-04 10:48 
squid.conf :  
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
http_port 3129                                                                  
hierarchy_stoplist cgi-bin ?                                                    
acl QUERY urlpath_regex cgi-bin \?                                              
no_cache deny QUERY                                                              
cache_mem 100 MB                                                                
                                                                                
acl admin proxy_auth REQUIRED                                                    
acl all src 0.0.0.0/0.0.0.0                                                      
auth_param basic program /usr/local/squid/libexec/ncsa_auth  /usr/local/squid/etc/passwd  
                                                                                
acl manager proto cache_object                                                  
acl localhost src 127.0.0.1/255.255.255.255                                      
acl ladr src 192.168.0.201                                                      
acl SSL_ports port 443 563                                                      
acl Safe_ports port 80          # http                                          
acl Safe_ports port 21          # ftp                                            
acl Safe_ports port 22          #ssh                                            
acl Safe_ports port 443 563     # https, snews                                  
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                                                      
acl BANNER url_regex banner reklama linkexch banpics us\.yimg\.com [\./]ad[s]?[\
http_access deny BANNER                                                          
acl icq_domain dstdomain icq.com aol.com                                        
acl icq_addr   dst 64.12.0.0/16 205.188.0.0/16                                  
acl icq_port   port 5190                                                        
acl icq_proto  proto HTTPS                                                      
always_direct allow icq_domain icq_port CONNECT                                  
always_direct allow icq_addr   icq_port CONNECT                                  
acl nobanners src 0/0                                                            
acl banners url_regex "/usr/local/www/data-dist/access/banners.acl"              
http_access deny nobanners banners                                              
                                                                                
                                                                                
                                                                                
                                                                                
http_access allow admin                                                          
http_access deny  all                                                            
http_access allow localhost                                                      
logfile_rotate 0                                                                
client_db on                                                                    
store_avg_object_size 1 GB                                                      
maximum_object_size 50 MB                                                        
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
passwd был создан методом  

htpasswd -c  /usr/local/squid/etc/passwd   admin

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

squid пересобирал как из /usr/ports/www/squid  та и /usr/ports/www/squid2.4  
а также из sorce
  
c опциями  --enable-authefication-programm  ,и т.д.  

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

на серваке установлены

ruby  
eruby
mod_ruby
apache 1.3.1
postgresql 7.2
sendmail  
smtpd  
popper  
mc  
webalizer
sarg  
sshd 1.2
ядро скручено с опциями  IPFIREWALL DUMMYNET  и т.д.  
активен natd  
  
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
даю список софтин установленных на серваке - вдруг чтото из них мешает  нормально жить  


кароче запускаю я squid  с єтим конфигом , всё ок типа пашет ,
подключаюсь браузером появляется окно авторизации  ,
ввожу  логин и пароль , а оно опять вылазит , так вылазит  три раза  
затем  page not found и всё  , но во время єтого syslog записывает  
(squid) the basicauthenificator helpers are crashing too rapidly , need help!  
  
и всё , что делать ума не приложу ..  

____________________________________________________________________________
заранее благодарен за помощь

Содержание

Сообщения в этом обсуждении
"Проблеммы при аутефикации SQUID "
Отправлено Givich , 13-Июл-04 08:55 
А совбственно КАКИЕ КОНКРЕТНО проблемы?
А вот тут по-моему ошибка

>http_access allow admin  
>http_access deny  all    
>http_access allow localhost    

Трэба:

http_access allow admin          
http_access allow localhost
http_access deny  all