Криво работает аська...
Добавлено: 2009-04-03 14:35:12
Стоит SQUID3(NTLM)+SAMS+REJIK...не понятно почему...но не все могут выйти в аську..
/usr/local/etc/squid/squid.conf
/usr/local/rejik/redirector.conf
access.log
так вот e.gafyatulina работает нормально, e.vinogradova НЕТ...оба пользователя в САМС-е в одной группе, ограничений по времени и трафику нет, оба активны....
В чем может быть дело?
Код: Выделить всё
gw# uname -a
FreeBSD gw.ekaterinburg.ibam.local 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Sat Mar 21 15:14:18 YEKT 2009 root@gw.ekaterinburg.ibam.local:/usr/obj/usr/src/sys/ASD_kernel.2009-21-03 i386
Код: Выделить всё
gw# pkg_info
apache-2.2.11_3 Version 2.2.x of Apache web server with prefork MPM.
..........................
rejik-3.2.1_1 A squid redirector used for blocking unwanted content
samba-3.0.34,1 A free SMB and CIFS client and server for UNIX
sams-1.0.4,1 Squid 2.x Accounting Management System
squid-3.0.13_1 HTTP Caching Proxy
.........................
/usr/local/etc/squid/squid.conf
Код: Выделить всё
.................................................
#NTLM
auth_param ntlm program /usr/local/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 10
auth_param ntlm keep_alive on
auth_param basic program /usr/local/bin/ntlm_auth --helper-protocol=squid-2.5-basic
auth_param basic children 5
auth_param basic realm Squid Proxy-Server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
..................................................
# TAG: acl
acl _sams_49d4a2a5998ea proxy_auth "/usr/local/etc/squid/49d4a2a5998ea.sams"
acl _sams_49d4a2a5998ea_time time MTWHFAS 00:00-23:59
acl _sams_49d4a2fe4ddfd proxy_auth "/usr/local/etc/squid/49d4a2fe4ddfd.sams"
acl _sams_49d4a2fe4ddfd_time time MTWHF 08:00-21:00
acl _sams_49d5938394916 proxy_auth "/usr/local/etc/squid/49d5938394916.sams"
acl _sams_49d5938394916_time_1 time 00:00-24:0
acl _sams_49d5938394916_time_2 time 0:0-00:01
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl localnet src 192.168.114.0/255.255.255.0 # RFC1918 possible internal network
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl CONNECT method CONNECT
# TAG: http_access
http_access allow _sams_49d4a2a5998ea _sams_49d4a2a5998ea_time
http_access allow _sams_49d4a2fe4ddfd _sams_49d4a2fe4ddfd_time
http_access allow _sams_49d5938394916 _sams_49d5938394916_time_1 _sams_49d5938394916_time_2
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access deny all
.....................................................
redirect_program /usr/local/rejik/redirector /usr/local/rejik/redirector.conf
redirect_children 15
...................................................
delay_pools 2
delay_class 1 2
delay_class 2 2
delay_access 1 allow _sams_49d4a2a5998ea
delay_access 1 deny all
delay_parameters 1 524288/524288 524288/524288
delay_access 2 allow _sams_49d4a2fe4ddfd
delay_access 2 deny all
delay_parameters 2 64000/64000 64000/64000
/usr/local/rejik/redirector.conf
Код: Выделить всё
error_log /var/log/rejik3/redirector.err
change_log /var/log/rejik3/redirector.log
make-cache /usr/local/rejik/make-cache
allow_ip 192.168.114.152/255.255.255.255
<BANNER>
ban_dir /usr/local/rejik/banlists/banners
url http://127.0.0.1/ban/1x1.gif
log off
<CHATS>
ban_dir /usr/local/rejik/banlists/chats
url http://127.0.0.1/ban/1x1.gif
<DATING>
ban_dir /usr/local/rejik/banlists/dating
url http://127.0.0.1/ban/1x1.gif
<GAME>
ban_dir /usr/local/rejik/banlists/game
url http://127.0.0.1/ban/1x1.gif
<PHISHING>
ban_dir /usr/local/rejik/banlists/phishing
url http://127.0.0.1/ban/1x1.gif
<PROXY>
ban_dir /usr/local/rejik/banlists/proxy
url http://127.0.0.1/ban/1x1.gif
<SPYWARE>
ban_dir /usr/local/rejik/banlists/spyware
url http://127.0.0.1/ban/1x1.gif
<VIRUS>
ban_dir /usr/local/rejik/banlists/virus
url http://127.0.0.1/ban/1x1.gif
<WAREZ>
ban_dir /usr/local/rejik/banlists/warez
url http://127.0.0.1/ban/1x1.gif
<PORNO>
ban_dir /usr/local/rejik/banlists/porno
url http://127.0.0.1/ban/1x1.gif
<MP3>
ban_dir /usr/local/rejik/banlists/mp3
url http://127.0.0.1/ban/1x1.gif
<PHOTOGALLERY>
ban_dir /usr/local/rejik/banlists/photogallery
url http://127.0.0.1/ban/1x1.gif
<JS>
ban_dir /usr/local/rejik/banlists/js
url http://127.0.0.1/ban/1x1.gif
<_sams_disabled_id>
work_id f:/usr/local/rejik/disabled_id.sams
ban_dir /usr/local/rejik/_sams_banlists/localhosts
url http://192.168.114.198/sams/messages/blocked.php?action=rejikdisable&url=#URL#&user=#IDENT#&ip=#IP# #_sams_
reverse #_sams_
access.log
Код: Выделить всё
1238736384.744 229 192.168.114.138 TCP_MISS/200 0 CONNECT login.icq.com:443 e.gafyatulina DIRECT/64.12.200.89 -
1238736387.880 228 192.168.114.104 TCP_MISS/200 0 CONNECT login.icq.com:443 e.vinogradova DIRECT/64.12.200.89 -
В чем может быть дело?