anak_ilang wrote:
Nah kalo saya sih udah bisa install, tapi waktu coba ngejalanin perintah sbb:
[EMAIL PROTECTED] ads]# echo "http://www.playboy.com 192.168.0.254/--GET" | squidGuard -c /etc/squidGuard.conf -d 2005-02-22
hasilnya spt ini:
2005-02-22 17:57:16 [10684] error parsing squid line: http://www.playboy.com
Maaf, yang kemarin sudah bisa. Ternyata cuma gara2 gak ada spasi pada "http://www.playboy.com 192.168.0.254/- - GET". Namun masih ada masalah lagi nih, yaitu tetap tidak bisa MEMBLOKIR situs-situs porno spt www.playboy.com
Berikut ini saya sertakan konfigurasi squid saya.
-----------------------------------------------------------------------------------------------------------
http_port 192.168.0.254:8080
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 20 MB
maximum_object_size 10000 KB
# client_netmask 255.255.255.255
redirect_program /usr/local/bin/squidGuard -c /etc/squidGuard.conf redirect_children 5
#Suggested default:
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
#Recommended minimum configuration:
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 81 # Konfigurasi Router
acl CONNECT method CONNECT
http_access allow manager localhost http_access deny manager # Deny requests to unknown ports http_access deny !Safe_ports # Deny CONNECT to other than SSL ports http_access deny CONNECT !SSL_ports
acl our_networks src 192.168.0.0/24
# Allow our_networks access to this proxy
http_access allow our_networks
# And finally deny all other access to this proxy http_access deny all http_reply_access allow all
cache_mgr root
cache_effective_user squid
cache_effective_group squid
--------------------------------------------------------------------------------------
Apakah ada yang salah dengan konfigurasi squid saya di atas. Untuk konfigurasi squidGuardnya saya mengikuti contoh sama persis dengan tulisan Bung Avudz.
Makasih
Catur
-- Unsubscribe: kirim email kosong ke [EMAIL PROTECTED] Arsip, FAQ, dan info milis di http://linux.or.id/milis Tidak bisa posting? Baca: http://linux.or.id/problemmilis http://linux.or.id/tatatertibmilis
