Настраивал SQUID чтобы для определенных групп канал резался...вот конфигvisible_hostname salavat
acl all src 0.0.0.0/0.0.0.0
acl domain src 192.168.0.0/24
http_port 192.168.0.114:3128
http_access allow domain
http_access deny all
acl buh src 192.168.0.2-192.168.0.10
acl aud src 192.168.0.11-192.168.0.23
acl dir src 192.168.0.24
acl sec src 192.168.0.25
acl prg src 192.168.0.26-192.168.0.40
acl uri src 192.168.0.41
acl oth src 192.168.0.42-192.168.0.50
acl adm src 192.168.0.51-192.168.0.56
http_access allow buh
http_access allow aud
http_access allow dir
http_access allow sec
http_access allow prg
http_access allow uri
http_access allow oth
http_access allow adm
http_access deny all
delay_pools 8
# ограничим отдел бухгалтерии
delay_class 3 2
delay_parameters 3 80000/80000 40000/40000
delay_access 3 allow buh
delay_access 3 deny all
# ограничим отдел аудита
delay_class 3 2
delay_parameters 3 100000/100000 30000/30000
delay_access 3 allow aud
delay_access 3 deny all
# ограничим директора
delay_class 2 1
delay_parameters 2 40000/40000
delay_access 2 allow dir
delay_access 2 deny all
# ограничим секретарей
delay_class 2 1
delay_parameters 2 20000/20000
delay_access 2 allow sec
delay_access 2 deny all
# ограничим отдел программирования
delay_class 3 2
delay_parameters 3 400000/400000 60000/60000
delay_access 3 allow prg
delay_access 3 deny all
# ограничим отдел юриста
delay_class 2 1
delay_parameters 2 50000/50000
delay_access 2 allow uri
delay_access 2 deny all
# ограничим других
delay_class 3 2
delay_parameters 3 50000/50000 50000/50000
delay_access 3 allow oth
delay_access 3 deny all
# ограничим админов))
delay_class 3 2
delay_parameters 1 -1/-1 5000/15000
delay_access 1 allow adm
delay_access 1 deny all
refresh_pattern -i \.gif$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.png$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.jpg$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.jpeg$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.pdf$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.zip$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.tar$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.gz$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.tgz$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.exe$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.prz$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.ppt$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.inf$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.swf$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.mid$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.wav$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.mp3$ 43200 100% 43200 override-lastmod override-expire
вот что получаю на выходе
root@salavat:/etc/squid# /usr/local/squid/sbin/squid -z
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.5.STABLE12): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.000 user + 0.008 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Aborted
А если вот так то получится
root@salavat:/etc/squid# /usr/local/squid/sbin/squid -D
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.5.STABLE12): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.008 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Aborted
В чем может быть косяк ? Заранее спасибо