-
Path: news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsgate.onet.pl!niusy.
onet.pl
From: "paol" <p...@p...onet.pl>
Newsgroups: pl.internet.polip
Subject: Squid "co by w nim jeszcze zmienić"
Date: 4 Aug 2004 18:52:30 +0200
Organization: Onet.pl SA
Lines: 170
Message-ID: <2...@n...onet.pl>
NNTP-Posting-Host: newsgate.onet.pl
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-2"
Content-Transfer-Encoding: 8bit
X-Trace: newsgate.test.onet.pl 1091638350 24500 213.180.130.18 (4 Aug 2004 16:52:30
GMT)
X-Complaints-To: a...@o...pl
NNTP-Posting-Date: 4 Aug 2004 16:52:30 GMT
Content-Disposition: inline
X-Mailer: http://niusy.onet.pl
X-Forwarded-For: 81.15.187.86, 192.168.243.36
X-User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.50 [en]
Xref: news-archive.icm.edu.pl pl.internet.polip:67321
[ ukryj nagłówki ]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
--
Wysłano z serwisu OnetNiusy: http://niusy.onet.pl
Następne wpisy z tego wątku
- 04.08.04 20:24 AmF1k
- 04.08.04 20:31 Maciej Anczura
- 04.08.04 20:36 Theli
- 04.08.04 20:55 Tomasz Finke
- 04.08.04 21:31 The Obserwer
- 04.08.04 21:32 The Obserwer
- 04.08.04 22:24 Grzegorz Janoszka
- 04.08.04 22:52 AmF1k
- 05.08.04 07:50 Marek
- 05.08.04 11:09 Przemyslaw Popielarski
- 05.08.04 14:56 paol
- 15.08.04 23:17 Lukasz Trabinski
Najnowsze wątki z tej grupy
- Jest tutaj kto? Halo, Darius Expert?
- Czy to konieczne? ATMAN - 30.06.2019 - Wyłączenie news.atman.pl
- pl.internet.polip - is DEAD?
- ovh
- INEA
- Prośba o traceroute z Vectry
- BGP - wszyscy wkładają głowę w piasek.
- http://pl
- Re: Czemu jest wylaczany serwer w3cache.icm.edu.pl ?
- Taaaka integracaj na rynku, a tu nikt, nic..
- Alternatywna sieć dla internetu kiedyś w Polsce
- ooerator gsm + stały ip z revdns
- Dostęp do ip nostrady
- narzędzia do weryfikacji poprawności bazy WHOIS
- T-mobile bawi się w MITM....
Najnowsze wątki
- 2024-10-07 Sprzedawanie zaszyfrowanych filmów na płytach Blu-Ray bez kluczy deszyfrujących
- 2024-10-07 Sprzedawanie zaszyfrowanych filmów na płytach Blu-Ray bez kluczy deszyfrujących
- 2024-10-07 Kraków => Head of International Freight Forwarding Department <=
- 2024-10-07 Sprzedawanie zaszyfrowanych filmów na płytach Blu-Ray bez kluczy deszyfrujących
- 2024-10-07 Aparat, zewnętrzny mikrofon, brum
- 2024-10-07 MĂźnchen => Data Scientist <=
- 2024-10-07 Gdańsk => Full Stack web developer (obszar .Net Core, Angular6+) <=
- 2024-10-07 Kraków => Programista Full Stack .Net <=
- 2024-10-07 Re: Taniocha!!!
- 2024-10-07 Warszawa => Technical Leader (Java Background) <=
- 2024-10-07 Zielona Góra => Power Electronics R&D Engineer <=
- 2024-10-07 Warszawa => Junior New Business Development Manager <=
- 2024-10-07 Warszawa => Key Account Manager <=
- 2024-10-07 Wrocław => Konsultant wdrożeniowy ERP (Symfonia) <=
- 2024-10-07 policja szuka