Конфиг:
В сквиде добавленоerror_log /usr/local/rejik3/redirector.err
change_log /usr/local/rejik3/redirector.log
make-cache /usr/local/rejik3/make-cache
work_ip 192.168.0.0/255.255.0.0
#allow_urls /usr/local/rejik3/banlists/allow_urls
#write_hostname_to_log on
<BANNER>
ban_dir /usr/local/rejik3/banlists/banners
url http://127.0.0.1/1x1.gif
#log off
<PORNO>
ban_dir /usr/local/rejik3/banlists/porno
url http://127.0.0.1/porno.html
<ONLINE-GAMES>
ban_dir /usr/local/rejik3/banlists/online-games
url http://127.0.0.1/index.html
<SOCNET>
ban_dir /usr/local/rejik3/banlists/socnet
url http://127.0.0.1/index.html
<SPYWARE>
ban_dir /usr/local/rejik3/banlists/spyware
url http://127.0.0.1/index.html
<TORRENTS>
ban_dir /usr/local/rejik3/banlists/torrents
url http://127.0.0.1/index.html
<VIRUS-DETECT>
ban_dir /usr/local/rejik3/banlists/virus-detect
url http://127.0.0.1/index.html
<WEB-PROXY>
ban_dir /usr/local/rejik3/banlists/web-proxy
url http://127.0.0.1/index.html
<MP3>
ban_dir /usr/local/rejik3/banlists/mp3
url http://127.0.0.1/mp3.html
<JS>
ban_dir /usr/local/rejik3/banlists/js
url http://127.0.0.1/js.js
#log off
Почистил кэш, удалил все логи, переконфигурировал Сквид. Захожу на сайт, который есть в banners, и он открывается.redirect_program /usr/local/rejik3/redirector /usr/local/rejik3/redirector.conf
Вот что по этому поводу пишет Сквид:
redirector.log пустой. Куда глядеть?1422250407.392 264 192.168.0.107 TCP_MISS/302 455 GET http://advmaker.ru/ - HIER_DIRECT/95.213.144.72 text/html
1422250411.312 3908 192.168.0.107 TCP_MISS/200 119827 CONNECT advmaker.net:443 - HIER_DIRECT/95.213.144.72 -
1422250414.092 6358 192.168.0.107 TCP_MISS/200 25987 CONNECT advmaker.net:443 - HIER_DIRECT/95.213.144.72 -
1422250414.481 5641 192.168.0.107 TCP_MISS/200 3895 CONNECT am15.net:443 - HIER_DIRECT/148.251.47.213 -
1422250414.482 5643 192.168.0.107 TCP_MISS/200 3895 CONNECT am15.net:443 - HIER_DIRECT/148.251.47.213 -
1422250414.792 7055 192.168.0.107 TCP_MISS/200 106600 CONNECT advmaker.net:443 - HIER_DIRECT/95.213.144.72 -
1422250414.794 7059 192.168.0.107 TCP_MISS/200 42410 CONNECT advmaker.net:443 - HIER_DIRECT/95.213.144.72 -
1422250414.894 7488 192.168.0.107 TCP_MISS/200 153422 CONNECT advmaker.net:443 - HIER_DIRECT/95.213.144.72 -
1422250416.892 9155 192.168.0.107 TCP_MISS/200 259428 CONNECT advmaker.net:443 - HIER_DIRECT/95.213.144.72 -
1422250419.384 10585 192.168.0.107 TCP_MISS/200 5174 CONNECT mc.yandex.ru:443 - HIER_DIRECT/87.250.251.119 -
1422250429.381 20509 192.168.0.107 TCP_MISS/200 5168 CONNECT mc.yandex.ru:443 - HIER_DIRECT/87.250.251.119 -
1422250429.382 19334 192.168.0.107 TCP_MISS/200 4119 CONNECT s-static.ak.facebook.com:443 - HIER_DIRECT/23.40.4.125 -
1422250429.382 18696 192.168.0.107 TCP_MISS/200 255 CONNECT http://www.facebook.com:443 - HIER_DIRECT/31.13.91.2 -
1422250445.834 240314 192.168.0.107 TCP_MISS/200 4694 CONNECT p5-xu6pzzvrl72ee-gasxr3raqpc46lzn-375151-i1-v6exp3-v4.metric.gstatic.com:443 - HIER_DIRECT/188.43.64.218 -
1422250445.868 240347 192.168.0.107 TCP_MISS/200 4695 CONNECT p5-xu6pzzvrl72ee-gasxr3raqpc46lzn-375151-i2-v6exp3-ds.metric.gstatic.com:443 - HIER_DIRECT/188.43.64.223 -
1422250459.504 242253 192.168.0.107 TCP_MISS/200 18855 CONNECT ssl.gstatic.com:443 - HIER_DIRECT/188.43.64.238 -
1422250459.525 242275 192.168.0.107 TCP_MISS/200 61813 CONNECT http://www.gstatic.com:443 - HIER_DIRECT/188.43.64.229 -
1422250466.275 240249 192.168.0.107 TCP_MISS/200 40424 CONNECT http://www.google.ru:443 - HIER_DIRECT/216.58.209.131 -
1422250471.552 60237 192.168.0.107 TCP_MISS/200 5443 CONNECT fbstatic-a.akamaihd.net:443 - HIER_DIRECT/188.43.74.32 -
1422250471.778 60465 192.168.0.107 TCP_MISS/200 73141 CONNECT fbstatic-a.akamaihd.net:443 - HIER_DIRECT/188.43.74.32 -
1422250475.676 66800 192.168.0.107 TCP_MISS/200 92563 CONNECT code.jivosite.com:443 - HIER_DIRECT/54.228.221.196 -
1422250504.731 96991 192.168.0.107 TCP_MISS/200 31168 CONNECT mc.yandex.ru:443 - HIER_DIRECT/87.250.251.119 -
1422250531.079 120396 192.168.0.107 TCP_MISS/200 8718 CONNECT http://www.facebook.com:443 - HIER_DIRECT/31.13.91.2 -
1422250570.321 240332 192.168.0.107 TCP_MISS/200 4693 CONNECT p5-w62wfgyfrzdiw-4rrylscxtf5xo7zl-301421-i1-v6exp3-v4.metric.gstatic.com:443 - HIER_DIRECT/188.43.64.251 -
1422250570.334 240345 192.168.0.107 TCP_MISS/200 4695 CONNECT p5-w62wfgyfrzdiw-4rrylscxtf5xo7zl-301421-i2-v6exp3-ds.metric.gstatic.com:443 - HIER_DIRECT/188.43.64.234 -
1422250587.079 240327 192.168.0.107 TCP_MISS/200 4694 CONNECT p5-kqjtvvgmovaq6-fv64imuz2llmhojf-816954-i2-v6exp3-v4.metric.gstatic.com:443 - HIER_DIRECT/188.43.64.218 -
1422250587.092 240341 192.168.0.107 TCP_MISS/200 4695 CONNECT p5-kqjtvvgmovaq6-fv64imuz2llmhojf-816954-i1-v6exp3-ds.metric.gstatic.com:443 - HIER_DIRECT/188.43.64.245 -
1422250590.280 182540 192.168.0.107 TCP_MISS/200 106211 CONNECT vk.com:443 - HIER_DIRECT/87.240.131.117 -
1422250600.284 240293 192.168.0.107 TCP_MISS/200 4606 CONNECT p5-w62wfgyfrzdiw-4rrylscxtf5xo7zl-301421-s1-v6exp3-v4.metric.gstatic.com:443 - HIER_DIRECT/188.43.64.240 -
1422250617.130 240379 192.168.0.107 TCP_MISS/200 4605 CONNECT p5-kqjtvvgmovaq6-fv64imuz2llmhojf-816954-s1-v6exp3-v4.metric.gstatic.com:443 - HIER_DIRECT/188.43.64.240 -
1422250646.089 451737 192.168.0.107 TCP_MISS/200 401119 CONNECT http://www.google.ru:443 - HIER_DIRECT/216.58.209.131 -
1422250650.047 241172 192.168.0.107 TCP_MISS/200 12422 CONNECT http://www.google-analytics.com:443 - HIER_DIRECT/188.43.64.230 -
1422250676.518 68138 192.168.0.107 TCP_MISS/200 6257 CONNECT mc.yandex.ru:443 - HIER_DIRECT/213.180.193.119 -
1422250719.402 309353 192.168.0.107 TCP_MISS/200 14312 CONNECT s-static.ak.facebook.com:443 - HIER_DIRECT/23.40.4.125 -
1422250719.700 311010 192.168.0.107 TCP_MISS/200 53114 CONNECT connect.facebook.net:443 - HIER_DIRECT/23.78.47.139 -