witam mam taki problem obojetnie ile razy wejde na jakas strone zawsze wwala mi tos=0x0 nigdy nie ma tos=0x8.
zastanawiam sie czy to jest normalne bo gdy restartuje squida za kazdym razem wywala mi creating swap directories
# squid.conf
# by Adi v 0.5 2006-09-26
http_port 3128 transparent
icp_port 0
cache_mem 512 MB
cache_swap_high 95
cache_swap_low 90
ipcache_size 16384
fqdncache_size 0
zph_tos_local 8
zph_tos_peer 0
zph_tos_parent off
store_avg_object_size 14 KB
maximum_object_size 200 MB
maximum_object_size_in_memory 256 KB
cache_dir ufs /var/spool/squid 4096 16 256
redirect_rewrites_host_header off
cache_log /var/spool/squid/cache.log
cache_access_log /var/log/squid/access.log
cache_store_log none
logfile_rotate 7
buffered_logs on
error_directory /usr/share/squid/errors/Polish
log_icp_queries off
debug_options ALL,1
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
memory_pools off
sleep_after_fork 2000
shutdown_lifetime 10 seconds
client_persistent_connections off
pid_filename /var/run/squid.pid
cache_effective_user proxy
cache_effective_group proxy
visible_hostname router
dns_nameservers 194.204.159.1 194.204.152.34 127.0.0.1
ie_refresh on
half_closed_clients off
forwarded_for off
reload_into_ims on
#cache_mgr
chemixxx@wp.pl#cachemgr_passwd adrian all
acl all src 0.0.0.0/0.0.0.0
acl localnet src 192.168.1.0/255.255.255.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin cgi \? .ra
no_cache deny QUERY
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
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
#acl zablokowani src "/etc/squid/blokip.conf"
acl nolimit url_regex -i 192.168.1
acl nolimitip src 192.168.1.1
acl limit url_regex -i ftp .zip .tgz .bin .pdf .exe .mp3 .wma .vqf .tar.gz .gz .rpm .rar .avi .mpeg .mpe .mpg .qt .ram .rm .iso .raw .wav .mov .torrent .html .gif .png .htm .cgi .php .asp .cgi-bin .js .css .jpg .swf
delay_pools 2
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_access 1 allow nolimit
delay_access 1 allow nolimitip
delay_class 2 2
delay_parameters 2 500000/500000 16000/16000000
delay_access 2 allow limit
#http_access deny zablokowani
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access deny all
icp_access allow all
# iptables -t nat -A PREROUTING -i $INTIF1 -p tcp --dport 80 -j REDIRECT --to-port 3128
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern -i (.*jpg$|.*gif$) 0 50% 28800 reload-into-ims
refresh_pattern -i (.*png$|.*bmp$) 0 50% 28800 reload-into-ims
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
refresh_pattern windowsupdate.com/.*\.(cab|exe) 0 100% 28800 reload-into-ims
refresh_pattern download.microsoft.com/.*\.(cab|exe) 0 100% 28800 reload-into-ims