LINUX.ORG.RU

SQUID and low speed requests


0

0

через проксю долго запросы обрабатываются, вот конфиг:

# NETWORK OPTIONS # -----------------------------------------------------------------------------

http_port 3128 httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on

# OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM # -----------------------------------------------------------------------------

hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY

# LOGFILE PATHNAMES AND CACHE DIRECTORIES # -----------------------------------------------------------------------------

cache_dir ufs /var/spool/squid 100 16 256 cache_mem 32 MB cache_access_log /var/log/squid/access.log cache_log /var/log/squid/cache.log cache_store_log /var/log/squid/cach_store.log pid_filename /var/run/squid.pid

# OPTIONS FOR EXTERNAL SUPPORT PROGRAMS # -----------------------------------------------------------------------------

ftp_user Squid@ unlinkd_program /usr/lib/squid/unlinkd

# OPTIONS FOR TUNING THE CACHE # -----------------------------------------------------------------------------

# ACCESS CONTROLS # -----------------------------------------------------------------------------

acl all src 0.0.0.0/0.0.0.0 acl password src 10.0.0.0/24 acl CONNECT method CONNECT

http_access allow password http_access deny CONNECT !password http_access deny all

# ADMINISTRATIVE PARAMETERS # -----------------------------------------------------------------------------

cache_mgr root@advantek.kz cache_effective_user squid cache_effective_group squid

# MISCELLANEOUS # -----------------------------------------------------------------------------

forwarded_for off icon_directory /usr/lib/squid/icons error_directory /etc/squid/errors

visible_hostname Courier.advantek.kz

redirect_program /usr/local/rejik3/redirector /usr/local/rejik3/redirector.conf

anonymous

Re: SQUID and low speed requests

Да, прокся работает как прозрачный прокси через iptables.

anonymous ()
Ответ на: Re: SQUID and low speed requests от anonymous

Re: Re: SQUID and low speed requests

tcp_incoming_address
tcp_outgoing_address
выставить по вкусу

anonymous ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.