Страница 1 из 1

squid без кэширования

Добавлено: 2011-02-03 14:37:03
ttys
тут сказано:
Как запустить squid без кэширования страниц и балансировкой трафика. [исправить]

# Запрещаем кэширование
acl all src 0/0
no_cache deny all
# Пересобираем с поддержкой null хранилища.
./configure --enable-storeio=ufs,null
# Включаем поддержку null кэша.
cache_dir null /tmp
# Балансировка трафика между тремя каналами:
acl satalite_link src 192.168.1.0/255.255.255.0
tcp_outgoing_address 192.168.1.1 satalite_link
tcp_outgoing_address 192.168.1.2
я не нашёл про
ufs,null

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

OPTIONS=        SQUID_KERB_AUTH "Install Kerberos authentication helpers" on \
                SQUID_LDAP_AUTH "Install LDAP authentication helpers" off \
                SQUID_NIS_AUTH "Install NIS/YP authentication helpers" on \
                SQUID_SASL_AUTH "Install SASL authentication helpers" off \
                SQUID_IPV6 "Enable IPv6 support" on \
                SQUID_DELAY_POOLS "Enable delay pools" off \
                SQUID_SNMP "Enable SNMP support" on \
                SQUID_SSL "Enable SSL support for reverse proxies" off \
                SQUID_PINGER "Install the icmp helper" off \
                SQUID_DNS_HELPER "Use the old 'dnsserver' helper" off \
                SQUID_HTCP "Enable HTCP support" on \
                SQUID_VIA_DB "Enable forward/via database" off \
                SQUID_CACHE_DIGESTS "Enable cache digests" off \
                SQUID_WCCP "Enable Web Cache Coordination Prot. v1" on \
                SQUID_WCCPV2 "Enable Web Cache Coordination Prot. v2" off \
                SQUID_STRICT_HTTP "Be strictly HTTP compliant" off \
                SQUID_IDENT "Enable ident (RFC 931) lookups" on \
                SQUID_REFERER_LOG "Enable Referer-header logging" off \
                SQUID_USERAGENT_LOG "Enable User-Agent-header logging" off \
                SQUID_ARP_ACL "Enable ACLs based on ethernet address" off \
                SQUID_IPFW "Enable transparent proxying with IPFW" off \
                SQUID_PF "Enable transparent proxying with PF" off \
                SQUID_IPFILTER "Enable transp. proxying with IPFilter" off \
                SQUID_FOLLOW_XFF "Follow X-Forwarded-For headers" off \
                SQUID_ECAP "En. loadable content adaptation modules" off \
                SQUID_ICAP "Enable ICAP client functionality" off \
                SQUID_ESI "Enable ESI support (experimental)" off \
                SQUID_AUFS "Enable the aufs storage scheme" on \
                SQUID_COSS "Enable COSS (currently not available)" off \
                SQUID_KQUEUE "Use kqueue(2) (experimental)" on \
                SQUID_LARGEFILE "Support log and cache files >2GB" off \
                SQUID_STACKTRACES "Create backtraces on fatal errors" off \
                SQUID_DEBUG "Enable debugging options" off
ЗЫ я ставил из портов

Re: squid без кэширования

Добавлено: 2011-02-03 15:38:09
ttys
решение есть тут
спс Raven2000