Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 7 of 7

Thread: Problem SQUID

  1. #1
    Status
    Offline
    d0d0n's Avatar
    Newbie
    Join Date
    Nov 2009
    Posts
    41
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    Problem SQUID

    para master squid sekalian saya ada beberapa problem dalam mengkonfigurasi squid yaitu pada log tertulis TCP_MISS tak ada satupun HIT tercatat..sebagai catatan mesin ini dah berjalan 1 harian dan berkali2 saya buka halaman yang sama tetep saja TCP_MISS

    untuk koreksi saya sertakan conf-nya :
    ------------------------------------------------------------
    Code:
    # PORT
    http_port 3128 transparent
    prefer_direct off
    
    # CACHE & OBJECT
    cache_mem 6 MB
    cache_swap_low 98
    cache_swap_high 99
    max_filedesc 8192
    maximum_object_size 50 MB
    maximum_object_size_in_memory 8 KB
    
    ipcache_size 4096
    ipcache_low 98
    ipcache_high 99
    fqdncache_size 4096
    
    cache_replacement_policy heap LFUDA
    memory_replacement_policy heap GDSF
    
    cache_dir aufs /home/proxy1 20000 48 256
    cache_dir aufs /home/proxy2 20000 48 256
    
    # FACEBOOK
    server_http11 on
    
    # DNS
    dns_defnames on
    dns_timeout 10 seconds
    dns_nameservers 127.0.0.1
    
    # LOG
    cache_access_log /var/log/squid/access.log
    cache_log /var/log/squid/cache.log
    pid_filename /var/run/squid.pid
    cache_store_log none
    cache_swap_log /var/log/squid/swap.state
    log_fqdn off
    log_icp_queries off
    coredump_dir /var/spool/squid
    
    # REFRESH PATTERN
    refresh_pattern ^http\:\/\/*\.facebook\.com\/ 10080 80% 43200 reload-into-ims 
    refresh_pattern ^http\:\/\/*\.kaskus\.us\/ 10080 80% 43200 reload-into-ims 
    refresh_pattern ^http\:\/\/*\.google\.co\*.*/ 10080 90% 43200 reload-into-ims 
    refresh_pattern ^http\:\/\/*\.yahoo\.co*\.*/ 10080 90% 43200 reload-into-ims 
    refresh_pattern ^http\:\/\/*\.friendster\.com\/ 10080 90% 43200 reload-into-ims 
    
    refresh_pattern ^ 720 80% 43200 reload-into-ims 
    refresh_pattern ^ 720 80% 43200 reload-into-ims 
    refresh_pattern ^ 720 80% 43200 reload-into-ims 
    refresh_pattern ^ 720 80% 43200 reload-into-ims 
    refresh_pattern ^ 720 80% 43200 reload-into-ims 
    refresh_pattern ^ 720 80% 43200 reload-into-ims 
    refresh_pattern ^ 720 80% 43200 reload-into-ims 
    refresh_pattern ^ 720 80% 43200 reload-into-ims 
    
    refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 10080 100% 43200 reload-into-ims 
    refresh_pattern -i \.(iso|avi|wav|mp3|mp4|mpeg|mpg|swf|flv|x-flv)$ 43200 100% 43200 reload-into-ims 
    refresh_pattern -i \.(deb|rpm|exe|ram|bin|pdf|ppt|doc|tiff)$ 10080 100% 43200 reload-into-ims 
    refresh_pattern -i \.(zip|gz|arj|lha|lzh|tar|tgz|cab|rar)$ 10080 100% 43200 reload-into-ims 
    refresh_pattern -i \.(html|htm|css|js|php|asp|aspx|cgi) 10080 100% 40320 reload-into-ims 
    
    refresh_pattern ^ftp: 10080 90% 241920 reload-into-ims 
    refresh_pattern . 180 90% 120960 reload-into-ims 
    
    # ACL
    acl all src 0.0.0.0/0.0.0.0
    acl localnet src 192.168.1.0/24
    acl localnet src 192.168.2.0/24
    acl localnet src 192.168.3.0/24
    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
    acl Safe_ports port 80 
    acl Safe_ports port 53
    acl Safe_ports port 21 
    acl Safe_ports port 443 
    acl Safe_ports port 70 
    acl Safe_ports port 210 
    acl Safe_ports port 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 ym dstdomain .messenger.yahoo.com .psq.yahoo.com
    acl ym dstdomain .us.il.yimg.com .msg.yahoo.com .pager.yahoo.com
    acl ym dstdomain .rareedge.com .ytunnelpro.com .chat.yahoo.com
    acl ym dstdomain .voice.yahoo.com
    acl ym dstdomain .skype.com .imvu.com
    acl ymregex url_regex yupdater.yim ymsgr myspaceim
    
    acl speedtest dstdomain .speedtest.net
    cache allow speedtest 
    
    http_access allow manager localhost
    http_access allow ym
    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 all
    http_reply_access allow all
    icp_access allow all
    
    # DLL
    cache_mgr mail_d0d0n@yahoo.com.sg
    visible_hostname PROXY warnet-jc.NET
    header_access Accept-Encoding deny all
    cache_effective_user proxy
    cache_effective_group proxy
    logfile_rotate 7
    memory_pools off
    reload_into_ims on
    pipeline_prefetch on
    ------------------------------------------------------------
    ini apanya yang salah ya?? Click here to enlarge
    Last edited by kdebugx86; 07-10-2010 at 15:34.

  2. #2
    Status
    Offline
    d0d0n's Avatar
    Newbie
    Join Date
    Nov 2009
    Posts
    41
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    ini contoh log-nya

    Code:
    -----------------------------------------------------
    1282322203.606    865 192.168.2.100 TCP_MISS/304 280 GET  - DIRECT/203.84.158.50 -
    1282322203.725    858 192.168.2.100 TCP_MISS/304 280 GET  - DIRECT/203.84.158.50 -
    1282322203.854    706 192.168.2.100 TCP_MISS/304 280 GET  - DIRECT/203.84.158.50 -
    1282322203.997    639 192.168.2.100 TCP_MISS/304 280 GET  - DIRECT/203.84.158.50 -
    1282322204.393    786 192.168.2.100 TCP_MISS/304 281 GET  - DIRECT/203.84.158.50 -
    1282322204.703    848 192.168.2.100 TCP_MISS/304 281 GET  - DIRECT/203.84.158.50 -
    1282322204.881    884 192.168.2.100 TCP_MISS/304 281 GET  - DIRECT/203.84.158.50 -
    1282322205.095    702 192.168.2.100 TCP_MISS/304 281 GET  - DIRECT/203.84.158.50 -
    1282322205.141   2990 192.168.2.100 TCP_MISS/304 280 GET  - DIRECT/203.84.158.50 -
    1282322205.260    556 192.168.2.100 TCP_MISS/304 281 GET  - DIRECT/203.84.158.50 -
    1282322205.387    505 192.168.2.100 TCP_MISS/304 281 GET  - DIRECT/203.84.158.50 -
    1282322205.509    411 192.168.2.100 TCP_MISS/304 281 GET  - DIRECT/203.84.158.50 -
    1282322205.649    506 192.168.2.100 TCP_MISS/304 281 GET  - DIRECT/203.84.158.50 -
    1282322205.767    506 192.168.2.100 TCP_MISS/304 281 GET  - DIRECT/203.84.158.50 -
    1282322205.896    507 192.168.2.100 TCP_MISS/304 281 GET  - DIRECT/203.84.158.50 -
    1282322206.027    517 192.168.2.100 TCP_MISS/304 280 GET  - DIRECT/203.84.158.50 -
    1282322206.109   2632 192.168.2.100 TCP_MISS/304 281 GET  - DIRECT/203.84.158.50 -
    1282322206.272   2546 192.168.2.100 TCP_MISS/304 281 GET  - DIRECT/203.84.158.50 -
    1282322206.323   3137 192.168.2.100 TCP_MISS/304 280 GET  - DIRECT/203.84.158.50 -
    1282322206.935   3495 192.168.2.100 TCP_MISS/304 281 GET  - DIRECT/203.84.158.50 -
    1282322212.198  55750 192.168.2.101 TCP_MISS/200 350 GET  - DIRECT/69.63.176.175 text/plain
    1282322215.240    301 192.168.2.100 TCP_MISS/304 282 GET  - DIRECT/203.84.158.50 -
    1282322215.819    563 192.168.2.100 TCP_MISS/304 282 GET  - DIRECT/203.84.158.50 -
    1282322215.832    575 192.168.2.100 TCP_MISS/200 306 GET  - DIRECT/203.84.158.50 text/html
    1282322217.512   3614 192.168.2.100 TCP_MISS/200 101229 GET  - DIRECT/203.84.158.50 text/html
    1282322217.602    278 192.168.2.100 TCP_MISS/304 282 GET  - DIRECT/203.84.158.50 -
    1282322218.025    271 192.168.2.100 TCP_MISS/200 487 GET  - DIRECT/64.233.183.113 image/gif
    1282322218.778   2929 192.168.2.100 TCP_MISS/200 1563 GET  - DIRECT/203.84.158.50 text/html
    1282322245.101  55755 192.168.2.101 TCP_MISS/200 350 GET  - DIRECT/69.63.176.175 text/plain
    1282322255.776    754 192.168.2.101 TCP_MISS/200 452 GET  - DIRECT/69.63.176.175 text/plain
    1282322259.357  64363 192.168.2.101 TCP_MISS/200 350 GET 
    -----------------------------------------------------
    Last edited by kdebugx86; 07-10-2010 at 15:32.

  3. #3
    Status
    Offline
    monoxs's Avatar
    Calon Member
    Join Date
    Mar 2008
    Posts
    76
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    kenapa yaah para master ngak ada yang kasih solusi

    Please momod
    om member..oom suhu..om yg pernah mengallami tp berhasil
    kasih ramuannya donk

    tempat saya TCP_MIS terus juga
    browsing jadi lambat

  4. #4
    Status
    Offline
    squidzn's Avatar
    Baru Gabung
    Join Date
    May 2009
    Posts
    11
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    sama gan.
    ane juga gitu.
    liat di log nya miss miss mulu..
    tapi terasa kok content nya udah tercache.
    malahan setelah jalan 2 bulanan. cache nya full Click here to enlarge
    ..

  5. #5
    Status
    Offline
    tyang_dusun's Avatar
    Member Super Senior
    Join Date
    Jun 2008
    Location
    Klaten, Jawa Tengah, Indonesia, Indonesia
    Posts
    522
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0
    coba agan tambahin script ini di squidnya

    Code:
    zph_mode tos
    zph_local 0x30
    zph_parent 0
    zph_option 136

  6. #6
    Status
    Offline
    ashura4567's Avatar
    Baru Gabung
    Join Date
    Aug 2010
    Posts
    5
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Sama saya juga MISS melulu tapi browsing semakin cepat. ANEH!Click here to enlarge

  7. #7
    Status
    Offline
    kweteng's Avatar
    VIP Member
    Join Date
    Nov 2009
    Location
    batu wae
    Posts
    796
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    confignya gak bener berarti,

    udah di bahas keknya config yang mantaf2 HIT nya, silahkan di obok2 di mari

 

 

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1501
    Last Post: 01-04-2013, 04:47
  2. (share)-=squid-graph=-, squid logs tool analysis
    By sum14rdi in forum Linux Support
    Replies: 11
    Last Post: 29-10-2011, 18:04
  3. [SQUID] Compiling SQUID untuk dijalankan di Ubuntu 64 bit
    By indifferentials in forum Linux Support
    Replies: 46
    Last Post: 04-06-2011, 23:04
  4. [SQUID] Merged : Tools Squid Performances.
    By keblux in forum Linux Support
    Replies: 131
    Last Post: 05-09-2010, 02:38
  5. Problem squid transparent
    By brain_lord2000 in forum Wireless Networking
    Replies: 0
    Last Post: 23-07-2010, 13:47

Posting Permissions

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