Здравствуйте! Никак не выходит грамотно настроить прокси-сервер Squid. Первый вопрос связан с авторизацией пользователей. Авторизация проходит, но не срабатывает параметр:
auth_param basic credentialsttl 1 minute
Насколько я понимаю, это длина сессии авторизированного пользователя.
И второй вопрос связан с запретом доступа к определенным сайтам. Смотрел в разных источниках команды, здесь же на форуме нарыл вот такую:
acl blacklist dstdomain vk.com
http_access deny blacklist
К сожалению, не срабатывает(
Конфиг squid:
###
###
auth_param basic program /usr/lib/squid3/basic_ncsa_auth /etc/squid3/passwd
auth_param basic children 5
auth_param basic realm Welcome to Squid-proxy
auth_param basic casesensitive on
auth_param basic credentialsttl 1 minute
###
###
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
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
###
###
http_port 192.168.77.1:3128
###
###
acl password proxy_auth REQUIRED
http_access allow password
###
###
coredump_dir /var/spool/squid3
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
refresh_pattern . 0 20% 4320
###
###
cache_effective_user proxy
cache_effective_group proxy
cache_dir ufs /var/spool/squid3 100 16 256
###
###
acl blacklist dstdomain vk.com
http_access deny blacklist
###
###