Dear all,

Saya secara tidak sengaja mengubah sesuatu entah di konfigurasi SARG atau SQUID sehingga report yang ada di webmin tidak lagi menampilkan DENIED report dan HIT-nya. jadi SARG langsung menampilkan top sites.

Apakah ada yang tahu kenapa?

Thanks.


Ferry

-------------------------------------------------------------------------------------------------------------
Berikut ini file squid.conf

http_port 3128 transparent
hierarchy_stoplist cgi-bin ? .js .jsp
cache_mem 256 MB
cache_swap_low 98
cache_swap_high 99
cache_dir ufs /cache 9000 4 256
cache_mgr mailtomyitan...@gmail.com
pid_filename /var/run/squid.pid
logfile_rotate 14
shutdown_lifetime 10 seconds

ipcache_size 4096
ipcache_low 98
ipcache_high 99
fqdncache_size 4096
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
negative_ttl 2 minutes
maximum_object_size_in_memory 1024 KB
maximum_object_size 4096 KB
minimum_object_size 4 KB
buffered_logs on
redirect_program /usr/bin/squidGuard
redirect_children 10

acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl QUERY urlpath_regex cgi-bin \? .js .jsp
no_cache deny QUERY

refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
refresh_pattern (Release|Package(.gz)*)$        0       20%     2880
refresh_pattern .               0       20%     4320
quick_abort_min 16 KB
quick_abort_max 16 KB
quick_abort_pct 95

acl purge method PURGE
acl CONNECT method CONNECT

acl it1 src 192.168.1.31/255.255.255.255
acl it2 src 192.168.1.70/255.255.255.255

http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access allow localhost
http_access allow it1
http_access allow it2
http_reply_access allow all
http_access deny all
icp_access deny all
icp_access deny all
always_direct deny all
snmp_port 3401
acl snmpsquid snmp_community public
snmp_access allow snmpsquid localhost
snmp_access deny all
tcp_outgoing_address 123.231.xx.xx
udp_outgoing_address 123.231.xx.xx
udp_incoming_address 123.231.xx.xx


Kalau ini file sarg.conf

language English
access_log /var/log/squid/access.log
title "Squid User Access Reports"
font_face Tahoma,Verdana,Arial
header_color darkblue
header_bgcolor blanchedalmond
font_size 9px
background_color white
text_color #000000
text_bgcolor lavender
title_color green
temporary_dir /tmp
output_dir /var/www/squid-reports
resolve_ip
user_ip no
topuser_sort_field BYTES reverse
user_sort_field BYTES reverse
exclude_users /etc/squid/sarg.users
exclude_hosts /etc/squid/sarg.hosts
date_format u
remove_temp_files yes
index yes
index_tree file
overwrite_report yes
records_without_userid ip
use_comma yes
topsites_num 100
topsites_sort_order CONNECT D
index_sort_order D
exclude_codes /etc/squid/sarg.exclude_codes
max_elapsed 28800000
usertab /etc/squid/sarg.usertab
long_url no
date_time_by bytes
charset Latin1
privacy no
show_successful_message no
show_read_statistics no
topuser_fields NUM DATE_TIME USERID CONNECT BYTES %BYTES IN-CACHE-OUT USED_TIME MILISEC %TIME TOTAL AVERAGE user_report_fields CONNECT BYTES %BYTES IN-CACHE-OUT USED_TIME MILISEC %TIME TOTAL AVERAGE
site_user_time_date_type table


--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke tanya-jawab-unsubscr...@linux.or.id
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke