نمایش نتایج: از شماره 1 تا 6 از مجموع 6

موضوع: مشکلات این کانفیگ Squid به من بگید

  
  1. #1
    نام حقيقي: Mohsen Maassumy

    عضو غیر فعال شناسه تصویری mohsen83
    تاریخ عضویت
    Feb 2008
    محل سکونت
    Tehran
    نوشته
    13
    سپاسگزاری شده
    0
    سپاسگزاری کرده
    1

    مشکلات این کانفیگ Squid به من بگید

    از دوستان درخواست دارم مشکلات این کانفیگ را به من بگن
    http_port 3111 transparent
    auth_param basic progra/sibradius/bin/squid_radius_auth -h 127.0.0.1 -p 1812 -w ALBORZ
    auth_param basic children 20
    auth_param basic realm sib
    auth_param basic credentialsttl 1 minute
    auth_param basic casesensitive off
    auth_param basic realm Username and password
    acl PRO proxy_auth REQUIRED
    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \?
    cache deny QUERY
    acl apache rep_header Server ^Apache
    broken_vary_encoding allow apache
    cache_dir aufs /var/spool/squid 8192 32 512
    log_fqdn off
    debug_options ALL,1
    refresh_pattern ^ftp: 2880 25% 10080
    refresh_pattern ^gopher: 2880 0% 2880
    refresh_pattern -i \.(htmx|xhtml|sxml|shtml|java|aspx|perl)$ 5760 60% 10080 ignore-reload override-expire override-lastmod
    refresh_pattern -i \.(do|asp|css|php|xml|ocx|html|chtml|phtml)$ 5760 60% 10080 ignore-reload override-expire override-lastmod
    refresh_pattern -i \.(jpg|jpe|aac|jpeg|gif|png|bmp|pic)$ 20160 95% 99000 ignore-reload override-expire override-lastmod
    refresh_pattern -i \.(mpg|mpeg|mov|avi|midi|wmv|asx|thm)$ 20160 95% 99000 ignore-reload override-expire override-lastmod
    refresh_pattern -i \.(mid|wav|mp[234]|rm|ra|ram|wma|au)$ 20160 95% 99000 ignore-reload override-expire override-lastmod
    refresh_pattern -i \.(css|js|jar|class|pdf|doc|swf|txt)$ 20160 95% 99000 ignore-reload override-expire override-lastmod
    refresh_pattern -i \.(exe|tgz|tbz|tar|gz|bz2|zip|rar|cab)$ 20160 95% 99000 ignore-reload override-expire override-lastmod
    refresh_pattern -i \.(xbm|thb|dcr|art|spl|viv|z|vrm|vrml)$ 20160 95% 99000 ignore-reload override-expire override-lastmod
    refresh_pattern -i \.(jpg|jpe|aac|jpeg|gif|png|bmp|pic)$ 20160 95% 99000 ignore-reload override-expire override-lastmod
    refresh_pattern -i \.(aif|aifc|aiff|arj|c|cpt|dir|dxr|hqx)$ 20160 95% 99000 ignore-reload override-expire override-lastmod
    refresh_pattern -i \.(lha|lzh|movie|mpe|mpga|pl|ppt|ps|qt)$ 20160 95% 99000 ignore-reload override-expire override-lastmod
    refresh_pattern -i \.(qtm|ras|sea|sit|tif|tiff|js|jsp|fla)$ 20160 95% 99000 ignore-reload override-expire override-lastmod
    refresh_pattern http://*.windowsupdate.microsoft.com/ 300 60% 20160
    refresh_pattern Microsoft Windows Update 300 60% 20160
    refresh_pattern http://download.macromedia.com/ 300 60% 20160
    refresh_pattern Microsoft Download Center 300 60% 20160
    refresh_pattern http://office.microsoft.com/ 300 60% 20160
    refresh_pattern http://wxpsp2.microsoft.com/ 300 60% 20160
    refresh_pattern IBM Support and downloads 300 60% 20160
    refresh_pattern Microsoft Download Center 300 60% 20160
    refresh_pattern Microsoft Download Center 300 60% 20160
    refresh_pattern ftp://ftp.nai.com/ 300 60% 20160
    refresh_pattern . 300 50% 4320
    negative_ttl 5 minutes
    positive_dns_ttl 24 hours
    negative_dns_ttl 1 minute
    cache_mgr Mohsen.Maassumy@gmail.com
    cache_mem 32 MB
    maximum_object_size 20 MB
    cache_replacement_policy heap LFUDA
    cache_swap_low 90
    cache_swap_high 95
    maximum_object_size_in_memory 50 KB
    logfile_rotate 10
    memory_pools off
    quick_abort_min 0 KB
    quick_abort_max 0 KB
    log_icp_queries off
    client_db off
    half_closed_clients off
    pid_filename /var/run/squid.pid
    error_directory /etc/squid/errors
    cache_log /dev/null
    cache_store_log /dev/null
    acl manager proto cache_object
    access_log /var/log/squid/access.log squid
    acl lan src 0.0.0.0/0.0.0.0
    acl all src 0.0.0.0/0.0.0.0
    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
    acl Safe_ports port 80
    acl Safe_ports port 21
    acl Safe_ports port 443 563
    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
    http_access allow manager localhost
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    http_access deny to_localhost
    http_access allow localhost
    http_access allow lan
    http_access allow PRO all
    http_access deny all
    icp_access allow all
    http_reply_access allow lan
    visible_hostname ALBORZ
    logfile_rotate 2
    strip_query_terms off
    cache_effective_user squid




    موضوعات مشابه:

  2. #2
    نام حقيقي: Peyman Yousefi

    عضو ویژه شناسه تصویری darklove
    تاریخ عضویت
    Oct 2005
    محل سکونت
    ABHAR
    نوشته
    3,330
    سپاسگزاری شده
    1005
    سپاسگزاری کرده
    318
    نوشته های وبلاگ
    7
    اولین مشکل اینه که همه ی برچسب های Squid استفاده شده
    دومین مشکل این Config برای چه کاری میخواهید ؟



  3. #3
    نام حقيقي: محمد رسول راستی

    مدیر عمومی شناسه تصویری M-r-r
    تاریخ عضویت
    Feb 2004
    محل سکونت
    تهران
    نوشته
    9,486
    سپاسگزاری شده
    4309
    سپاسگزاری کرده
    2706
    خواستم تاپیک جدید باز کنم، دیدیم چندتایی هست، این اولین بود به همین دلیل این رو انتخاب کردم؛

    یه کش سرور دارم، فکر میکردم مشکل کانفیگ داشته باشم . با اقا پیمان صحبت کردم فرمایش دادن خیلی مشکل داره؛ اما وقت نداشتن بیشتر مزاحمشون بشم؛ خواستم ببینم میتونم از شما کمک بگیرم ؟
    کانفیگ فعلی این هست :
    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY

    cache_mem 10000 MB
    maximum_object_size 500000 KB

    cache_replacement_policy lru
    memory_replacement_policy lru

    cache_dir ufs /var/spool/squid/cache01 8400 64 128
    cache_dir ufs /var/spool/squid/cache02 8400 64 128
    cache_dir ufs /var/spool/squid/cache03 8400 64 128
    cache_dir ufs /var/spool/squid/cache04 8400 64 128

    cache_access_log /var/log/squid/access.log
    #cache_access_log none
    cache_log /var/log/squid/cache.log
    cache_store_log /var/log/squid/store.log

    ftp_user Squid@
    ftp_list_width 64
    ftp_passive on


    dns_nameservers 85.185.143.251 217.218.127.104

    redirect_rewrites_host_header off

    refresh_pattern ^http://.*\.cnn\.com 360 50% 4320 override-lastmod override-expire ignore-reload
    refresh_pattern ^http://news\.bbc\.co\.uk 360 50% 4320 override-lastmod override-expire ignore-reload
    refresh_pattern microsoft 1080 150% 10080 override-expire override-lastmod override-expire
    refresh_pattern msn\.com 4320 150% 10080 override-expire override-lastmod override-expire
    refresh_pattern http://.*\.windowsupdate\.microsoft\.com/ 0 80% 20160 reload-into-ims
    refresh_pattern http://office\.microsoft\.com/ 0 80% 20160 reload-into-ims
    refresh_pattern http://windowsupdate\.microsoft\.com/ 0 80% 20160 reload-into-ims
    refresh_pattern http://w?xpsp[0-9]\.microsoft\.com/ 0 80% 20160 reload-into-ims
    refresh_pattern http://w2ksp[0-9]\.microsoft\.com/ 0 80% 20160 reload-into-ims
    refresh_pattern http://download\.microsoft\.com/ 0 80% 20160 reload-into-ims
    refresh_pattern http://download\.macromedia\.com/ 0 80% 20160 reload-into-ims
    refresh_pattern ftp://ftp\.nai\.com/ 0 80% 20160 reload-into-ims
    refresh_pattern http://ftp\.software\.ibm\.com/ 0 80% 20160 reload-into-ims
    refresh_pattern ^http://.*\.doubleclick\.net 10080 300% 40320 override-expire override-lastmod override-expire ignore-reload
    refresh_pattern ^http://.*FIDO 360 1000% 480
    refresh_pattern \.phtml$ 240 200% 10080
    refresh_pattern \.avi$ 10080 150% 40320
    refresh_pattern \.mov$ 10080 150% 40320
    refresh_pattern \.wav$ 10080 150% 40320
    refresh_pattern \.mp3$ 10080 150% 40320
    refresh_pattern \.qtm$ 10080 150% 40320
    refresh_pattern \.mid$ 10080 150% 40320
    refresh_pattern \.viv$ 10080 150% 40320
    refresh_pattern \.mpg$ 10080 150% 40320
    refresh_pattern \.jpg$ 10080 150% 40320
    refresh_pattern \.rar$ 10080 150% 40320
    refresh_pattern \.ram$ 10080 150% 40320
    refresh_pattern \.pdf$ 10080 150% 40320
    refresh_pattern \.ppt$ 10080 150% 40320
    refresh_pattern \.dll$ 10080 150% 40320
    refresh_pattern \.cab$ 10080 150% 40320
    refresh_pattern \.bin$ 10080 150% 40320
    refresh_pattern \.exe$ 10080 150% 40320
    refresh_pattern \.ps$ 10080 150% 40320
    refresh_pattern \.gz$ 10080 150% 40320
    refresh_pattern \.tar$ 10080 150% 40320
    refresh_pattern \.rm$ 10080 150% 40320
    refresh_pattern \.ram$ 10080 150% 40320
    refresh_pattern \.smi$ 10080 150% 40320
    refresh_pattern \.iso$ 10080 150% 40320
    refresh_pattern \.mpeg$ 10080 150% 40320
    refresh_pattern \.wmv$ 10080 150% 40320
    refresh_pattern \.ppt$ 10080 150% 40320
    refresh_pattern \.r[0-9][0-0]$ 10080 150% 40320

    refresh_pattern ^http://.*\.gif$ 1440 50% 20160
    refresh_pattern ^http://.*\.jpg$ 1440 50% 20160
    refresh_pattern ^http://.*\.jpeg$ 1440 50% 20160
    refresh_pattern ^http://.*\.asis$ 1440 50% 20160

    refresh_pattern \.gif$ 10080 300% 40320
    refresh_pattern \.jpg$ 10080 300% 40320
    refresh_pattern \.jpeg$ 10080 300% 40320
    refresh_pattern \.txt$ 1440 100% 20160 override-lastmod

    refresh_pattern \.zip$ 2880 200% 40320
    refresh_pattern \.arj$ 2880 200% 40320

    acl all src 0.0.0.0/0.0.0.0
    acl asm src 85.185.143.224/255.255.255.224
    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
    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 PURGE method PURGE
    acl CONNECT method CONNECT

    acl dial src 85.185.143.251-85.185.143.251

    http_access allow manager localhost
    http_access allow manager
    http_access deny manager
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    http_access allow localhost
    http_access deny to_localhost
    http_access allow asm
    http_access deny all
    http_reply_access allow all
    icp_access allow all
    http_access allow dial

    cache_effective_user squid
    cache_effective_group squid

    httpd_accel_host virtual
    httpd_accel_port 80
    httpd_accel_single_host off
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on

    nonhierarchical_direct on
    prefer_direct on

    coredump_dir /var/spool/squid
    logfile_rotate 2
    cachemgr_passwd whatever all




    Mohammad Rasoul Rasti
    There's no place like 127.0.0.1
    m.rasti [@] outlook.com

  4. #4
    نام حقيقي: هاشم سکاکی

    عضو عادی شناسه تصویری milad22
    تاریخ عضویت
    May 2005
    محل سکونت
    iran
    نوشته
    2,050
    سپاسگزاری شده
    320
    سپاسگزاری کرده
    197
    چه مشکلی پیش میاد؟



  5. #5
    نام حقيقي: محمد رسول راستی

    مدیر عمومی شناسه تصویری M-r-r
    تاریخ عضویت
    Feb 2004
    محل سکونت
    تهران
    نوشته
    9,486
    سپاسگزاری شده
    4309
    سپاسگزاری کرده
    2706
    والله یه جورایی شدم مثال اونی که میگن : سری که درد نمیکنه دستمال نمیبندن،
    فکر میکنم میشه بهینه اش کرد...


    Mohammad Rasoul Rasti
    There's no place like 127.0.0.1
    m.rasti [@] outlook.com

  6. #6
    نام حقيقي: alireza

    عضو عادی
    تاریخ عضویت
    Mar 2008
    نوشته
    41
    سپاسگزاری شده
    5
    سپاسگزاری کرده
    0
    خوب تو مشکلتو بگو ما هم کمک میکنیم



کلمات کلیدی در جستجوها:

کانفیگ squid

refresh_pattern

دانلود کانفینگ squid

مشکلات squid

sibradius

کانفیگ squid refresh_pattern

برچسب برای این موضوع

مجوز های ارسال و ویرایش

  • شما نمی توانید موضوع جدید ارسال کنید
  • شما نمی توانید به پست ها پاسخ دهید
  • شما نمی توانید فایل پیوست ضمیمه کنید
  • شما نمی توانید پست های خود را ویرایش کنید
  •