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/alertboxes.en.pl

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/base.pl
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/header.pl
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
</Files>
untuk melakuakn test ketik perintah 
/usr/local/squid-logs/run.pl
untuk melihat hasil 
/usr/local/squid-logs/report.txt
/usr/local/squid-logs/summary
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/run.pl > /dev/null
berikut screen shots nya





ref: http://martybugs.net/smoothwall/

One response to “squid analys di smoothwall

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

    “““$^%(#&%)%(%&*%
    “:LUREMRUR/../,,,l]
    rrg
    rgedrg

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: