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

ผู้เขียน หัวข้อ: Squid Seven ปลาหมึก7 รส..ใช้ได้กับทุกสำนัก..สำหรับ CC ..รสแซบเก็บทุกอย่าง :)  (อ่าน 98069 ครั้ง)

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

ออฟไลน์ pclannet

  • Vip Gold ศิษย์ก้นกุฏิ
  • ****
  • กระทู้: 22
  • Reputation: 0
  • เพศ: ชาย
    • pcgames
ขอบคุณนะครับ ขออนุญาตเอาไปใช้ครับ
Signature cleanned by Admin

ออฟไลน์ pclannet

  • Vip Gold ศิษย์ก้นกุฏิ
  • ****
  • กระทู้: 22
  • Reputation: 0
  • เพศ: ชาย
    • pcgames
ขอบคุณครับอาจารย์ โหลดได้แล้วลงแล้ว ไม่มีปัญหาครับ แต่ต้องใช้ squid -z อย่างที่อาจารย์บอกก่อนครับถึงจะ Start Squid ได้
Signature cleanned by Admin

ออฟไลน์ Admin!

  • อยู่ใต้ฟ้าอย่าท้าฝน เกิดเป็นคนอย่าท้ากรรม !
  • admin
  • ********
  • กระทู้: 4182
  • Reputation: 101
  • เพศ: ชาย
  • สัจจะคือคำขาด
    • http://www.siamcafe.net
ขอบคุณครับอาจารย์ โหลดได้แล้วลงแล้ว ไม่มีปัญหาครับ แต่ต้องใช้ squid -z อย่างที่อาจารย์บอกก่อนครับถึงจะ Start Squid ได้

:)

ออฟไลน์ peakaszo

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 22
  • Reputation: 0
ขอบคุณครับ
Signature cleanned by Admin

toshihero

  • บุคคลทั่วไป

angelgame

  • บุคคลทั่วไป

ออฟไลน์ Dynax505

  • นักเรียนประถม
  • ****
  • กระทู้: 51
  • Reputation: 0
ติดตั้งไงอ่ะ  :044:
Signature cleanned by Admin

TahTaelCom2007

  • บุคคลทั่วไป

ออฟไลน์ Dynax505

  • นักเรียนประถม
  • ****
  • กระทู้: 51
  • Reputation: 0
ลงได้แล้ว ต้อง Tar มันก่อนถึงลงได้ ผมเล่นคลายซิปแล้วก๊อปลง แล้วค่อย Install ก็เลยลงไม่ได้ 555+
Signature cleanned by Admin

ออฟไลน์ surasak

  • ปี 1 เทอม 2
  • ***
  • กระทู้: 15
  • Reputation: 0
ขอบคุณครับ clap
Signature cleanned by Admin

angelgame

  • บุคคลทั่วไป

ออฟไลน์ Admin!

  • อยู่ใต้ฟ้าอย่าท้าฝน เกิดเป็นคนอย่าท้ากรรม !
  • admin
  • ********
  • กระทู้: 4182
  • Reputation: 101
  • เพศ: ชาย
  • สัจจะคือคำขาด
    • http://www.siamcafe.net
มีแต่คำ ขอบคุณไม่เห็นมี feedback เลยใช้งานเป็นไงมั่งครับผม :)

ออฟไลน์ manow

  • ศิษย์ก้นกุฏิ ...ปี.2
  • ******
  • กระทู้: 104
  • Reputation: -1
  • เพศ: ชาย
    • Í͡ẺàÇçº, hosting
บาง เวปเข้าซ้า มาก ๆๆ ครับ

เช่น

http://www.thaidphoto.com/forums/forumdisplay.php?f=23

http://www.siamturakij.com/home/news/index_news.php

และเวปบ้างเวปนะครับ หรือผมเป็นคนเดียว อย่างอื่นดีหมดครับ

config ครับ

## Squid 2.7 Tuned BY MR.BOM SiamCaFe.net
http_port 0.0.0.0:3128 transparent no-connection-auth
http_port 0.0.0.0:8080 transparent no-connection-auth
tcp_outgoing_address 0.0.0.0
udp_incoming_address 0.0.0.0
udp_outgoing_address 0.0.0.0
icp_port 0
icp_query_timeout 0
mcast_icp_query_timeout 2000
dead_peer_timeout 10 seconds
# Time Out
request_timeout 5 minutes
forward_timeout 5 minutes
connect_timeout 5 minutes
peer_connect_timeout 1 minutes
pconn_timeout 120 seconds
read_timeout 15 minutes
request_timeout 5 minutes
persistent_request_timeout 2 minute
shutdown_lifetime 5 seconds
negative_ttl 2 minutes
negative_ttl 3 minutes
positive_dns_ttl 120 seconds
negative_dns_ttl 120 seconds

netdb_low 900
netdb_high 1000
client_db on
client_lifetime 1 day

# ACL CONTROLS
#----------------------------------------
acl Manager proto cache_object
acl PURGE method purge
acl all src 0.0.0.0/0
#acl localhost src 127.0.0.0/8
acl localhost src 127.0.0.1
acl our_networks src 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
acl All_Port port 1-65535
acl CONNECT method CONNECT
acl blockweb dst 208.73.212.0/24

acl store_rewrite_list url_regex ^http://(.*?)/get_video\?
acl store_rewrite_list url_regex ^http://(.*?)/videodownload\?
acl store_rewrite_list url_regex ^http://i(.*?).photobucket.com/albums/(.*?)/(.*?)/(.*?)\?
acl store_rewrite_list url_regex ^http://vid(.*?).photobucket.com/albums/(.*?)/(.*?)\?

refresh_pattern ^http://(.*?)/get_video\? 1440 100% 1440 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://(.*?)/videodownload\? 1440 100% 1440 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://update.cabal.* 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://download.cabal.* 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://patch.sf.* 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://202.43.34.11 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://cbt.patch.easportsfifaonline2.in.th/.* 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://patch.kr.in.th/.* 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://autopatch.sdo.in.th/patch/.* 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://update.hitsplay.com/.* 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://61.47.57.9/.* 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://www.titanonline.in.th/.* 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private

# OPTIONS FOR TUNING THE CACHE
# --------------------------------------

quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 100
range_offset_limit 20000 KB
half_closed_clients off

http_access deny blockweb
http_access allow Manager all
http_access allow manager
http_access allow All_Port
http_access allow CONNECT All_Port
http_access allow localhost
http_access allow our_networks
http_access allow purge localhost
http_access deny purge
http_access deny all

http_reply_access allow all
icp_access allow all

header_access Allow allow all
header_access Authorization allow all
header_access Cache-Control allow all
header_access Content-Encoding allow all
header_access Content-Length allow all
header_access Content-Type allow all
header_access Date allow all
header_access Expires allow all
header_access Host allow all
header_access If-Modified-Since allow all
header_access Last-Modified allow all
header_access Location allow all
header_access Pragma allow all
header_access Accept allow all
header_access Accept-Charset allow all
header_access Accept-Encoding allow all
header_access Accept-Language allow all
header_access Content-Language allow all
header_access Content-Language allow all
header_access Mime-Version allow all
header_access Retry-After allow all
header_access Title allow all
header_access Connection allow all
header_access Proxy-Connection allow all
header_access All allow all

cache allow store_rewrite_list
cache allow all

#follow_x_forwarded_for allow localhost

url_rewrite_program /etc/squid/store_url_rewrite.pl
url_rewrite_children 10
acl youtube_query url_regex -i \.youtube\.com\/get_video
acl youtube_query url_regex -i \.cache[a-z0-9]?[a-z0-9]?[a-z0-9]?\.googlevideo\.com\/videoplayback
acl youtube_query url_regex -i \.cache[a-z0-9]?[a-z0-9]?[a-z0-9]?\.googlevideo\.com\/get_video
acl youtube_deny url_regex -i http:\/\/[a-z][a-z]\.youtube\.com
acl metacafe_query dstdomain v.mccont.com
acl dailymotion_query url_regex -i proxy\-[0-9][0-9]\.dailymotion\.com\/
acl google_query dstdomain vp.video.google.com
acl redtube_query dstdomain dl.redtube.com
acl xtube_query url_regex -i [a-z0-9][0-9a-z][0-9a-z]?[0-9a-z]?[0-9a-z]?\.xtube\.com\/(.*)flv
acl vimeo_query url_regex -i bitcast\.vimeo\.com\/vimeo\/videos\/
acl wrzuta_query url_regex -i va\.wrzuta\.pl\/wa[0-9][0-9][0-9][0-9]?
url_rewrite_access deny youtube_deny
url_rewrite_access allow youtube_query
url_rewrite_access allow metacafe_query
url_rewrite_access allow dailymotion_query
url_rewrite_access allow google_query
url_rewrite_access allow redtube_query
url_rewrite_access allow xtube_query
url_rewrite_access allow vimeo_query
url_rewrite_access allow wrzuta_query
redirector_bypass on

storeurl_access allow store_rewrite_list
storeurl_access deny all
storeurl_rewrite_program /etc/squid/store_url_rewrite.pl

# mark for no cache
# hierarchy_stoplist cgi-bin ? localhost .html .htm .asp .aspx .php .inf .dll .Xt .xtp .ini localhost htm$ html$ php$ inf$ dll$ Xt$ xtp$ ini$ asp$ aspx$ .exe .cfg ucg
acl QUERY urlpath_regex cgi-bin \? localhost .html .htm .asp .aspx .php .inf .dll .Xt .xtp .ini localhost htm$ html$ php$ inf$ dll$ Xt$ xtp$ ini$ asp$ aspx$ updatelist$ patch_lv1 .cfg .exe ucg
cache deny QUERY

# OPTIONS WHICH AFFECT THE CACHE SIZE
# -----------------------------------

cache_mem 512 MB
cache_swap_low 98
cache_swap_high 99
memory_pools on
memory_pools_limit 512 MB
maximum_object_size 256 MB
maximum_object_size_in_memory 1024 KB

ipcache_size 4096
ipcache_low 98
ipcache_high 99
fqdncache_size 4096
cache_effective_user squid
cache_effective_group squid
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF

# LOGFILE
# -------------------------------------

cache_dir aufs /var/spool/squid 4096 16 256
#cache_dir aufs /var/spool/squid/cache1 4096 16 256
#cache_dir aufs /var/spool/squid/cache2 4096 16 256
error_directory /etc/squid/errors/
cache_access_log /var/log/squid/access.log
#cache_access_log /dev/null
cache_log /dev/null
cache_store_log /dev/null
pid_filename /var/run/squid.pid

log_fqdn off
client_netmask 255.255.255.255
ftp_passive on
ftp_sanitycheck on
dns_nameservers 127.0.0.1

# ADMINISTRATIVE PARAMETERS
# ------------------------------

cache_mgr [email protected]
visible_hostname siamcafe.net

# MISCELLANEOUS
# -------------------------------
#collapsed_forwarding on
#log_icp_queries off
#query_icmp off
#buffered_logs off
#reload_into_ims on
#nonhierarchical_direct off
#prefer_direct on
#strip_query_terms off
#pipeline_prefetch on
#ie_refresh on
#forwarded_for on
#vary_ignore_expire on
#store_dir_select_algorithm round-robin
#ignore_unknown_nameservers on
#balance_on_multiple_ip on
log_icp_queries off
query_icmp off
buffered_logs off
nonhierarchical_direct off
prefer_direct on
strip_query_terms off
pipeline_prefetch on
ie_refresh on
forwarded_for on
vary_ignore_expire on
store_dir_select_algorithm round-robin
ignore_unknown_nameservers on
balance_on_multiple_ip on
check_hostnames on
allow_underscore on

#============================================================#
# SNMP
#============================================================#
acl snmpcommunity snmp_community public
snmp_port 3401
snmp_access allow snmpcommunity localhost
snmp_access deny all

## For Low B/W MultiMedia File Steming ###

#acl multimedia url_regex -i \.mp3$ \.rm$ \.mpg$ \.mpeg$ \.avi$ \.dat$
#delay_pools 1
#delay_class 1 1
#delay_parameters 1 1000/16000
#delay_access 1 allow multimedia
#delay_access 1 deny ALL


# ####DELAY POOLS###################################################
# This is the most important part for shaping incoming traffic with Squid
# For detailed description see squid.conf file or docs at http://www.squid-cache.org

# We don't want to limit downloads on our local network.
# acl magic_words1 url_regex -i 192.168

# We want to limit downloads of these type of files
# Put this all in one line
# .3gp .aac .ac3 .act .aif .aiff .amr .asf .au .avi .b5t .bin .bwt .cab .ccd .cdi .cue .dat .dct .div .divx .dss .exe .flac .fli .flv .gho .gsm .gz .ifo .img .iso .m4a .mp2 .mp3 .mp4 .mov .mpe .mpga .mpg .mpeg .mds .nrg .ogg .pdi .qt .ra .ram .rar .raw .rcd .rec .rm .rmvb .rmj .rpm .sea .shn .sri .swf .tar .tgz .vob .vox .vqf .wav .wmv .wma .zip

# acl magic_words2 url_regex -i ftp http .3gp .aac .ac3 .act .aif .aiff .amr .asf .au .avi .b5t .bin .bwt .cab .ccd .cdi .cue .dat .dct .div .divx .dss .exe .flac .fli .flv .gho .gsm .gz .ifo .img .iso .m4a .mp2 .mp3 .mp4 .mov .mpe .mpga .mpg .mpeg .mds .nrg .ogg .pdi .qt .ra .ram .rar .raw .rcd .rec .rm .rmvb .rmj .rpm .sea .shn .sri .swf .tar .tgz .vob .vox .vqf .wav .wmv .wma .zip

# We don't block .html, .gif, .jpg and similar files, because they
# generally don't consume much bandwidth

# We want to limit bandwidth during the day, and allow
# full bandwidth during the night
# Caution! with the acl below your downloads are likely to break
# at 23:59. Read the FAQ in this bandwidth if you want to avoid it.

# acl day time 00:00-23:59

# We have two different delay_pools
# View Squid documentation to get familiar
# with delay_pools and delay_class.

# delay_pools 2

# #####################################
# First delay pool
# We don't want to delay our local traffic.
# There are three pool classes; here we will deal only with the second.
# First delay class (1) of second type (2).

# delay_class 1 2

#-1/-1 mean that there are no limits.

# delay_parameters 1 -1/-1 -1/-1

# magic_words1: 192.168 we have set before

# delay_access 1 allow magic_words1
# #####################################

# #####################################
# Second delay pool.
# we want to delay downloading files mentioned in magic_words2.
# Second delay class (2) of second type (2).

# delay_class 2 2

# The numbers here are values in bytes;
# we must remember that Squid doesn't consider start/stop bits
# 5000/150000 are values for the whole network
# 5000/120000 are values for the single IP
# after downloaded files exceed about 150000 bytes,
# (or even twice or three times as much)
# they will continue to download at about 5000 bytes/s

# delay_parameters 2 5000/150000 5000/120000

# OLD_OK
# delay_parameters 2 640000/640000 256000/256000

# NEW_TEST
# Mbps   =   1.0      1.5      2.0      2.5      3.0      3.5      4.0
# bps   =   1024      1536      2048      2560      3072      3584      4096
# Byte   =   128      192      256      320      384      448      512

# delay_parameters 2 384000/384000 192000/256000
# delay_parameters 2 384000/384000 192000/384000
# delay_parameters 2 512000/512000 320000/384000

# # delay_parameters 2 -1/-1 -1/-1
# # We have set day to 00:00-23:59 before.
# delay_access 2 allow day
# delay_access 2 deny !day
# delay_access 2 allow magic_words2



ก็แทบจะเดิมครับ เน็ต 2mb up 2mb ลีดลายนะครับ

ต่อตรงก็เร็วกว่านะครับ

ขอบคุณครับ
Signature cleanned by Admin

ออฟไลน์ manow

  • ศิษย์ก้นกุฏิ ...ปี.2
  • ******
  • กระทู้: 104
  • Reputation: -1
  • เพศ: ชาย
    • Í͡ẺàÇçº, hosting
แต่ อ.บอมไม่ทำ squid 3.1 หรือครับ ของเก่ายังลงไม่ได้เลยครับ 
Signature cleanned by Admin

ออฟไลน์ Admin!

  • อยู่ใต้ฟ้าอย่าท้าฝน เกิดเป็นคนอย่าท้ากรรม !
  • admin
  • ********
  • กระทู้: 4182
  • Reputation: 101
  • เพศ: ชาย
  • สัจจะคือคำขาด
    • http://www.siamcafe.net
แต่ อ.บอมไม่ทำ squid 3.1 หรือครับ ของเก่ายังลงไม่ได้เลยครับ 

3.1 กำลังคอมไฟล์ stable 9 พึ่งออกสดๆวันนี้อยู่พร้อมกับลองของ Clarkconnect ent 5 rc1 อยุ่

ส่วน squid ใน VIP  นี้ 2000 ม้าครับ :012:อ่านใน board vipนะ

ออฟไลน์ Admin!

  • อยู่ใต้ฟ้าอย่าท้าฝน เกิดเป็นคนอย่าท้ากรรม !
  • admin
  • ********
  • กระทู้: 4182
  • Reputation: 101
  • เพศ: ชาย
  • สัจจะคือคำขาด
    • http://www.siamcafe.net
บาง เวปเข้าซ้า มาก ๆๆ ครับ

เช่น

http://www.thaidphoto.com/forums/forumdisplay.php?f=23

http://www.siamturakij.com/home/news/index_news.php

และเวปบ้างเวปนะครับ หรือผมเป็นคนเดียว อย่างอื่นดีหมดครับ

config ครับ

## Squid 2.7 Tuned BY MR.BOM SiamCaFe.net
http_port 0.0.0.0:3128 transparent no-connection-auth
http_port 0.0.0.0:8080 transparent no-connection-auth
tcp_outgoing_address 0.0.0.0
udp_incoming_address 0.0.0.0
udp_outgoing_address 0.0.0.0
icp_port 0
icp_query_timeout 0
mcast_icp_query_timeout 2000
dead_peer_timeout 10 seconds
# Time Out
request_timeout 5 minutes
forward_timeout 5 minutes
connect_timeout 5 minutes
peer_connect_timeout 1 minutes
pconn_timeout 120 seconds
read_timeout 15 minutes
request_timeout 5 minutes
persistent_request_timeout 2 minute
shutdown_lifetime 5 seconds
negative_ttl 2 minutes
negative_ttl 3 minutes
positive_dns_ttl 120 seconds
negative_dns_ttl 120 seconds

netdb_low 900
netdb_high 1000
client_db on
client_lifetime 1 day

# ACL CONTROLS
#----------------------------------------
acl Manager proto cache_object
acl PURGE method purge
acl all src 0.0.0.0/0
#acl localhost src 127.0.0.0/8
acl localhost src 127.0.0.1
acl our_networks src 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
acl All_Port port 1-65535
acl CONNECT method CONNECT
acl blockweb dst 208.73.212.0/24

acl store_rewrite_list url_regex ^http://(.*?)/get_video\?
acl store_rewrite_list url_regex ^http://(.*?)/videodownload\?
acl store_rewrite_list url_regex ^http://i(.*?).photobucket.com/albums/(.*?)/(.*?)/(.*?)\?
acl store_rewrite_list url_regex ^http://vid(.*?).photobucket.com/albums/(.*?)/(.*?)\?

refresh_pattern ^http://(.*?)/get_video\? 1440 100% 1440 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://(.*?)/videodownload\? 1440 100% 1440 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://update.cabal.* 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://download.cabal.* 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://patch.sf.* 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://202.43.34.11 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://cbt.patch.easportsfifaonline2.in.th/.* 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://patch.kr.in.th/.* 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://autopatch.sdo.in.th/patch/.* 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://update.hitsplay.com/.* 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://61.47.57.9/.* 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private
refresh_pattern ^http://www.titanonline.in.th/.* 10080 100% 10080 ignore-reload override-lastmod reload-into-ims override-expire ignore-no-cache ignore-private

# OPTIONS FOR TUNING THE CACHE
# --------------------------------------

quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 100
range_offset_limit 20000 KB
half_closed_clients off

http_access deny blockweb
http_access allow Manager all
http_access allow manager
http_access allow All_Port
http_access allow CONNECT All_Port
http_access allow localhost
http_access allow our_networks
http_access allow purge localhost
http_access deny purge
http_access deny all

http_reply_access allow all
icp_access allow all

header_access Allow allow all
header_access Authorization allow all
header_access Cache-Control allow all
header_access Content-Encoding allow all
header_access Content-Length allow all
header_access Content-Type allow all
header_access Date allow all
header_access Expires allow all
header_access Host allow all
header_access If-Modified-Since allow all
header_access Last-Modified allow all
header_access Location allow all
header_access Pragma allow all
header_access Accept allow all
header_access Accept-Charset allow all
header_access Accept-Encoding allow all
header_access Accept-Language allow all
header_access Content-Language allow all
header_access Content-Language allow all
header_access Mime-Version allow all
header_access Retry-After allow all
header_access Title allow all
header_access Connection allow all
header_access Proxy-Connection allow all
header_access All allow all

cache allow store_rewrite_list
cache allow all

#follow_x_forwarded_for allow localhost

url_rewrite_program /etc/squid/store_url_rewrite.pl
url_rewrite_children 10
acl youtube_query url_regex -i \.youtube\.com\/get_video
acl youtube_query url_regex -i \.cache[a-z0-9]?[a-z0-9]?[a-z0-9]?\.googlevideo\.com\/videoplayback
acl youtube_query url_regex -i \.cache[a-z0-9]?[a-z0-9]?[a-z0-9]?\.googlevideo\.com\/get_video
acl youtube_deny url_regex -i http:\/\/[a-z][a-z]\.youtube\.com
acl metacafe_query dstdomain v.mccont.com
acl dailymotion_query url_regex -i proxy\-[0-9][0-9]\.dailymotion\.com\/
acl google_query dstdomain vp.video.google.com
acl redtube_query dstdomain dl.redtube.com
acl xtube_query url_regex -i [a-z0-9][0-9a-z][0-9a-z]?[0-9a-z]?[0-9a-z]?\.xtube\.com\/(.*)flv
acl vimeo_query url_regex -i bitcast\.vimeo\.com\/vimeo\/videos\/
acl wrzuta_query url_regex -i va\.wrzuta\.pl\/wa[0-9][0-9][0-9][0-9]?
url_rewrite_access deny youtube_deny
url_rewrite_access allow youtube_query
url_rewrite_access allow metacafe_query
url_rewrite_access allow dailymotion_query
url_rewrite_access allow google_query
url_rewrite_access allow redtube_query
url_rewrite_access allow xtube_query
url_rewrite_access allow vimeo_query
url_rewrite_access allow wrzuta_query
redirector_bypass on

storeurl_access allow store_rewrite_list
storeurl_access deny all
storeurl_rewrite_program /etc/squid/store_url_rewrite.pl

# mark for no cache
# hierarchy_stoplist cgi-bin ? localhost .html .htm .asp .aspx .php .inf .dll .Xt .xtp .ini localhost htm$ html$ php$ inf$ dll$ Xt$ xtp$ ini$ asp$ aspx$ .exe .cfg ucg
acl QUERY urlpath_regex cgi-bin \? localhost .html .htm .asp .aspx .php .inf .dll .Xt .xtp .ini localhost htm$ html$ php$ inf$ dll$ Xt$ xtp$ ini$ asp$ aspx$ updatelist$ patch_lv1 .cfg .exe ucg
cache deny QUERY

# OPTIONS WHICH AFFECT THE CACHE SIZE
# -----------------------------------

cache_mem 512 MB
cache_swap_low 98
cache_swap_high 99
memory_pools on
memory_pools_limit 512 MB
maximum_object_size 256 MB
maximum_object_size_in_memory 1024 KB

ipcache_size 4096
ipcache_low 98
ipcache_high 99
fqdncache_size 4096
cache_effective_user squid
cache_effective_group squid
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF

# LOGFILE
# -------------------------------------

cache_dir aufs /var/spool/squid 4096 16 256
#cache_dir aufs /var/spool/squid/cache1 4096 16 256
#cache_dir aufs /var/spool/squid/cache2 4096 16 256
error_directory /etc/squid/errors/
cache_access_log /var/log/squid/access.log
#cache_access_log /dev/null
cache_log /dev/null
cache_store_log /dev/null
pid_filename /var/run/squid.pid

log_fqdn off
client_netmask 255.255.255.255
ftp_passive on
ftp_sanitycheck on
dns_nameservers 127.0.0.1

# ADMINISTRATIVE PARAMETERS
# ------------------------------

cache_mgr [email protected]
visible_hostname siamcafe.net

# MISCELLANEOUS
# -------------------------------
#collapsed_forwarding on
#log_icp_queries off
#query_icmp off
#buffered_logs off
#reload_into_ims on
#nonhierarchical_direct off
#prefer_direct on
#strip_query_terms off
#pipeline_prefetch on
#ie_refresh on
#forwarded_for on
#vary_ignore_expire on
#store_dir_select_algorithm round-robin
#ignore_unknown_nameservers on
#balance_on_multiple_ip on
log_icp_queries off
query_icmp off
buffered_logs off
nonhierarchical_direct off
prefer_direct on
strip_query_terms off
pipeline_prefetch on
ie_refresh on
forwarded_for on
vary_ignore_expire on
store_dir_select_algorithm round-robin
ignore_unknown_nameservers on
balance_on_multiple_ip on
check_hostnames on
allow_underscore on

#============================================================#
# SNMP
#============================================================#
acl snmpcommunity snmp_community public
snmp_port 3401
snmp_access allow snmpcommunity localhost
snmp_access deny all

## For Low B/W MultiMedia File Steming ###

#acl multimedia url_regex -i \.mp3$ \.rm$ \.mpg$ \.mpeg$ \.avi$ \.dat$
#delay_pools 1
#delay_class 1 1
#delay_parameters 1 1000/16000
#delay_access 1 allow multimedia
#delay_access 1 deny ALL


# ####DELAY POOLS###################################################
# This is the most important part for shaping incoming traffic with Squid
# For detailed description see squid.conf file or docs at http://www.squid-cache.org

# We don't want to limit downloads on our local network.
# acl magic_words1 url_regex -i 192.168

# We want to limit downloads of these type of files
# Put this all in one line
# .3gp .aac .ac3 .act .aif .aiff .amr .asf .au .avi .b5t .bin .bwt .cab .ccd .cdi .cue .dat .dct .div .divx .dss .exe .flac .fli .flv .gho .gsm .gz .ifo .img .iso .m4a .mp2 .mp3 .mp4 .mov .mpe .mpga .mpg .mpeg .mds .nrg .ogg .pdi .qt .ra .ram .rar .raw .rcd .rec .rm .rmvb .rmj .rpm .sea .shn .sri .swf .tar .tgz .vob .vox .vqf .wav .wmv .wma .zip

# acl magic_words2 url_regex -i ftp http .3gp .aac .ac3 .act .aif .aiff .amr .asf .au .avi .b5t .bin .bwt .cab .ccd .cdi .cue .dat .dct .div .divx .dss .exe .flac .fli .flv .gho .gsm .gz .ifo .img .iso .m4a .mp2 .mp3 .mp4 .mov .mpe .mpga .mpg .mpeg .mds .nrg .ogg .pdi .qt .ra .ram .rar .raw .rcd .rec .rm .rmvb .rmj .rpm .sea .shn .sri .swf .tar .tgz .vob .vox .vqf .wav .wmv .wma .zip

# We don't block .html, .gif, .jpg and similar files, because they
# generally don't consume much bandwidth

# We want to limit bandwidth during the day, and allow
# full bandwidth during the night
# Caution! with the acl below your downloads are likely to break
# at 23:59. Read the FAQ in this bandwidth if you want to avoid it.

# acl day time 00:00-23:59

# We have two different delay_pools
# View Squid documentation to get familiar
# with delay_pools and delay_class.

# delay_pools 2

# #####################################
# First delay pool
# We don't want to delay our local traffic.
# There are three pool classes; here we will deal only with the second.
# First delay class (1) of second type (2).

# delay_class 1 2

#-1/-1 mean that there are no limits.

# delay_parameters 1 -1/-1 -1/-1

# magic_words1: 192.168 we have set before

# delay_access 1 allow magic_words1
# #####################################

# #####################################
# Second delay pool.
# we want to delay downloading files mentioned in magic_words2.
# Second delay class (2) of second type (2).

# delay_class 2 2

# The numbers here are values in bytes;
# we must remember that Squid doesn't consider start/stop bits
# 5000/150000 are values for the whole network
# 5000/120000 are values for the single IP
# after downloaded files exceed about 150000 bytes,
# (or even twice or three times as much)
# they will continue to download at about 5000 bytes/s

# delay_parameters 2 5000/150000 5000/120000

# OLD_OK
# delay_parameters 2 640000/640000 256000/256000

# NEW_TEST
# Mbps   =   1.0      1.5      2.0      2.5      3.0      3.5      4.0
# bps   =   1024      1536      2048      2560      3072      3584      4096
# Byte   =   128      192      256      320      384      448      512

# delay_parameters 2 384000/384000 192000/256000
# delay_parameters 2 384000/384000 192000/384000
# delay_parameters 2 512000/512000 320000/384000

# # delay_parameters 2 -1/-1 -1/-1
# # We have set day to 00:00-23:59 before.
# delay_access 2 allow day
# delay_access 2 deny !day
# delay_access 2 allow magic_words2



ก็แทบจะเดิมครับ เน็ต 2mb up 2mb ลีดลายนะครับ

ต่อตรงก็เร็วกว่านะครับ

ขอบคุณครับ

นี่ไม่ใช่ config ของ squid_seven หนิครับ

ออฟไลน์ Admin!

  • อยู่ใต้ฟ้าอย่าท้าฝน เกิดเป็นคนอย่าท้ากรรม !
  • admin
  • ********
  • กระทู้: 4182
  • Reputation: 101
  • เพศ: ชาย
  • สัจจะคือคำขาด
    • http://www.siamcafe.net
แต่ อ.บอมไม่ทำ squid 3.1 หรือครับ ของเก่ายังลงไม่ได้เลยครับ 

http://www.siamcafe.net/board/index.php/topic,25006.msg209218.html#msg209218

f18hornet

  • บุคคลทั่วไป
อ. บอมครับทำไมไม่ใช่ squid_SEVEN_bysiamcafedotnet หล่ะครับผมก็ลงตามที่ อ.บอมบอกและก็ลงผ่านด้วยครับไม่มีปัญหาว่า Failed
แต่ปัญหาคือเก็บแพทเกมส์ TalseRuner/Raycity/SFในส่วนของGameguard ไม่ได้ครับไม่รู้เป็นเพราะอะไร
และก็ คลิปYoutube อ่ะพอผมรีสตาร์ทเครื่องก็ต้องมานั่งโหลดใหม่อิกครับไม่ทราบสาเหตุจริงๆ

ออฟไลน์ Admin!

  • อยู่ใต้ฟ้าอย่าท้าฝน เกิดเป็นคนอย่าท้ากรรม !
  • admin
  • ********
  • กระทู้: 4182
  • Reputation: 101
  • เพศ: ชาย
  • สัจจะคือคำขาด
    • http://www.siamcafe.net
อ. บอมครับทำไมไม่ใช่ squid_SEVEN_bysiamcafedotnet หล่ะครับผมก็ลงตามที่ อ.บอมบอกและก็ลงผ่านด้วยครับไม่มีปัญหาว่า Failed
แต่ปัญหาคือเก็บแพทเกมส์ TalseRuner/Raycity/SFในส่วนของGameguard ไม่ได้ครับไม่รู้เป็นเพราะอะไร
และก็ คลิปYoutube อ่ะพอผมรีสตาร์ทเครื่องก็ต้องมานั่งโหลดใหม่อิกครับไม่ทราบสาเหตุจริงๆ

talerunner มันเก็บไม่ได้อยู๋แล้วนะครับ ( แต่ผมเคยทำได้สมัยใช้ ipcop แต่ดันไม่ได้เก็บ config ไว้เสียดายชมัด erm )ส่วน sf กับ racicity รบกวนไปดูที่ rc.firewa.local ดูยังครับ

ออฟไลน์ pokadon

  • ปี 1 เทอม 2
  • ***
  • กระทู้: 18
  • Reputation: 0
ขอบคุณมากๆๆๆๆๆๆครับ mad
Signature cleanned by Admin

ออฟไลน์ yakyakko

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 34
  • Reputation: 0
Signature cleanned by Admin

ออฟไลน์ yakyakko

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 34
  • Reputation: 0
ขอบคุณคร๊าบ
Signature cleanned by Admin

ออฟไลน์ sutasuta1

  • สอบภาคทฤษฎี
  • *
  • กระทู้: 9
  • Reputation: 0
ขอบคุณคร้าบ
Signature cleanned by Admin

0866718705

  • บุคคลทั่วไป
ขอให้ อ. บอมบ์ ฟื้นตัวไว ๆ ครับ

ออฟไลน์ somkiat

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 36
  • Reputation: 0
Signature cleanned by Admin

vtorn

  • บุคคลทั่วไป
แห้วอีกละ เซ็งแล้วว่ะ

Asus09

  • บุคคลทั่วไป
ขอบคุณครับ

ออฟไลน์ rattanaphol9

  • ปี 1 เทอม 2
  • ***
  • กระทู้: 18
  • Reputation: 0
ขอบคุณครับ
Signature cleanned by Admin

f18hornet

  • บุคคลทั่วไป
ลืมบอกไปครับ อ.บอม ที่ร้านผมใช้เน็ต 1 เส้น อ.บอมให้ผมเข้าไปดู rc.fierwall.local ผมเองดูแล้วไม่รู้เรื่องครับคือว่ามือใหม่หัดทำครับ

จุดประสงค์ผมคืออยากให้เครื่อง CC4.3ของผม ให้มันเก็บแพทเก็บมันทุกอย่างเลยครับ เห็ยหลายกระทู้บอกว่าไปหาสคริปมาลงที่ Squid/frox
ผมก็ลองทำแล้วครับแต่มันก็ไม่ยอมเก็บทุกเกมส์ จะมีเก็บก็เกมส์ของค่าย AsiaSoft อันนี้เก็บแน่นอนครับ ส่วนที่ไม่เก็บก็มี sf/tr/getamped/raycityและก็คลิบYoutube
ส่วนคลิบนี่ผมก็ยัง งง อยู่ครับ คือว่าที่ร้านคนเปิดคลิบตัวเดียวกันคนล่ะเครื่องอย่างเช่นเครื่อง 1 เปิดคลิบไว้แล้วพอเครื่อง 1 รีสตาร์ทเครื่อง แล้วเดินไปเปิดเครื่องที่ 3 เปิดคลิบอันเดิมไม่ก็ไม่ยอมเก็บอีกคือต้องโหลดใหม่อีกรอบครับ อ.บอม หรือบางครั้งมันเก็บอยู่เปิดเครื่องอื่นก็ยังเก็บอยู่ แต่พอผมปิดร้าน ตื่นเช้ามาก็มาเปิดคลิบตัวเดิมปรากฏว่าต้องโหลดอันอิกรอบ  ช่วยบอกทีครับว่า ผมควรทำยังครับ

Asus09

  • บุคคลทั่วไป
พี่ครับผมมือใหม่ครับติดตั้งอย่างไรครับเอาไฟล์ไปไว้ห้องไหนครับขอแบบละเอียดครับพึ่งปิดร้านเน็ตครับ

angelgame

  • บุคคลทั่วไป

ออฟไลน์ slimpig

  • ปี 1 เทอม 2
  • ***
  • กระทู้: 17
  • Reputation: 0
Thanx อย่างแรงพี่บ่าว
Signature cleanned by Admin

ออฟไลน์ speedNET

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 43
  • Reputation: 0
  • สวัสดี
 laugh เทพจริงๆ คุณ
Signature cleanned by Admin

toshihero

  • บุคคลทั่วไป

tumk

  • บุคคลทั่วไป

ออฟไลน์ civicdotcom

  • ปี 1 เทอม 2
  • ***
  • กระทู้: 18
  • Reputation: 0
Signature cleanned by Admin

ออฟไลน์ neoboyd

  • ปี 1 เทอม 2
  • ***
  • กระทู้: 17
  • Reputation: 0
ขอบคุณครับ
Signature cleanned by Admin

ออฟไลน์ sittichai

  • นักเรียนประถม
  • ****
  • กระทู้: 55
  • Reputation: 0
ขอบคุณครับ
Signature cleanned by Admin

ออฟไลน์ iker20

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 34
  • Reputation: 0
Signature cleanned by Admin

ออฟไลน์ zumzam2009

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 27
  • Reputation: 0
อืม เอามั้ง
Signature cleanned by Admin

ออฟไลน์ lower25

  • ปี 1 เทอม 2
  • ***
  • กระทู้: 14
  • Reputation: 0
Signature cleanned by Admin

Room19

  • บุคคลทั่วไป
ขอบคุณครับ

l3al2onza

  • บุคคลทั่วไป

ออฟไลน์ dreamshop

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 45
  • Reputation: 0
ขอบคุณในน้ำใจที่แผ่แผ่ครับ
Signature cleanned by Admin

ออฟไลน์ ditsutham

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 24
  • Reputation: 0
Signature cleanned by Admin

ออฟไลน์ somyos24

  • สอบภาคทฤษฎี
  • *
  • กระทู้: 8
  • Reputation: 0
Signature cleanned by Admin

ออฟไลน์ Oman

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 29
  • Reputation: 0
Signature cleanned by Admin

ออฟไลน์ swat1982

  • สอบภาคทฤษฎี
  • *
  • กระทู้: 7
  • Reputation: 0
Signature cleanned by Admin

bigeakna

  • บุคคลทั่วไป

ออฟไลน์ sudvera

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 40
  • Reputation: 0
ขอบคุณครับ
Signature cleanned by Admin

ออฟไลน์ dexa99999

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 37
  • Reputation: 0
Signature cleanned by Admin

hobbyz

  • บุคคลทั่วไป

ออฟไลน์ thong33333

  • นักเรียนมัธยม
  • *****
  • กระทู้: 112
  • Reputation: 1
  • เพศ: ชาย
  • คนที่เก่งกว่าท่านก็มี แต่ เขาได้ตายไปแล้ว
ขอทดสอบหน่อยครับ
Signature cleanned by Admin

ออฟไลน์ TongOnLine

  • นักเรียนมัธยม
  • *****
  • กระทู้: 107
  • Reputation: 0
Signature cleanned by Admin

nineadsl

  • บุคคลทั่วไป
ขอบคุณคับ

ออฟไลน์ chao_wa

  • มือใหม่
  • *
  • กระทู้: 2
  • Reputation: 0
ขอบคุณครับ
Signature cleanned by Admin

ออฟไลน์ Piyarat

  • ปี 1 เทอม 2
  • ***
  • กระทู้: 11
  • Reputation: 0
Signature cleanned by Admin

patunaja

  • บุคคลทั่วไป
ขอเอาไปลองขอบคุณค่

ออฟไลน์ tapat555

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 28
  • Reputation: 0
 :003: :017:
thank you
Signature cleanned by Admin

ออฟไลน์ dexa99999

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 37
  • Reputation: 0
Signature cleanned by Admin

ออฟไลน์ tapat555

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 28
  • Reputation: 0
Signature cleanned by Admin

extragame

  • บุคคลทั่วไป
ขอบคูร คับ

paekatai

  • บุคคลทั่วไป
ขอบคุณมากครับ

ออฟไลน์ payungsak

  • ปี 1 เทอม 2
  • ***
  • กระทู้: 11
  • Reputation: 0
ขอบคุณครับ erm
Signature cleanned by Admin

paekatai

  • บุคคลทั่วไป
ขอบคุณมากครับ

ออฟไลน์ tinnakornid

  • ปี 1 เทอม 2
  • ***
  • กระทู้: 12
  • Reputation: 0
Signature cleanned by Admin

ออฟไลน์ payungsak

  • ปี 1 เทอม 2
  • ***
  • กระทู้: 11
  • Reputation: 0
โหลดตรงใหนอ่า   ohoh
Signature cleanned by Admin

bagjets

  • บุคคลทั่วไป

ออฟไลน์ anusak

  • นักเรียนประถม
  • ****
  • กระทู้: 71
  • Reputation: 0
  • เพศ: ชาย
Signature cleanned by Admin

ออฟไลน์ angeldevil

  • มือใหม่
  • *
  • กระทู้: 3
  • Reputation: 0
Signature cleanned by Admin

ออฟไลน์ topgun2323

  • สอบภาคทฤษฎี
  • *
  • กระทู้: 5
  • Reputation: 0
ขอคุณคับ ขอลองไปใช้มั้งนะคับ  hehe
Signature cleanned by Admin

ออฟไลน์ nfcomputer

  • มือใหม่
  • *
  • กระทู้: 4
  • Reputation: 0
ขอบคุณครับ
Signature cleanned by Admin

awita

  • บุคคลทั่วไป
โหลดตรงไหนครับเนี่ย

ออฟไลน์ pba55

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 49
  • Reputation: 0
ขอลองให้หมด
Signature cleanned by Admin

sumas

  • บุคคลทั่วไป

ออฟไลน์ firstgames02

  • โซดา..ม่าย..ต้อง..เพ่...
  • Vip Gold ศิษย์ก้นกุฏิ
  • ****
  • กระทู้: 108
  • Reputation: 0
Signature cleanned by Admin

ออฟไลน์ natta

  • ปี 1 เทอม 2
  • ***
  • กระทู้: 19
  • Reputation: 0
ขอโหลดด้วย
Signature cleanned by Admin

ออฟไลน์ natta

  • ปี 1 เทอม 2
  • ***
  • กระทู้: 19
  • Reputation: 0
ขอให้ใช้ได้ทีเถอะคับ
Signature cleanned by Admin

ออฟไลน์ netgame1

  • นักเรียนมัธยม
  • *****
  • กระทู้: 178
  • Reputation: -5
ขอบคุณมากคับจะเอาไปลองซักหน่อย
Signature cleanned by Admin

ออฟไลน์ atens125

  • สอบภาคทฤษฎี
  • *
  • กระทู้: 9
  • Reputation: 0
โอ้ว ได้ของดีอีกแล้ว คับ
Signature cleanned by Admin