On Wed, 2004-06-23 at 00:56, Bambang wrote: > Dear, > > Rekan milist, saya mau tanya dua hal ttg squid. > 1. bisa tidak http_access dan acl memberikan 2 network yang di allow. > a. Maksudnya http_access ktrpusat 192.168.1.0/24 dan http_access ktrcabang > 192.168.2.0/24
> 2. tempo hari saya âsempat membacaâ cara block porn site lewat squid yang > bagus, sayang file yang saya cari hilang/ tidak ketemu, > pada waktu si user browsing site porno, browsernya memberikan peringatan dan > sekaligus memberikan alternatif site-2x (misal kerohanian). > Editnya dari mana ? atau ada yang punya site rujukannya. - pakai squidguard (download dan install) - contoh squidguard.conf (milik) say --------------------------------------- logdir /usr/local/squidGuard/log dbhome /usr/local/squidGuard/db dest gambling{ log /usr/local/squid/var/logs/gambling domainlist gambling/domains urllist gambling/urls } dest porn{ log /usr/local/squid/var/logs/porn domainlist porn/domains urllist porn/urls } dest warez{ log /usr/local/squid/var/logs/warez domainlist warez/domains urllist warez/urls } dest hacking{ log /usr/local/squid/var/logs/hacking domainlist hacking/domains urllist hacking/urls } dest proxy{ log /usr/local/squid/var/logs/proxy domainlist proxy/domains urllist proxy/urls } dest violence{ log /usr/local/squid/var/logs/violence domainlist violence/domains urllist violence/urls } dest audio-video{ log /usr/local/squid/var/logs/audio-video domainlist audio-video/domains urllist audio-video/urls } dest aggressive{ log /usr/local/squid/var/logs/aggressive domainlist aggressive/domains urllist aggressive/urls } dest drugs{ log /usr/local/squid/var/logs/drugs domainlist drugs/domains urllist drugs/urls } acl { default { pass !porn !warez !gambling !hacking !proxy !violence !audio-video !aggressive !drugs all #redirect 302:http://www.google.com redirect 302:http://www.gerejakasihkristus.org #redirect 302:http://192.168.0.11/ } } ------------------------------------------------------- - setting di squid.conf sbb: (tambahkan baris berikut) redirect_program /usr/local/bin/squidGuard -c \ /usr/local/squidGuard/squidGuard.conf restart squid anda semoga membantu salam, eddy > > Salam, > Bambang > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.703 / Virus Database: 459 - Release Date: 6/10/2004 > > -- Unsubscribe: kirim email kosong ke [EMAIL PROTECTED] Arsip dan info di http://linux.or.id/milis.php FAQ milis http://linux.or.id/faq.php