gimana cara membatasi download idm user dengan squid???

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
172627
Posts: 2
Joined: 03 May 2011, 04:01
Location: mamuju
Contact:

gimana cara membatasi download idm user dengan squid???

Postby 172627 » 03 May 2011, 17:13

salam pecinta ubuntu.........
gimana ya cara membatsi atau kode extensi pada squid ko IDM user los ya klo ngedownload yang lain pada macet dan server pun ikut macet pula berikut saya lampirkan isi squid saya

#isi an squid.conf
#========================
http_port 3128 transparent
dns_nameservers 202.134.0.155 125.160.2.162
hierarchy_stoplist cgi-bin ? localhost
acl QUERY urlpath_regex cgi-bin \? localhost
no_cache deny QUERY
cache_mem 64 MB
cache_dir ufs /var/spool/squid 2000 16 256
cache_swap_low 98
cache_swap_high 99
maximum_object_size 64 MB
minimum_object_size 1 KB
ipcache_size 1024
ipcache_low 98
ipcache_high 99
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
log_fqdn off
log_icp_queries off
cache_store_log none
emulate_httpd_log on
reload_into_ims on
pipeline_prefetch on
vary_ignore_expire on
refresh_pattern ^ftp: 10080 95% 241920 reload-into-ims override-lastmod
refresh_pattern . 180 95% 120960 reload-into-ims override-lastmod
memory_pools off
icp_hit_stale on
query_icmp on
quick_abort_min 0
quick_abort_max 0
quick_abort_pct 98
negative_ttl 1 minutes
half_closed_clients off
read_timeout 5 minutes
request_timeout 1 minutes
client_lifetime 360 minutes
shutdown_lifetime 2 seconds
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 localnet src 192.168.2.0/24
acl server src 192.168.2.0/24
acl PURGE method PURGE
acl SSL_ports port 443 563
acl SSL_ports port 5050
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 CONNECT method CONNECT
#dibuat 2 aturan
acl download url_regex -i ftp .exe .mp3 .vqf .tar.gz .gz .tar .rpm .zip .rar .avi .mpeg .mpe .mpg .qt
.ram .rm .iso .raw .wav .mov .msi .mp4
delay_pools 2
#aturan 1, tidak ada pembatasan
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
#aturan 2, setelah download 2048000 bytes mk download menjadi 10000 bytes/s
delay_class 2 2
delay_parameters 2 -1/40000 15000/41000
delay_access 2 allow download
delay_access 2 deny all
delay_access 1 deny download
delay_access 1 allow all
http_access allow manager localhost
http_access allow localhost
http_access allow localnet
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow PURGE localhost
http_access deny PURGE
http_access allow all
http_reply_access allow all
icp_access allow localnet
icp_access allow all
cache_mgr squid
visible_hostname squid
forwarded_for off
buffered_logs on
client_db off
strip_query_terms off
#=============================



coba gan ksi contoh atau klou ada yang perlu di ganti
atas perhatiannya
terimakasih
User avatar
ilham2930
Posts: 1123
Joined: 02 Jan 2010, 19:30
Location: /indonesia/tangerang/bonank_city
Contact:

Re: gimana cara membatasi download idm user dengan squid???

Postby ilham2930 » 04 May 2011, 08:19

saya jg masih newbie bro..
cuma, kayanya pendek banget ya rulenya,btw ni squid brapa..??
jadi bingung..
nyimak dl dah..!!
User avatar
172627
Posts: 2
Joined: 03 May 2011, 04:01
Location: mamuju
Contact:

Re: gimana cara membatasi download idm user dengan squid???

Postby 172627 » 04 May 2011, 15:09

sory ni mas ga tau ni versi brapa,tp gmn ya cara untuk mengetahui versi squid kita?
terimakasih>>>>
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: gimana cara membatasi download idm user dengan squid???

Postby sipelaut » 04 May 2011, 19:14

cara paling gampang masukin aja url yang tidak bisa diakses
ntar muncul notifikasi di user biasanya sichh posisinya paling bawah...
sori ini munkin cara bodohnya saya saja hee......

Return to “Ubuntu Server”

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests