allow_urls как?

Обсуждение распределенного бан-листа
Ответить
an0n
Сообщения: 9
Зарегистрирован: Ср июн 23, 2010 18:11

allow_urls как?

Сообщение an0n »

Хотелось бы уточнить как работает данный параметр. В redirector.conf строчка

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

allow_urls /usr/local/rejik/banlists/allow_urls
в указанном файле строчки

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

vkontakte.ru
одноклассники.ру
перезагружаем, и все равно эти сайты не открываются. Куда копать?

Slava
Site Admin
Сообщения: 2251
Зарегистрирован: Пт апр 02, 2004 12:34
Контактная информация:

Re: allow_urls как?

Сообщение Slava »

1. Посмотрите логи режика, на предмет загрузки правил для allow_urls (типичная проблема - не хватает прав).
2. Найдите строчку в аксеслоге сквида, где видно, как грузится нужный сайт и сравните с правилом из allow_urls и с логом режика.
Если не разберетесь, то запостите в форум конфиг режика, hexdump -C /usr/local/rejik/banlists/allow_urls, кусок лога сквида с нужным сайтом и куски логов режика.

an0n
Сообщения: 9
Зарегистрирован: Ср июн 23, 2010 18:11

Re: allow_urls как?

Сообщение an0n »

К сожалению не разобрался. Вот конфиг режика

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

##############################################################
## If you make changes in this file, you must reboot squid  ##
## example:   squid -k reconfigure                          ##
##############################################################

##############################################################
##                       HELP                               ##
##############################################################
# Globals options:
# ================
#
# error_log filename    # Log file for error and startup messages.
#                       # Comment for turn off
# change_log filename   # Log file of change contest.
#                       # Comment for turn off
#
# make-cache /usr/local/rejik/make-cache # path to make-cache binary
#
# work_ip IP            # Ip adress or network
# work_ip IP/MASK       # or file with ip for
# work_ip f:/path/file  # who redirector work
#
# allow_ip IP           # Ip adress or network
# allow_ip IP/MASK      # or file with ip for
# allow_ip f:/path/file # who don't change any content
#
#
# work_id login         # login or file with logins
# work_id f:/path/file  # for who redirector work
#
# allow_id login        # login or file with logins
# allow_id f:/path/file # for who don't change any content
#
# allow_urls /path/file # file with urls to don't redirect
#
# raw_change <from> <to># Change <from> to <to> in url
# raw_log off           # Don't write to log changes from raw_change option
#
##############################################################
#
# Sections options:  all parametrs work only for ONE section
# =================
# <NAME>                # Header for section
#
# ban_dir dirname       # Dir with rules for this section
# url http://host/file  # url to replace
#                       # May use: url http://host/file?var=#URL#&var2=#IP#&i=#IDENT#&m=#METHOD#&sec=#SECTION#
#                       # #URL# #IP# #IDENT# #METHOD# #SECTION# will be change by redirector
#
# work_ip IP            # Ip adress(network)
# work_ip IP/MASK       # or file with ip for
# work_ip f:/path/file  # who section work
#
# allow_ip IP           # Ip adress(network)
# allow_ip IP/MASK      # or file with ip for
# allow_ip f:/path/file # who section don't work
#
#
# work_id login         # login or file with logins
# work_id f:/path/file  # for who section work
#
# allow_id login        # login or file with logins
# allow_id f:/path/file # for who secion don't work
#
# log off               # Not write to log changes from this section
# reverse               # Reverse result of search in ban dir
# action pass           # Pass request
#
#############################################################

error_log /usr/local/rejik/redirector.err
change_log /usr/local/rejik/redirector.log
make-cache /usr/local/rejik/make-cache
allow_urls /usr/local/rejik/banlists/allow

<BANNERS>
ban_dir /usr/local/rejik/banlists/banners
url http://192.168.0.168/ban/1x1.gif
log off

<PORNO>
ban_dir /usr/local/rejik/banlists/porno
url http://google.com

<AUDIO-VIDEO>
ban_dir /usr/local/rejik/banlists/audio-video
url http://google.com
log off

<CHATS>
ban_dir /usr/local/rejik/banlists/chats
url http://google.com
log off

<DATING>
ban_dir /usr/local/rejik/banlists/dating
url http://google.com
log off

#<ICQ>
#ban_dir /usr/local/rejik/banlists/icq
#url http://google.com

<ONLINE-GAMES>
ban_dir /usr/local/rejik/banlists/online-games
url http://google.com
log off

<PHISHING>
ban_dir /usr/local/rejik/banlists/phishing
url http://google.com
log off

<PHOTOGALLERY>
ban_dir /usr/local/rejik/banlists/photogallery
url http://google.com
log off

<SPYWARE>
ban_dir /usr/local/rejik/banlists/spyware
url http://google.com
log off

<TORRENTS>
ban_dir /usr/local/rejik/banlists/torrents
url http://google.com
log off

<VIRUS-DETECT>
ban_dir /usr/local/rejik/banlists/virus-detect
url http://google.com
log off

<WAREZ>
ban_dir /usr/local/rejik/banlists/warez
url http://google.com
log off

<WEB-PROXY>
ban_dir /usr/local/rejik/banlists/web-proxy
url http://google.com
log off

<OWN>
ban_dir /usr/local/rejik/banlists/own
url http://google.com
hexdump -C /usr/local/rejik/banlists/allow

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

00000000  76 6b 6f 6e 74 61 6b 74  65 2e 72 75 0a 69 2e 75  |vkontakte.ru.i.u|
00000010  61 0a 0a                                          |a..|
00000013
логи сквида access.log

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

1285569794.529    208 192.168.0.29 TCP_MISS/200 5313 GET http://vkontakte.ru/ - DIRECT/74.125.43.106 text/html
1285569794.932    381 192.168.0.29 TCP_MISS/200 2996 GET http://vkontakte.ru/templates/ja_purity/favicon.ico - DIRECT/74.125.43.106 text/html
1285569794.944    392 192.168.0.29 TCP_MISS/200 5142 GET http://vkontakte.ru/media/system/js/mootools.js - DIRECT/74.125.43.106 text/html
1285569794.952    397 192.168.0.29 TCP_MISS/200 5139 GET http://vkontakte.ru/media/system/js/caption.js - DIRECT/74.125.43.106 text/html
1285569795.314    204 192.168.0.29 TCP_MISS/200 4436 GET http://vkontakte.ru/templates/ja_purity/favicon.ico - DIRECT/74.125.43.106 text/html
1285569797.748    204 192.168.0.29 TCP_MISS/200 5142 GET http://vkontakte.ru/templates/ja_purity/favicon.ico - DIRECT/74.125.43.106 text/html
1285569921.234    258 192.168.0.29 TCP_MISS/200 5139 GET http://vkontakte.ru/ - DIRECT/74.125.43.106 text/html
1285569921.446    209 192.168.0.29 TCP_MISS/200 5142 GET http://vkontakte.ru/media/system/js/mootools.js - DIRECT/74.125.43.106 text/html
1285569921.480    225 192.168.0.29 TCP_MISS/200 5142 GET http://vkontakte.ru/media/system/js/caption.js - DIRECT/74.125.43.106 text/html
1285569921.766    202 192.168.0.29 TCP_MISS/200 4436 GET http://vkontakte.ru/favicon.ico - DIRECT/74.125.43.106 text/html
1285569924.145    230 192.168.0.29 TCP_MISS/200 5138 GET http://vkontakte.ru/ - DIRECT/74.125.43.106 text/html
в что именно из логов режика постить не понял

Slava
Site Admin
Сообщения: 2251
Зарегистрирован: Пт апр 02, 2004 12:34
Контактная информация:

Re: allow_urls как?

Сообщение Slava »

1. Покажите ls -la /usr/local/rejik/banlists/*

2. Удалите логи режика redirector.err и redirector.log
Закоментируйте все log off в конфиге режика.
squid -k reconfigure
Зайдите на сайт вконтакте.
Покажите появившиеся логи режика.

an0n
Сообщения: 9
Зарегистрирован: Ср июн 23, 2010 18:11

Re: allow_urls как?

Сообщение an0n »

ls -la /usr/local/rejik/banlists/*

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

-rw-r--r--  1 squid  squid  19 Sep 27 16:39 /usr/local/rejik/banlists/allow

/usr/local/rejik/banlists/audio-video:
total 90
drwxr-xr-x   2 squid  squid    512 Jun 29 10:59 .
drwxr-xr-x  17 squid  squid    512 Sep 27 16:39 ..
lrwxr-xr-x   1 root   squid     43 Jun 29 10:23 pcre -> /usr/local/rejik/dbl/lists/audio-video.pcre
lrwxr-xr-x   1 root   squid     43 Jun 29 10:24 urls -> /usr/local/rejik/dbl/lists/audio-video.urls
-rw-r--r--   1 root   squid  87623 Sep 27 09:44 urls.cache

/usr/local/rejik/banlists/banners:
total 172
drwxr-xr-x   2 squid  squid     512 Jul  6 13:57 .
drwxr-xr-x  17 squid  squid     512 Sep 27 16:39 ..
-rw-r-----   1 squid  squid       8 Sep 27 09:44 allow_urls.cache
-rw-------   1 squid  squid       0 Jun 29 11:08 lock.file
lrwxr-xr-x   1 root   squid      38 Jun 29 10:24 pcre -> /usr/local/rejik/dbl/lists/banner.pcre
lrwxr-xr-x   1 root   squid      38 Jun 29 10:24 urls -> /usr/local/rejik/dbl/lists/banner.urls
-rw-r--r--   1 squid  squid  169741 Sep 27 10:25 urls.cache

/usr/local/rejik/banlists/chats:
total 420
drwxr-xr-x   2 squid  squid     512 Jun 29 10:59 .
drwxr-xr-x  17 squid  squid     512 Sep 27 16:39 ..
lrwxr-xr-x   1 root   squid      37 Jun 29 10:25 urls -> /usr/local/rejik/dbl/lists/chats.urls
-rw-r--r--   1 root   squid  399455 Sep 27 09:44 urls.cache

/usr/local/rejik/banlists/dating:
total 142
drwxr-xr-x   2 squid  squid     512 Jun 29 10:59 .
drwxr-xr-x  17 squid  squid     512 Sep 27 16:39 ..
lrwxr-xr-x   1 root   squid      38 Jun 29 10:25 urls -> /usr/local/rejik/dbl/lists/dating.urls
-rw-r--r--   1 root   squid  140689 Sep 27 09:44 urls.cache

/usr/local/rejik/banlists/icq:
total 8
drwxr-xr-x   2 squid  squid   512 Jun 29 10:59 .
drwxr-xr-x  17 squid  squid   512 Sep 27 16:39 ..
lrwxr-xr-x   1 root   squid    35 Jun 29 10:25 pcre -> /usr/local/rejik/dbl/lists/icq.pcre
lrwxr-xr-x   1 root   squid    35 Jun 29 10:25 urls -> /usr/local/rejik/dbl/lists/icq.urls
-rw-r--r--   1 root   squid  2418 Jun 29 10:59 urls.cache

/usr/local/rejik/banlists/online-games:
total 88
drwxr-xr-x   2 squid  squid    512 Jun 29 10:59 .
drwxr-xr-x  17 squid  squid    512 Sep 27 16:39 ..
lrwxr-xr-x   1 root   squid     44 Jun 29 10:26 urls -> /usr/local/rejik/dbl/lists/online-games.urls
-rw-r--r--   1 root   squid  85241 Sep 27 09:44 urls.cache

/usr/local/rejik/banlists/own:
total 8
drwxr-xr-x   2 squid  squid  512 Aug 26 14:49 .
drwxr-xr-x  17 squid  squid  512 Sep 27 16:39 ..
-rw-r--r--   1 squid  squid   22 Aug 26 14:49 urls
-rw-r--r--   1 root   squid   37 Aug 26 14:59 urls.cache

/usr/local/rejik/banlists/phishing:
total 2292
drwxr-xr-x   2 squid  squid      512 Jun 29 10:59 .
drwxr-xr-x  17 squid  squid      512 Sep 27 16:39 ..
lrwxr-xr-x   1 root   squid       40 Jun 29 10:26 urls -> /usr/local/rejik/dbl/lists/phishing.urls
-rw-r--r--   1 root   squid  2311588 Sep 27 09:44 urls.cache

/usr/local/rejik/banlists/photogallery:
total 86
drwxr-xr-x   2 squid  squid    512 Jun 29 10:59 .
drwxr-xr-x  17 squid  squid    512 Sep 27 16:39 ..
lrwxr-xr-x   1 root   squid     44 Jun 29 10:27 urls -> /usr/local/rejik/dbl/lists/photogallery.urls
-rw-r--r--   1 root   squid  82800 Sep 27 09:44 urls.cache

/usr/local/rejik/banlists/porno:
total 7444
drwxr-xr-x   2 squid  squid      512 Jun 29 10:59 .
drwxr-xr-x  17 squid  squid      512 Sep 27 16:39 ..
lrwxr-xr-x   1 root   squid       37 Jun 29 10:30 urls -> /usr/local/rejik/dbl/lists/porno.urls
-rw-r--r--   1 root   squid  7597317 Sep 27 09:44 urls.cache

/usr/local/rejik/banlists/spyware:
total 548
drwxr-xr-x   2 squid  squid     512 Jun 29 10:59 .
drwxr-xr-x  17 squid  squid     512 Sep 27 16:39 ..
lrwxr-xr-x   1 root   squid      39 Jun 29 10:31 urls -> /usr/local/rejik/dbl/lists/spyware.urls
-rw-r--r--   1 root   squid  529030 Sep 27 09:44 urls.cache

/usr/local/rejik/banlists/torrents:
total 32
drwxr-xr-x   2 squid  squid    512 Jun 29 10:59 .
drwxr-xr-x  17 squid  squid    512 Sep 27 16:39 ..
lrwxr-xr-x   1 root   squid     40 Jun 29 10:31 urls -> /usr/local/rejik/dbl/lists/torrents.urls
-rw-r--r--   1 root   squid  28601 Sep 27 09:44 urls.cache

/usr/local/rejik/banlists/virus-detect:
total 96
drwxr-xr-x   2 squid  squid    512 Jun 29 10:59 .
drwxr-xr-x  17 squid  squid    512 Sep 27 16:39 ..
lrwxr-xr-x   1 root   squid     44 Jun 29 10:31 pcre -> /usr/local/rejik/dbl/lists/virus-detect.pcre
lrwxr-xr-x   1 root   squid     44 Jun 29 10:32 urls -> /usr/local/rejik/dbl/lists/virus-detect.urls
-rw-r--r--   1 root   squid  93756 Sep 27 09:44 urls.cache

/usr/local/rejik/banlists/warez:
total 70
drwxr-xr-x   2 squid  squid    512 Jun 29 10:59 .
drwxr-xr-x  17 squid  squid    512 Sep 27 16:39 ..
lrwxr-xr-x   1 root   squid     37 Jun 29 10:32 urls -> /usr/local/rejik/dbl/lists/warez.urls
-rw-r--r--   1 root   squid  65665 Sep 27 09:44 urls.cache

/usr/local/rejik/banlists/web-proxy:
total 1092
drwxr-xr-x   2 squid  squid      512 Jun 29 10:59 .
drwxr-xr-x  17 squid  squid      512 Sep 27 16:39 ..
lrwxr-xr-x   1 root   squid       41 Jun 29 10:32 urls -> /usr/local/rejik/dbl/lists/web-proxy.urls
-rw-r--r--   1 root   squid  1081635 Sep 27 09:44 urls.cache
redirector.err

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

2010-09-28 09:51:24 [5597] Run make-cache (3.2.6)
2010-09-28 09:51:24 [5598] Waiting for make-cache finished
2010-09-28 09:51:24 [5600] MAKE-CACHE: MAKE /usr/local/rejik/banlists/porno/urls.cache
2010-09-28 09:51:24 [5600] MAKE-CACHE: WARNING: Can't parse rule: /ilwarez.ru/xxx18. Skipping.
2010-09-28 09:51:24 [5600] MAKE-CACHE: WARNING: Can't parse rule: /liveporno.startspot.nl. Skipping.
2010-09-28 09:51:24 [5600] MAKE-CACHE: WARNING: Can't parse rule: /strapon.straponass.net. Skipping.
2010-09-28 09:51:24 [5599] Waiting for make-cache finished
2010-09-28 09:51:24 [5601] Waiting for make-cache finished
2010-09-28 09:51:24 [5602] Waiting for make-cache finished
2010-09-28 09:51:25 [5600] MAKE-CACHE: WARNING: Can't parse rule: im0-tub.yandex.net/i?id=90113640-07http://im0-tub.yandex.net/i?id=90113640-07. Skipping.
2010-09-28 09:51:26 [5606] Waiting for make-cache finished
2010-09-28 09:51:26 [5607] Waiting for make-cache finished
2010-09-28 09:51:26 [5608] Waiting for make-cache finished
2010-09-28 09:51:26 [5609] Waiting for make-cache finished
2010-09-28 09:51:26 [5610] Waiting for make-cache finished
2010-09-28 09:51:27 [5600] MAKE-CACHE: Load 370621 rules from /usr/local/rejik/banlists/porno/urls
2010-09-28 09:51:29 [5600] MAKE-CACHE: WARNING: Bad symbol(Б) in domen name "БОФЙРПТОП" in PORNO section, skip
2010-09-28 09:51:29 [5600] MAKE-CACHE: WARNING: Bad symbol(Ф) in domen name "Фeworleanswebgirls.com" in PORNO section, skip
2010-09-28 09:51:29 [5600] MAKE-CACHE: WARNING: Bad symbol(*) in domen name "sex-.*oto.ru"  in PORNO section, skip
2010-09-28 09:51:29 [5600] MAKE-CACHE: WARNING: Bad symbol(*) in domen name "*satikk.ru" /* in PORNO section, skip
2010-09-28 09:51:29 [5600] MAKE-CACHE: WARNING: Bad symbol(+) in domen name "erogenna.+\.ru"  in PORNO section, skip
2010-09-28 09:51:29 [5600] MAKE-CACHE: WARNING: Bad symbol(+) in domen name "sex.+\.ru"  in PORNO section, skip
2010-09-28 09:51:29 [5600] MAKE-CACHE: WARNING: Bad symbol( ) in domen name "G  (www) xuk.ru" in PORNO section, skip
2010-09-28 09:51:29 [5600] MAKE-CACHE: WARNING: Bad symbol(?) in domen name "adultrental.com?rentrevid=4289&sp=9&tp=g&track=" in PORNO section, skip
2010-09-28 09:51:29 [5600] MAKE-CACHE: WARNING: Bad symbol(\) in domen name "casta\.ru\" /design\/articles\/.*\/sexy\-gallery\/.* in PORNO section, skip
2010-09-28 09:51:29 [5600] MAKE-CACHE: WARNING: Bad symbol(*) in domen name "clickcoin.com*" in PORNO section, skip
2010-09-28 09:51:29 [5600] MAKE-CACHE: WARNING: Bad symbol(\) in domen name "eroman\.ru\" /i\/.*\.(jpg|bmp|gif) in PORNO section, skip
2010-09-28 09:51:29 [5600] MAKE-CACHE: WARNING: Bad symbol(\) in domen name "fetishvideo\.ru" in PORNO section, skip
2010-09-28 09:51:29 [5600] MAKE-CACHE: WARNING: Bad symbol(\) in domen name "freesexyhouse\.com" in PORNO section, skip
2010-09-28 09:51:29 [5600] MAKE-CACHE: WARNING: Bad symbol(\) in domen name "hardteensex\.net" in PORNO section, skip
2010-09-28 09:51:29 [5600] MAKE-CACHE: WARNING: Bad symbol(,) in domen name "pejnya,ru" in PORNO section, skip
2010-09-28 09:51:30 [5600] MAKE-CACHE: WARNING: Bad symbol(\) in domen name "pornomir\.com" in PORNO section, skip
2010-09-28 09:51:30 [5600] MAKE-CACHE: WARNING: Bad symbol(\) in domen name "^\.prono\.$"  in PORNO section, skip
2010-09-28 09:51:30 [5600] MAKE-CACHE: WARNING: Bad symbol(\) in domen name "www\.russerotika\.com"  in PORNO section, skip
2010-09-28 09:51:30 [5600] MAKE-CACHE: WARNING: Bad symbol(\) in domen name "www\.skymodel\.ru"  in PORNO section, skip
2010-09-28 09:51:30 [5600] MAKE-CACHE: delete dublicate rule: darmowy-sex.pl in PORNO section
2010-09-28 09:51:30 [5600] MAKE-CACHE: delete dublicate rule: porno-peace.ru in PORNO section
2010-09-28 09:51:30 [5600] MAKE-CACHE: delete dublicate rule: pornokartinki.com in PORNO section
2010-09-28 09:51:30 [5600] MAKE-CACHE: delete dublicate rule: pornoplein.nl in PORNO section
2010-09-28 09:51:30 [5600] MAKE-CACHE: delete dublicate rule: pornosng.ru in PORNO section
2010-09-28 09:51:30 [5600] MAKE-CACHE: delete dublicate rule: sexatlas.pl in PORNO section
2010-09-28 09:51:30 [5600] MAKE-CACHE: delete dublicate rule: sexbawks.com in PORNO section
2010-09-28 09:51:30 [5600] MAKE-CACHE: delete dublicate rule: shemalero.ru in PORNO section
2010-09-28 09:51:30 [5600] MAKE-CACHE: delete dublicate rule: vivthomas.com in PORNO section
2010-09-28 09:51:30 [5600] MAKE-CACHE: delete rule: xxx.1-woman.com because exist rule: 1-woman.com
2010-09-28 09:51:30 [5600] MAKE-CACHE: delete rule: amateurporn.100toppages.com because exist rule: 100toppages.com
2010-09-28 09:51:30 [5600] MAKE-CACHE: delete rule: milfporn.100toppages.com because exist rule: 100toppages.com
================ дальше все в том же духе =====================
2010-09-28 09:51:31 [5600] MAKE-CACHE: delete rule: www3.zpornstars.com because exist rule: zpornstars.com
2010-09-28 09:51:31 [5600] MAKE-CACHE: delete rule: cam.zuzazu.com because exist rule: zuzazu.com
2010-09-28 09:51:32 [5600] MAKE-CACHE: ERROR: Can't open file /usr/local/rejik/banlists/porno/urls.cache (for write): Permission denied

2010-09-28 09:51:32 [5597] ERROR: make-cache finished abnormal.
2010-09-28 09:51:32 [5598] Make-cache finished detected, continue
2010-09-28 09:51:32 [5599] Make-cache finished detected, continue
2010-09-28 09:51:32 [5601] Make-cache finished detected, continue
2010-09-28 09:51:32 [5602] Make-cache finished detected, continue
2010-09-28 09:51:32 [5606] Make-cache finished detected, continue
2010-09-28 09:51:32 [5607] Make-cache finished detected, continue
2010-09-28 09:51:32 [5608] Make-cache finished detected, continue
2010-09-28 09:51:32 [5609] Make-cache finished detected, continue
2010-09-28 09:51:32 [5610] Make-cache finished detected, continue
2010-09-28 09:51:32 [5610] Load 0 rules from /usr/local/rejik/banlists/banners/allow_urls.cache
2010-09-28 09:51:32 [5610] Load 3918 rules from /usr/local/rejik/banlists/banners/urls.cache
2010-09-28 09:51:32 [5610] Load 82 pattern from BANNERS pcre
2010-09-28 09:51:32 [5598] Load 0 rules from /usr/local/rejik/banlists/banners/allow_urls.cache
2010-09-28 09:51:32 [5598] Load 3918 rules from /usr/local/rejik/banlists/banners/urls.cache
2010-09-28 09:51:32 [5598] Load 82 pattern from BANNERS pcre
2010-09-28 09:51:32 [5599] Load 0 rules from /usr/local/rejik/banlists/banners/allow_urls.cache
2010-09-28 09:51:32 [5599] Load 3918 rules from /usr/local/rejik/banlists/banners/urls.cache
2010-09-28 09:51:32 [5599] Load 82 pattern from BANNERS pcre
2010-09-28 09:51:32 [5601] Load 0 rules from /usr/local/rejik/banlists/banners/allow_urls.cache
2010-09-28 09:51:32 [5601] Load 3918 rules from /usr/local/rejik/banlists/banners/urls.cache
2010-09-28 09:51:32 [5601] Load 82 pattern from BANNERS pcre
2010-09-28 09:51:32 [5602] Load 0 rules from /usr/local/rejik/banlists/banners/allow_urls.cache
2010-09-28 09:51:32 [5602] Load 3918 rules from /usr/local/rejik/banlists/banners/urls.cache
2010-09-28 09:51:32 [5602] Load 82 pattern from BANNERS pcre
2010-09-28 09:51:32 [5606] Load 0 rules from /usr/local/rejik/banlists/banners/allow_urls.cache
2010-09-28 09:51:32 [5606] Load 3918 rules from /usr/local/rejik/banlists/banners/urls.cache
2010-09-28 09:51:32 [5606] Load 82 pattern from BANNERS pcre
2010-09-28 09:51:32 [5607] Load 0 rules from /usr/local/rejik/banlists/banners/allow_urls.cache
2010-09-28 09:51:32 [5607] Load 3918 rules from /usr/local/rejik/banlists/banners/urls.cache
2010-09-28 09:51:32 [5607] Load 82 pattern from BANNERS pcre
2010-09-28 09:51:32 [5608] Load 0 rules from /usr/local/rejik/banlists/banners/allow_urls.cache
2010-09-28 09:51:32 [5608] Load 3918 rules from /usr/local/rejik/banlists/banners/urls.cache
2010-09-28 09:51:32 [5608] Load 82 pattern from BANNERS pcre
2010-09-28 09:51:33 [5609] Load 0 rules from /usr/local/rejik/banlists/banners/allow_urls.cache
2010-09-28 09:51:33 [5609] Load 3918 rules from /usr/local/rejik/banlists/banners/urls.cache
2010-09-28 09:51:33 [5609] Load 82 pattern from BANNERS pcre
2010-09-28 09:51:33 [5610] Load 352154 rules from /usr/local/rejik/banlists/porno/urls.cache
2010-09-28 09:51:33 [5607] Load 352154 rules from /usr/local/rejik/banlists/porno/urls.cache
2010-09-28 09:51:33 [5607] Load 3788 rules from /usr/local/rejik/banlists/audio-video/urls.cache
2010-09-28 09:51:33 [5607] Load 28 pattern from AUDIO-VIDEO pcre
2010-09-28 09:51:33 [5598] Load 352154 rules from /usr/local/rejik/banlists/porno/urls.cache
2010-09-28 09:51:33 [5598] Load 3788 rules from /usr/local/rejik/banlists/audio-video/urls.cache
2010-09-28 09:51:33 [5598] Load 28 pattern from AUDIO-VIDEO pcre
2010-09-28 09:51:33 [5599] Load 352154 rules from /usr/local/rejik/banlists/porno/urls.cache
2010-09-28 09:51:33 [5599] Load 3788 rules from /usr/local/rejik/banlists/audio-video/urls.cache
2010-09-28 09:51:33 [5599] Load 28 pattern from AUDIO-VIDEO pcre
2010-09-28 09:51:33 [5601] Load 352154 rules from /usr/local/rejik/banlists/porno/urls.cache
2010-09-28 09:51:33 [5601] Load 3788 rules from /usr/local/rejik/banlists/audio-video/urls.cache
2010-09-28 09:51:33 [5601] Load 28 pattern from AUDIO-VIDEO pcre
2010-09-28 09:51:33 [5601] Load 15677 rules from /usr/local/rejik/banlists/chats/urls.cache
2010-09-28 09:51:33 [5601] Load 6326 rules from /usr/local/rejik/banlists/dating/urls.cache
2010-09-28 09:51:33 [5601] Load 4046 rules from /usr/local/rejik/banlists/online-games/urls.cache
2010-09-28 09:51:33 [5602] Load 352154 rules from /usr/local/rejik/banlists/porno/urls.cache
2010-09-28 09:51:33 [5602] Load 3788 rules from /usr/local/rejik/banlists/audio-video/urls.cache
2010-09-28 09:51:33 [5602] Load 28 pattern from AUDIO-VIDEO pcre
2010-09-28 09:51:33 [5606] Load 352154 rules from /usr/local/rejik/banlists/porno/urls.cache
2010-09-28 09:51:33 [5609] Load 352154 rules from /usr/local/rejik/banlists/porno/urls.cache
2010-09-28 09:51:33 [5609] Load 3788 rules from /usr/local/rejik/banlists/audio-video/urls.cache
2010-09-28 09:51:33 [5609] Load 28 pattern from AUDIO-VIDEO pcre
2010-09-28 09:51:33 [5609] Load 15677 rules from /usr/local/rejik/banlists/chats/urls.cache
2010-09-28 09:51:33 [5610] Load 3788 rules from /usr/local/rejik/banlists/audio-video/urls.cache
2010-09-28 09:51:33 [5610] Load 28 pattern from AUDIO-VIDEO pcre
2010-09-28 09:51:33 [5610] Load 15677 rules from /usr/local/rejik/banlists/chats/urls.cache
2010-09-28 09:51:33 [5610] Load 6326 rules from /usr/local/rejik/banlists/dating/urls.cache
2010-09-28 09:51:33 [5610] Load 4046 rules from /usr/local/rejik/banlists/online-games/urls.cache
2010-09-28 09:51:34 [5607] Load 15677 rules from /usr/local/rejik/banlists/chats/urls.cache
2010-09-28 09:51:34 [5607] Load 6326 rules from /usr/local/rejik/banlists/dating/urls.cache
2010-09-28 09:51:34 [5607] Load 4046 rules from /usr/local/rejik/banlists/online-games/urls.cache
2010-09-28 09:51:34 [5598] Load 15677 rules from /usr/local/rejik/banlists/chats/urls.cache
2010-09-28 09:51:34 [5598] Load 6326 rules from /usr/local/rejik/banlists/dating/urls.cache
2010-09-28 09:51:34 [5598] Load 4046 rules from /usr/local/rejik/banlists/online-games/urls.cache
2010-09-28 09:51:34 [5599] Load 15677 rules from /usr/local/rejik/banlists/chats/urls.cache
2010-09-28 09:51:34 [5599] Load 6326 rules from /usr/local/rejik/banlists/dating/urls.cache
2010-09-28 09:51:34 [5599] Load 4046 rules from /usr/local/rejik/banlists/online-games/urls.cache
2010-09-28 09:51:34 [5609] Load 6326 rules from /usr/local/rejik/banlists/dating/urls.cache
2010-09-28 09:51:34 [5609] Load 4046 rules from /usr/local/rejik/banlists/online-games/urls.cache
2010-09-28 09:51:34 [5609] Load 98972 rules from /usr/local/rejik/banlists/phishing/urls.cache
2010-09-28 09:51:34 [5610] Load 98972 rules from /usr/local/rejik/banlists/phishing/urls.cache
2010-09-28 09:51:34 [5602] Load 15677 rules from /usr/local/rejik/banlists/chats/urls.cache
2010-09-28 09:51:34 [5602] Load 6326 rules from /usr/local/rejik/banlists/dating/urls.cache
2010-09-28 09:51:34 [5602] Load 4046 rules from /usr/local/rejik/banlists/online-games/urls.cache
2010-09-28 09:51:34 [5608] Load 352154 rules from /usr/local/rejik/banlists/porno/urls.cache
2010-09-28 09:51:34 [5608] Load 3788 rules from /usr/local/rejik/banlists/audio-video/urls.cache
2010-09-28 09:51:34 [5608] Load 28 pattern from AUDIO-VIDEO pcre
2010-09-28 09:51:34 [5608] Load 15677 rules from /usr/local/rejik/banlists/chats/urls.cache
2010-09-28 09:51:34 [5608] Load 6326 rules from /usr/local/rejik/banlists/dating/urls.cache
2010-09-28 09:51:34 [5601] Load 98972 rules from /usr/local/rejik/banlists/phishing/urls.cache
2010-09-28 09:51:34 [5601] Load 3085 rules from /usr/local/rejik/banlists/photogallery/urls.cache
2010-09-28 09:51:34 [5606] Load 3788 rules from /usr/local/rejik/banlists/audio-video/urls.cache
2010-09-28 09:51:34 [5606] Load 28 pattern from AUDIO-VIDEO pcre
2010-09-28 09:51:34 [5606] Load 15677 rules from /usr/local/rejik/banlists/chats/urls.cache
2010-09-28 09:51:34 [5606] Load 6326 rules from /usr/local/rejik/banlists/dating/urls.cache
2010-09-28 09:51:34 [5606] Load 4046 rules from /usr/local/rejik/banlists/online-games/urls.cache
2010-09-28 09:51:34 [5606] Load 98972 rules from /usr/local/rejik/banlists/phishing/urls.cache
2010-09-28 09:51:34 [5606] Load 3085 rules from /usr/local/rejik/banlists/photogallery/urls.cache
2010-09-28 09:51:34 [5607] Load 98972 rules from /usr/local/rejik/banlists/phishing/urls.cache
2010-09-28 09:51:34 [5607] Load 3085 rules from /usr/local/rejik/banlists/photogallery/urls.cache
2010-09-28 09:51:34 [5598] Load 98972 rules from /usr/local/rejik/banlists/phishing/urls.cache
2010-09-28 09:51:34 [5598] Load 3085 rules from /usr/local/rejik/banlists/photogallery/urls.cache
2010-09-28 09:51:34 [5610] Load 3085 rules from /usr/local/rejik/banlists/photogallery/urls.cache
2010-09-28 09:51:34 [5609] Load 3085 rules from /usr/local/rejik/banlists/photogallery/urls.cache
2010-09-28 09:51:34 [5602] Load 98972 rules from /usr/local/rejik/banlists/phishing/urls.cache
2010-09-28 09:51:34 [5602] Load 3085 rules from /usr/local/rejik/banlists/photogallery/urls.cache
2010-09-28 09:51:34 [5602] Load 21929 rules from /usr/local/rejik/banlists/spyware/urls.cache
2010-09-28 09:51:34 [5608] Load 4046 rules from /usr/local/rejik/banlists/online-games/urls.cache
2010-09-28 09:51:34 [5608] Load 98972 rules from /usr/local/rejik/banlists/phishing/urls.cache
2010-09-28 09:51:34 [5608] Load 3085 rules from /usr/local/rejik/banlists/photogallery/urls.cache
2010-09-28 09:51:34 [5608] Load 21929 rules from /usr/local/rejik/banlists/spyware/urls.cache
2010-09-28 09:51:34 [5599] Load 98972 rules from /usr/local/rejik/banlists/phishing/urls.cache
2010-09-28 09:51:34 [5599] Load 3085 rules from /usr/local/rejik/banlists/photogallery/urls.cache
2010-09-28 09:51:34 [5599] Load 21929 rules from /usr/local/rejik/banlists/spyware/urls.cache
2010-09-28 09:51:34 [5607] Load 21929 rules from /usr/local/rejik/banlists/spyware/urls.cache
2010-09-28 09:51:34 [5598] Load 21929 rules from /usr/local/rejik/banlists/spyware/urls.cache
2010-09-28 09:51:34 [5610] Load 21929 rules from /usr/local/rejik/banlists/spyware/urls.cache
2010-09-28 09:51:34 [5609] Load 21929 rules from /usr/local/rejik/banlists/spyware/urls.cache
2010-09-28 09:51:34 [5609] Load 1436 rules from /usr/local/rejik/banlists/torrents/urls.cache
2010-09-28 09:51:34 [5602] Load 1436 rules from /usr/local/rejik/banlists/torrents/urls.cache
2010-09-28 09:51:34 [5599] Load 1436 rules from /usr/local/rejik/banlists/torrents/urls.cache
2010-09-28 09:51:34 [5607] Load 1436 rules from /usr/local/rejik/banlists/torrents/urls.cache
2010-09-28 09:51:34 [5601] Load 21929 rules from /usr/local/rejik/banlists/spyware/urls.cache
2010-09-28 09:51:34 [5606] Load 21929 rules from /usr/local/rejik/banlists/spyware/urls.cache
2010-09-28 09:51:34 [5608] Load 1436 rules from /usr/local/rejik/banlists/torrents/urls.cache
2010-09-28 09:51:34 [5610] Load 1436 rules from /usr/local/rejik/banlists/torrents/urls.cache
2010-09-28 09:51:34 [5610] Load 5023 rules from /usr/local/rejik/banlists/virus-detect/urls.cache
2010-09-28 09:51:34 [5601] Load 1436 rules from /usr/local/rejik/banlists/torrents/urls.cache
2010-09-28 09:51:34 [5601] Load 5023 rules from /usr/local/rejik/banlists/virus-detect/urls.cache
2010-09-28 09:51:34 [5599] Load 5023 rules from /usr/local/rejik/banlists/virus-detect/urls.cache
2010-09-28 09:51:34 [5608] Load 5023 rules from /usr/local/rejik/banlists/virus-detect/urls.cache
2010-09-28 09:51:34 [5607] Load 5023 rules from /usr/local/rejik/banlists/virus-detect/urls.cache
2010-09-28 09:51:34 [5598] Load 1436 rules from /usr/local/rejik/banlists/torrents/urls.cache
2010-09-28 09:51:34 [5609] Load 5023 rules from /usr/local/rejik/banlists/virus-detect/urls.cache
2010-09-28 09:51:34 [5606] Load 1436 rules from /usr/local/rejik/banlists/torrents/urls.cache
2010-09-28 09:51:34 [5606] Load 5023 rules from /usr/local/rejik/banlists/virus-detect/urls.cache
2010-09-28 09:51:34 [5606] Load 1 pattern from VIRUS-DETECT pcre
2010-09-28 09:51:34 [5602] Load 5023 rules from /usr/local/rejik/banlists/virus-detect/urls.cache
2010-09-28 09:51:34 [5610] Load 1 pattern from VIRUS-DETECT pcre
2010-09-28 09:51:34 [5601] Load 1 pattern from VIRUS-DETECT pcre
2010-09-28 09:51:34 [5599] Load 1 pattern from VIRUS-DETECT pcre
2010-09-28 09:51:34 [5608] Load 1 pattern from VIRUS-DETECT pcre
2010-09-28 09:51:34 [5598] Load 5023 rules from /usr/local/rejik/banlists/virus-detect/urls.cache
2010-09-28 09:51:34 [5598] Load 1 pattern from VIRUS-DETECT pcre
2010-09-28 09:51:34 [5609] Load 1 pattern from VIRUS-DETECT pcre
2010-09-28 09:51:34 [5598] Load 3168 rules from /usr/local/rejik/banlists/warez/urls.cache
2010-09-28 09:51:34 [5601] Load 3168 rules from /usr/local/rejik/banlists/warez/urls.cache
2010-09-28 09:51:34 [5607] Load 1 pattern from VIRUS-DETECT pcre
2010-09-28 09:51:34 [5599] Load 3168 rules from /usr/local/rejik/banlists/warez/urls.cache
2010-09-28 09:51:34 [5606] Load 3168 rules from /usr/local/rejik/banlists/warez/urls.cache
2010-09-28 09:51:34 [5602] Load 1 pattern from VIRUS-DETECT pcre
2010-09-28 09:51:34 [5607] Load 3168 rules from /usr/local/rejik/banlists/warez/urls.cache
2010-09-28 09:51:34 [5610] Load 3168 rules from /usr/local/rejik/banlists/warez/urls.cache
2010-09-28 09:51:34 [5608] Load 3168 rules from /usr/local/rejik/banlists/warez/urls.cache
2010-09-28 09:51:34 [5602] Load 3168 rules from /usr/local/rejik/banlists/warez/urls.cache
2010-09-28 09:51:34 [5609] Load 3168 rules from /usr/local/rejik/banlists/warez/urls.cache
2010-09-28 09:51:35 [5599] Load 53051 rules from /usr/local/rejik/banlists/web-proxy/urls.cache
2010-09-28 09:51:35 [5601] Load 53051 rules from /usr/local/rejik/banlists/web-proxy/urls.cache
2010-09-28 09:51:35 [5602] Load 53051 rules from /usr/local/rejik/banlists/web-proxy/urls.cache
2010-09-28 09:51:35 [5599] Load 2 rules from /usr/local/rejik/banlists/own/urls.cache
2010-09-28 09:51:35 [5602] Load 2 rules from /usr/local/rejik/banlists/own/urls.cache
2010-09-28 09:51:35 [5602] Redirector start and working (3.2.6)
2010-09-28 09:51:35 [5599] Redirector start and working (3.2.6)
2010-09-28 09:51:35 [5601] Load 2 rules from /usr/local/rejik/banlists/own/urls.cache
2010-09-28 09:51:35 [5601] Redirector start and working (3.2.6)
2010-09-28 09:51:35 [5610] Load 53051 rules from /usr/local/rejik/banlists/web-proxy/urls.cache
2010-09-28 09:51:35 [5610] Load 2 rules from /usr/local/rejik/banlists/own/urls.cache
2010-09-28 09:51:35 [5610] Redirector start and working (3.2.6)
2010-09-28 09:51:35 [5608] Load 53051 rules from /usr/local/rejik/banlists/web-proxy/urls.cache
2010-09-28 09:51:35 [5608] Load 2 rules from /usr/local/rejik/banlists/own/urls.cache
2010-09-28 09:51:35 [5608] Redirector start and working (3.2.6)
2010-09-28 09:51:35 [5598] Load 53051 rules from /usr/local/rejik/banlists/web-proxy/urls.cache
2010-09-28 09:51:35 [5598] Load 2 rules from /usr/local/rejik/banlists/own/urls.cache
2010-09-28 09:51:35 [5598] Redirector start and working (3.2.6)
2010-09-28 09:51:35 [5607] Load 53051 rules from /usr/local/rejik/banlists/web-proxy/urls.cache
2010-09-28 09:51:35 [5607] Load 2 rules from /usr/local/rejik/banlists/own/urls.cache
2010-09-28 09:51:35 [5607] Redirector start and working (3.2.6)
2010-09-28 09:51:35 [5609] Load 53051 rules from /usr/local/rejik/banlists/web-proxy/urls.cache
2010-09-28 09:51:35 [5609] Load 2 rules from /usr/local/rejik/banlists/own/urls.cache
2010-09-28 09:51:35 [5609] Redirector start and working (3.2.6)
2010-09-28 09:51:35 [5606] Load 53051 rules from /usr/local/rejik/banlists/web-proxy/urls.cache
2010-09-28 09:51:35 [5606] Load 2 rules from /usr/local/rejik/banlists/own/urls.cache
2010-09-28 09:51:35 [5606] Redirector start and working (3.2.6)
redirector.log

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

2010-09-28 09:51:41 CHATS: 192.168.0.29 - http://vkontakte.ru/ (urls rule: vkontakte.ru)
2010-09-28 09:51:41 CHATS: 192.168.0.29 - http://vkontakte.ru/media/system/js/mootools.js (urls rule: vkontakte.ru)
2010-09-28 09:51:41 CHATS: 192.168.0.29 - http://vkontakte.ru/templates/ja_purity/favicon.ico (urls rule: vkontakte.ru)
2010-09-28 09:51:41 CHATS: 192.168.0.29 - http://vkontakte.ru/media/system/js/caption.js (urls rule: vkontakte.ru)
2010-09-28 09:51:41 CHATS: 192.168.0.29 - http://vkontakte.ru/templates/ja_purity/favicon.ico (urls rule: vkontakte.ru)
2010-09-28 09:51:44 CHATS: 192.168.0.29 - http://vkontakte.ru/ (urls rule: vkontakte.ru)
2010-09-28 09:51:44 CHATS: 192.168.0.29 - http://vkontakte.ru/media/system/js/mootools.js (urls rule: vkontakte.ru)
2010-09-28 09:51:44 CHATS: 192.168.0.29 - http://vkontakte.ru/templates/ja_purity/favicon.ico (urls rule: vkontakte.ru)
2010-09-28 09:51:44 CHATS: 192.168.0.29 - http://vkontakte.ru/media/system/js/caption.js (urls rule: vkontakte.ru)
2010-09-28 09:51:44 CHATS: 192.168.0.29 - http://vkontakte.ru/templates/ja_purity/favicon.ico (urls rule: vkontakte.ru)
2010-09-28 09:51:45 CHATS: 192.168.0.29 - http://vkontakte.ru/templates/ja_purity/favicon.ico (urls rule: vkontakte.ru)


Slava
Site Admin
Сообщения: 2251
Зарегистрирован: Пт апр 02, 2004 12:34
Контактная информация:

Re: allow_urls как?

Сообщение Slava »

an0n писал(а): ERROR: Can't open file /usr/local/rejik/banlists/porno/urls.cache (for write): Permission denied

-rw-r--r-- 1 root squid 7597317 Sep 27 09:44 urls.cache
Проблема с правами на кеш файлы, режик не может их переписать и в результате работает со старыми кеш файлами, в которых нет новых allow_urls

1. Удалите все кеш файлы вручную.
2. squid -k reconfigure
3. Убедитесь, что файлы появились в каждой папке, если нет, то дайте права на запись.

an0n
Сообщения: 9
Зарегистрирован: Ср июн 23, 2010 18:11

Re: allow_urls как?

Сообщение an0n »

Да, видать проблема была именно в этом. Поставил владельцем сквид на кеш файлы и все заработало.
Огромное вам спасибо, Slava!

Ответить