При запуске check-redirector возвращается ошибка ERR. В логах все выглядит хорошо, фильтры подгружаются
лог redirector.err
Код: Выделить всё
2015-05-12 23:09:49 [2560] Run make-cache (3.2.11)
2015-05-12 23:09:49 [2560] Make-cache finished
2015-05-12 23:09:49 [2560] Load 3732 rules from /usr/local/rejik3/banlists/banner/urls.cache
2015-05-12 23:09:49 [2560] Load 85 pattern from BANNER pcre
2015-05-12 23:09:49 [2560] Load 258180 rules from /usr/local/rejik3/banlists/porno/urls.cache
2015-05-12 23:09:49 [2560] Load 1 pattern from PORNO pcre
2015-05-12 23:09:49 [2560] Load 13233 rules from /usr/local/rejik3/banlists/chats/urls.cache
2015-05-12 23:09:49 [2560] Load 4888 rules from /usr/local/rejik3/banlists/dating/urls.cache
2015-05-12 23:09:49 [2560] Load 3804 rules from /usr/local/rejik3/banlists/online-games/urls.cache
2015-05-12 23:09:49 [2560] Load 24358 rules from /usr/local/rejik3/banlists/phishing/urls.cache
2015-05-12 23:09:49 [2560] Load 50 rules from /usr/local/rejik3/banlists/remote-control/urls.cache
2015-05-12 23:09:49 [2560] Load 278 rules from /usr/local/rejik3/banlists/socnet/urls.cache
2015-05-12 23:09:49 [2560] Load 9917 rules from /usr/local/rejik3/banlists/spyware/urls.cache
2015-05-12 23:09:49 [2560] Load 63 rules from /usr/local/rejik3/banlists/vpn/urls.cache
2015-05-12 23:09:49 [2560] Load 904 rules from /usr/local/rejik3/banlists/virus-detect/urls.cache
2015-05-12 23:09:49 [2560] Load 1 pattern from VIRUS-DETECT pcre
2015-05-12 23:09:49 [2560] Load 13575 rules from /usr/local/rejik3/banlists/web-proxy/urls.cache
2015-05-12 23:09:49 [2560] Load 1110 rules from /usr/local/rejik3/banlists/torrents/urls.cache
2015-05-12 23:09:49 [2560] Redirector start and working (3.2.11)
Код: Выделить всё
error_log /var/log/squid3/redirector.err
change_log /var/log/squid3/redirector.log
make-cache /usr/local/rejik3/make-cache
<BANNER>
ban_dir /usr/local/rejik3/banlists/banner
url http://squid.domain.local/squid/1x1.gif
log off
<PORNO>
ban_dir /usr/local/rejik3/banlists/porno
url http://squid.domain.local/squid/access_denied.html
<CHATS>
ban_dir /usr/local/rejik3/banlists/chats
url http://squid.domain.local/squid/access_denied.html
<DATING>
ban_dir /usr/local/rejik3/banlists/dating
url http://squid.domain.local/squid/access_denied.html
<ONLINE-GAMES>
ban_dir /usr/local/rejik3/banlists/online-games
url http://squid.domain.local/squid/access_denied.html
<PHISHING>
ban_dir /usr/local/rejik3/banlists/phishing
url http://squid.domain.local/squid/access_denied.html
<REMOTE-CONTROL>
ban_dir /usr/local/rejik3/banlists/remote-control
url http://squid.domain.local/squid/access_denied.html
<SOCNET>
ban_dir /usr/local/rejik3/banlists/socnet
url http://squid.domain.local/squid/access_denied.html
<SPYWARE>
ban_dir /usr/local/rejik3/banlists/spyware
url http://squid.domain.local/squid/access_denied.html
<VPN>
ban_dir /usr/local/rejik3/banlists/vpn
url http://squid.domain.local/squid/access_denied.html
<VIRUS-DETECT>
ban_dir /usr/local/rejik3/banlists/virus-detect
url http://squid.domain.local/squid/access_denied.html
<WEB-PROXY>
ban_dir /usr/local/rejik3/banlists/web-proxy
url http://squid.domain.local/squid/access_denied.html
<TORRENTS>
ban_dir /usr/local/rejik3/banlists/torrents
url http://squid.domain.local/squid/access_denied.html
Код: Выделить всё
root@squid:/usr/local/rejik3/tools# ./check-redirector
bash: line 1: 2488 Done echo "http://sex.ru 127.0.0.1/- - GET"
2489 Segmentation fault (core dumped) | /usr/local/rejik3/redirector /usr/local/rejik3/redirector.conf