Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam
Nie wiem jak wyłączyć logowanie do sysloga squida ciągle mi go zawala takimi wpisami
Apr 13 12:56:02 xx--xx squid[25662]: ZPH: Preserving TOS on miss, TOS=0 Apr 13 12:56:02 xx--xx squid[25662]: ZPH: Preserving TOS on miss, TOS=0 Apr 13 12:56:02 xx--xx squid[25662]: ZPH: Preserving TOS on miss, TOS=0 Apr 13 12:56:02 xx--xx squid[25662]: ZPH: Preserving TOS on miss, TOS=0 Apr 13 12:56:02 xx--xx squid[25662]: ZPH hit hier.code=0 TOS=8
squid.conf
http_port 8080 transparent icp_port 0 dns_nameservers 10.0.1.1 tcp_outgoing_address xx.xx.xx.xx udp_outgoing_address xx.xx.xx.xx # Wylaczamy cache'owanie cgi i tresci dynamicznych hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? cache deny QUERY cache_mem 583 MB cache_swap_low 80% cache_swap_high 95% maximum_object_size 6 MB minimum_object_size 0 KB maximum_object_size_in_memory 128 KB # Maksymalny rozmiar naglowka request_header_max_size 50 KB ipcache_size 16384 #ipcache_low 90 #ipcache_high 95 fqdncache_size 0 cache_replacement_policy heap LFUDA memory_replacement_policy heap GDSF cache_dir ufs /cache 6144 12 256 #cache_access_log /cache/access.log #cache_store_log /cache/store.log # access_log none # cache_log none #cache_store_log none refresh_pattern -i \.(gif|jpg|jpeg|png|html|bmp) 0 50% 7200 reload-into-ims refresh_pattern -i \.(zip|gz|bz2|exe|rar|mp3|mpg|avi|wmv|vqf|ogg) 43200 100% 43200 reload-into-ims refresh_pattern windowsupdate.com/.*\.(cab|exe|dll) 43200 100% 43200 reload-into-ims refresh_pattern download.microsoft.com/.*\.(cab|exe|dll) 43200 100% 43200 reload-into-ims refresh_pattern au.download.windowsupdate.com/.*\.(cab|exe|dll) 43200 100% 43200 reload-into-ims refresh_pattern symantecliveupdate.com/.*\.(zip|exe) 43200 100% 43200 reload-into-ims refresh_pattern windowsupdate.com/.*\.(cab|exe) 43200 100% 43200 reload-into-ims refresh_pattern download.microsoft.com/.*\.(cab|exe) 43200 100% 43200 reload-into-ims refresh_pattern avast.com/.*\.(vpu|vpaa) 43200 100% 43200 reload-into-ims refresh_pattern . 0 20% 4320 # Timeouty half_closed_clients off # Przyspieszamy przez wlaczenie pipelining pipeline_prefetch on # Niedociagniete pliki #quick_abort_min 0 KB #quick_abort_max 0 KB #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 1025-65535 # pozostale porty acl purge method PURGE acl CONNECT method CONNECT # Apache zjebane headery acl apache rep_header Server ^Apache #broken_vary_encoding allow apache acl mala_siec src 10.0.1.0/24 acl blok_reklam url_regex "/usr/local/squid/reklamy.acl" acl polaczenia maxconn 50 #acl blok_pliki url_regex "/usr/local/squid/pliki.acl" http_access deny blok_reklam #http_access deny blok_pliki http_access allow all http_access allow mala_siec http_access deny purge http_access allow purge localhost http_access deny manager http_access allow manager localhost http_access deny polaczenia mala_siec http_access allow mala_siec http_access allow localhost #http_access deny all http_reply_access allow all icp_access deny all httpd_suppress_version_string on visible_hostname localhost memory_pools_limit 100 MB forwarded_for on reload_into_ims on #coredump_dir /cache ie_refresh on zph_tos_local 8 zph_tos_peer 0 zph_tos_parent off relaxed_header_parser off url_rewrite_program /usr/sbin/lms-squid url_rewrite_children 20 # Tutaj chyba jasno ;-) w cachemgr_passwd wpisac haslo jakie chcemy do cachemgr visible_hostname xxxx.pl cache_mgr admin@xxx cachemgr_passwd xxxx shutdown offline_toggle config coredump_dir /cache
Niby wszystkie logi squida wyłączone a dalej sieje w syslogu
Ostatnio edytowany przez kaju007 (2010-04-13 13:04:25)
Offline