Страница 1 из 1
Падения squid
Добавлено: Вт июл 05, 2016 15:11
Egenius
Добрый день!
Система
CPU: Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz
MEM: 16 GB
OS: Centos 7
Squid: 3.5.19
rejik: последняя версия
После подключения rejik периодически пропадает доступ в интернет у всех пользователей.
В rejik-е задействованы все имеющиеся списки правил.
При этом наблюдается повышенное использование памяти сквидом - до 10GB
Так же если делать squid reload то squid часто падает.
Насколько я понимаю, висят процессы rejik, т.к. без него всё работает нормально.
Так же хочется уточнить параметры для redirect_children для оптимизации количества процессов, в частности, я не нашёл нигде информации поддерживает ли rejik работу в параллельном режиме.
Спасибо!
Re: Падения squid
Добавлено: Вт июл 05, 2016 15:58
Slava
1. Удалите логи режика и cache.log сквида.
2. Перезапустите сквид.
3. Покажите конфиг режика и вновь созданный redirector.err и cache.log
Режик поддерживает работу в параллельном режиме.
Кто и сколько ест память можно посмотреть в top или ps.
Re: Падения squid
Добавлено: Ср июл 06, 2016 7:09
Egenius
cat /var/log/squid/cache.log
Код: Выделить всё
2016/07/06 08:01:55| Set Current Directory to /var/spool/squid
2016/07/06 08:01:55| Set Current Directory to /var/spool/squid
2016/07/06 08:02:29 kid1| Set Current Directory to /var/spool/squid
2016/07/06 08:02:29 kid1| Starting Squid Cache version 3.5.19 for x86_64-redhat-linux-gnu...
2016/07/06 08:02:29 kid1| Service Name: squid
2016/07/06 08:02:29 kid1| Process ID 36383
2016/07/06 08:02:29 kid1| Process Roles: worker
2016/07/06 08:02:29 kid1| With 16384 file descriptors available
2016/07/06 08:02:29 kid1| Initializing IP Cache...
2016/07/06 08:02:29 kid1| DNS Socket created at [::], FD 9
2016/07/06 08:02:29 kid1| DNS Socket created at 0.0.0.0, FD 10
2016/07/06 08:02:29 kid1| Adding nameserver 192.168.10.1 from squid.conf
2016/07/06 08:02:29 kid1| Adding nameserver 192.168.10.2 from squid.conf
2016/07/06 08:02:29 kid1| helperOpenServers: Starting 5/32 'ssl_crtd' processes
2016/07/06 08:02:29 kid1| helperOpenServers: Starting 0/20 'redirector' processes
2016/07/06 08:02:29 kid1| helperOpenServers: No 'redirector' processes needed.
2016/07/06 08:02:29 kid1| Logfile: opening log /var/log/squid/access.log
2016/07/06 08:02:29 kid1| WARNING: log name now starts with a module name. Use 'stdio:/var/log/squid/access.log'
2016/07/06 08:02:29 kid1| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2016/07/06 08:02:29 kid1| Store logging disabled
2016/07/06 08:02:29 kid1| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2016/07/06 08:02:29 kid1| Target number of buckets: 1008
2016/07/06 08:02:29 kid1| Using 8192 Store buckets
2016/07/06 08:02:29 kid1| Max Mem size: 262144 KB
2016/07/06 08:02:29 kid1| Max Swap size: 0 KB
2016/07/06 08:02:29 kid1| Using Least Load store dir selection
2016/07/06 08:02:29 kid1| Set Current Directory to /var/spool/squid
2016/07/06 08:02:29 kid1| Finished loading MIME types and icons.
2016/07/06 08:02:29 kid1| Accepting WCCPv2 messages on port 2048, FD 23.
2016/07/06 08:02:29 kid1| Initialising all WCCPv2 lists
2016/07/06 08:02:29 kid1| HTCP Disabled.
2016/07/06 08:02:29 kid1| Squid plugin modules loaded: 0
2016/07/06 08:02:29 kid1| Adaptation support is off.
2016/07/06 08:02:29 kid1| Accepting HTTP Socket connections at local=192.168.10.240:3128 remote=[::] FD 24 flags=9
2016/07/06 08:02:29 kid1| Accepting NAT intercepted HTTP Socket connections at local=192.168.10.240:3125 remote=[::] FD 25 flags=41
2016/07/06 08:02:29 kid1| Accepting NAT intercepted SSL bumped HTTPS Socket connections at local=192.168.10.240:3126 remote=[::] FD 26 flags=41
2016/07/06 08:02:29 kid1| Starting new redirector helpers...
2016/07/06 08:02:29 kid1| helperOpenServers: Starting 1/20 'redirector' processes
2016/07/06 08:02:29 kid1| Starting new redirector helpers...
2016/07/06 08:02:29 kid1| helperOpenServers: Starting 1/20 'redirector' processes
2016/07/06 08:02:29 kid1| Starting new redirector helpers...
2016/07/06 08:02:29 kid1| helperOpenServers: Starting 1/20 'redirector' processes
2016/07/06 08:02:30 kid1| storeLateRelease: released 0 objects
2016/07/06 08:03:14 kid1| Error negotiating SSL connection on FD 130: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/06 08:03:17 kid1| Error negotiating SSL connection on FD 152: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/06 08:03:18 kid1| Starting new redirector helpers...
2016/07/06 08:03:18 kid1| helperOpenServers: Starting 1/20 'redirector' processes
2016/07/06 08:03:29 kid1| Starting new redirector helpers...
2016/07/06 08:03:29 kid1| helperOpenServers: Starting 1/20 'redirector' processes
2016/07/06 08:03:29 kid1| Starting new redirector helpers...
2016/07/06 08:03:29 kid1| helperOpenServers: Starting 1/20 'redirector' processes
2016/07/06 08:03:54 kid1| Error negotiating SSL connection on FD 282: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac (1/-1)
2016/07/06 08:04:14 kid1| Error negotiating SSL connection on FD 101: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/06 08:04:18 kid1| Error negotiating SSL connection on FD 384: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
cat /usr/local/rejik3/redirector.err
Код: Выделить всё
2016-07-06 08:02:29 [36389] Run make-cache (3.2.12)
2016-07-06 08:02:29 [36389] Make-cache finished
2016-07-06 08:02:29 [36389] Load 2 rules from /usr/local/rejik3/banlists/allowed/allow_urls.cache
2016-07-06 08:02:29 [36389] Load 7 pattern from ALLOWED pcre
2016-07-06 08:02:29 [36389] Load 3517 rules from /usr/local/rejik3/banlists/banners/urls.cache
2016-07-06 08:02:29 [36389] Load 91 pattern from BANNER pcre
2016-07-06 08:02:29 [36389] Load 1 rules from /usr/local/rejik3/banlists/js/urls.cache
2016-07-06 08:02:29 [36389] Load 208192 rules from /usr/local/rejik3/banlists/porno/urls.cache
2016-07-06 08:02:29 [36389] Load 1 pattern from PORNO pcre
2016-07-06 08:02:29 [36389] Load 3678 rules from /usr/local/rejik3/banlists/mp3/urls.cache
2016-07-06 08:02:29 [36389] Load 27 pattern from MP3 pcre
2016-07-06 08:02:29 [36389] Load 257 rules from /usr/local/rejik3/banlists/socnet/urls.cache
2016-07-06 08:02:29 [36389] Load 9668 rules from /usr/local/rejik3/banlists/proxy/urls.cache
2016-07-06 08:02:29 [36389] Load 4369 rules from /usr/local/rejik3/banlists/avto-moto/urls.cache
2016-07-06 08:02:29 [36389] Load 307 rules from /usr/local/rejik3/banlists/buysell/urls.cache
2016-07-06 08:02:29 [36389] Load 12051 rules from /usr/local/rejik3/banlists/chats/urls.cache
2016-07-06 08:02:29 [36389] Load 36 rules from /usr/local/rejik3/banlists/cloud-storage/urls.cache
2016-07-06 08:02:29 [36389] Load 4689 rules from /usr/local/rejik3/banlists/dating/urls.cache
2016-07-06 08:02:29 [36389] Load 316 rules from /usr/local/rejik3/banlists/extremism_rf/urls.cache
2016-07-06 08:02:29 [36389] Load 103 rules from /usr/local/rejik3/banlists/icq/urls.cache
2016-07-06 08:02:29 [36389] Load 3 pattern from icq pcre
2016-07-06 08:02:29 [36389] Load 1965 rules from /usr/local/rejik3/banlists/jobsearch/urls.cache
2016-07-06 08:02:29 [36389] Load 3505 rules from /usr/local/rejik3/banlists/online-games/urls.cache
2016-07-06 08:02:29 [36389] Load 20605 rules from /usr/local/rejik3/banlists/phishing/urls.cache
2016-07-06 08:02:29 [36389] Load 2563 rules from /usr/local/rejik3/banlists/photogallery/urls.cache
2016-07-06 08:02:29 [36389] Load 53 rules from /usr/local/rejik3/banlists/remote-control/urls.cache
2016-07-06 08:02:29 [36389] Load 363 rules from /usr/local/rejik3/banlists/software/urls.cache
2016-07-06 08:02:29 [36389] Load 8043 rules from /usr/local/rejik3/banlists/spyware/urls.cache
2016-07-06 08:02:29 [36389] Load 918 rules from /usr/local/rejik3/banlists/torrents/urls.cache
2016-07-06 08:02:29 [36389] Load 818 rules from /usr/local/rejik3/banlists/virus/urls.cache
2016-07-06 08:02:29 [36389] Load 1 pattern from virus pcre
2016-07-06 08:02:29 [36389] Load 64 rules from /usr/local/rejik3/banlists/vpn/urls.cache
2016-07-06 08:02:29 [36389] Load 413 rules from /usr/local/rejik3/banlists/warez/urls.cache
2016-07-06 08:02:29 [36389] Load 2377 rules from /usr/local/rejik3/banlists/web-mail/urls.cache
2016-07-06 08:02:29 [36389] Redirector start and working (3.2.12)
2016-07-06 08:02:29 [36391] Run make-cache (3.2.12)
2016-07-06 08:02:29 [36391] Make-cache finished
2016-07-06 08:02:29 [36391] Load 2 rules from /usr/local/rejik3/banlists/allowed/allow_urls.cache
2016-07-06 08:02:29 [36391] Load 7 pattern from ALLOWED pcre
2016-07-06 08:02:29 [36391] Load 3517 rules from /usr/local/rejik3/banlists/banners/urls.cache
2016-07-06 08:02:29 [36391] Load 91 pattern from BANNER pcre
2016-07-06 08:02:29 [36391] Load 1 rules from /usr/local/rejik3/banlists/js/urls.cache
2016-07-06 08:02:29 [36391] Load 208192 rules from /usr/local/rejik3/banlists/porno/urls.cache
2016-07-06 08:02:29 [36391] Load 1 pattern from PORNO pcre
2016-07-06 08:02:29 [36391] Load 3678 rules from /usr/local/rejik3/banlists/mp3/urls.cache
2016-07-06 08:02:29 [36391] Load 27 pattern from MP3 pcre
2016-07-06 08:02:29 [36391] Load 257 rules from /usr/local/rejik3/banlists/socnet/urls.cache
2016-07-06 08:02:29 [36391] Load 9668 rules from /usr/local/rejik3/banlists/proxy/urls.cache
2016-07-06 08:02:29 [36391] Load 4369 rules from /usr/local/rejik3/banlists/avto-moto/urls.cache
2016-07-06 08:02:29 [36391] Load 307 rules from /usr/local/rejik3/banlists/buysell/urls.cache
2016-07-06 08:02:29 [36391] Load 12051 rules from /usr/local/rejik3/banlists/chats/urls.cache
2016-07-06 08:02:29 [36391] Load 36 rules from /usr/local/rejik3/banlists/cloud-storage/urls.cache
2016-07-06 08:02:29 [36391] Load 4689 rules from /usr/local/rejik3/banlists/dating/urls.cache
2016-07-06 08:02:29 [36391] Load 316 rules from /usr/local/rejik3/banlists/extremism_rf/urls.cache
2016-07-06 08:02:29 [36391] Load 103 rules from /usr/local/rejik3/banlists/icq/urls.cache
2016-07-06 08:02:29 [36391] Load 3 pattern from icq pcre
2016-07-06 08:02:29 [36391] Load 1965 rules from /usr/local/rejik3/banlists/jobsearch/urls.cache
2016-07-06 08:02:29 [36391] Load 3505 rules from /usr/local/rejik3/banlists/online-games/urls.cache
2016-07-06 08:02:29 [36391] Load 20605 rules from /usr/local/rejik3/banlists/phishing/urls.cache
2016-07-06 08:02:29 [36391] Load 2563 rules from /usr/local/rejik3/banlists/photogallery/urls.cache
2016-07-06 08:02:29 [36391] Load 53 rules from /usr/local/rejik3/banlists/remote-control/urls.cache
2016-07-06 08:02:29 [36391] Load 363 rules from /usr/local/rejik3/banlists/software/urls.cache
2016-07-06 08:02:29 [36391] Load 8043 rules from /usr/local/rejik3/banlists/spyware/urls.cache
2016-07-06 08:02:29 [36391] Load 918 rules from /usr/local/rejik3/banlists/torrents/urls.cache
2016-07-06 08:02:29 [36391] Load 818 rules from /usr/local/rejik3/banlists/virus/urls.cache
2016-07-06 08:02:29 [36391] Load 1 pattern from virus pcre
2016-07-06 08:02:29 [36391] Load 64 rules from /usr/local/rejik3/banlists/vpn/urls.cache
2016-07-06 08:02:29 [36391] Load 413 rules from /usr/local/rejik3/banlists/warez/urls.cache
2016-07-06 08:02:29 [36391] Load 2377 rules from /usr/local/rejik3/banlists/web-mail/urls.cache
2016-07-06 08:02:29 [36391] Redirector start and working (3.2.12)
2016-07-06 08:02:29 [36393] Run make-cache (3.2.12)
2016-07-06 08:02:29 [36393] Make-cache finished
2016-07-06 08:02:29 [36393] Load 2 rules from /usr/local/rejik3/banlists/allowed/allow_urls.cache
2016-07-06 08:02:29 [36393] Load 7 pattern from ALLOWED pcre
2016-07-06 08:02:29 [36393] Load 3517 rules from /usr/local/rejik3/banlists/banners/urls.cache
2016-07-06 08:02:29 [36393] Load 91 pattern from BANNER pcre
2016-07-06 08:02:29 [36393] Load 1 rules from /usr/local/rejik3/banlists/js/urls.cache
2016-07-06 08:02:29 [36393] Load 208192 rules from /usr/local/rejik3/banlists/porno/urls.cache
2016-07-06 08:02:29 [36393] Load 1 pattern from PORNO pcre
2016-07-06 08:02:29 [36393] Load 3678 rules from /usr/local/rejik3/banlists/mp3/urls.cache
2016-07-06 08:02:29 [36393] Load 27 pattern from MP3 pcre
2016-07-06 08:02:29 [36393] Load 257 rules from /usr/local/rejik3/banlists/socnet/urls.cache
2016-07-06 08:02:29 [36393] Load 9668 rules from /usr/local/rejik3/banlists/proxy/urls.cache
2016-07-06 08:02:29 [36393] Load 4369 rules from /usr/local/rejik3/banlists/avto-moto/urls.cache
2016-07-06 08:02:29 [36393] Load 307 rules from /usr/local/rejik3/banlists/buysell/urls.cache
2016-07-06 08:02:29 [36393] Load 12051 rules from /usr/local/rejik3/banlists/chats/urls.cache
2016-07-06 08:02:29 [36393] Load 36 rules from /usr/local/rejik3/banlists/cloud-storage/urls.cache
2016-07-06 08:02:29 [36393] Load 4689 rules from /usr/local/rejik3/banlists/dating/urls.cache
2016-07-06 08:02:29 [36393] Load 316 rules from /usr/local/rejik3/banlists/extremism_rf/urls.cache
2016-07-06 08:02:29 [36393] Load 103 rules from /usr/local/rejik3/banlists/icq/urls.cache
2016-07-06 08:02:29 [36393] Load 3 pattern from icq pcre
2016-07-06 08:02:29 [36393] Load 1965 rules from /usr/local/rejik3/banlists/jobsearch/urls.cache
2016-07-06 08:02:29 [36393] Load 3505 rules from /usr/local/rejik3/banlists/online-games/urls.cache
2016-07-06 08:02:29 [36393] Load 20605 rules from /usr/local/rejik3/banlists/phishing/urls.cache
2016-07-06 08:02:29 [36393] Load 2563 rules from /usr/local/rejik3/banlists/photogallery/urls.cache
2016-07-06 08:02:29 [36393] Load 53 rules from /usr/local/rejik3/banlists/remote-control/urls.cache
2016-07-06 08:02:29 [36393] Load 363 rules from /usr/local/rejik3/banlists/software/urls.cache
2016-07-06 08:02:29 [36393] Load 8043 rules from /usr/local/rejik3/banlists/spyware/urls.cache
2016-07-06 08:02:29 [36393] Load 918 rules from /usr/local/rejik3/banlists/torrents/urls.cache
2016-07-06 08:02:29 [36393] Load 818 rules from /usr/local/rejik3/banlists/virus/urls.cache
2016-07-06 08:02:29 [36393] Load 1 pattern from virus pcre
2016-07-06 08:02:29 [36393] Load 64 rules from /usr/local/rejik3/banlists/vpn/urls.cache
2016-07-06 08:02:29 [36393] Load 413 rules from /usr/local/rejik3/banlists/warez/urls.cache
2016-07-06 08:02:29 [36393] Load 2377 rules from /usr/local/rejik3/banlists/web-mail/urls.cache
2016-07-06 08:02:29 [36393] Redirector start and working (3.2.12)
2016-07-06 08:03:18 [36395] Run make-cache (3.2.12)
2016-07-06 08:03:18 [36395] Make-cache finished
2016-07-06 08:03:18 [36395] Load 2 rules from /usr/local/rejik3/banlists/allowed/allow_urls.cache
2016-07-06 08:03:18 [36395] Load 7 pattern from ALLOWED pcre
2016-07-06 08:03:18 [36395] Load 3517 rules from /usr/local/rejik3/banlists/banners/urls.cache
2016-07-06 08:03:18 [36395] Load 91 pattern from BANNER pcre
2016-07-06 08:03:18 [36395] Load 1 rules from /usr/local/rejik3/banlists/js/urls.cache
2016-07-06 08:03:18 [36395] Load 208192 rules from /usr/local/rejik3/banlists/porno/urls.cache
2016-07-06 08:03:18 [36395] Load 1 pattern from PORNO pcre
2016-07-06 08:03:18 [36395] Load 3678 rules from /usr/local/rejik3/banlists/mp3/urls.cache
2016-07-06 08:03:18 [36395] Load 27 pattern from MP3 pcre
2016-07-06 08:03:18 [36395] Load 257 rules from /usr/local/rejik3/banlists/socnet/urls.cache
2016-07-06 08:03:18 [36395] Load 9668 rules from /usr/local/rejik3/banlists/proxy/urls.cache
2016-07-06 08:03:18 [36395] Load 4369 rules from /usr/local/rejik3/banlists/avto-moto/urls.cache
2016-07-06 08:03:18 [36395] Load 307 rules from /usr/local/rejik3/banlists/buysell/urls.cache
2016-07-06 08:03:18 [36395] Load 12051 rules from /usr/local/rejik3/banlists/chats/urls.cache
2016-07-06 08:03:18 [36395] Load 36 rules from /usr/local/rejik3/banlists/cloud-storage/urls.cache
2016-07-06 08:03:18 [36395] Load 4689 rules from /usr/local/rejik3/banlists/dating/urls.cache
2016-07-06 08:03:18 [36395] Load 316 rules from /usr/local/rejik3/banlists/extremism_rf/urls.cache
2016-07-06 08:03:18 [36395] Load 103 rules from /usr/local/rejik3/banlists/icq/urls.cache
2016-07-06 08:03:18 [36395] Load 3 pattern from icq pcre
2016-07-06 08:03:18 [36395] Load 1965 rules from /usr/local/rejik3/banlists/jobsearch/urls.cache
2016-07-06 08:03:18 [36395] Load 3505 rules from /usr/local/rejik3/banlists/online-games/urls.cache
2016-07-06 08:03:18 [36395] Load 20605 rules from /usr/local/rejik3/banlists/phishing/urls.cache
2016-07-06 08:03:18 [36395] Load 2563 rules from /usr/local/rejik3/banlists/photogallery/urls.cache
2016-07-06 08:03:18 [36395] Load 53 rules from /usr/local/rejik3/banlists/remote-control/urls.cache
2016-07-06 08:03:18 [36395] Load 363 rules from /usr/local/rejik3/banlists/software/urls.cache
2016-07-06 08:03:18 [36395] Load 8043 rules from /usr/local/rejik3/banlists/spyware/urls.cache
2016-07-06 08:03:18 [36395] Load 918 rules from /usr/local/rejik3/banlists/torrents/urls.cache
2016-07-06 08:03:18 [36395] Load 818 rules from /usr/local/rejik3/banlists/virus/urls.cache
2016-07-06 08:03:18 [36395] Load 1 pattern from virus pcre
2016-07-06 08:03:18 [36395] Load 64 rules from /usr/local/rejik3/banlists/vpn/urls.cache
2016-07-06 08:03:18 [36395] Load 413 rules from /usr/local/rejik3/banlists/warez/urls.cache
2016-07-06 08:03:18 [36395] Load 2377 rules from /usr/local/rejik3/banlists/web-mail/urls.cache
2016-07-06 08:03:18 [36395] Redirector start and working (3.2.12)
2016-07-06 08:03:29 [36397] Run make-cache (3.2.12)
2016-07-06 08:03:29 [36398] Waiting for make-cache finished
2016-07-06 08:03:29 [36397] Make-cache finished
2016-07-06 08:03:29 [36397] Load 2 rules from /usr/local/rejik3/banlists/allowed/allow_urls.cache
2016-07-06 08:03:29 [36397] Load 7 pattern from ALLOWED pcre
2016-07-06 08:03:29 [36397] Load 3517 rules from /usr/local/rejik3/banlists/banners/urls.cache
2016-07-06 08:03:29 [36397] Load 91 pattern from BANNER pcre
2016-07-06 08:03:29 [36397] Load 1 rules from /usr/local/rejik3/banlists/js/urls.cache
2016-07-06 08:03:29 [36397] Load 208192 rules from /usr/local/rejik3/banlists/porno/urls.cache
2016-07-06 08:03:29 [36397] Load 1 pattern from PORNO pcre
2016-07-06 08:03:29 [36397] Load 3678 rules from /usr/local/rejik3/banlists/mp3/urls.cache
2016-07-06 08:03:29 [36397] Load 27 pattern from MP3 pcre
2016-07-06 08:03:29 [36397] Load 257 rules from /usr/local/rejik3/banlists/socnet/urls.cache
2016-07-06 08:03:29 [36397] Load 9668 rules from /usr/local/rejik3/banlists/proxy/urls.cache
2016-07-06 08:03:29 [36397] Load 4369 rules from /usr/local/rejik3/banlists/avto-moto/urls.cache
2016-07-06 08:03:29 [36397] Load 307 rules from /usr/local/rejik3/banlists/buysell/urls.cache
2016-07-06 08:03:29 [36397] Load 12051 rules from /usr/local/rejik3/banlists/chats/urls.cache
2016-07-06 08:03:29 [36397] Load 36 rules from /usr/local/rejik3/banlists/cloud-storage/urls.cache
2016-07-06 08:03:29 [36397] Load 4689 rules from /usr/local/rejik3/banlists/dating/urls.cache
2016-07-06 08:03:29 [36397] Load 316 rules from /usr/local/rejik3/banlists/extremism_rf/urls.cache
2016-07-06 08:03:29 [36397] Load 103 rules from /usr/local/rejik3/banlists/icq/urls.cache
2016-07-06 08:03:29 [36397] Load 3 pattern from icq pcre
2016-07-06 08:03:29 [36397] Load 1965 rules from /usr/local/rejik3/banlists/jobsearch/urls.cache
2016-07-06 08:03:29 [36397] Load 3505 rules from /usr/local/rejik3/banlists/online-games/urls.cache
2016-07-06 08:03:29 [36397] Load 20605 rules from /usr/local/rejik3/banlists/phishing/urls.cache
2016-07-06 08:03:29 [36397] Load 2563 rules from /usr/local/rejik3/banlists/photogallery/urls.cache
2016-07-06 08:03:29 [36397] Load 53 rules from /usr/local/rejik3/banlists/remote-control/urls.cache
2016-07-06 08:03:29 [36397] Load 363 rules from /usr/local/rejik3/banlists/software/urls.cache
2016-07-06 08:03:29 [36397] Load 8043 rules from /usr/local/rejik3/banlists/spyware/urls.cache
2016-07-06 08:03:29 [36397] Load 918 rules from /usr/local/rejik3/banlists/torrents/urls.cache
2016-07-06 08:03:29 [36397] Load 818 rules from /usr/local/rejik3/banlists/virus/urls.cache
2016-07-06 08:03:29 [36397] Load 1 pattern from virus pcre
2016-07-06 08:03:29 [36397] Load 64 rules from /usr/local/rejik3/banlists/vpn/urls.cache
2016-07-06 08:03:29 [36397] Load 413 rules from /usr/local/rejik3/banlists/warez/urls.cache
2016-07-06 08:03:29 [36397] Load 2377 rules from /usr/local/rejik3/banlists/web-mail/urls.cache
2016-07-06 08:03:29 [36397] Redirector start and working (3.2.12)
2016-07-06 08:03:30 [36398] Make-cache finished detected, continue
2016-07-06 08:03:30 [36398] Load 2 rules from /usr/local/rejik3/banlists/allowed/allow_urls.cache
2016-07-06 08:03:30 [36398] Load 7 pattern from ALLOWED pcre
2016-07-06 08:03:30 [36398] Load 3517 rules from /usr/local/rejik3/banlists/banners/urls.cache
2016-07-06 08:03:30 [36398] Load 91 pattern from BANNER pcre
2016-07-06 08:03:30 [36398] Load 1 rules from /usr/local/rejik3/banlists/js/urls.cache
2016-07-06 08:03:30 [36398] Load 208192 rules from /usr/local/rejik3/banlists/porno/urls.cache
2016-07-06 08:03:30 [36398] Load 1 pattern from PORNO pcre
2016-07-06 08:03:30 [36398] Load 3678 rules from /usr/local/rejik3/banlists/mp3/urls.cache
2016-07-06 08:03:30 [36398] Load 27 pattern from MP3 pcre
2016-07-06 08:03:30 [36398] Load 257 rules from /usr/local/rejik3/banlists/socnet/urls.cache
2016-07-06 08:03:30 [36398] Load 9668 rules from /usr/local/rejik3/banlists/proxy/urls.cache
2016-07-06 08:03:30 [36398] Load 4369 rules from /usr/local/rejik3/banlists/avto-moto/urls.cache
2016-07-06 08:03:30 [36398] Load 307 rules from /usr/local/rejik3/banlists/buysell/urls.cache
2016-07-06 08:03:30 [36398] Load 12051 rules from /usr/local/rejik3/banlists/chats/urls.cache
2016-07-06 08:03:30 [36398] Load 36 rules from /usr/local/rejik3/banlists/cloud-storage/urls.cache
2016-07-06 08:03:30 [36398] Load 4689 rules from /usr/local/rejik3/banlists/dating/urls.cache
2016-07-06 08:03:30 [36398] Load 316 rules from /usr/local/rejik3/banlists/extremism_rf/urls.cache
2016-07-06 08:03:30 [36398] Load 103 rules from /usr/local/rejik3/banlists/icq/urls.cache
2016-07-06 08:03:30 [36398] Load 3 pattern from icq pcre
2016-07-06 08:03:30 [36398] Load 1965 rules from /usr/local/rejik3/banlists/jobsearch/urls.cache
2016-07-06 08:03:30 [36398] Load 3505 rules from /usr/local/rejik3/banlists/online-games/urls.cache
2016-07-06 08:03:30 [36398] Load 20605 rules from /usr/local/rejik3/banlists/phishing/urls.cache
2016-07-06 08:03:30 [36398] Load 2563 rules from /usr/local/rejik3/banlists/photogallery/urls.cache
2016-07-06 08:03:30 [36398] Load 53 rules from /usr/local/rejik3/banlists/remote-control/urls.cache
2016-07-06 08:03:30 [36398] Load 363 rules from /usr/local/rejik3/banlists/software/urls.cache
2016-07-06 08:03:30 [36398] Load 8043 rules from /usr/local/rejik3/banlists/spyware/urls.cache
2016-07-06 08:03:30 [36398] Load 918 rules from /usr/local/rejik3/banlists/torrents/urls.cache
2016-07-06 08:03:30 [36398] Load 818 rules from /usr/local/rejik3/banlists/virus/urls.cache
2016-07-06 08:03:30 [36398] Load 1 pattern from virus pcre
2016-07-06 08:03:30 [36398] Load 64 rules from /usr/local/rejik3/banlists/vpn/urls.cache
2016-07-06 08:03:30 [36398] Load 413 rules from /usr/local/rejik3/banlists/warez/urls.cache
2016-07-06 08:03:30 [36398] Load 2377 rules from /usr/local/rejik3/banlists/web-mail/urls.cache
2016-07-06 08:03:30 [36398] Redirector start and working (3.2.12)
2016-07-06 08:07:01 [36445] Run make-cache (3.2.12)
2016-07-06 08:07:01 [36445] Make-cache finished
2016-07-06 08:07:01 [36445] Load 2 rules from /usr/local/rejik3/banlists/allowed/allow_urls.cache
2016-07-06 08:07:01 [36445] Load 7 pattern from ALLOWED pcre
2016-07-06 08:07:01 [36445] Load 3517 rules from /usr/local/rejik3/banlists/banners/urls.cache
2016-07-06 08:07:01 [36445] Load 91 pattern from BANNER pcre
2016-07-06 08:07:01 [36445] Load 1 rules from /usr/local/rejik3/banlists/js/urls.cache
2016-07-06 08:07:01 [36446] Run make-cache (3.2.12)
2016-07-06 08:07:01 [36445] Load 208192 rules from /usr/local/rejik3/banlists/porno/urls.cache
2016-07-06 08:07:01 [36445] Load 1 pattern from PORNO pcre
2016-07-06 08:07:01 [36445] Load 3678 rules from /usr/local/rejik3/banlists/mp3/urls.cache
2016-07-06 08:07:01 [36445] Load 27 pattern from MP3 pcre
2016-07-06 08:07:01 [36445] Load 257 rules from /usr/local/rejik3/banlists/socnet/urls.cache
2016-07-06 08:07:01 [36445] Load 9668 rules from /usr/local/rejik3/banlists/proxy/urls.cache
2016-07-06 08:07:01 [36445] Load 4369 rules from /usr/local/rejik3/banlists/avto-moto/urls.cache
2016-07-06 08:07:01 [36445] Load 307 rules from /usr/local/rejik3/banlists/buysell/urls.cache
2016-07-06 08:07:01 [36445] Load 12051 rules from /usr/local/rejik3/banlists/chats/urls.cache
2016-07-06 08:07:01 [36445] Load 36 rules from /usr/local/rejik3/banlists/cloud-storage/urls.cache
2016-07-06 08:07:01 [36445] Load 4689 rules from /usr/local/rejik3/banlists/dating/urls.cache
2016-07-06 08:07:01 [36445] Load 316 rules from /usr/local/rejik3/banlists/extremism_rf/urls.cache
2016-07-06 08:07:01 [36445] Load 103 rules from /usr/local/rejik3/banlists/icq/urls.cache
2016-07-06 08:07:01 [36445] Load 3 pattern from icq pcre
2016-07-06 08:07:01 [36445] Load 1965 rules from /usr/local/rejik3/banlists/jobsearch/urls.cache
2016-07-06 08:07:01 [36445] Load 3505 rules from /usr/local/rejik3/banlists/online-games/urls.cache
2016-07-06 08:07:01 [36446] Make-cache finished
2016-07-06 08:07:01 [36446] Load 2 rules from /usr/local/rejik3/banlists/allowed/allow_urls.cache
2016-07-06 08:07:01 [36445] Load 20605 rules from /usr/local/rejik3/banlists/phishing/urls.cache
2016-07-06 08:07:01 [36446] Load 7 pattern from ALLOWED pcre
2016-07-06 08:07:01 [36445] Load 2563 rules from /usr/local/rejik3/banlists/photogallery/urls.cache
2016-07-06 08:07:01 [36445] Load 53 rules from /usr/local/rejik3/banlists/remote-control/urls.cache
2016-07-06 08:07:01 [36445] Load 363 rules from /usr/local/rejik3/banlists/software/urls.cache
2016-07-06 08:07:01 [36446] Load 3517 rules from /usr/local/rejik3/banlists/banners/urls.cache
2016-07-06 08:07:01 [36445] Load 8043 rules from /usr/local/rejik3/banlists/spyware/urls.cache
2016-07-06 08:07:01 [36445] Load 918 rules from /usr/local/rejik3/banlists/torrents/urls.cache
2016-07-06 08:07:01 [36445] Load 818 rules from /usr/local/rejik3/banlists/virus/urls.cache
2016-07-06 08:07:01 [36446] Load 91 pattern from BANNER pcre
2016-07-06 08:07:01 [36445] Load 1 pattern from virus pcre
2016-07-06 08:07:01 [36446] Load 1 rules from /usr/local/rejik3/banlists/js/urls.cache
2016-07-06 08:07:01 [36445] Load 64 rules from /usr/local/rejik3/banlists/vpn/urls.cache
2016-07-06 08:07:01 [36445] Load 413 rules from /usr/local/rejik3/banlists/warez/urls.cache
2016-07-06 08:07:01 [36445] Load 2377 rules from /usr/local/rejik3/banlists/web-mail/urls.cache
2016-07-06 08:07:01 [36445] Redirector start and working (3.2.12)
2016-07-06 08:07:01 [36446] Load 208192 rules from /usr/local/rejik3/banlists/porno/urls.cache
2016-07-06 08:07:01 [36446] Load 1 pattern from PORNO pcre
2016-07-06 08:07:01 [36446] Load 3678 rules from /usr/local/rejik3/banlists/mp3/urls.cache
2016-07-06 08:07:01 [36446] Load 27 pattern from MP3 pcre
2016-07-06 08:07:01 [36446] Load 257 rules from /usr/local/rejik3/banlists/socnet/urls.cache
2016-07-06 08:07:01 [36446] Load 9668 rules from /usr/local/rejik3/banlists/proxy/urls.cache
2016-07-06 08:07:01 [36446] Load 4369 rules from /usr/local/rejik3/banlists/avto-moto/urls.cache
2016-07-06 08:07:01 [36446] Load 307 rules from /usr/local/rejik3/banlists/buysell/urls.cache
2016-07-06 08:07:01 [36446] Load 12051 rules from /usr/local/rejik3/banlists/chats/urls.cache
2016-07-06 08:07:01 [36446] Load 36 rules from /usr/local/rejik3/banlists/cloud-storage/urls.cache
2016-07-06 08:07:01 [36448] Run make-cache (3.2.12)
2016-07-06 08:07:01 [36446] Load 4689 rules from /usr/local/rejik3/banlists/dating/urls.cache
2016-07-06 08:07:01 [36446] Load 316 rules from /usr/local/rejik3/banlists/extremism_rf/urls.cache
2016-07-06 08:07:01 [36446] Load 103 rules from /usr/local/rejik3/banlists/icq/urls.cache
2016-07-06 08:07:01 [36446] Load 3 pattern from icq pcre
2016-07-06 08:07:01 [36446] Load 1965 rules from /usr/local/rejik3/banlists/jobsearch/urls.cache
2016-07-06 08:07:01 [36446] Load 3505 rules from /usr/local/rejik3/banlists/online-games/urls.cache
2016-07-06 08:07:01 [36446] Load 20605 rules from /usr/local/rejik3/banlists/phishing/urls.cache
2016-07-06 08:07:01 [36446] Load 2563 rules from /usr/local/rejik3/banlists/photogallery/urls.cache
2016-07-06 08:07:01 [36446] Load 53 rules from /usr/local/rejik3/banlists/remote-control/urls.cache
2016-07-06 08:07:01 [36446] Load 363 rules from /usr/local/rejik3/banlists/software/urls.cache
2016-07-06 08:07:01 [36446] Load 8043 rules from /usr/local/rejik3/banlists/spyware/urls.cache
2016-07-06 08:07:01 [36446] Load 918 rules from /usr/local/rejik3/banlists/torrents/urls.cache
2016-07-06 08:07:01 [36446] Load 818 rules from /usr/local/rejik3/banlists/virus/urls.cache
2016-07-06 08:07:01 [36446] Load 1 pattern from virus pcre
2016-07-06 08:07:01 [36446] Load 64 rules from /usr/local/rejik3/banlists/vpn/urls.cache
2016-07-06 08:07:01 [36446] Load 413 rules from /usr/local/rejik3/banlists/warez/urls.cache
2016-07-06 08:07:01 [36446] Load 2377 rules from /usr/local/rejik3/banlists/web-mail/urls.cache
2016-07-06 08:07:01 [36446] Redirector start and working (3.2.12)
2016-07-06 08:07:01 [36448] Make-cache finished
2016-07-06 08:07:01 [36448] Load 2 rules from /usr/local/rejik3/banlists/allowed/allow_urls.cache
2016-07-06 08:07:01 [36448] Load 7 pattern from ALLOWED pcre
2016-07-06 08:07:01 [36448] Load 3517 rules from /usr/local/rejik3/banlists/banners/urls.cache
2016-07-06 08:07:01 [36448] Load 91 pattern from BANNER pcre
2016-07-06 08:07:01 [36448] Load 1 rules from /usr/local/rejik3/banlists/js/urls.cache
2016-07-06 08:07:01 [36448] Load 208192 rules from /usr/local/rejik3/banlists/porno/urls.cache
2016-07-06 08:07:01 [36448] Load 1 pattern from PORNO pcre
2016-07-06 08:07:01 [36448] Load 3678 rules from /usr/local/rejik3/banlists/mp3/urls.cache
2016-07-06 08:07:01 [36448] Load 27 pattern from MP3 pcre
2016-07-06 08:07:01 [36448] Load 257 rules from /usr/local/rejik3/banlists/socnet/urls.cache
2016-07-06 08:07:01 [36448] Load 9668 rules from /usr/local/rejik3/banlists/proxy/urls.cache
2016-07-06 08:07:01 [36448] Load 4369 rules from /usr/local/rejik3/banlists/avto-moto/urls.cache
2016-07-06 08:07:01 [36448] Load 307 rules from /usr/local/rejik3/banlists/buysell/urls.cache
2016-07-06 08:07:01 [36448] Load 12051 rules from /usr/local/rejik3/banlists/chats/urls.cache
2016-07-06 08:07:01 [36448] Load 36 rules from /usr/local/rejik3/banlists/cloud-storage/urls.cache
2016-07-06 08:07:01 [36448] Load 4689 rules from /usr/local/rejik3/banlists/dating/urls.cache
2016-07-06 08:07:01 [36448] Load 316 rules from /usr/local/rejik3/banlists/extremism_rf/urls.cache
2016-07-06 08:07:01 [36448] Load 103 rules from /usr/local/rejik3/banlists/icq/urls.cache
2016-07-06 08:07:01 [36448] Load 3 pattern from icq pcre
2016-07-06 08:07:01 [36448] Load 1965 rules from /usr/local/rejik3/banlists/jobsearch/urls.cache
2016-07-06 08:07:01 [36448] Load 3505 rules from /usr/local/rejik3/banlists/online-games/urls.cache
2016-07-06 08:07:01 [36448] Load 20605 rules from /usr/local/rejik3/banlists/phishing/urls.cache
2016-07-06 08:07:01 [36448] Load 2563 rules from /usr/local/rejik3/banlists/photogallery/urls.cache
2016-07-06 08:07:01 [36448] Load 53 rules from /usr/local/rejik3/banlists/remote-control/urls.cache
2016-07-06 08:07:01 [36448] Load 363 rules from /usr/local/rejik3/banlists/software/urls.cache
2016-07-06 08:07:01 [36448] Load 8043 rules from /usr/local/rejik3/banlists/spyware/urls.cache
2016-07-06 08:07:01 [36448] Load 918 rules from /usr/local/rejik3/banlists/torrents/urls.cache
2016-07-06 08:07:01 [36448] Load 818 rules from /usr/local/rejik3/banlists/virus/urls.cache
2016-07-06 08:07:01 [36448] Load 1 pattern from virus pcre
2016-07-06 08:07:01 [36448] Load 64 rules from /usr/local/rejik3/banlists/vpn/urls.cache
2016-07-06 08:07:01 [36448] Load 413 rules from /usr/local/rejik3/banlists/warez/urls.cache
2016-07-06 08:07:01 [36448] Load 2377 rules from /usr/local/rejik3/banlists/web-mail/urls.cache
2016-07-06 08:07:01 [36448] Redirector start and working (3.2.12)
2016-07-06 08:07:01 [36451] Run make-cache (3.2.12)
2016-07-06 08:07:01 [36451] Make-cache finished
2016-07-06 08:07:01 [36451] Load 2 rules from /usr/local/rejik3/banlists/allowed/allow_urls.cache
2016-07-06 08:07:01 [36451] Load 7 pattern from ALLOWED pcre
2016-07-06 08:07:01 [36451] Load 3517 rules from /usr/local/rejik3/banlists/banners/urls.cache
2016-07-06 08:07:01 [36451] Load 91 pattern from BANNER pcre
2016-07-06 08:07:01 [36451] Load 1 rules from /usr/local/rejik3/banlists/js/urls.cache
2016-07-06 08:07:01 [36451] Load 208192 rules from /usr/local/rejik3/banlists/porno/urls.cache
2016-07-06 08:07:01 [36451] Load 1 pattern from PORNO pcre
2016-07-06 08:07:01 [36451] Load 3678 rules from /usr/local/rejik3/banlists/mp3/urls.cache
2016-07-06 08:07:01 [36451] Load 27 pattern from MP3 pcre
2016-07-06 08:07:01 [36451] Load 257 rules from /usr/local/rejik3/banlists/socnet/urls.cache
2016-07-06 08:07:01 [36451] Load 9668 rules from /usr/local/rejik3/banlists/proxy/urls.cache
2016-07-06 08:07:01 [36451] Load 4369 rules from /usr/local/rejik3/banlists/avto-moto/urls.cache
2016-07-06 08:07:01 [36451] Load 307 rules from /usr/local/rejik3/banlists/buysell/urls.cache
2016-07-06 08:07:01 [36451] Load 12051 rules from /usr/local/rejik3/banlists/chats/urls.cache
2016-07-06 08:07:01 [36451] Load 36 rules from /usr/local/rejik3/banlists/cloud-storage/urls.cache
2016-07-06 08:07:01 [36451] Load 4689 rules from /usr/local/rejik3/banlists/dating/urls.cache
2016-07-06 08:07:01 [36451] Load 316 rules from /usr/local/rejik3/banlists/extremism_rf/urls.cache
2016-07-06 08:07:01 [36451] Load 103 rules from /usr/local/rejik3/banlists/icq/urls.cache
2016-07-06 08:07:01 [36451] Load 3 pattern from icq pcre
2016-07-06 08:07:01 [36451] Load 1965 rules from /usr/local/rejik3/banlists/jobsearch/urls.cache
2016-07-06 08:07:01 [36451] Load 3505 rules from /usr/local/rejik3/banlists/online-games/urls.cache
2016-07-06 08:07:01 [36451] Load 20605 rules from /usr/local/rejik3/banlists/phishing/urls.cache
2016-07-06 08:07:01 [36451] Load 2563 rules from /usr/local/rejik3/banlists/photogallery/urls.cache
2016-07-06 08:07:01 [36451] Load 53 rules from /usr/local/rejik3/banlists/remote-control/urls.cache
2016-07-06 08:07:01 [36451] Load 363 rules from /usr/local/rejik3/banlists/software/urls.cache
2016-07-06 08:07:01 [36451] Load 8043 rules from /usr/local/rejik3/banlists/spyware/urls.cache
2016-07-06 08:07:01 [36451] Load 918 rules from /usr/local/rejik3/banlists/torrents/urls.cache
2016-07-06 08:07:01 [36451] Load 818 rules from /usr/local/rejik3/banlists/virus/urls.cache
2016-07-06 08:07:01 [36451] Load 1 pattern from virus pcre
2016-07-06 08:07:01 [36451] Load 64 rules from /usr/local/rejik3/banlists/vpn/urls.cache
2016-07-06 08:07:01 [36451] Load 413 rules from /usr/local/rejik3/banlists/warez/urls.cache
2016-07-06 08:07:01 [36451] Load 2377 rules from /usr/local/rejik3/banlists/web-mail/urls.cache
2016-07-06 08:07:01 [36451] Redirector start and working (3.2.12)
cat /usr/local/rejik3/redirector.conf
Код: Выделить всё
##############################################################
## 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/rejik3/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
#
# write_hostname_to_log on # Write client hostname to change log
#
#####################################################################
#
# 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/rejik3/redirector.err
change_log /usr/local/rejik3/redirector.log
make-cache /usr/local/rejik3/make-cache
work_ip 127.0.0.1/8
work_ip 192.168.10.0/24
allow_urls /usr/local/rejik3/banlists/allow_urls
#write_hostname_to_log on
<ALLOWED>
ban_dir /usr/local/rejik3/banlists/allowed
url http://192.168.10.240/ban/access_denied.html
work_ip 192.168.10.0/24
action pass
<BANNER>
ban_dir /usr/local/rejik3/banlists/banners
url http://192.168.10.240/ban/1x1.gif
<JS>
ban_dir /usr/local/rejik3/banlists/js
url http://192.168.10.240/ban/js.js
<PORNO>
ban_dir /usr/local/rejik3/banlists/porno
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
<MP3>
ban_dir /usr/local/rejik3/banlists/mp3
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
<SOCNET>
ban_dir /usr/local/rejik3/banlists/socnet
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
<PROXY>
ban_dir /usr/local/rejik3/banlists/proxy
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
<avto-moto>
ban_dir /usr/local/rejik3/banlists/avto-moto
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
allow_ip 192.168.10.83
<buysell>
ban_dir /usr/local/rejik3/banlists/buysell
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
allow_ip 192.168.10.83
<chats>
ban_dir /usr/local/rejik3/banlists/chats
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
<cloud-storage>
ban_dir /usr/local/rejik3/banlists/cloud-storage
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
allow_ip 192.168.10.20
allow_ip 192.168.10.201
<dating>
ban_dir /usr/local/rejik3/banlists/dating
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
<extremism_rf>
ban_dir /usr/local/rejik3/banlists/extremism_rf
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
<icq>
ban_dir /usr/local/rejik3/banlists/icq
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
<jobsearch>
ban_dir /usr/local/rejik3/banlists/jobsearch
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
allow_ip 192.168.10.148
<online-games>
ban_dir /usr/local/rejik3/banlists/online-games
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
<phishing>
ban_dir /usr/local/rejik3/banlists/phishing
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
<photogallery>
ban_dir /usr/local/rejik3/banlists/photogallery
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
<remote-control>
ban_dir /usr/local/rejik3/banlists/remote-control
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
allow_ip 192.168.10.2
<software>
ban_dir /usr/local/rejik3/banlists/software
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
allow_ip 192.168.10.2
<spyware>
ban_dir /usr/local/rejik3/banlists/spyware
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
<torrents>
ban_dir /usr/local/rejik3/banlists/torrents
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
<virus>
ban_dir /usr/local/rejik3/banlists/virus
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
<vpn>
ban_dir /usr/local/rejik3/banlists/vpn
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
<warez>
ban_dir /usr/local/rejik3/banlists/warez
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
<web-mail>
ban_dir /usr/local/rejik3/banlists/web-mail
url http://192.168.10.240/ban/access_denied.html
allow_ip f:/usr/local/rejik3/banlists/unlim
Re: Падения squid
Добавлено: Ср июл 06, 2016 8:29
Slava
На первый взгляд проблем не вижу.
Покажите результат ps axu|grep redirector
У вас прописано 20 процессов редиректоров в конфиге сквида?
Обычно хватает 2-5. Пропишите 2 и последите за логами сквида, будет ли писать, что не хватает.
Re: Падения squid
Добавлено: Ср июл 06, 2016 8:38
Slava
Когда начнет есть память, сделайте опять ps axu|grep redirector, сравните, изменилось ли что-то.
Аналогично можно сделать с процессом сквида.
А так же читаем логи сквида, что с ним происходит, особенно в случае падения.
Re: Падения squid
Добавлено: Ср июл 06, 2016 12:26
Egenius
Код: Выделить всё
ps axu|grep squid
root 37611 0.0 0.0 109988 5148 ? Ss 09:49 0:00 /usr/sbin/squid -sYC
squid 37613 6.8 74.6 12048376 11924856 ? R 09:49 14:51 (squid-1) -sYC
squid 40670 0.1 0.0 68204 2164 ? S 13:20 0:00 (ssl_crtd) -s /opt/squid_ssldb/ssl_db -M 4MB
squid 40671 0.0 0.0 68204 1504 ? S 13:20 0:00 (ssl_crtd) -s /opt/squid_ssldb/ssl_db -M 4MB
squid 40672 0.0 0.0 68204 1504 ? S 13:20 0:00 (ssl_crtd) -s /opt/squid_ssldb/ssl_db -M 4MB
squid 40673 0.0 0.0 68156 1416 ? S 13:20 0:00 (ssl_crtd) -s /opt/squid_ssldb/ssl_db -M 4MB
squid 40674 0.0 0.0 68156 1320 ? S 13:20 0:00 (ssl_crtd) -s /opt/squid_ssldb/ssl_db -M 4MB
squid 40675 0.1 0.0 16372 8020 ? S 13:20 0:00 (redirector) /usr/local/rejik3/redirector.conf
squid 40676 0.0 0.0 16372 7872 ? S 13:20 0:00 (redirector) /usr/local/rejik3/redirector.conf
squid 40678 0.0 0.0 16372 7748 ? S 13:20 0:00 (redirector) /usr/local/rejik3/redirector.conf
squid 40679 0.0 0.0 16368 7676 ? S 13:20 0:00 (redirector) /usr/local/rejik3/redirector.conf
squid 40680 0.0 0.0 16368 7680 ? S 13:20 0:00 (redirector) /usr/local/rejik3/redirector.conf
squid 40681 0.0 0.0 16372 7672 ? S 13:20 0:00 (redirector) /usr/local/rejik3/redirector.conf
squid 40682 0.0 0.0 16368 7680 ? S 13:20 0:00 (redirector) /usr/local/rejik3/redirector.conf
squid 40684 0.0 0.0 16368 7680 ? S 13:20 0:00 (redirector) /usr/local/rejik3/redirector.conf
squid 40718 0.0 0.0 16368 7676 ? S 13:21 0:00 (redirector) /usr/local/rejik3/redirector.conf
squid 40719 0.0 0.0 16368 7680 ? S 13:21 0:00 (redirector) /usr/local/rejik3/redirector.conf
squid 40722 0.0 0.0 68156 1320 ? S 13:22 0:00 (ssl_crtd) -s /opt/squid_ssldb/ssl_db -M 4MB
squid 40723 0.0 0.0 68160 1320 ? S 13:22 0:00 (ssl_crtd) -s /opt/squid_ssldb/ssl_db -M 4MB
squid 40724 0.0 0.0 68160 1324 ? S 13:22 0:00 (ssl_crtd) -s /opt/squid_ssldb/ssl_db -M 4MB
squid 40725 0.0 0.0 68160 1316 ? S 13:22 0:00 (ssl_crtd) -s /opt/squid_ssldb/ssl_db -M 4MB
squid 40726 0.0 0.0 68156 1320 ? S 13:22 0:00 (ssl_crtd) -s /opt/squid_ssldb/ssl_db -M 4MB
squid 40727 0.0 0.0 68156 1316 ? S 13:22 0:00 (ssl_crtd) -s /opt/squid_ssldb/ssl_db -M 4MB
squid 40728 0.0 0.0 68156 1320 ? S 13:22 0:00 (ssl_crtd) -s /opt/squid_ssldb/ssl_db -M 4MB
squid 40729 0.0 0.0 68156 1316 ? S 13:22 0:00 (ssl_crtd) -s /opt/squid_ssldb/ssl_db -M 4MB
squid 40730 0.0 0.0 68156 1320 ? S 13:22 0:00 (ssl_crtd) -s /opt/squid_ssldb/ssl_db -M 4MB
squid 40731 0.0 0.0 68160 1316 ? S 13:22 0:00 (ssl_crtd) -s /opt/squid_ssldb/ssl_db -M 4MB
squid 40732 0.0 0.0 68156 1316 ? S 13:22 0:00 (ssl_crtd) -s /opt/squid_ssldb/ssl_db -M 4MB
squid 40733 0.0 0.0 68160 1320 ? S 13:22 0:00 (ssl_crtd) -s /opt/squid_ssldb/ssl_db -M 4MB
squid 40734 0.0 0.0 16368 7688 ? S 13:22 0:00 (redirector) /usr/local/rejik3/redirector.conf
squid 40735 0.0 0.0 16368 7680 ? S 13:22 0:00 (redirector) /usr/local/rejik3/redirector.conf
squid 40737 0.0 0.0 16368 7684 ? S 13:22 0:00 (redirector) /usr/local/rejik3/redirector.conf
squid 40739 0.0 0.0 16368 7676 ? S 13:22 0:00 (redirector) /usr/local/rejik3/redirector.conf
Пробовал ставить 5 процессов, в логах были сообщения что не достаточно редиректоров
Re: Падения squid
Добавлено: Ср июл 06, 2016 13:16
Slava
Сделайте тоже самое, когда начнет заканчиваться память и сравните.
А так же читаем логи сквида.
Re: Падения squid
Добавлено: Ср июл 06, 2016 13:43
Egenius
Это сделано как раз тогда когда пользователи стали жаловаться на отсутствие интернета и свободной памяти на сервере осталось 151 MB
В логах никаких ошибок не обнаружено.
Re: Падения squid
Добавлено: Ср июл 06, 2016 14:04
Slava
Собственно редиректор ест не много, переел процесс (squid-1) -sYC
Возможно течет, возможно только в связке с редиректором.
Попробуйте отключить редиректор, перестанет есть память?
Попробуйте обновиться до последней версии squid.
Re: Падения squid
Добавлено: Ср июл 06, 2016 14:33
Slava
Re: Падения squid
Добавлено: Чт июл 07, 2016 7:20
Egenius
Снова загружена вся память.
в логе cache.log
Код: Выделить всё
2016/07/07 00:04:23 kid1| Logfile: opening log stdio:/var/log/squid/netdb.state
2016/07/07 00:04:23 kid1| Logfile: closing log stdio:/var/log/squid/netdb.state
2016/07/07 00:04:23 kid1| NETDB state saved; 0 entries, 0 msec
2016/07/07 00:04:35 kid1| Error negotiating SSL connection on FD 2734: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:04:38 kid1| Error negotiating SSL connection on FD 2734: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:06:23 kid1| Error negotiating SSL connection on FD 2781: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:06:27 kid1| Error negotiating SSL connection on FD 2784: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:07:31 kid1| Error negotiating SSL connection on FD 2776: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:07:34 kid1| Error negotiating SSL connection on FD 2767: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:15:52 kid1| Error negotiating SSL connection on FD 2860: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:15:56 kid1| Error negotiating SSL connection on FD 2891: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:17:32 kid1| Error negotiating SSL connection on FD 2917: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:17:35 kid1| Error negotiating SSL connection on FD 2918: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:18:57 kid1| Error negotiating SSL connection on FD 2945: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:19:00 kid1| Error negotiating SSL connection on FD 2921: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:29:19 kid1| Error negotiating SSL connection on FD 3083: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:29:22 kid1| Error negotiating SSL connection on FD 3085: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:29:56 kid1| Error negotiating SSL connection on FD 3062: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:31:00 kid1| Error negotiating SSL connection on FD 3059: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:32:03 kid1| Error negotiating SSL connection on FD 3074: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:32:07 kid1| Error negotiating SSL connection on FD 3030: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:38:45 kid1| Error negotiating SSL connection on FD 3164: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:38:48 kid1| Error negotiating SSL connection on FD 3185: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:39:22 kid1| Error negotiating SSL connection on FD 3191: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:40:26 kid1| Error negotiating SSL connection on FD 3125: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:41:03 kid1| Error negotiating SSL connection on FD 3135: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:41:06 kid1| Error negotiating SSL connection on FD 3192: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:52:22 kid1| Error negotiating SSL connection on FD 3353: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 00:52:25 kid1| Error negotiating SSL connection on FD 3353: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
2016/07/07 01:00:48 kid1| Error negotiating SSL connection on FD 3435: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (1/0)
Re: Падения squid
Добавлено: Пт июл 08, 2016 13:01
Egenius
Похоже проблема только когда включен режик.
У меня по крону в обед меняется конфиг режика, отключая блокировки, после обеда конфиг меняется обратно. При этом производится squid reload
Через некоторое время после этого сквид начинает съедать всю память.
С отключенным режиком проблем не наблюдаю.
Re: Падения squid
Добавлено: Пт июл 08, 2016 16:11
Slava
1. А с утра до обеда память не ест?
2. В чем разница конфигов?
3. Если вместо reload делать restart, будет тоже самое?
Re: Падения squid
Добавлено: Пн июл 11, 2016 10:01
Egenius
Разница конфигов в отсутствии всех блэклистов, кроме BANNERS и JS
Остальное всё так же.
Пробовал отключать это обеденное переключение и перезапускал сквид.
Через некоторое время память снова заканчивалась.
Есть подозрения что виной может быть в прозрачном проксировании и использовании ssl_bump
Непонятно только почему без режика проблем с памятью не наблюдаются.