Live Journal

All About Log

squid analys di smoothwall

download sw_squidlogs.tgz

tar -zxvf /tmp/sw_squidlogs.tgz -C /

cp /home/httpd/html/ui/assets/3.6/img/pagetitles/page-proxylog.dat.png \ /home/httpd/html/ui/assets/3.6/img/pagetitles/page-squid.png

lalu edit /var/smoothwall/main/ui/

setelah baris

'proxylog.dat' => '<font class=\'pagetitle\'>Web Proxy Log Viewer</font><br>Check logs for the web proxy service.',

masukkan ini

'squid.cgi' => '<font class=\'pagetitle\'>Web Proxy Log Analysis Report</font><br>Analyse traffic through the web proxy service.',

edit file /var/smoothwall/langs/
setelah baris 
'ssweb proxy' => 'web proxy',
masukkan ini
'ssweb proxy log' => 'web proxy analysis',
setelah baris
'proxy log viewer' => 'Proxy log viewer',
masukkan ini
'proxy log analysis' => 'Web proxy log analysis',
Edit /var/smoothwall/
setelah baris
&subsectiontab('/cgi-bin/logs.cgi/proxylog.dat', $tr{'ssweb proxy'}, 0);
masukkan ini
&subsectiontab('/cgi-bin/logs.cgi/squid.cgi', $tr{'ssweb proxy log'}, 0);
lalu edit file /home/httpd/cgi-bin/logs.cgi/.htaccess
<Files squid.cgi>
require user admin
untuk melakuakn test ketik perintah 
untuk melihat hasil 
more /usr/local/squid-logs/report.txt
agar laporan analisa squid di cek setiap hari edit file /etc/crontab:
# generate web proxy analysis report
00 3 * * * root /usr/local/squid-logs/ > /dev/null
berikut screen shots nya


One response to “squid analys di smoothwall

  1. freee May 29, 2008 at 6:34 am


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: