Настройка SQUID proxy server

Автор shiko, 12 Августа 2008, 16:40

« предыдущая тема - следующая тема »

0 Пользователей и 1 Гость просматривают эту тему.

Vicpo

строка 27 rewrite mp3 заменить на rew mp3
lansource {
pass  !porn !adult !audio-video !forums !hacking !redirector !warez !ads !aggressive !drugs !gambling !publicite !violence !banneddestination !advertising all

rewrite mp3
}
в этом блоке тоже rewrite mp3 на rew mp3

shiko

   Squid после перезагрузки стартанул корректно без сбоев, но компы пропускает как будто его и нет, я не говорю за файлы mp3, парнуху и т.д, но почему комп не останавливает который должен остановить и тот который я вообще не указывал в базе. Ну, что за блятство!!!!     

   Скажите, а вот я подгрузил дополнительные пакеты с репозитария в частности и squidGuard 1.2.1 -2mdv2008.1 i586, при установки создает сразу каталоги ну и все такое, как я понял вообще ставится грамотно, отсюда вопрос куда эти пакеты падают хотелось бы выдернуть несколько особо полезных, что бы в случаи чего можно было бы установить потом их самостоятельно?

Vicpo

что за нетерпение?
ты изменил то что я сказал?
компы так же пропускает?
про пакеты : после установки они удаляются

shiko

Все сделал, как вы сказали скопировал squidGuard.conf и внес исправления, перезапустил squid в инет запускает всех подряд (как в день открытых дверей).

      Скажите а фот на форуме задавался вопрос "Установка софта" там вы посоветовали в конфигурационный файл внести несколько строк, после чего пакеты не будут удаляться при загрузки из репозитария, а сохраняются в кэше, от куда их можно будет забрать - я правильно понял, это то о чем я вас спрашивал?

Vicpo

/var/cache/urpmi они там сохраняются
логи сквидгуарда выложи

shiko

squidGuard.log
2008-08-20 23:25:32 [4444] going into emergency mode
2008-08-21 09:11:26 [4488] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4523] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4488] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4523] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4523] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4486] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4523] going into emergency mode
2008-08-21 09:11:26 [4486] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4490] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4490] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4486] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4486] going into emergency mode
2008-08-21 09:11:26 [4491] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4492] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4491] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4492] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4491] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4491] going into emergency mode
2008-08-21 09:11:26 [4494] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4492] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4494] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4493] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4493] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4494] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4494] going into emergency mode
2008-08-21 09:11:26 [4495] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4493] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4493] going into emergency mode
2008-08-21 09:11:26 [4495] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4496] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4496] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4495] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4495] going into emergency mode
2008-08-21 09:11:26 [4524] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4496] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4496] going into emergency mode
2008-08-21 09:11:26 [4497] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4498] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4497] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4498] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4497] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4498] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4497] going into emergency mode
2008-08-21 09:11:26 [4498] going into emergency mode
2008-08-21 09:11:26 [4499] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4500] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4499] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4500] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4499] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4500] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4499] going into emergency mode
2008-08-21 09:11:26 [4500] going into emergency mode
2008-08-21 09:11:26 [4502] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4503] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4502] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4503] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4502] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4503] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4502] going into emergency mode
2008-08-21 09:11:26 [4503] going into emergency mode
2008-08-21 09:11:26 [4505] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4485] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4485] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4485] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4485] going into emergency mode
2008-08-21 09:11:26 [4505] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4505] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4505] going into emergency mode
2008-08-21 09:11:26 [4504] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4501] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4506] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4501] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4506] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4501] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4506] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4501] going into emergency mode
2008-08-21 09:11:26 [4506] going into emergency mode
2008-08-21 09:11:26 [4507] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4508] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4507] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4508] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4507] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4508] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4507] going into emergency mode
2008-08-21 09:11:26 [4508] going into emergency mode
2008-08-21 09:11:26 [4509] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4510] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4509] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4510] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4509] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4510] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4509] going into emergency mode
2008-08-21 09:11:26 [4510] going into emergency mode
2008-08-21 09:11:26 [4512] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4511] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4512] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4511] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4512] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4511] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4512] going into emergency mode
2008-08-21 09:11:26 [4511] going into emergency mode
2008-08-21 09:11:26 [4514] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4513] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4520] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4513] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4520] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4513] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4520] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4513] going into emergency mode
2008-08-21 09:11:26 [4520] going into emergency mode
2008-08-21 09:11:26 [4516] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4514] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4516] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4514] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4516] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4514] going into emergency mode
2008-08-21 09:11:26 [4516] going into emergency mode
2008-08-21 09:11:26 [4515] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4533] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4515] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4533] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4515] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4533] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4515] going into emergency mode
2008-08-21 09:11:26 [4533] going into emergency mode
2008-08-21 09:11:26 [4484] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4518] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4484] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4518] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4484] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4518] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4484] going into emergency mode
2008-08-21 09:11:26 [4525] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4526] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4525] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4526] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4525] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4526] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4525] going into emergency mode
2008-08-21 09:11:26 [4526] going into emergency mode
2008-08-21 09:11:26 [4527] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4528] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4527] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4528] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4527] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4528] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4527] going into emergency mode
2008-08-21 09:11:26 [4528] going into emergency mode
2008-08-21 09:11:26 [4521] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4517] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4521] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4517] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4521] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4517] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4521] going into emergency mode
2008-08-21 09:11:26 [4517] going into emergency mode
2008-08-21 09:11:26 [4489] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4519] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4489] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4519] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4489] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4519] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4489] going into emergency mode
2008-08-21 09:11:26 [4519] going into emergency mode
2008-08-21 09:11:26 [4522] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4530] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4487] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4522] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4487] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4522] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4522] going into emergency mode
2008-08-21 09:11:26 [4531] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4530] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4531] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4530] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4531] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4529] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4531] going into emergency mode
2008-08-21 09:11:26 [4532] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:11:26 [4488] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4532] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4490] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4490] going into emergency mode
2008-08-21 09:11:26 [4492] going into emergency mode
2008-08-21 09:11:26 [4524] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4504] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4524] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4504] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4524] going into emergency mode
2008-08-21 09:11:26 [4504] going into emergency mode
2008-08-21 09:11:26 [4532] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4518] going into emergency mode
2008-08-21 09:11:26 [4487] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4530] going into emergency mode
2008-08-21 09:11:26 [4529] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:11:26 [4488] going into emergency mode
2008-08-21 09:11:26 [4532] going into emergency mode
2008-08-21 09:11:26 [4487] going into emergency mode
2008-08-21 09:11:26 [4529] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:11:26 [4529] going into emergency mode
2008-08-21 09:19:04 [4484] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4486] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4485] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4495] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4497] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4489] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4491] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4524] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4533] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4521] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4505] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4525] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4513] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4499] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4494] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4487] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4488] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4520] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4490] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4517] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4501] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4531] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4508] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4529] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4511] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4506] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4502] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4510] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4518] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4527] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4530] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4516] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4522] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4492] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4519] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4493] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4503] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4509] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4523] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4515] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4498] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4504] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4496] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4507] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4514] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4532] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4526] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4500] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4528] ending emergency mode, stdin empty
2008-08-21 09:19:04 [4512] ending emergency mode, stdin empty
2008-08-21 09:19:06 [7765] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:19:06 [7765] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:19:06 [7765] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:19:06 [7765] going into emergency mode
2008-08-21 09:19:06 [7766] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:19:06 [7766] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:19:06 [7766] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:19:06 [7766] going into emergency mode
2008-08-21 09:19:06 [7770] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:19:06 [7770] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:19:06 [7770] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:19:06 [7770] going into emergency mode
2008-08-21 09:19:06 [7767] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 09:19:06 [7767] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 09:19:06 [7767] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
2008-08-21 09:19:06 [7767] going into emergency mode
2008-08-21 09:19:06 [7769] New setting: dbhome: /usr/local/squidGuard/db

Vicpo

2008-08-21 09:19:06 [7767] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 27
я вижу что ты ничего не исправил
закомментируй кусок rewrite mp3 {
    s@.*.mp3$@http://127.0.0.1/my.mp3@r
    s@.*.avi$@http://127.0.0.1/my.avi@r
    s@.*.mpg$@http://127.0.0.1/my.mpg@r
    s@.*.mpeg$@http://127.0.0.1/my.mpeg@r
    s@.*.exe$@http://127.0.0.1/my.exe@r
    s@.*.rar$@http://127.0.0.1/my.rar@r
    s@.*.zip$@http://127.0.0.1/my.zip@r
    log /var/log/squid/mp3.log
    }
и все rewrite mp3 или rew mp3

shiko

вот конфиг я везде исправил где вы сказали rewrite mp3 на rew mp3, исправления сделаны только в двух местах больше не было или мне что везде где написано mp3 впереди поставить еще rew (rew mp3)
#
# CONFIG FILE FOR SQUIDGUARD
#

dbhome /usr/local/squidGuard/db
logdir /usr/local/squidGuard/log

#
# TIME RULES:
# abbrev for weekdays:
# s = sun, m = mon, t =tue, w = wed, h = thu, f = fri, a = sat

#готовим  диапазоны времени (нерабочее время)
time workhours {
        weekly s 08:30-20:00
        weekly m 08:30-20:00
        weekly t 08:30-20:00
        weekly w 08:30-20:00
        weekly h 08:30-20:00
        weekly f 08:30-20:00
        weekly a 08:30-20:00


#
# REWRITE RULES:
#
rew mp3 {
    s@.*.mp3$@http://127.0.0.1/my.mp3@r
    s@.*.avi$@http://127.0.0.1/my.avi@r
    s@.*.mpg$@http://127.0.0.1/my.mpg@r
    s@.*.mpeg$@http://127.0.0.1/my.mpeg@r
    s@.*.exe$@http://127.0.0.1/my.exe@r
    s@.*.rar$@http://127.0.0.1/my.rar@r
    s@.*.zip$@http://127.0.0.1/my.zip@r
    log /var/log/squid/mp3.log
    }

#rew dmz {
# s@://admin/@://admin.foo.bar.de/@i
# s@://foo.bar.de/@://www.foo.bar.de/@i
#}

#
# SOURCE ADDRESSES:
# Им можно почти все
src privilegedsource {
iplist privilegedsource/ips
# user root foo bar
# within workhours
}

# Группа заблокированных пользователей
src bannedsource {
iplist bannedsource/ips
}

src lansource {
iplist lansource/lan
}

#
# DESTINATION CLASSES:
# Подключение баз

dest ads {
        domainlist      ads/domains
urllist         ads/urls
expressionlist  ads/expressions
}

dest phishing {
        domainlist      phishing/domains
urllist         phishing/urls
}

dest porn {
        domainlist      porn/domains
urllist         porn/urls
expressionlist  porn/expressions
}

dest warez {
        domainlist      warez/domains
urllist         warez/urls
}

dest spyware {
        domainlist      spyware/domains
}

dest sexuality {
        domainlist      sexuality/domains
urllist         sexualiyt/urls
}

dest hacking {
        domainlist      hacking/domains
urllist         hacking/urls
}

dest audio-video {
        domainlist      audio-video/domains
urllist         audio-video/urls
}

dest games {
        domainlist      games/domains
urllist         games/urls
}

dest onlinegames {
        domainlist      onlinegames/domains
urllist         onlinegames/urls     
}

dest chat {
        domainlist      chat/domains
urllist         chat/urls
}

dest adult {
domainlist adult/domains
urllist adult/urls
# redirect http://admin.foo.bar.de/cgi/blocked?clientaddr=%a+clientname=%n+clientuser=%i+clientgroup=%s+targetgroup=%t+url=%u
}


acl {
privilegedsource {
pass all


}

bannedsource {
pass none

log /usr/local/squidGuard/log/ban.log
}

lansource {
pass  !porn !adult !audio-video !forums !hacking !redirector !warez !ads !aggressive !drugs !gambling !publicite !violence !banneddestination !advertising all

rew mp3
}


default {
pass none

log /usr/local/squidGuard/log/deny.log

}
}

Vicpo

Цитироватьзакомментируй кусок rewrite mp3 {
    s@.*.mp3$@http://127.0.0.1/my.mp3@r
    s@.*.avi$@http://127.0.0.1/my.avi@r
    s@.*.mpg$@http://127.0.0.1/my.mpg@r
    s@.*.mpeg$@http://127.0.0.1/my.mpeg@r
    s@.*.exe$@http://127.0.0.1/my.exe@r
    s@.*.rar$@http://127.0.0.1/my.rar@r
    s@.*.zip$@http://127.0.0.1/my.zip@r
    log /var/log/squid/mp3.log
    }
и все rewrite mp3 или rew mp3

shiko

Теперь в squidGuard.log показана ошибка в строке 46, но я проверял - это строка "src privilegedsource" я ее уже двадцать раз проверил соответствие в этих базах.
2008-08-21 12:07:28 [8728] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 12:07:28 [8728] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 46
2008-08-21 12:07:28 [8728] going into emergency mode
2008-08-21 12:07:28 [8733] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 12:07:28 [8733] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 12:07:28 [8733] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 46
2008-08-21 12:07:28 [8733] going into emergency mode
2008-08-21 12:07:28 [8734] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 12:07:28 [8734] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 12:07:28 [8734] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 46
2008-08-21 12:07:28 [8734] going into emergency mode
2008-08-21 12:07:28 [8736] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 12:07:28 [8736] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 12:07:28 [8736] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 46
2008-08-21 12:07:28 [8736] going into emergency mode
2008-08-21 12:07:28 [8735] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 12:07:28 [8735] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 12:07:28 [8735] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 46
2008-08-21 12:07:28 [8735] going into emergency mode
2008-08-21 12:07:28 [8740] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 12:07:28 [8740] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 12:07:28 [8740] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 46
2008-08-21 12:07:28 [8737] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 12:07:28 [8740] going into emergency mode
2008-08-21 12:07:28 [8741] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 12:07:28 [8737] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 12:07:28 [8741] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 12:07:28 [8741] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 46
2008-08-21 12:07:28 [8737] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 46
2008-08-21 12:07:28 [8737] going into emergency mode
2008-08-21 12:07:28 [8739] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 12:07:28 [8739] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 12:07:28 [8739] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 46
2008-08-21 12:07:28 [8739] going into emergency mode
2008-08-21 12:07:28 [8741] going into emergency mode
2008-08-21 12:07:28 [8738] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 12:07:28 [8738] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 12:07:28 [8738] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 46
2008-08-21 12:07:28 [8738] going into emergency mode

Vicpo

src privilegedsource {
iplist privilegedsource/ips
# user root foo bar
# within workhours
}
к такому виду приведи
src privilegedsource {
iplist privilegedsource/ips

}

shiko

Все тоже самое, без результата.
2008-08-21 12:38:27 [8991] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 46
2008-08-21 12:38:27 [8991] going into emergency mode
2008-08-21 12:38:27 [8994] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 12:38:27 [8994] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 12:38:27 [8994] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 46
2008-08-21 12:38:27 [8994] going into emergency mode
2008-08-21 12:38:27 [8993] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 12:38:27 [8993] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 12:38:27 [8993] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 46
2008-08-21 12:38:27 [8993] going into emergency mode
2008-08-21 12:38:27 [8992] New setting: dbhome: /usr/local/squidGuard/db
2008-08-21 12:38:27 [8992] New setting: logdir: /usr/local/squidGuard/log
2008-08-21 12:38:27 [8992] syntax error in configfile /usr/local/squidGuard/squidGuard.conf line 46
2008-08-21 12:38:27 [8992] going into emergency mode

Vicpo

дефолтный конфиг остался? если да выложи

shiko

Да я скопировал на всякий случай,  но только после того как внес изменение в разделы src:
#
# CONFIG FILE FOR SQUIDGUARD
#

dbhome /usr/local/squidGuard/db
logdir /usr/local/squidGuard/log

#
# TIME RULES:
# abbrev for weekdays:
# s = sun, m = mon, t =tue, w = wed, h = thu, f = fri, a = sat

time workhours {
weekly mtwhf 08:00 - 16:30
date *-*-01  08:00 - 16:30
}

#
# REWRITE RULES:
#

rew dmz {
s@://admin/@://admin.foo.bar.de/@i
s@://foo.bar.de/@://www.foo.bar.de/@i
}

#
# SOURCE ADDRESSES:
# Им можно почти все
src privilegedsource {
iplist privilegedsource/ips
user root foo bar
within workhours
}

# Группа заблокированных пользователей
src bannedsource {
iplist bannedsource/ips
}

src lansource {
iplist lansource/lan
}

#
# DESTINATION CLASSES:
#

dest good {
}

dest local {
}

dest adult {
domainlist dest/adult/domains
urllist dest/adult/urls
expressionlist dest/adult/expressions
redirect http://admin.foo.bar.de/cgi/blocked?clientaddr=%a+clientname=%n+clientuser=%i+clientgroup=%s+targetgroup=%t+url=%u
}


acl {
admin {
pass any
}

foo-clients within workhours {
pass good !in-addr !adult any
} else {
pass any
}

bar-clients {
pass local none
}

default {
pass local none
rewrite dmz
redirect http://admin.foo.bar.de/cgi/blocked?clientaddr=%a+clientname=%n+clientuser=%i+clientgroup=%s+targetgroup=%t+url=%u
}
}
запись в разделах src была тепо:
     ip           192.168.0.1 - 192.168.0.10

Vicpo

#
# CONFIG FILE FOR SQUIDGUARD
#

dbhome /usr/local/squidGuard/db
logdir /usr/local/squidGuard/log

#
# TIME RULES:
# abbrev for weekdays:
# s = sun, m = mon, t =tue, w = wed, h = thu, f = fri, a = sat

time workhours {
weekly mtwhf 08:00 - 16:30
date *-*-01  08:00 - 16:30
}

#
# REWRITE RULES:
#

#rew dmz {
# s@://admin/@://admin.foo.bar.de/@i
# s@://foo.bar.de/@://www.foo.bar.de/@i
#}

#
# SOURCE ADDRESSES:
# Им можно почти все
src privilegedsource {
ip 192.168.0.3

}

# Группа заблокированных пользователей
src bannedsource {
ip
}

src lansource {
ip 192.168.0.2
}

#
# DESTINATION CLASSES:
#

dest ads {
        domainlist      ads/domains
urllist         ads/urls
expressionlist  ads/expressions
}

dest phishing {
        domainlist      phishing/domains
urllist         phishing/urls
}

dest porn {
        domainlist      porn/domains
urllist         porn/urls
expressionlist  porn/expressions
}

dest warez {
        domainlist      warez/domains
urllist         warez/urls
}

dest spyware {
        domainlist      spyware/domains
}

dest sexuality {
        domainlist      sexuality/domains
urllist         sexualiyt/urls
}

dest hacking {
        domainlist      hacking/domains
urllist         hacking/urls
}

dest audio-video {
        domainlist      audio-video/domains
urllist         audio-video/urls
}

dest games {
        domainlist      games/domains
urllist         games/urls
}

dest onlinegames {
        domainlist      onlinegames/domains
urllist         onlinegames/urls     
}

dest chat {
        domainlist      chat/domains
urllist         chat/urls
}

dest adult {
domainlist adult/domains
urllist adult/urls
# redirect http://admin.foo.bar.de/cgi/blocked?clientaddr=%a+clientname=%n+clientuser=%i+clientgroup=%s+targetgroup=%t+url=%u
}

acl {
privilegedsource {
pass any


}

bannedsource {
pass none

log /usr/local/squidGuard/log/ban.log
}

lansource {
pass  !in-addr !porn !adult !audio-video !forums !hacking !redirector !warez !ads !aggressive !drugs !gambling !publicite !violence !banneddestination !advertising any


}


default {
pass none

log /usr/local/squidGuard/log/deny.log

}
}
пробуй, там изменился конфиг

shiko

Код поменял, перезагрузил squid результат такой: в логе squidGuard ошибок нет, но в инете невозможно работать страницы грузятся по 10 мин., компы не останавливает на самом сервере работать невозможно стало, виснит и глючит, верну ка я код в исходное положение, а?

Vicpo

это называется редиректор заработал
увеличить кеш на проксе надо и будет полегче

shiko

Мне очень жаль Vicpo, но похоже я похерил машину, рабочий стол который был пропал вместо моей заставки на рабочем столе - синий экран, а значки стали опять большими, меню типо старт вообще пропало, короче пере установлю машину заново настрою, заодно и squidGuard нормальный поставлю!

Vicpo

Вот это по-нашему настраивал настраивал в итоге настроил, но сломал все остальное  :D

shiko

да я сейчас всю инфу пере качаю и быстро заново все поставлю как сделаю выду на связь! :D