Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Page 6 of 6 FirstFirst ... 456
Results 76 to 80 of 80
  1. Status
    Offline
    Newbie Array
    Join Date
    Dec 2011
    Posts
    33
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0

    Jump to Comments

    squid.conf part 2

    79 Comments by venice Published on 02-11-2012 22:45
    sesuai saran modeartor untuk membuka squid.conf bgian 2 berhubung threadx sdh terlalu panjang mak sy coba memulai berhubung lama mengunggu tdk ada yag mulai mohon di hapus klo sdh ada yang mulai
    Click here to enlargeClick here to enlargeClick here to enlargeClick here to enlarge

    sy menggunkan squid.conf dari indoit (thanks indoit) Click here to enlarge


    ## SQUID - Youtube Cache Super Squid Proxy
    ##
    ##================================================ ======================#
    ## Updated: 20 April 2012 | IndoIT.web.id
    ##
    #================================================= ======================#

    http_port 3128 transparent
    server_http11 on

    pid_filename /var/run/squid.pid
    coredump_dir /var/spool/squid/
    error_directory /usr/share/squid/errors/English
    icon_directory /usr/share/squid/icons
    mime_table /usr/share/squid/mime.conf

    cache_mem 8 MB
    maximum_object_size_in_memory 512 bytes
    memory_replacement_policy heap GDSF
    cache_replacement_policy heap LFUDA

    minimum_object_size 0 KB
    maximum_object_size 512 MB
    cache_swap_low 97
    cache_swap_high 99


    cache_dir aufs /cache 12000 28 256

    Cache_access_log daemon:/var/log/squid/access.log squid
    cache_log /var/log/squid/cache.log
    cache_store_log none
    store_dir_select_algorithm round-robin
    logfile_daemon /usr/lib/squid/logfile-daemon
    logfile_rotate 1
    acl all src all
    acl manager proto cache_object
    acl localhost src 127.0.0.1/32
    acl to_localhost dst 127.0.0.0/8
    acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
    acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
    acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
    acl localnet src 125.165.92.1 # RFC1918 possible internal network


    acl SSL_ports port 443 21
    acl Safe_ports port 80 # http
    acl Safe_ports port 21 # ftp
    acl Safe_ports port 443 # https
    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 CONNECT method CONNECT
    acl FTP proto FTP
    always_direct allow FTP

    acl purge method PURGE
    acl snmppublic snmp_community public
    include /usr/local/share/squid/supercache.conf

    http_access allow manager localhost
    http_access deny manager
    http_access allow purge localhost
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports

    http_access allow localnet
    http_access allow localhost

    http_access allow all
    http_access deny all

    icp_access allow localnet
    icp_access deny all
    icp_port 0

    buffered_logs on

    acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
    upgrade_http0.9 deny shoutcast

    acl apache rep_header Server ^Apache
    broken_vary_encoding allow apache

    forwarded_for off
    header_access From deny all
    header_access Server deny all
    header_access Link deny all
    header_access Via deny all
    header_access X-Forwarded-For deny all
    httpd_suppress_version_string on

    shutdown_lifetime 10 seconds

    snmp_port 3401
    snmp_access allow snmppublic all
    dns_timeout 1 minutes

    dns_nameservers 8.8.8.8 8.8.4.4
    #dns_testnames 127.0.0.1

    #fqdncache_size 4096 # aslinya
    fqdncache_size 16384
    #ipcache_size 10240 # aslinya
    ipcache_size 16384
    ipcache_low 97
    ipcache_high 99
    log_fqdn off
    memory_pools off

    maximum_single_addr_tries 2
    retry_on_error on

    icp_hit_stale on

    strip_query_terms on

    query_icmp on
    reload_into_ims on
    emulate_httpd_log off
    negative_ttl 0 seconds
    pipeline_prefetch on
    vary_ignore_expire on
    half_closed_clients off
    high_page_fault_warning 2
    nonhierarchical_direct on
    prefer_direct off
    cache_effective_user proxy
    cache_effective_group proxy
    visible_hostname wanua.Net
    unique_hostname wanua.Net
    cachemgr_passwd none all
    client_db on
    max_filedescriptors 8192

    # TAG: ZPH
    zph_mode tos
    zph_local 0x30
    zph_parent 0
    zph_option 136




    hasilnya youtube tercache

    hasilnya di whatismyip : proxy not detected

    Click here to enlarge

    lalu klo munggunakan squid.conf klo tidak salah buatan keblux maaf klo salaah Click here to enlarge


    http_port 3128 transparent
    icp_port 3130
    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY
    cache_mem 6 MB
    cache_swap_low 98
    cache_swap_high 99
    #maximum_object_size 64 MB
    maximum_object_size 512 MB

    maximum_object_size_in_memory 64 KB
    ipcache_size 8192
    ipcache_low 98
    ipcache_high 99
    fqdncache_size 8192
    cache_mgr 123abc@gmail.com
    cache_replacement_policy heap LFUDA
    memory_replacement_policy heap GDSF

    cache_dir aufs /cache1 12000 28 256
    cache_dir aufs /cache2 12000 28 256
    #cache_dir aufs /var/spool/squid 12000 28 256


    #cache_dir aufs /var/spool/squid 13300 12 256

    cache_access_log /var/log/squid/access.log
    #cache_access_log none
    cache_log /var/log/squid/cache.log
    cache_store_log none
    emulate_httpd_log off
    pid_filename /var/run/squid.pid
    mime_table /usr/share/squid/mime.conf
    log_fqdn off
    memory_pools off
    client_netmask 255.255.255.255
    ftp_list_width 32
    ftp_passive on
    ftp_sanitycheck on
    refresh_pattern ^ftp: 40320 95% 241920 reload-into-ims
    refresh_pattern . 120 80% 14400 reload-into-ims override-lastmod
    quick_abort_min 0
    quick_abort_max 0
    quick_abort_pct 98
    negative_ttl 2 minutes
    half_closed_clients off
    read_timeout 15 minutes
    client_lifetime 2 hours
    pconn_timeout 60 seconds
    request_timeout 1 minutes
    shutdown_lifetime 10 seconds
    positive_dns_ttl 60 seconds
    negative_dns_ttl 30 seconds
    acl all src 0.0.0.0/0.0.0.0
    acl manager proto cache_object
    acl localhost src 127.0.0.1

    acl lan src 192.168.5.0/24


    acl to_localhost dst 127.0.0.0/8
    acl PURGE method PURGE
    acl POST method POST
    acl IpAddressOnly url_regex ^.[0-9]+\.[0-9]+\.[0-9]+/$
    acl IpAddressOnly url_regex ^.[0-9]+\.[0-9]+\.[0-9]+$
    acl GETONLY method GET
    acl VIRUS urlpath_regex winnt/system32/cmd.exe?
    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 CONNECT method CONNECT
    acl snmppublic snmp_community public
    # Hotmail workaround
    header_access Accept-Encoding deny all
    http_access allow localhost
    http_access allow lan
    http_access allow manager lan
    http_access allow PURGE localhost
    http_access deny manager
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    http_access deny PURGE
    http_access deny VIRUS
    http_access deny all
    http_reply_access allow all
    icp_access allow lan
    icp_access deny all
    miss_access allow lan
    miss_access deny all
    cache_effective_user proxy
    cache_effective_group proxy
    visible_hostname proxy.net
    unique_hostname proxy.net
    logfile_rotate 7
    forwarded_for on
    icp_hit_stale on
    log_icp_queries off
    query_icmp on
    buffered_logs off
    strip_query_terms off
    icon_directory /usr/share/squid/icons
    error_directory /usr/share/squid/errors/English
    store_avg_object_size 13 KB
    store_objects_per_bucket 10
    client_db on
    snmp_port 3401
    snmp_access allow snmppublic lan
    snmp_access deny all
    coredump_dir /cache01
    reload_into_ims on
    pipeline_prefetch on
    ie_refresh on
    vary_ignore_expire on
    # TAG: ZPH
    zph_mode tos
    zph_local 0x30
    zph_parent 0
    zph_option 136



    proxy terdeteksi dengan menggunakan whatismy ip
    tapi hasil dengan speedtest download hanay 0,23 mbsClick here to enlargeClick here to enlargeClick here to enlargeClick here to enlargeClick here to enlargeClick here to enlargeClick here to enlargeClick here to enlargeClick here to enlargeClick here to enlargeClick here to enlarge
    saran dan pebaikan para master yang baik hati
    Last edited by venice; 02-11-2012 at 22:48.

  2. Total Comments 79

    Comments

  3. #76
    Status
    Offline
    helmi17's Avatar
    Newbie
    Join Date
    May 2010
    Posts
    36
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Mohon di koreksi

     

    [HTML]
    # FIX Youtube error, youtube streaming stoped, Patch Game Speed More Powerfull
    # -----------------------------------------------------------------------------
    # -----------------------------------------------------------------------------
    # -----------------------------------------------------------------------------
    # -----------------------------------------------------------------------------

    http_port 3128 transparent
    icp_port 3130
    prefer_direct off
    server_http11 on

    # Cache & Object
    # -----------------------------------------------------------------------------
    cache_mem 6 MB
    cache_swap_low 90
    cache_swap_high 95
    maximum_object_size 10240 MB
    minimum_object_size 0 KB
    maximum_object_size_in_memory 1 KB

    ipcache_size 10240
    ipcache_low 95
    ipcache_high 99
    fqdncache_size 4096
    cache_replacement_policy heap LFUDA
    memory_replacement_policy heap GDSF

    cache_dir aufs /cache/cache1 66500 63 256
    cache_dir aufs /cache/cache2 66500 63 256
    cache_dir aufs /cache/cache2 66500 63 256

    cache_access_log /var/log/squid/access.log
    cache_log /var/log/squid/cache.log
    cache_store_log none
    pid_filename /var/run/squid.pid
    cache_swap_log /var/log/squid/swap.state
    dns_nameservers /etc/resolv.conf
    emulate_httpd_log off
    hosts_file /etc/hosts
    half_closed_clients off
    negative_ttl 0 second
    positive_dns_ttl 12 hour
    negative_dns_ttl 1 minute

    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 873 # https snews rsync
    acl Safe_ports port 80 # http
    acl Safe_ports port 20 21 # ftp
    acl Safe_ports port 70 # gopher
    acl Safe_ports port 210 # wais
    acl Safe_ports port 1025-65535 # unregistered ports
    acl Safe_ports port 631 # cups
    acl Safe_ports port 10000 # webmin
    acl Safe_ports port 901 # SWAT
    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 873 # rsync
    acl Safe_ports port 110 # POP3
    acl Safe_ports port 25 # SMTP
    acl Safe_ports port 2095 2096 # webmail from cpanel
    acl Safe_ports port 2082 2083 # cpanel
    acl purge method PURGE
    acl CONNECT method CONNECT

    # GRAFIK
    # -----------------------------------------------------------------------------
    snmp_port 3401
    acl snmppublic snmp_community public
    snmp_access allow snmppublic all

    http_access allow manager localhost
    http_access deny manager
    http_access allow purge localhost
    http_access deny purge
    http_access deny !Safe_ports !SSL_ports
    http_access deny CONNECT !SSL_ports !Safe_ports

    # ALLOWED ACCESS
    # -----------------------------------------------------------------------------
    acl localnet src 192.168.1.0/24 # sesuaikan dengan IP lokal kamu
    acl localnet src 192.168.11.0/24 # sesuaikan dengan IP Hotspot
    acl localnet src 192.168.7.0/24 # sesuaikan dengan IP Proxy

    http_access allow localnet
    http_access allow localhost
    http_access deny all
    http_reply_access allow all
    icp_access allow localnet
    icp_access allow localhost
    icp_access deny all
    always_direct deny all
    dns_nameservers 8.8.8.8 8.8.4.4

    # Cache CGI & Administrative
    # -----------------------------------------------------------------------------
    shutdown_lifetime 10 seconds
    logfile_rotate 1

    # TAG: acl rewrite
    # -----------------------------------------------------------------------------
    acl RW url_regex \/speedtest\/.*\.(jpg|txt|php).*
    url_rewrite_access allow RW

    acl webfaceboox dstdomain .facebook.com
    http_access allow webfaceboox

    acl DENYCACHE urlpath_regex \.(ini|ui|lst|inf|pak|ver|patch|md5|cfg|lst|list|r sc|log|conf|dbd|db)$
    acl DENYCACHE urlpath_regex (notice.html|afs.dat|dat.asp|patchinfo.xml|version .list|iepngfix.htc|updates.txt|patchlist.txt)
    acl DENYCACHE urlpath_regex (pointblank.css|login_form.css|form.css)$
    acl DENYCACHE urlpath_regex (Loader|gamenotice|sources|captcha|notice|reset)
    cache deny DENYCACHE

    acl youtube dstdomain .youtube.com
    cache allow youtube
    cache allow all

    #acl ytrange url_regex ^.*youtube.com/videoplayback.*.*$
    acl ytrange url_regex ^.*youtube.com/videoplayback.*range=.*$
    http_access deny ytrange

    # Caching Youtube
    # -----------------------------------------------------------------------------
    acl speedtest dstdom_regex -i .speedtest.*\.
    acl store_rewrite_list urlpath_regex .*\/.speedtest\/.*\.(jpg|txt)
    acl store_rewrite_list urlpath_regex -i \.youtube\.com\/get_video\?
    acl store_rewrite_list urlpath_regex -i \.youtube\.com\/videoplayback \.youtube\.com\/videoplay \.youtube\.com\/videodownload \.youtube\.com\/get_video\?
    acl store_rewrite_list urlpath_regex -i \.youtube\.[a-z][a-z]\/videoplayback \.youtube\.[a-z][a-z]\/videoplay \.youtube\.[a-z][a-z]\/videodownload \.youtube\.[a-z][a-z]\/get_video\?
    acl store_rewrite_list urlpath_regex -i \.googlevideo\.com\/videoplayback \.googlevideo\.com\/videoplay \.googlevideo\.com\/videodownload \.googlevideo\.com\/get_video\?
    acl store_rewrite_list urlpath_regex -i \.google\.com\/videoplayback \.google\.com\/videoplay \.google\.com\/videodownload \.google\.com\/get_video\?
    acl store_rewrite_list urlpath_regex -i \.google\.[a-z][a-z]\/videoplayback \.google\.[a-z][a-z]\/videoplay \.google\.[a-z][a-z]\/videodownload \.google\.[a-z][a-z]\/get_video\?
    acl store_rewrite_list urlpath_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/videoplayback\?
    acl store_rewrite_list urlpath_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/videoplay\?
    acl store_rewrite_list urlpath_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/videodownload\?
    acl store_rewrite_list urlpath_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/get_video\?
    acl store_rewrite_list urlpath_regex \/(watch\?|get_video\?|videodownload\?|videoplayback .*id)
    acl store_rewrite_list urlpath_regex \/(get_video\?|videodownload\?|videoplayback.*id) \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|wmv|3gp|m p(4|3)|exe|msi|zip|on2|mar|swf)\?
    acl store_rewrite_list urlpath_regex -i proxy[a-z0-9\-][a-z0-9][a-z0-9][a-z0-9]?\.dailymotion\.com\/
    acl store_rewrite_list urlpath_regex -i vid\.akm\.dailymotion\.com\/
    acl store_rewrite_list urlpath_regex -i [a-z0-9][0-9a-z][0-9a-z]?[0-9a-z]?[0-9a-z]?\.xtube\.com\/(.*)flv
    acl store_rewrite_list urlpath_regex -i bitcast\.vimeo\.com\/vimeo\/videos\/
    acl store_rewrite_list urlpath_regex -i va\.wrzuta\.pl\/wa[0-9][0-9][0-9][0-9]?
    acl store_rewrite_list urlpath_regex -i \.files\.youporn\.com\/(.*)\/flv\/
    acl store_rewrite_list urlpath_regex -i \.msn\.com\.edgesuite\.net\/(.*)\.flv
    acl store_rewrite_list urlpath_regex -i media[a-z0-9]?[a-z0-9]?[a-z0-9]?\.tube8\.com\/ mobile[a-z0-9]?[a-z0-9]?[a-z0-9]?\.tube8\.com\/ www\.tube8\.com\/(.*)\/
    acl store_rewrite_list urlpath_regex -i \.mais\.uol\.com\.br\/(.*)\.flv
    acl store_rewrite_list urlpath_regex -i \.video[a-z0-9]?[a-z0-9]?\.blip\.tv\/(.*)\.(flv|avi|mov|mp3|m4v|mp4|wmv|rm|ram)
    acl store_rewrite_list urlpath_regex -i video\.break\.com\/(.*)\.(flv|mp4)
    acl store_rewrite_list urlpath_regex .*\.ak\.fbcdn\.net\/
    acl store_rewrite_list urlpath_regex http:\/\/199\.91\.15\d\.\d*\/\w{12}\/(\w*)\/(.*)
    acl store_rewrite_list urlpath_regex s[0-9]*\.filesonic\.com\/download\/.*
    acl store_rewrite_list urlpath_regex [a-zA-Z]{2}[0-9]*\.4shared\.com\/download\/
    acl store_rewrite_list urlpath_regex \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|wmv|3gp|m p(4|3)|exe|msi|avc|on2|krf|zip|on2|mar|rar|cab)\?
    acl store_rewrite_list_domain url_regex ^http:\/\/([a-zA-Z-]+[0-9-]+)\.[A-Za-z]*\.[A-Za-z]*
    acl store_rewrite_list_domain url_regex (([a-z]{1,2}[0-9]{1,3})|([0-9]{1,3}[a-z]{1,2}))\.[a-z]*[0-9]?\.[a-z]{3}
    acl store_rewrite_list_domain url_regex .mccont.com .metacafe.com .redtube.com .cdn.dailymotion.com
    acl store_rewrite_list_domain_CDN url_regex \.rapidshare\.com.*\/[0-9]*\/.*\/[^\/]* ^http:\/\/(www\.ziddu\.com.*\.[^\/]{3,4})\/(.*) \.doubleclick\.net.*
    acl store_rewrite_list_domain_CDN url_regex ^http:\/\/[.a-z0-9]*\.photobucket\.com.*\.[a-z]{3}$ quantserve\.com
    acl store_rewrite_list_domain_CDN url_regex ^http:\/\/[a-z]+[0-9]\.google\.co(m|\.id)
    acl store_rewrite_list_domain_CDN url_regex ^http:\/\/\.www[0-9][0-9]\.indowebster\.com\/(.*)(rar|zip|flv|wm(a|v)|3gp|mp(4|3)|exe|msi|avi|( mp(e?g|a|e|1|2|3|4))|cab|exe)
    acl store_rewrite_list_domain_CDN url_regex (khm|mt)[0-9]?.google.co(m|\.id) streamate.doublepimp.com.*\.js\? photos-[a-z].ak.fbcdn.net \.rapidshare\.com.*\/[0-9]*\/.*\/[^\/]* ^http:\/\/(www\.ziddu\.com.*\.[^\/]{3,4})\/(.*) \.doubleclick\.net.* yieldmanager cpxinteractive ^http:\/\/[.a-z0-9]*\.photobucket\.com.*\.[a-z]{3}$ quantserve\.com
    acl dontrewrite url_regex redbot\.org (get_video|videoplayback\?id|videoplayback.*id).*b egin\=[1-9][0-9]* #\.php\?
    acl getmethod method GET

    storeurl_access allow speedtest
    storeurl_access allow store_rewrite_list
    storeurl_access deny dontrewrite
    storeurl_access deny !getmethod
    storeurl_access allow store_rewrite_list_domain
    storeurl_access allow store_rewrite_list_domain_CDN
    storeurl_access deny all

    storeurl_rewrite_program /etc/squid/storeurl.pl
    url_rewrite_children 7
    url_rewrite_concurrency 10
    redirector_bypass on

    # -----------------------------------------------------------------------------
    # TAG: Refresh Pattern
    # -----------------------------------------------------------------------------
    # 1 year = 525600 mins, 1 month = 43200 mins, 1 day = 1440
    # -----------------------------------------------------------------------------

    #youtube's videos - tambahan
    # -----------------------------------------------------------------------------
    refresh_pattern (get_video|videoplayback|videodownload|\.flv).*(be gin|start)\=[1-9][0-9]* 0 0% 0
    refresh_pattern (get_video\?|videoplayback\?|videodownload\?) 5259487 99999999% 5259487 override-expire ignore-reload ignore-private negative-ttl=0
    #refresh_pattern (get_video\?|videoplayback\?|videodownload\?|\.flv \?|\.fid\?) 5259487 99999999% 5259487 override-expire ignore-reload store-stale ignore-private negative-ttl=0
    refresh_pattern imeem.*\.flv 0 0% 0 override-lastmod override-expire
    refresh_pattern \.(ico|video-stats) 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth override-lastmod ignore-must-revalidate negative-ttl=10080 store-stale
    refresh_pattern code.googlec.com.*(svn|download) 0 50% 1440 reload-into-ims
    refresh_pattern ^http:\/\/images|image|img|pics|openx|thumbs[0-9]\. 5259487 999999% 5259487 ignore-no-cache ignore-no-store ignore-reload override-expire store-stale

    #### jika ada refresh pattern lain, letakkan dibawah baris ini ####
    # facebook
    # -----------------------------------------------------------------------------
    refresh_pattern ((facebook.com)|(85.131.151.39)).*\.(png|gif) 5259487 999999% 5259487 override-expire ignore-reload store-stale
    refresh_pattern -i \.facebook.com.*\.(jpg|gif|png) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
    refresh_pattern .fbcdn.net.*\.(jpg|gif|png) 5259487 999999% 5259487 ignore-no-cache override-expire ignore-reload store-stale negative-ttl=0
    refresh_pattern static\.ak\.fbcdn\.net*\.(jpg|gif|png) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
    refresh_pattern ^http:\/\/profile\.ak\.fbcdn.net*\.(jpg|gif|png) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale

    # games facebook
    # -----------------------------------------------------------------------------
    refresh_pattern ^http:\/\/apps.facebook.com.*\/ 10080 999999% 43200 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
    refresh_pattern (zynga|ninjasaga|mafiawars|cityville|farmville|cro wdstar|agame|popcap).com.*\.(swf|jpg|gif|png|mp3) 129600 999999% 129600 override-expire ignore-reload store-stale

    # Anti Virus
    # -----------------------------------------------------------------------------
    refresh_pattern avast.com.*\.vpx 40320 50% 161280 store-stale reload-into-ims
    refresh_pattern (avgate|avira).*\.(idx|gz)$ 1440 90% 1440 ignore-reload ignore-no-cache ignore-no-store store-stale ignore-must-revalidate
    refresh_pattern kaspersky.*\.avc$ 5259487 999999% 5259487 ignore-reload store-stale
    refresh_pattern kaspersky 1440 50% 161280 ignore-no-cache store-stale
    refresh_pattern mbamupdates.com.*\.ref 1440 50% 161280 reload-into-ims store-stale

    # Windows Update
    # -----------------------------------------------------------------------------
    refresh_pattern windowsupdate.com/.*\.(cab|exe) 10080 999999% 43200 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale
    refresh_pattern update.microsoft.com/.*\.(cab|exe) 10080 999999% 43200 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale
    refresh_pattern download.microsoft.com/.*\.(cab|exe) 10080 999999% 43200 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale

    # google
    # -----------------------------------------------------------------------------
    refresh_pattern ^.*safebrowsing.*google 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth ignore-must-revalidate negative-ttl=10080 store-stale
    refresh_pattern ^)[0-9]?)\.google\.co(m|id|\.uk) 5259487 999999% 5259487 override-expire ignore-reload store-stale ignore-private negative-ttl=10080

    # Ads
    # -----------------------------------------------------------------------------
    refresh_pattern ^.*(streamate.doublepimp.com.*\.js\?|utm\.gif|ads\ ?|rmxads\.com|ad\.z5x\.net|bh\.contextweb\.com|bst ats\.adbrite\.com|a1\.interclick\.com|ad\.trafficm p\.com|ads\.cubics\.com|ad\.xtendmedia\.com|\.goog lesyndication\.com|advertising\.com|yieldmanager|g ame-advertising\.com|pixel\.quantserve\.com|adperium\. com|doubleclick\.net|adserving\.cpxinteractive\.co m|syndication\.com|media.fastclick.net).* 5259487 20% 5259487 ignore-no-cache ignore-no-store ignore-private override-expire ignore-reload ignore-auth ignore-must-revalidate store-stale negative-ttl=40320 max-stale=1440

    # Banner IIX
    # -----------------------------------------------------------------------------
    refresh_pattern ^http:\/\/openx.*\.(jp(e?g|e|2)|gif|pn[pg]|swf|ico|css|tiff?) 129600 99999% 129600 reload-into-ims ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
    refresh_pattern ^http:\/\/ads(1|2|3).kompas.com.*\/ 43200 99999% 129600 reload-into-ims ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
    refresh_pattern ^http:\/\/img.ads.kompas.com.*\/ 43200 99999% 129600 reload-into-ims ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
    refresh_pattern .kompasimages.com.*\.(jpg|gif|png|swf) 43200 99999% 129600 reload-into-ims ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
    refresh_pattern ^http:\/\/openx.kompas.com.*\/ 43200 99999% 129600 reload-into-ims ignore-reload override-expire ignore-no-cache ignore-no-store store-stale

    # -- refresh pattern for specific sites -- #
    # -----------------------------------------------------------------------------
    refresh_pattern (photobucket|pbsrc|flickr|yimg|ytimg|twimg|gravata r)\.com.*\.(jp(e?g|e|2)|gif|png|tiff?|bmp|swf|mp(4 |3)) 5259487 999999% 5259487 override-expire ignore-reload store-stale
    refresh_pattern \.(akamaihd|rackcdn|edgecastcdn|spilcdn|zgncdn|(tw |y|yt)img)\.com.*\.(jp(e?g|e|2)|gif|png|swf|mp(3|4 )) 43200 99999% 43200 override-expire override-lastmod ignore-reload ignore-no-cache ignore-private ignore-must-revalidate store-stale
    refresh_pattern \.gstatic\.com/images\? 43200 99999% 43200 override-expire override-lastmod ignore-reload ignore-no-cache ignore-private ignore-must-revalidate store-stale
    refresh_pattern (gstatic|diggstatic)\.com/.* 2629742 999999% 2629742 override-expire ignore-reload ignore-no-cache ignore-private ignore-no-store ignore-must-revalidate store-stale
    refresh_pattern ^)[0-9]?)\.google\.co(m|\.uk|\.id) 43200 999999% 43200 override-expire override-lastmod ignore-reload ignore-no-cache ignore-private ignore-auth ignore-must-revalidate ignore-no-store negative-ttl=10080 store-stale
    refresh_pattern vid\.akm\.dailymotion\.com.*\.on2\? 5259487 999999% 5259487 ignore-no-cache override-expire override-lastmod store-stale
    refresh_pattern speedtest\. 259200 80% 259200 override-expire reload-into-ims stale-while-revalidate=2592000 ignore-private ignore-no-cache negative-ttl=0
    refresh_pattern galleries\.video(\?|sz) 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
    refresh_pattern \.wikimapia\.org\/? 43200 99999% 43200 override-expire override-lastmod ignore-reload ignore-no-cache ignore-private ignore-must-revalidate store-stale
    refresh_pattern \.etology\? 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
    refresh_pattern brazzers\? 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
    refresh_pattern \.adtology\? 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
    refresh_pattern images\.friendster\.com.*\.(png|gif) 5259487 999999% 5259487 override-expire ignore-reload store-stale
    refresh_pattern garena\.com 5259487 999999% 5259487 override-expire reload-into-ims store-stale
    refresh_pattern mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png) 5259487 999999% 5259487 reload-into-ims override-expire ignore-private store-stale
    refresh_pattern ^http:\/\/www.onemanga.com.*\/ 5259487 999999% 5259487 reload-into-ims override-expire store-stale
    refresh_pattern \.rapidshare.*\/[0-9]*\/.*\/[^\/]* 161280 90% 161280 ignore-reload store-stale

    # kaskus
    # -----------------------------------------------------------------------------
    refresh_pattern livebeta.kaskus.co.id.*\/ 0 0% 0
    refresh_pattern (cdn-u|kkcdn-static|img|www).kaskus.co.id.*\/ 43200 90% 129600 override-expire override-lastmod ignore-reload ignore-no-cache

    # wordpress (try to include from wp.com cdn or self-hosted wp)
    # -----------------------------------------------------------------------------
    refresh_pattern -i \.wp.com.*\.(jpg|gif|png|ico|swf) 43200 90% 129600 override-expire override-lastmod ignore-reload ignore-no-cache
    refresh_pattern -i (wp-(content|admin|include)).*\.(jp(e?g|e|2)|png|gif|s wf|css|js)$ 10080 200% 20160 override-expire reload-into-ims override-lastmod ignore-no-cache

    # Koran Online
    # -----------------------------------------------------------------------------
    #efresh_pattern \.(detik|detik(inet|sport|food|health|news)).com.* \.(jpg|png|gif|css|js|swf)$ 10080 200% 43200 override-expire override-lastmod ignore-no-cache
    refresh_pattern -i \.(kompas|kompasiana).com.*\.(jpg|png|gif|css|js|s wf)$ 10080 500% 262800 override-expire reload-into-ims override-lastmod ignore-no-cache
    refresh_pattern -i \.vivanews.com.*\.(jpg|png|gif|css|js|swf)$ 10080 500% 262800 override-expire reload-into-ims override-lastmod ignore-no-cache

    #sensitive site
    # -----------------------------------------------------------------------------
    refresh_pattern -i \.(sc-|dl-|ex-|mh-|dll|da-|iop) 0 5% 60 reload-into-ims
    refresh_pattern -i \.(mst|Xtp)$ 0 50% 1440 reload-into-ims
    refresh_pattern -i (main.exe|update.exe|grandchase.exe|FSLauncher.exe |FreeStyle_Setup.exe|grandchase.exe|filelist.zip|a utoupgrade.exe)$ 0 50% 1440 reload-into-ims
    refresh_pattern -i (UpdaterModifier.exe|FreeStyle.exe|PBLauncher.exe| update.exe|NewLauncher.exe|NewAvalon.exe|hon.exe.z ip|cabal.exe)$ 0 50% 1440 reload-into-ims
    refresh_pattern -i (PointBlank.exe.zip|HSUpdate.exe.zip|PBConfig.exe. zip) 0 50% 1440 reload-into-ims
    refresh_pattern -i (wks_avira-win32-en-pecl.info.gz|wks_avira10-win32-en-pecl.info.gz)$ 0 50% 1440 reload-into-ims
    refresh_pattern -i (setup.exe.gz|avscan.exe.gz|avguard.exe.gz|filelis t.zip|AvaClient.exe) 0 50% 1440 reload-into-ims
    refresh_pattern -i (livescore.com|goal.com|bobet) 0 50% 60 reload-into-ims

    # online game patch
    # -----------------------------------------------------------------------------
    refresh_pattern -i (hackshield|nprotect) 240 100% 420 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.gemscool.com.*\.(exe|dll|cab|zip|iop|npz|swf)$ 1440 100% 4320 override-expire override-lastmod reload-into-ims ignore-auth store-stale
    refresh_pattern -i \.crossfire.web.id.*\.(cab|zip|exe|rar|dat|swf)$ 1440 100% 4320 override-expire override-lastmod reload-into-ims ignore-auth store-stale
    refresh_pattern -i \.cabalonline.co.id.*\.(cab|zip|exe|rar|dat|swf) 1440 100% 4320 override-expire override-lastmod reload-into-ims ignore-auth store-stale
    refresh_pattern -i ((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2}).*\.(exe|zip|kom|stg|npz|swf)$ 1440 100% 4320 override-expire override-lastmod reload-into-ims ignore-auth ignore-no-store store-stale

    #IIX DOWNLOAD
    refresh_pattern ^http:\/\/\.www[0-9][0-9]\.indowebster\.com\/(.*)(mp3|rar|zip|flv|wmv|3gp|mp(4|3)|exe|msi|zip) 43200 99999% 129600 reload-into-ims ignore-reload override-expire ignore-no-cache ignore-no-store store-stale ignore-auth

    # additional refresh_pattern
    # other high traffic sites
    # -----------------------------------------------------------------------------
    refresh_pattern static.4shared.com.*\/ 43200 999999% 43200 override-expire ignore-reload
    refresh_pattern -i \.(wikimedia|wikipedia).org.*\.(jpg|png|gif|css|js )$ 10080 500% 262800 override-expire reload-into-ims override-lastmod ignore-no-cache
    refresh_pattern -i \.tokobagus.com.*\.(jpg|png|gif|css|js)$ 10080 500% 262800 override-expire reload-into-ims override-lastmod ignore-no-cache
    refresh_pattern -i \.adf.ly.*\.(jpg|png|gif|css|js)$ 43200 999999% 43200 override-expire reload-into-ims override-lastmod ignore-no-cache

    # universal web objects
    # -----------------------------------------------------------------------------
    refresh_pattern \.(htm|html|class|css|js|inc|cab|ad|dll|txt|xml)($ |&) 43200 99999% 43200 override-expire ignore-no-cache ignore-no-store reload-into-ims ignore-private store-stale
    refresh_pattern \.(jp(e?g|e|2)|tiff?|bmp|gif|ico|svg|png) 5259487 999999% 5259487 ignore-no-cache ignore-no-store reload-into-ims override-expire ignore-must-revalidate store-stale
    refresh_pattern \.(z(ip|[0-9]{2})|r(ar|[0-9]{2})|jar|arj|lha|tgz|ram|bz2|gz|tar|rpm|vpu) 5259487 999999% 5259487 override-expire reload-into-ims
    refresh_pattern \.(mp3|wav|og(g|a)|flac|midi?|rm|aac|wma|mka|mp4|a u|mid|ape) 5259487 999999% 5259487 override-expire reload-into-ims ignore-reload
    refresh_pattern \.(kom|pak|stg|nzp|iop|doc|ppt|hqx|pdf|rtf|deb) 43200 99999% 43200 override-expire reload-into-ims ignore-no-cache ignore-must-revalidate
    refresh_pattern \.(exe|msi|dmg|bin|xpi|iso|swf|mar|psf|cab) 5259487 999999% 5259487 override-expire reload-into-ims ignore-no-cache ignore-must-revalidate
    refresh_pattern \.(mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|r v|vob|asx|qt|x-flv|ogm|flv|3gp|on2) 5259487 9999999% 5259487 override-expire reload-into-ims
    refresh_pattern \.(php|jsp|cgi|asx|js|jsp)\? 0 0% 0

    ### Objek-objek statis waktu peyimpanannya diperlama
    #### default refresh_pattern, letakkan paling bawah! ###
    # -----------------------------------------------------------------------------
    refresh_pattern ^ftp: 10080 95% 43200 override-lastmod reload-into-ims store-stale
    refresh_pattern ^gopher: 1440 0% 1440
    refresh_pattern -i (cgi-bin|hackshield|xtrap|Loader|login) 0 0% 0
    refresh_pattern \.(php|jsp|cgi|asx)\? 0 0% 0
    refresh_pattern . 0 50% 161280 store-stale

    # -----------------------------------------------------------------------------
    # LAIN-LAIN TUNNING
    # -----------------------------------------------------------------------------
    dns_timeout 1 minutes
    check_hostnames off
    quick_abort_min 0
    quick_abort_max 0
    quick_abort_pct 98
    strip_query_terms off
    maximum_single_addr_tries 5
    retry_on_error off
    ie_refresh off
    #range_offset_limit
    zero_buffers on

    store_avg_object_size 13 KB

    client_db on
    max_filedesc 1500
    memory_pools off
    log_fqdn off
    log_icp_queries off
    icp_hit_stale off
    query_icmp off
    reload_into_ims on
    coredump_dir /var/spool/squid
    pipeline_prefetch on
    vary_ignore_expire on

    # -----------------------------------------------------------------------------
    tcp_outgoing_tos 0x30 localnet
    zph_mode tos
    zph_local 0x30
    zph_parent 0
    zph_option 136

    # -----------------------------------------------------------------------------
    header_access From deny all
    header_access Server deny all
    header_access Link deny all
    header_access Via deny all
    header_access Accept-Encoding deny all
    header_access X-Forwarded-For deny all

    # -----------------------------------------------------------------------------
    cache_effective_user proxy
    cache_effective_group proxy
    cache_mgr none
    # -----------------------------------------------------------------------------
    #END
    # -----------------------------------------------------------------------------
    [HTML]

  4. #77
    Status
    Offline
    Minato Namikaze's Avatar
    Baru Gabung
    Join Date
    Jan 2013
    Posts
    1
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    kalau bisa script refresh pattern nya jangan kebanyakan mas helmi17..
    gk baik itu buat squid.

    tp itu rasa sudah cukup menurut saya. semoga sukses Click here to enlarge

  5. #78
    Status
    Offline
    keuheul's Avatar
    Baru Gabung
    Join Date
    Jan 2010
    Posts
    9
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    mohon pencerahan-nya sesepuh knp ahir2 ini streaming youtube walaupun dah ganti2 video tetep yg keputar cm 1 video aja yg udh kecache sm proxy

  6. #79
    Status
    Offline
    Javish's Avatar
    Baru Gabung
    Join Date
    Jul 2012
    Posts
    1
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0
    sama om saya juga gitu Click here to enlarge masa buka "cherybele" keluar nya "malah suci dalam debu Iklim" zzzzz saya dah jalan2 di forum ubuntu tapi belum ada jawaban juga Click here to enlarge sekarang pake ubuntu 12 tapi gak bisa cache youtube Click here to enlarge

  7. #80
    Status
    Offline
    Anto.PJ's Avatar
    Forum Guru
    Join Date
    May 2011
    Location
    macz
    Posts
    1,696
    Reviews
    Read 0 Reviews
    Downloads
    7
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by Javish Click here to enlarge
    sama om saya juga gitu Click here to enlarge masa buka "cherybele" keluar nya "malah suci dalam debu Iklim" zzzzz saya dah jalan2 di forum ubuntu tapi belum ada jawaban juga Click here to enlarge sekarang pake ubuntu 12 tapi gak bisa cache youtube Click here to enlarge
    sekarang youtube ga pake parameter &id= lagi di urlnya untuk mencocokkan video..
    tapi pake parameter &video_id= untuk url pertama. dan &cpn= untuk url kedua..

    Algonya berubah.. storeurlnya harus diubah..

 

 
Page 6 of 6 FirstFirst ... 456

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Articles

  1. [HELP] Analisa squid.conf
    By sibesar in forum General Networking
    Replies: 0
    Last Post: 27-01-2009, 21:20

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •