помогите найти ошибку в squidGuard

Настройка сетевых служб, маршрутизации, фаерволлов. Проблемы с сетевым оборудованием.
Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
2008_god_mouse
рядовой
Сообщения: 45
Зарегистрирован: 2007-11-12 9:44:22

помогите найти ошибку в squidGuard

Непрочитанное сообщение 2008_god_mouse » 2007-11-29 8:26:07

установил squid 2.5.14-2(все нормально работает, пользователи заходят по своим учеткам)

Код: Выделить всё

# NETWORK OPTIONS
redirect_program /usr/local/bin/squidGuard
redirect_children 10
auth_param basic program /usr/local/libexec/squid/ncsa_auth /usr/local/etc/squid/internet_users
auth_param basic children 10
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off

# ACCESS CONTROLS
acl all src 0.0.0.0/0.0.0.0
acl darim proxy_auth REQUIRED
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8

acl SSL_ports port 443 563
acl Safe_ports port 80		# http
acl Safe_ports port 21		# ftp
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
http_access allow darim
http_access deny all 
visible_hostname FreeBSD.Local
coredump_dir /usr/local/squid/cache
поставил squidGuard
в конфиге прописал:

Код: Выделить всё

dbhome /var/db/squidGuard
logdir /var/log

src clients
{
      admin
      tany
      elena
      luch
      buh
}

dest ads 
{
	domainlist	ads/domains
	expressionlist	ads/expressions    
	urllist		ads/urls
	redirect 	http://192.168.1.5/block/ads.html
}
............................
dest whitelist
{
	domainlist	whitelist/domains
	redirect 	http://192.168.1.5/block/whitelist.html
}

acl {
clients {
    pass	good !ads !adult !aggressive !antispyware !artnudes !audio-video !banners !beerliquorinfo !beerliquorsale !cellphones !chat !childcare !cleaning !clothing !culinary !dating !dialers !drugs !ecommerce !entertainment !frencheducation !gambling !gardening !hacking !homerepair !hygiene !jewelry !jobsearch !kidstimewasting !mobile-phone !naturism !news !onlineauctions !onlinegames !onlinepayment !personalfinance !pets !porn !proxy !radio !religion !ringtones !sexuality !sexual_education !sportnews !sports !spyware !updatesites !vacation !violence !virusinfected !warez !weapons all
} 

default {
    pass	none
    redirect	http://192.168.1.5/block/default.html
}
}
Но запреты не действуют, плюс в логах:

Код: Выделить всё

FreeBSD# cat /var/log/squidGuard.log
2007-11-29 14:57:58 [1298] syntax error in configfile /usr/local/etc/squid/squidGuard.conf line 6
2007-11-29 14:57:58 [1298] going into emergency mode
2007-11-29 14:57:58 [1298] ending emergency mode, stdin empty

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35439
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: помогите найти ошибку в squidGuard

Непрочитанное сообщение Alex Keda » 2007-11-29 9:05:58

ну так 6-ю строку и смотри
Убей их всех! Бог потом рассортирует...