Re: Squid "co by w nim jeszcze zmienić"

Autor: AmF1k <asthma_at_labnet.gliwice.pl>
Data: Wed 04 Aug 2004 - 22:24:33 MET DST
Message-ID: <cerglt$4r$1@atlantis.news.tpi.pl>

Użytkownik "paol" <paolss@poczta.onet.pl> napisał w wiadomości
news:26c3.0000029e.4111144e@newsgate.onet.pl...
> squid.conf:
> http_port 8081
> icp_port 3131
> hierarchy_stoplist cgi-bin ? avi mp3 mpeg zip
> acl QUERY urlpath_regex cgi-bin \? \.mp3$ \.zip$ \.avi$ \.mpeg$
> no_cache deny QUERY
> acl mmedia urlpath_regex -i \.mp3$ \.mpeg$ \.avi$ \.mov$ \.mpg$ \.wma$
> acl mmedia urlpath_regex \.avi$ \.mpeg$ \.mp3$ \.mov$ \.mpg$ \.wma$
> acl mmedia urlpath_regex -i .mp3$ .avi$ .asf$ .mpg$ .mpeg$ .m2v$ .rm$
> .wmv$ . mov$
> no_cache deny mmedia
> cache_mem 512 MB
> cache_swap_low 80
> cache_swap_high 100
> maximum_object_size 32768 KB
> minimum_object_size 0 KB
> maximum_object_size_in_memory 128 KB
> ipcache_size 32768
> fqdncache_size 0
> cache_replacement_policy heap LFUDA
> memory_replacement_policy heap GDSF
> client_db off
> buffered_logs on
> log_icp_queries off
> memory_pools on
> log_fqdn off
> strip_query_terms off
> dns_nameservers 127.0.0.1
> positive_dns_ttl 2 hours
> negative_dns_ttl 2 hours
> cache_dns_program /usr/local/squid2/bin/dnsserver
> dns_children 32
> negative_ttl 30 seconds
> cache_dir diskd /cache0 7000 16 256 Q1=80 Q2=72
> cache_dir diskd /cache1 7000 16 256 Q1=80 Q2=72
> cache_dir diskd /cache6 7000 16 256 Q1=80 Q2=72
> cache_dir diskd /cache7 7000 16 256 Q1=80 Q2=72
> cache_dir diskd /cache2 7000 16 256 Q1=80 Q2=72
> cache_dir diskd /cache3 7000 16 256 Q1=80 Q2=72
> cache_dir diskd /cache4 7000 16 256 Q1=80 Q2=72
> cache_dir diskd /cache5 7000 16 256 Q1=80 Q2=72
> store_dir_select_algorithm round-robin
> cache_access_log /dev/null
> cache_log /usr/local/squid2/var/logs/cache.log
> cache_store_log none
> redirect_rewrites_host_header off
> request_header_max_size 128 KB
> request_body_max_size 0 KB
> refresh_pattern -i (.*jpg$|.*gif$) 0 50% 28800
> refresh_pattern -i (.*html$|.*htm|.*shtml) 0 20% 1440
> refresh_pattern (http://.*/$) 0 20% 1440
> refresh_pattern ^ftp: 1440 20% 10080
> refresh_pattern ^gopher: 1440 0% 1440
> refresh_pattern . 0 20% 4320
> quick_abort_min -1
> quick_abort_max 0 KB
> quick_abort_pct 95
> range_offset_limit 0 KB
> maximum_single_addr_tries 5
> connect_timeout 60 minute
> read_timeout 5 minutes
> request_timeout 30 seconds
> persistent_request_timeout 60 minute
> client_persistent_connections off
> client_lifetime 3600 minutes
> half_closed_clients off
> pconn_timeout 60 seconds
> shutdown_lifetime 30 seconds
> acl all src 0.0.0.0/0.0.0.0
> acl manager proto cache_object
> acl localhost src 127.0.0.1/255.255.255.255
> acl to_localhost dst 127.0.0.0/8
> acl SSL_ports port 443 563
> acl Safe_ports port 80 # http
> acl Safe_ports port 21 # ftp
> acl Safe_ports port 443 563 # https, snews
> 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 CONNECT method CONNECT
> http_access allow manager localhost
> http_access deny manager
> # Deny requests to unknown ports
> http_access deny !Safe_ports
> # Deny CONNECT to other than SSL ports
> http_access deny CONNECT !SSL_ports
> acl our_networks src xxx.xxx.xxx.xxx/xx
> http_access allow our_networks
> http_access deny all
> http_reply_access allow all
> cache_effective_user nobody
> forwarded_for on
> store_avg_object_size 32 KB
> store_objects_per_bucket 36
> reload_into_ims on
> snmp_port 3402
> snmp_access allow localhost
> snmp_access deny all
> wccp_router 192.168.6.1
> wccp_version 4
> #wccp_incoming_address
> # wccp_outgoing_address 255.255.255.255
> ie_refresh on
> httpd_accel_host virtual
> httpd_accel_port 80
> httpd_accel_with_proxy on
> httpd_accel_uses_host_header on
> #offline_mode on
> max_open_disk_fds 8192
> Parametry kompilowania:
> ./configure --disable-internal-dns --with-dl --with-aio --enable-carp
> --enable-http-violations --with-pthreads --enable-storeio=ufs,aufs,diskd
> --enable-removal-policies="heap lru" --enable-delay-pools --enable-wccp
> --enable-snmp --enable-linux-netfilter --disable-ident-lookups
> --disable-hostname-checks --enable-underscores --enable-async-io=160
> --enable-pool --enable-truncate --enable-cache-digests
> --prefix=/usr/local/squid2

a wystepuja jakies problemy na takowej ?:))

--
Pozdrawiam
J.
:---------------------------: Jacek Zaręba :---------------------------:
 gg: 1186306  :: "Nie chciałem być wulgarny, używać brudnych słów"
 gsm: 505262929 :: http://www.offmusic.pl/farben/start.swf
 email: jacek at malenstwo dot net :: Farben Lehre
:----------------------------------------------------------------------:
Received on Wed Aug 4 22:25:23 2004

To archiwum zostało wygenerowane przez hypermail 2.1.8 : Wed 04 Aug 2004 - 22:40:01 MET DST