บทความอัพเดทในเว็บ ขออนุญาตอัพเดทช่องทาง https://fb.com/siamcafefan

ผู้เขียน หัวข้อ: ทดสอบ squid3.1 for clarkconnect  (อ่าน 6533 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ Admin!

  • อยู่ใต้ฟ้าอย่าท้าฝน เกิดเป็นคนอย่าท้ากรรม !
  • admin
  • ********
  • กระทู้: 4182
  • Reputation: 101
  • เพศ: ชาย
  • สัจจะคือคำขาด
    • http://www.siamcafe.net
ทดสอบ squid3.1 for clarkconnect
« เมื่อ: มิถุนายน 12, 2009, 12:28:55 am »
เห็น squid.conf แล้วผมก็งงๆอยู่พักใหญ่ๆเพราะมันมีแค่เนี้ยแต่ขอทดสอบให้ชัวร์ก่อน..ว่ามันจะไม่มีปัญหา..เพราะว่ามันยังใหม่มากๆ....แต่ที่ชอบก็คือว่า,,ไม่ต้องโมอะไรเลย..พี่ท่านจัดมาให้แค่นี้หละครับconfig  :028:

เท่าที่ทดสอบเบื้องต้น เก็บ youtube ได้เลยโดยไม่ต้องโมอะไรเพิ่มเลย..

แต่ขอเทสให้ครบๆก่อน..แต่ส่วนตัวแล้วชอบเลยเพราะว่ากิน รีซอสต่ำมากๆ :012:

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 SSL_ports port 443
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
http_access allow manager localhost
http_access allow manager
http_access allow !Safe_ports
http_access allow CONNECT !SSL_ports
http_access allow localnet
http_access allow all
http_port 3128 transparent
hierarchy_stoplist cgi-bin ?
refresh_pattern ^ftp:      1440   20%   10080
refresh_pattern ^gopher:   1440   0%   1440
refresh_pattern -i (/cgi-bin/|\?) 0   0%   0
refresh_pattern .      0   20%   4320
coredump_dir /var/cache/squid
visible_hostname proxy.siamcafe.net

..แต่ความแรงกำลังเทสอยู่แทบไม่ต้องโมอะไรอีกแล้วด้วย....มันจัดการให้หมดเลย...

ไว้ว่างๆจะทำตัว setup ให้นะครับสำหรับ CC เฉพาะ VIP นะ..ไว้ว่างๆก่อนขอเทสให้หายอยากก่อน :011:

ปล.ใครที่จะใช้ 3.1 copy code ผมไปใช้ได้เลยนะครับ..แต่ต้องลง module หลายๆอย่าง..ไว้ทำ rpm มาให้หละกันถ้าสนใจจะบ้ามาลองกับผมนะ  :008:

ออฟไลน์ Admin!

  • อยู่ใต้ฟ้าอย่าท้าฝน เกิดเป็นคนอย่าท้ากรรม !
  • admin
  • ********
  • กระทู้: 4182
  • Reputation: 101
  • เพศ: ชาย
  • สัจจะคือคำขาด
    • http://www.siamcafe.net
Re: ทดสอบ squid3.1 for clarkconnect
« ตอบกลับ #1 เมื่อ: มิถุนายน 12, 2009, 12:29:22 am »
Via  1.1 proxy.siamcafe.net (squid/3.1.0.8) 

ออฟไลน์ Admin!

  • อยู่ใต้ฟ้าอย่าท้าฝน เกิดเป็นคนอย่าท้ากรรม !
  • admin
  • ********
  • กระทู้: 4182
  • Reputation: 101
  • เพศ: ชาย
  • สัจจะคือคำขาด
    • http://www.siamcafe.net
Re: ทดสอบ squid3.1 for clarkconnect
« ตอบกลับ #2 เมื่อ: มิถุนายน 12, 2009, 12:32:50 am »
โค๊ด: [Select]
Squid Cache: Version 3.1.0.8
configure options:  '--build=i386-koji-linux-gnu' '--host=i386-koji-linux-gnu' '                                                                              --target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-pref                                                                              ix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadi                                                                              r=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr                                                                              /libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/shar                                                                              e/man' '--infodir=/usr/share/info' 'CPPFLAGS= -DOPENSSL_NO_KRB5' '--sysconfdir=/                                                                              etc/squid' '--libexecdir=/usr/libexec/squid' '--datadir=/usr/share/squid' '--ena                                                                              ble-async-io=64' '--enable-storeio=aufs,diskd,ufs' '--enable-disk-io=AIO,Blockin                                                                              g,DiskDaemon,DiskThreads' '--enable-removal-policies=heap,lru' '--enable-icmp' '                                                                              --enable-delay-pools' '--enable-icap-client' '--enable-useragent-log' '--enable-                                                                              referer-log' '--enable-kill-parent-hack' '--enable-arp-acl' '--enable-ssl' '--en                                                                              able-forw-via-db' '--enable-cache-digests' '--disable-http-violations' '--enable                                                                              -linux-netfilter' '--enable-follow-x-forwarded-for' '--disable-ident-lookups' '-                                                                              -enable-auth=basic,digest,negotiate,ntlm' '--enable-basic-auth-helpers=DB,LDAP,M                                                                              SNT,NCSA,PAM,SASL,SMB,getpwnam,multi-domain-NTLM,squid_radius_auth' '--enable-nt                                                                              lm-auth-helpers=fakeauth,no_check,smb_lm' '--enable-ntlm-fail-open' '--enable-di                                                                              gest-auth-helpers=eDirectory,ldap,password' '--enable-negotiate-auth-helpers=squ                                                                              id_kerb_auth' '--enable-external-acl-helpers=ip_user,ldap_group,session,unix_gro                                                                              up,wbinfo_group' '--enable-stacktraces' '--enable-x-accelerator-vary' '--enable-                                                                              zph-qos' '--with-default-user=squid' '--with-logdir=/var/log/squid' '--with-pidf                                                                              ile=/var/run/squid.pid' '--with-pthreads' '--with-aio' '--with-dl' '--with-opens                                                                              sl=/usr' '--with-large-files' '--with-filedescriptors=32768' 'build_alias=i386-k                                                                              oji-linux-gnu' 'host_alias=i386-koji-linux-gnu' 'target_alias=i386-redhat-linux-                                                                              gnu' 'CFLAGS=-O2 -g -pipe -m32 -march=i386 -mtune=pentium4' 'CXXFLAGS=-O2 -g -pi                                                                              pe -m32 -march=i386 -mtune=pentium4' 'FFLAGS=-O2 -g -pipe -m32 -march=i386 -mtun                                                                              e=pentium4' --with-squid=/builddir/build/BUILD/squid-3.1.0.8 --enable-ltdl-conve   

ออฟไลน์ KamolSF

  • ศิษย์ก้นกุฏิ ...ปี.2
  • ******
  • กระทู้: 121
  • Reputation: 0
  • เพศ: ชาย
    • ALIENRC
Re: ทดสอบ squid3.1 for clarkconnect
« ตอบกลับ #3 เมื่อ: เมษายน 13, 2012, 02:14:00 am »
กำลัง หา วิธีทดสอบ หาเจอของ อาจาร์ย พอ ดี ขอบคุณมากครับ สวัสดีปีใหม่ไทยด้วยนะครับ ท่านอาจารย์ปู่  :011:
ขอบคุณท่านอาจาร์ย ที่ สอนสั่ง ถ่าย และก็ทอด ด้วยน้ำมันใหม่ ๆ