a Little Notes

Ikon

TUlisan dan Contekan

Squid.Conf Tambahan

#vim /var/ipcop/proxy/advanced/acls

include.acl V1

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i \.(class|css|js|gif|jpg)$ 100000 500% 99000000 ignore-reload override-expire
refresh_pattern -i \.(jpe|jpeg|png|bmp|tif)$ 100000 500% 99000000 ignore-reload override-expire
refresh_pattern -i \.(tiff|mov|avi|qt|mpeg)$ 100000 500% 99000000 ignore-reload override-expire
refresh_pattern -i \.(mpg|mpe|wav|au|mid)$ 100000 500% 99000000 ignore-reload override-expire
refresh_pattern -i \.(zip|gz|arj|lha|lzh)$ 100000 500% 99000000 ignore-reload override-expire
refresh_pattern -i \.(rar|tgz|tar|exe|bin)$ 100000 500% 99000000 ignore-reload override-expire
refresh_pattern -i \.(hqx|pdf|rtf|doc|swf)$ 100000 500% 99000000 ignore-reload override-expire
refresh_pattern -i \.(inc|cab|ad|txt|dll)$ 100000 500% 99000000 ignore-reload override-expire
#refresh_pattern -i . 43200 95% 86400
#refresh_pattern -i . 0 0% 4320
refresh_pattern -i . 180 20% 4320
refresh_pattern ^http://www.friendster.com/.* 720 100% 4320
refresh_pattern ^http://mail.yahoo.com/.* 720 100% 4320
refresh_pattern ^http://*.yahoo.*/.* 720 100% 4320
refresh_pattern ^http://*.yimg.*/.* 720 100% 4320
refresh_pattern ^http://*.wikipedia.*/.* 720 100% 4320
refresh_pattern ^http://*.gmail.*/.* 720 100% 4320
refresh_pattern ^http://*.google.*/.* 720 100% 4320
refresh_pattern ^http://*.akamai.*/.* 720 100% 4320
refresh_pattern ^http://*.windowsmedia.*/.* 720 100% 4320
refresh_pattern ^http://*.googlesyndication.*/.* 720 100% 4320
refresh_pattern ^http://*.plasa.*/.* 720 100% 4320
refresh_pattern ^http://*.telkom.*/.* 720 100% 4320

quick_abort_min 0 kb
quick_abort_max 0 kb
quick_abort_pct 100%

client_persistent_connections on
server_persistent_connections on

pipeline_prefetch on
reload_into_ims on
store_dir_select_algorithm round-robin

nonhierarchical_direct on
prefer_direct off

memory_pools off
shutdown_lifetime 10 seconds
ie_refresh on

hierarchy_stoplist cgi-bin ? .js .jsp .g .do .php .asp .cgi .friendster.com yahoo.com google.co.id google.com en.wikipedia.org id.wikipedia.org mail.yahoo.com mail.yahoo.co.id mail.google.com login.yahoo.com

acl QUERY urlpath_regex cgi-bin \? .js .jsp .g .do .php .asp .cgi .friendster.com yahoo.com google.co.id google.com en.wikipedia.org id.wikipedia.org mail.yahoo.com mail.yahoo.co.id mail.google.com en.wikipedia.org id.wikipedia.org mail.yahoo.com mail.yahoo.co.id mail.google.com login.yahoo.com

no_cache deny QUERY

dns_nameservers 127.0.0.1 192.168.0.253 202.134.0.61 203.130.209.242
hosts_file /etc/hosts
ftp_passive on
ftp_sanitycheck on
ipcache_low 98
ipcache_high 99
ipcache_size 10240
cache_swap_low 98%
cache_swap_high 99%
maximum_object_size_in_memory 512 KB
negative_ttl 2 minutes
half_closed_clients off

##Kill Banner
#redirect_program /usr/local/adzap/scripts/wrapzap

include.acl V2
hierarchy_stoplist cgi-bin ? .js .jsp .g .do .php .asp .cgi .friendster.com yahoo.com google.co.id google.com en.wikipedia.org id.wikipedia.org mail.yahoo.com mail.yahoo.co.id mail.google.com login.yahoo.com

acl QUERY urlpath_regex cgi-bin \? .js .jsp .g .do .php .asp .cgi .friendster.com yahoo.com google.co.id google.com en.wikipedia.org id.wikipedia.org mail.yahoo.com mail.yahoo.co.id mail.google.com en.wikipedia.org id.wikipedia.org mail.yahoo.com mail.yahoo.co.id mail.google.com login.yahoo.com

no_cache deny QUERY
quick_abort_min 0 kb
quick_abort_max 0 kb
quick_abort_pct 100%

client_persistent_connections on
server_persistent_connections on
pipeline_prefetch on
reload_into_ims on
store_dir_select_algorithm round-robin
nonhierarchical_direct on
prefer_direct off
memory_pools off
shutdown_lifetime 10 seconds
ie_refresh on
dns_nameservers 127.0.0.1 192.168.0.253 202.134.0.61 203.130.209.242
hosts_file /etc/hosts
ftp_passive on
ftp_sanitycheck on
ipcache_low 98
ipcache_high 99
ipcache_size 10240
cache_swap_low 98%
cache_swap_high 99%
maximum_object_size_in_memory 512 KB
refresh_pattern windowsupdate.com/.*\.(cab|exe) 4320 100% 43200 reload-into-ims
refresh_pattern download.microsoft.com/.*\.(cab|exe) 4320 100% 43200 reload-into-ims
refresh_pattern grisoft.com/.*\.(bin|exe) 4320 100% 43200 reload-into-ims
refresh_pattern ^http://.*\.cnn\.com 360 50% 4320 override-lastmod
refresh_pattern ^http://news\.bbc\.co\.uk 360 50% 4320 override-lastmod
refresh_pattern microsoft 1080 150% 10080 override-lastmod
refresh_pattern msn\.com 4320 150% 10080 override-lastmod
refresh_pattern ^http://.*\.doubleclick\.net 10080 300% 40320 override-lastmod
refresh_pattern ^http://.*FIDO 360 1000% 480
refresh_pattern \.r[0-9][0-0]$ 10080 150% 40320
refresh_pattern ^http://.*\.gif$ 1440 50% 20160
refresh_pattern ^http://.*\.asis$ 1440 50% 20160
refresh_pattern -i \.pdf$ 10080 90% 43200
refresh_pattern -i \.art$ 10080 150% 43200
refresh_pattern -i \.avi$ 10080 150% 40320
refresh_pattern -i \.mov$ 10080 150% 40320
refresh_pattern -i \.wav$ 10080 150% 40320
refresh_pattern -i \.mp3$ 10080 150% 40320
refresh_pattern -i \.qtm$ 10080 150% 40320
refresh_pattern -i \.mid$ 10080 150% 40320
refresh_pattern -i \.viv$ 10080 150% 40320
refresh_pattern -i \.mpg$ 10080 150% 40320
refresh_pattern -i \.jpg$ 10080 150% 40320 reload-into-ims
refresh_pattern -i \.rar$ 10080 150% 40320
refresh_pattern -i \.ram$ 10080 150% 40320
refresh_pattern -i \.gif$ 10080 300% 40320 reload-into-ims
refresh_pattern -i \.txt$ 1440 100% 20160 reload-into-ims override-lastmod
refresh_pattern -i \.zip$ 2880 200% 40320
refresh_pattern -i \.arj$ 2880 200% 40320
refresh_pattern -i \.exe$ 2880 200% 40320
refresh_pattern -i \.tgz$ 10080 200% 40320
refresh_pattern -i \.gz$ 10080 200% 40320
refresh_pattern -i \.tgz$ 10080 200% 40320
refresh_pattern -i \.tar$ 10080 200% 40320
refresh_pattern -i \.Z$ 10080 200% 40320

refresh_pattern ^ftp:// 1440 50% 10080
refresh_pattern ^gopher:// 1440 10% 1440
refresh_pattern . 0 20% 4320
negative_ttl 1 minutes
positive_dns_ttl 15 hours
negative_dns_ttl 1 minutes
half_closed_clients off

##Kill Banner
#redirect_program /usr/local/adzap/scripts/wrapzap

Iklan

Filed under: IPCop

3 Responses

  1. B3L4_J4r berkata:

    Emm, mass, bisa skalian jelasin maksut dan tujuan dari script diats mas__
    hehe__ newbie nie,,,

  2. andrie irawan berkata:

    Terima kasih atas infonya..sangat bermanfaat…..hehehe…
    tolong jelasin maksud nya juga dan manfaatnya….
    newbie juga nih…

  3. arip berkata:

    itu buat apaan di ipcop mas ? (bingung)

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: