Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Page 3 of 6 FirstFirst 12345 ... LastLast
Results 31 to 45 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. #31
    Status
    Offline
    Tejo's Avatar
    Newbie
    Join Date
    Nov 2012
    Posts
    32
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by venice Click here to enlarge
    chown proxyClick here to enlargeroxy /cache1
    chown proxyClick here to enlargeroxy /cache2
    chown proxyClick here to enlargeroxy /cache3
    chown proxyClick here to enlargeroxy /cache4
    chown proxyClick here to enlargeroxy /cache5
    chown proxyClick here to enlargeroxy /cache6
    chown proxyClick here to enlargeroxy /cache7
    chmod 777 /cache1
    chmod 777 /cache2
    chmod 777 /cache3
    chmod 777 /cache4
    chmod 777 /cache5
    chmod 777 /cache6
    chmod 777 /cache7

    klo ini maksudnya berarti sdh permission khan ?
    permissionnya dibuat requsip aja
    chmod -R 777 /cache1-7

    tak lupa cmiiw Click here to enlarge

  4. #32
    Status
    Offline
    venice's Avatar
    Newbie
    Join Date
    Dec 2011
    Posts
    33
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by luluknet24 Click here to enlarge
    hardisknya berapa om banyak amet cache dir nya, ane aja 250gb cm 4 coba perhatiin tutornya master kita om zdienos yang barangkali membantu

    nih ane tambahin kali aja bantu biar runing , step by step install ubuntu +squid lusca...ane rangkum dari beberapa tutor master" kita, download

    harsiskl 160 gb
    klo pake squid cal
    jumlah memori itu apa ? apa memory RAM
    at memori partisi cche
    Click here to enlarge

  5. #33
    Status
    Offline
    venice's Avatar
    Newbie
    Join Date
    Dec 2011
    Posts
    33
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0
    digelar master swuid.conf yang terbaru yang terbaik yang tercepatClick here to enlarge

    Click here to enlargeClick here to enlargeClick here to enlarge

  6. #34
    Status
    Offline
    luluknet24's Avatar
    Member
    Join Date
    May 2012
    Posts
    144
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    masih blom beres bro...

  7. #35
    Status
    Offline
    CyberspaceNT's Avatar
    Calon Member
    Join Date
    Nov 2009
    Posts
    79
    Reviews
    Read 0 Reviews
    Downloads
    2
    Uploads
    0
    Feedback Score
    0
    Mau tanya masih seputar proxy, bagaimana caranya supaya ketika buka speedtest.net nama provider kita keganti dengan nama kita dan ip kita sendiri???
    Click here to enlarge

  8. #36
    Status
    Offline
    venice's Avatar
    Newbie
    Join Date
    Dec 2011
    Posts
    33
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0
    sudah bro cuman minta digealr aja siapa tau muncul racikan opra master yang terbaik sehingga anggota fmi yang lain ikut terbantuClick here to enlarge

  9. #37
    Status
    Offline
    luluknet24's Avatar
    Member
    Join Date
    May 2012
    Posts
    144
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by venice Click here to enlarge
    sudah bro cuman minta digealr aja siapa tau muncul racikan opra master yang terbaik sehingga anggota fmi yang lain ikut terbantuClick here to enlarge
    owh iya syukur deh...udah solved ya...oh iya ane juga masih belajar juga bro. Mau koreksi dikit yg dari bang ucok_karnadi tutor yg setelah ngikutin instruksi untuk nambah baris ini di squid conf :
    acl tube dstdomain .youtube.com
    range_offset_limit -1 KB tube
    quick_abort_min -1 KB
    Internetnya jadi lemot loadingnya klo bro juga naruh baris ini, tanpa mengurangi rasa hormat kepada bang ucok_karnadi, saran ane di hapus aja atau disable aja. coz abis dihapus jadi normal loadingnya. Tanpa baris itu youtubenya ke hit juga kok. thanx bro.
    Last edited by luluknet24; 07-11-2012 at 08:15.

  10. #38
    Status
    Offline
    kurniaikhwan's Avatar
    Baru Gabung
    Join Date
    Nov 2012
    Location
    semarang
    Posts
    2
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by CyberspaceNT Click here to enlarge
    Mau tanya masih seputar proxy, bagaimana caranya supaya ketika buka speedtest.net nama provider kita keganti dengan nama kita dan ip kita sendiri???
    Click here to enlarge
    wew, keren juga ya kalau bisa diganti sesuka kita Click here to enlarge
    tapi kayaknya setahu saya yang bisa ngubah hal seperti itu dari pihak ISP yang punya ip public tersebut sih gan,, gak taw kalau ada teknik khusus,, CMIIW Click here to enlarge
    terus untuk ip yg tercantum di speedtest, kalau kita langganan ke suatu provider n dpet ip public sendiri, ntar juga nongol tuh ip public kita...

  11. #39
    Status
    Offline
    venice's Avatar
    Newbie
    Join Date
    Dec 2011
    Posts
    33
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by luluknet24 Click here to enlarge
    owh iya syukur deh...udah solved ya...oh iya ane juga masih belajar juga bro. Mau koreksi dikit yg dari bang ucok_karnadi tutor yg setelah ngikutin instruksi untuk nambah baris ini di squid conf :
    acl tube dstdomain .youtube.com
    range_offset_limit -1 KB tube
    quick_abort_min -1 KB
    Internetnya jadi lemot loadingnya klo bro juga naruh baris ini, tanpa mengurangi rasa hormat kepada bang ucok_karnadi, saran ane di hapus aja atau disable aja. coz abis dihapus jadi normal loadingnya. Tanpa baris itu youtubenya ke hit juga kok. thanx bro.

    terima kasih sarannya cuman sy tdk pake bang ucok krnadi punya krn tdk bisa konek sy bingung memasukkan acl localnet src untuk racikan bng ucok jd sy pake ini


    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

    klo yang ini mas ada tdk koreksiannya agar maksimal nanti cendol nyusul klo ada kemajuan

  12. #40
    Status
    Offline
    CyberspaceNT's Avatar
    Calon Member
    Join Date
    Nov 2009
    Posts
    79
    Reviews
    Read 0 Reviews
    Downloads
    2
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by kurniaikhwan Click here to enlarge
    wew, keren juga ya kalau bisa diganti sesuka kita Click here to enlarge
    tapi kayaknya setahu saya yang bisa ngubah hal seperti itu dari pihak ISP yang punya ip public tersebut sih gan,, gak taw kalau ada teknik khusus,, CMIIW Click here to enlarge
    terus untuk ip yg tercantum di speedtest, kalau kita langganan ke suatu provider n dpet ip public sendiri, ntar juga nongol tuh ip public kita...
    Click here to enlargeKayanya ngaruh ke proxy dah gan, soalnya ane pake proxy bis nih ngubah tuh ip di speedtest.net jadi ip lokal jaringan kita contoh ip lokal ane 29.71.99.2. cuma namanya gak bisa soalnya belum nemu konfigurasinya dmn?Click here to enlarge terima kasih ya suhu atas konfigurasi squidnya. hehehe untuk yang merasa aja!!Click here to enlarge

    ini picnya
    Click here to enlarge

  13. #41
    Status
    Offline
    arif_portnoy's Avatar
    Calon Member
    Join Date
    Dec 2011
    Posts
    88
    Reviews
    Read 0 Reviews
    Downloads
    2
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by venice Click here to enlarge
    digelar master swuid.conf yang terbaru yang terbaik yang tercepatClick here to enlarge

    Click here to enlargeClick here to enlargeClick here to enlarge
    Digelar squid.conf tercepat pun bgitu ditancepin di mesin ente ntar yg ada malah semburat alias jebol. Klo ente hnya modal copy paste tanpa mau repot2 brpikir & teliti. Belajar itu pelan2 broo.. tidak bisa instant. Penuh pengorbanan, fokus, penuh TRIAL and ERROR dan slow.. Ingat aturan di forum ini utk tdk brnafsu dlm melempar prtanyaan. Dibaca dulu praturannya bro.. Krn ini forum & kita tdk mndpatkan bayaran atas solusi yg kita beri ke ente.. (bgitu bunyi aturan di forum ini)

  14. #42
    Status
    Offline
    dhopack's Avatar
    Forum Guru
    Join Date
    Dec 2010
    Location
    KUDUS
    Posts
    1,919
    Reviews
    Read 0 Reviews
    Downloads
    2
    Uploads
    0
    Feedback Score
    0
    squid yang tercepat?
    squid/cumi dapat berenang di air dengan kecepatan mencapai 40km/jam dan dapat melompat setinggi 3m keluar dari air,

  15. #43
    Status
    Offline
    CyberspaceNT's Avatar
    Calon Member
    Join Date
    Nov 2009
    Posts
    79
    Reviews
    Read 0 Reviews
    Downloads
    2
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by dhopack Click here to enlarge
    squid yang tercepat?
    Click here to enlarge


    Haha solusi jitu itulah squid yang tercepat, ngomong2 dirumah ane juga lagi masak squid nih. "Squid Goreng"

  16. #44
    Status
    Offline
    ariemanroe's Avatar
    Newbie
    Join Date
    Jan 2012
    Posts
    20
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by dhopack Click here to enlarge
    squid yang tercepat?
    haha ada2 aja nih om dhopack Click here to enlarge Click here to enlarge

  17. #45
    Status
    Offline
    cj_net's Avatar
    Newbie
    Join Date
    Mar 2010
    Location
    REMBANG
    Posts
    30
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    newbiee, mohon koreksi............ hasil copy paste berbagai sumber
     
    http_port 3128 transparent
    cache_mem 8 MB
    #server_http11 on #gunakan ini untuk internal proxy
    icp_port 0 #gunakan ini jika bukan untuk internal proxy

    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

    maximum_object_size_in_memory 32 KB
    memory_replacement_policy heap GDSF
    cache_replacement_policy heap LFUDA
    maximum_object_size 256 MB
    cache_swap_low 98%
    cache_swap_high 99%
    cache_dir aufs /cache 80000 188 256
    access_log /var/log/squid/access.log
    cache_log /var/log/squid/cache.log
    cache_log /dev/null
    cache_store_log /dev/null
    redirect_rewrites_host_header off
    acl manager proto cache_object
    acl localhost src 127.0.0.1/255.255.255.255
    acl SSL_ports port 443 563
    acl Safe_ports port 80 21 443 563 70 210 1025-65535
    acl Safe_ports port 280
    acl Safe_ports port 488
    acl Safe_ports port 591
    acl Safe_ports port 777
    acl CONNECT method CONNECT
    acl dynamic urlpath_regex cgi-bin \?
    acl all src 0.0.0.0/0
    acl network src 192.168.4.0/24 #sesuaikan dengan IP LAN juragan
    acl network src 192.168.2.0/24 #sesuaikan Dengan IP PROXY juragan
    #acl network src 192.168.50.0/24 #Sesuaikan dengan IP HOTSPOT JURAGAN jika tidak ada di buang aja
    http_access allow manager
    http_access allow localhost
    http_access allow network
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    http_access deny all
    http_reply_access allow all
    http_gzip on
    http_gzip_types text/plain,text/html,text/xml,text/css,application/xml,application/xhtml+xml,application/rss+xml,application/javascript,application/x-javascript

    snmp_port 3401
    acl snmppublic snmp_community public
    snmp_access allow snmppublic all

    #Dynamic Contain
    acl store_rewrite_list urlpath_regex \/(get_video|videoplayback\?id|videoplayback.*id)
    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|zip|on2|mar|swf)\?
    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_path urlpath_regex \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|avc|zip|m p3|3gp|rar|on2|mar|exe)$
    acl store_rewrite_list_domain_CDN url_regex (khm|mt)[0-9]?.google.com
    acl store_rewrite_list_domain_CDN url_regex photos-[a-z].ak.fbcdn.net
    acl store_rewrite_list_domain_CDN url_regex \.rapidshare\.com.*\/[0-9]*\/.*\/[^\/]*
    acl store_rewrite_list_domain_CDN url_regex ^http:\/\/(www\.ziddu\.com.*\.[^\/]{3,4})\/(.*)
    acl store_rewrite_list_domain_CDN url_regex ^http:\/\/[.a-z0-9]*\.photobucket\.com.*\.[a-z]{3}$
    acl store_rewrite_list_domain_CDN url_regex (khm|mt)[0-9]?.google.co(m|\.id)
    acl store_rewrite_list_domain_CDN url_regex streamate.doublepimp.com.*\.js\? \.doubleclick\.net.* yieldmanager cpxinteractive quantserve\.com

    acl dontrewrite url_regex yimg.com redbot\.org (get_video|videoplayback\?id|videoplayback.*id).*b egin\=[1-9][0-9]* \.php\? threadless.*\.jpg\?r=
    acl getmethod method GET

    storeurl_access deny dontrewrite
    storeurl_access deny !getmethod

    storeurl_access allow store_rewrite_list_domain_CDN
    storeurl_access allow store_rewrite_list
    storeurl_access allow store_rewrite_list_domain store_rewrite_list_path
    storeurl_access deny all
    storeurl_rewrite_program /etc/squid/storeurl.pl
    storeurl_rewrite_children 1
    storeurl_rewrite_concurrency 99

    max_stale 10 years
    acl QUERY urlpath_regex -i \.(ini|ui|lst|inf|pak|ver|patch)$
    acl QUERY urlpath_regex -i (dat.asp|afs.dat|notice.swf|patchlist.txt|hackshie ld|captcha|reset.css|update.ver|notice.html|update s.txt|gamenotice)
    cache deny QUERY
    refresh_pattern -i \.(sc-|dl-|ex-|mh-|mst|dll)$ 0 20% 0
    refresh_pattern -i (main.exe|notice.html)$ 0 20% 0
    refresh_pattern -i (livescore.com|UpdaterModifier.exe|FreeStyle.exe|F SLauncher.exe) 0 20% 0
    refresh_pattern .speedtest.* 0 60% 10 negative-ttl=0

    refresh_pattern (get_video|videoplayback|videodownload|\.flv).*(be gin|start)\=[1-9][0-9]* 0 0% 0
    refresh_pattern imeem.*\.flv 0 0% 0 override-lastmod override-expire
    refresh_pattern ^ftp: 40320 20% 40320 override-expire reload-into-ims store-stale
    refresh_pattern ^gopher: 1440 0% 1440
    refresh_pattern -i (livescore.com|UpdaterModifier.exe|FreeStyle.exe|F SLauncher.exe) 0 20% 0

    #speedtest
    #refresh_pattern .speedtest.* 0 60% 10 negative-ttl=0
    refresh_pattern speedtest.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png|swf|tx t|js) 0 50% 180 store-stale negative-ttl=0


    #ads
    refresh_pattern ^.*safebrowsing.*google 131400 999999% 525600 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth ignore-must-revalidate negative-ttl=10080 store-stale
    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

    #antivirus
    refresh_pattern avast.com.*\.vpx 40320 50% 525600 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$ 131400 999999% 525600 ignore-reload store-stale
    refresh_pattern kaspersky 1440 50% 131400 ignore-no-cache store-stale
    refresh_pattern .symantecliveupdate.com.*\.zip 1440 90% 131400 ignore-must-revalidate store-stale
    refresh_pattern .update.nai.com/.*\.(gem|zip|mcs) 43800 999999% 43800 ignore-reload store-stale ignore-must-revalidate
    refresh_pattern .symantec.com.*\(exe|zip) 43800 999999% 43800 ignore-reload store-stale ignore-must-revalidate
    refresh_pattern ^ 131400 999999% 131400 override-expire store-stale
    refresh_pattern ^http:\/\/\.www[0-9][0-9]\.indowebster\.com\/(.*)(rar|mov|mkv|cab|flv|wmv|3gp|mp(4|3)|exe|msi|z ip) 43200 99999% 129600 reload-into-ims ignore-reload override-expire ignore-no-cache ignore-no-store ignore-private store-stale ignore-auth

    refresh_pattern .kaskus.us.*\.(jpg|gif|png) 1440 60% 131400 override-expire store-stale

    #fb
    refresh_pattern ((facebook.com)|(85.131.151.39)).*\.(png|gif) 1440 60% 525600 override-expire store-stale
    refresh_pattern .fbcdn.net.*\.(jpg|gif|png) 1440 60% 131400 ignore-no-cache override-expire ignore-reload store-stale negative-ttl=0
    #images facebook
    refresh_pattern -i \.facebook.com.*\.(jpg|png|gif) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
    refresh_pattern -i \.fbcdn.net.*\.(jpg|gif|png|swf|mp3) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
    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 -i \.zynga.com.*\/ 10080 999999% 43200 ignore-reload override-expire ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
    refresh_pattern -i \.farmville.com.*\/ 10080 999999% 43200 ignore-reload override-expire ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
    refresh_pattern -i \.ninjasaga.com.*\/ 10080 999999% 43200 ignore-reload override-expire ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
    refresh_pattern -i \.mafiawars.com.*\/ 10080 999999% 43200 ignore-reload override-expire ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
    refresh_pattern -i \.crowdstar.com.*\/ 10080 999999% 43200 ignore-reload override-expire ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
    refresh_pattern -i \.popcap.com.*\/ 10080 999999% 43200 ignore-reload override-expire ignore-no-cache ignore-no-store ignore-must-revalidate store-stale

    #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

    #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

    # 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

    #specific sites
    refresh_pattern \.rapidshare.*\/[0-9]*\/.*\/[^\/]* 131400 90% 525600 ignore-reload store-stale
    refresh_pattern ^[a-zA-Z0-9]) 131400 999999% 43200 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 (get_video\?|videoplayback\?|videodownload\?|\.flv ?) 525600 99999999% 525600 override-expire ignore-reload ignore-no-cache ignore-must-revalidate ignore-private store-stale negative-ttl=0
    refresh_pattern \.(ico|video-stats) 525600 999999% 525600 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 \.etology\? 525600 999999% 525600 override-expire ignore-reload ignore-no-cache store-stale
    refresh_pattern galleries\.video(\?|sz) 525600 999999% 525600 override-expire ignore-reload ignore-no-cache store-stale
    refresh_pattern brazzers\? 525600 999999% 525600 override-expire ignore-reload ignore-no-cache store-stale
    refresh_pattern \.adtology\? 525600 999999% 525600 override-expire ignore-reload ignore-no-cache store-stale

    refresh_pattern ^)[0-9]?)\.google\.co(m|\.id) 131400 999999% 525600 override-expire ignore-reload store-stale ignore-private negative-ttl=10080
    refresh_pattern ytimg\.com.*\.(jpg|png) 525600 999999% 525600 override-expire ignore-reload store-stale
    refresh_pattern images\.friendster\.com.*\.(png|gif) 131400 999999% 525600 override-expire ignore-reload store-stale
    refresh_pattern garena\.com 525600 999999% 525600 override-expire reload-into-ims store-stale
    refresh_pattern photobucket.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png) 525600 999999% 525600 override-expire ignore-reload store-stale
    refresh_pattern vid\.akm\.dailymotion\.com.*\.on2\? 525600 999999% 525600 ignore-no-cache override-expire override-lastmod store-stale
    refresh_pattern ^http:\/\/images|pics|thumbs[0-9]\. 131400 999999% 525600 ignore-no-cache ignore-no-store ignore-reload override-expire store-stale
    refresh_pattern ^http:\/\/www.onemanga.com.*\/ 525600 999999% 525600 reload-into-ims override-expire store-stale
    refresh_pattern mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png) 131400 999999% 525600 reload-into-ims override-expire ignore-private store-stale
    refresh_pattern \.macromedia.com.*\.(z|exe|cab) 131400 999999% 525600 ignore-reload override-expire store-stale

    #general
    refresh_pattern \.(jp(e?g|e|2)|tiff?|bmp|gif|png) 131400 999999% 525600 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|bz2|gz|tar|rpm|vpu) 131400 999999% 525600 override-expire ignore-no-cache reload-into-ims
    refresh_pattern \.(mp3|wav|og(g|a)|flac|midi?|rm|aac|wma|mka|ape) 131400 999999% 525600 override-expire reload-into-ims ignore-reload
    refresh_pattern \.(exe|msi|dmg|bin|xpi|iso|swf|mar|psf|cab|mar) 131400 999999% 525600 override-expire reload-into-ims ignore-no-store ignore-no-cache ignore-must-revalidate
    refresh_pattern \.(mkv|mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\ dv|rv|vob|asx|ogm|flv|3gp|on2) 525600 9999999% 525600 ignore-must-revalidate ignore-private ignore-no-cache override-expire reload-into-ims
    refresh_pattern -i (cgi-bin) 0 0% 0
    refresh_pattern \.(php|jsp|cgi|asx)\? 0 0% 0
    refresh_pattern . 0 50% 525600 store-stale
    header_access X-Forwarded-For deny all

    fqdncache_size 4096
    ipcache_low 98
    ipcache_high 99
    quick_abort_min 0
    quick_abort_max 0
    quick_abort_pct 95
    shutdown_lifetime 10 seconds
    memory_pools off
    buffered_logs off
    log_icp_queries off
    logfile_rotate 1
    log_fqdn off
    forwarded_for off
    icp_hit_stale on
    query_icmp on
    reload_into_ims on
    emulate_httpd_log off
    negative_ttl 2 minutes
    pipeline_prefetch on
    vary_ignore_expire on
    half_closed_clients off
    high_page_fault_warning 2
    nonhierarchical_direct on
    prefer_direct off
    cache_mgr cjnets@yahoo.com
    cache_effective_user proxy
    cache_effective_group proxy
    visible_hostname cjnet
    unique_hostname cjnet
    cachemgr_passwd none all
    client_db on
    max_filedescriptors 8192
    n_aiops_threads 24
    load_check_stopen on
    load_check_stcreate on
    download_fastest_client_speed on

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

 

 
Page 3 of 6 FirstFirst 12345 ... LastLast

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
  •