Integrasi squidGuard ke Squid

From OnnoWiki
Revision as of 12:28, 11 May 2010 by Onnowpurbo (talk | contribs) (→‎Pranala Menarik)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Pastikan file blacklist dan db dimiliki oleh user squid. Jika squid tidak bisa akses maka proses blocking tidak jalan.

Test squidGuard

# echo "http://www.example.com 10.0.0.1/ - - GET" | squidGuard -c /tmp/test.cfg -d 


Jika berjalan dengan baik & situs example.com bukan situs yang di block maka akan tampak pada log

2007-03-25 16:18:05 [30042] squidGuard ready for requests (1174832285.085)
2007-03-25 16:18:05 [30042] squidGuard stopped (1174832285.089)

Masukan squidGuard ke squid.conf, perhatikan baik-baik path yang digunakan harus sesuai dengan yang anda gunakan,

redirect_program /usr/local/bin/squidGuard -c /usr/local/squidGuard/squidGuard.conf


Pranala Menarik