Перейти из форума на сайт.

НовостиФайловые архивы
ПоискАктивные темыТоп лист
ПравилаКто в on-line?
Вход Забыли пароль? Первый раз на этом сайте? Регистрация
Компьютерный форум Ru.Board » Компьютеры » В помощь системному администратору » SQUID (только под *nix)

Модерирует : lynx, Crash_Master, dg, emx, ShriEkeR

 Версия для печати • ПодписатьсяДобавить в закладки
На первую страницук этому сообщениюк последнему сообщению

Открыть новую тему     Написать ответ в эту тему

Mac_Sym

Newbie
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору

http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
 
cache_mem 256 MB
cache_swap_low 90
cache_swap_high 95
 
maximum_object_size 16384 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 8 KB
 
ipcache_size 1024
ipcache_low 90
ipcache_high 95
 
fqdncache_size 1024
cache_replacement_policy lru
memory_replacement_policy lru
 
cache_dir ufs /var/squid/cache/squid 20000 16 256
access_log daemon:/var/log/squid/access.log squid
logformat mylog %{%d.%m.%Y %H:%M:%S}tl.%03tu %6tr %>a %Ss/%>Hs %<st %rm %ru %un %Sh/%<A %mt
access_log stdio:/var/log/squid/access_syslog.log mylog
cache_log /var/log/squid/cache.log
 
cache_store_log daemon:/var/log/squid/store.log
cache_store_log stdio:/var/log/squid/store.log
mime_table /usr/local/etc/squid/mime.conf
log_mime_hdrs off
pid_filename /var/run/squid/squid.pid
debug_options ALL,1
client_netmask 255.255.255.255
 
ftp_user Squid@
ftp_passive on
ftp_sanitycheck on
 
check_hostnames on
hosts_file /etc/hosts
 
url_rewrite_program /usr/local/bin/squidGuard
url_rewrite_children 5 startup=0 idle=1 concurrency=0
 
refresh_pattern ^ftp:        1440    20%    10080
refresh_pattern ^gopher:    1440    0%    1440
refresh_pattern -i (/cgi-bin/|\?) 0    0%    0
refresh_pattern .        0    20%    4320
 
quick_abort_min 16 KB
quick_abort_max 16 KB
quick_abort_pct 95
 
read_ahead_gap 16 KB
 
negative_ttl 5 minutes
positive_dns_ttl 6 hours
negative_dns_ttl 1 minute
dns_v4_first on
 
forward_timeout 4 minutes
connect_timeout 60 second
read_timeout 15 minutes
request_timeout 5 minutes
persistent_request_timeout 1 minute
half_closed_clients on
ident_timeout 10 seconds
shutdown_lifetime 30 seconds
 
acl x-mms-framed rep_mime_type -i ^application/x-mms-framed$
 
acl AllUsers src all
 
acl SSL_ports port 443 7002 8101 8443 2400 7091 4064 4068 10240
acl Safe_ports port 80        # http
acl Safe_ports port 8080    # http
acl Safe_ports port 21        # ftp
acl Safe_ports port 443        # https
acl Safe_ports port 70        # gopher
acl Safe_ports port 210        # wais
acl Safe_ports port 1025-65535    # unregistered ports
acl Safe_ports port 280        # http-mgmt
acl Safe_ports port 488        # gss-http
acl Safe_ports port 591        # filemaker
acl Safe_ports port 777        # multiling http
acl Safe_ports port 7002    # for iFOBS
acl CONNECT method CONNECT
 
# Deny requests to unknown ports
http_access deny !Safe_ports
 
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
 
cache_mgr proxy@domain
cache_effective_user squid
cache_effective_group squid
visible_hostname proxy.domain
 
logfile_rotate 7
 
memory_pools on
memory_pools_limit 5 MB
forwarded_for off
log_icp_queries on
cachemgr_passwd password all
buffered_logs off
icon_directory /usr/local/etc/squid/icons
global_internal_static on
short_icon_urls on
 
error_directory /usr/local/etc/squid/errors/ru
error_log_languages on
err_page_stylesheet /usr/local/etc/squid/errorpage.css
 
uri_whitespace strip
coredump_dir /var/squid/cache/squid
redirector_bypass on
ignore_unknown_nameservers on

Всего записей: 3 | Зарегистр. 25-03-2015 | Отправлено: 12:23 02-04-2015 | Исправлено: Mac_Sym, 09:18 03-04-2015
Открыть новую тему     Написать ответ в эту тему

На первую страницук этому сообщениюк последнему сообщению

Компьютерный форум Ru.Board » Компьютеры » В помощь системному администратору » SQUID (только под *nix)


Реклама на форуме Ru.Board.

Powered by Ikonboard "v2.1.7b" © 2000 Ikonboard.com
Modified by Ru.B0ard
© Ru.B0ard 2000-2024

BitCoin: 1NGG1chHtUvrtEqjeerQCKDMUi6S6CG4iC

Рейтинг.ru