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

ผู้เขียน หัวข้อ: ช่วยดู squid ให้ทีครับ เกมส์ค่าย asiasoft ไม่เก็บแพทซักเกมเลยครับ  (อ่าน 5541 ครั้ง)

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

ออฟไลน์ juithailand

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 47
  • Reputation: 0
ช่วยดู squid ให้ทีครับ เกมส์ค่าย asiasoft ไม่เก็บแพทซักเกมเลยครับ เกมค่ายอื่นก็เก็บดีขอบคุณมากครับ



# Do not modify '/var/ipcop/proxy/squid.conf' directly since any changes
# you make will be overwritten whenever you resave proxy settings using the
# web interface!
#
# Instead, modify the file '/var/ipcop/proxy/advanced/acls/include.acl' and
# then restart the proxy service using the web interface. Changes made to the
# 'include.acl' file will propagate to the 'squid.conf' file at that time.

shutdown_lifetime 5 seconds
icp_port 0

http_port 192.168.1.1:8080 transparent

hierarchy_stoplist cgi-bin ? localhost .asp .aspx .php .inf .dll .Xt .xtp .ini localhost php$ inf$ dll$ Xt$ xtp$ ini$ asp$ aspx$
acl QUERY urlpath_regex cgi-bin \? localhost .asp .aspx .php .inf .dll .Xt .xtp .ini localhost php$ inf$ dll$ Xt$ xtp$ ini$ asp$ aspx$
cache deny QUERY

acl QUERYS urlpath_regex ProjectG.exe.zip
acl QUERYS urlpath_regex FantaTennis.exe
acl QUERYS urlpath_regex notice_popup
acl QUERYS urlpath_regex Court_Ad_0
acl QUERYS urlpath_regex Main_Ad
cache deny QUERYS


cache_effective_user squid
cache_effective_group squid
umask 022

pid_filename /var/run/squid.pid

cache_mem 160 MB
cache_dir aufs /var/log/cache 20480 16 256

error_directory /usr/lib/squid/advproxy/errors.ipcop/English

access_log /dev/null
cache_log /dev/null
cache_store_log none

log_mime_hdrs off
forwarded_for off
via off

acl within_timeframe time MTWHFAS 00:00-24:00

acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 563 # 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 Safe_ports port 8080 # Squids port (for icons)

acl IPCop_http port 81
acl IPCop_https port 445
acl IPCop_ips dst 192.168.1.1
acl IPCop_networks src "/var/ipcop/proxy/advanced/acls/src_subnets.acl"
acl IPCop_servers dst "/var/ipcop/proxy/advanced/acls/src_subnets.acl"
acl IPCop_green_network src 192.168.1.0/255.255.255.0
acl IPCop_green_servers dst 192.168.1.0/255.255.255.0
acl CONNECT method CONNECT

#Access to squid:
#local machine, no restriction
http_access allow localhost

#GUI admin if local machine connects
http_access allow IPCop_ips IPCop_networks IPCop_http
http_access allow CONNECT IPCop_ips IPCop_networks IPCop_https

#Deny not web services
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

acl full_download src "/var/tmp/ip_full_download.conf"
acl download urlpath_regex -i "/var/tmp/block_file_download.conf"
http_access deny download all !full_download

#Set custom configured ACLs
http_access allow IPCop_networks within_timeframe
http_access deny all

#Strip HTTP Header
header_access X-Forwarded-For deny all
header_access Via deny all

maximum_object_size 40960 KB
minimum_object_size 0 KB

request_body_max_size 0 KB
reply_body_max_size 0 allow all

visible_hostname ipcop.localdomain

url_rewrite_program /usr/sbin/squidGuard
url_rewrite_children 5

ftp_sanitycheck off
Signature cleanned by Admin

ออฟไลน์ juithailand

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 47
  • Reputation: 0
ผมก๊อปไปตามนี้หมดแล้วครับ แต่พอ reboot ipcop มันเปลี่ยนค่าให้เอง แล้วก็ frox สตารท์ไม่ได้เกิดจากอะไรครับ


# Do not modify '/var/ipcop/proxy/squid.conf' directly since any changes
# you make will be overwritten whenever you resave proxy settings using the
# web interface!
#
# Instead, modify the file '/var/ipcop/proxy/advanced/acls/include.acl' and
# then restart the proxy service using the web interface. Changes made to the
# 'include.acl' file will propagate to the 'squid.conf' file at that time.
shutdown_lifetime 5 seconds
icp_port 0
http_port 192.168.1.1:8080 transparent
acl QUERY urlpath_regex cgi-bin \? \.ini
cache deny QUERY
cache_effective_user squid
cache_effective_group squid
umask 022
pid_filename /var/run/squid.pid
cache_mem 341 MB
cache_dir aufs /var/log/cache 5461 16 256
error_directory /usr/lib/squid/advproxy/errors.ipcop/English
access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
log_mime_hdrs off
forwarded_for off
via off
acl within_timeframe time MTWHFAS 00:00-24:00
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 563 # 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 Safe_ports port 8080 # Squids port (for icons)
acl IPCop_http port 81
acl IPCop_https port 445
acl IPCop_ips dst 192.168.1.1
acl IPCop_networks src "/var/ipcop/proxy/advanced/acls/src_subnets.acl"
acl IPCop_servers dst "/var/ipcop/proxy/advanced/acls/src_subnets.acl"
acl IPCop_green_network src 192.168.1.0/255.255.255.0
acl IPCop_green_servers dst 192.168.1.0/255.255.255.0
acl IPCop_banned_ips src "/var/ipcop/proxy/advanced/acls/src_banned_ip.acl"
acl CONNECT method CONNECT
#Access to squid:
#local machine, no restriction
http_access allow localhost
#GUI admin if local machine connects
http_access allow IPCop_ips IPCop_networks IPCop_http
http_access allow CONNECT IPCop_ips IPCop_networks IPCop_https
#Deny not web services
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
#Set custom configured ACLs
http_access deny IPCop_banned_ips
http_access allow IPCop_networks within_timeframe
http_access deny all
#Strip HTTP Header
header_access X-Forwarded-For deny all
header_access Via deny all
maximum_object_size 512000 KB
minimum_object_size 0 KB
request_body_max_size 0 KB
reply_body_max_size 0 allow all
visible_hostname ipcop.localdomain
url_rewrite_program /usr/sbin/squidGuard
url_rewrite_children 5
# =========== New frox ================
memory_replacement_policy heap GDSF
cache_replacement_policy heap GDSF
refresh_pattern -i .(class|pdf|rtf|doc|wp|wp5|ps|prn)$ 1440 90% 1440 override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern -i .(mov|avi|mpg|wav|au|mid|mp3)$ 1440 100% 1440 override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern -i .(zip|gz|arj|lha|lzh|rar|tgz|tar|Z)$ 1440 80% 1440 override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern -i .(jpg|gif|jpeg|png|css|js)$ 1440 19000% 1440 override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern -i .(bmp|tif|tiff|xbm)$ 1440 17000% 1440 override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern -i .(png|swf)$ 1440 18000% 1440 override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
cache_swap_low 90
cache_swap_high 95
maximum_object_size_in_memory 8 KB
mime_table /etc/squid/mime.conf
reload_into_ims on
ie_refresh onftp_sanitycheck off

ตรงนี้ครับจากเดิม
ie_refresh on

พอ reboot กลายเป็น
ie_refresh onftp_sanitycheck off
Signature cleanned by Admin

ออฟไลน์ ballsaicol1

  • นักเรียนประถม
  • ****
  • กระทู้: 53
  • Reputation: 0
# Do not modify '/var/ipcop/proxy/squid.conf' directly since any changes
# you make will be overwritten whenever you resave proxy settings using the
# web interface!
#
# Instead, modify the file '/var/ipcop/proxy/advanced/acls/include.acl' and
# then restart the proxy service using the web interface. Changes made to the
# 'include.acl' file will propagate to the 'squid.conf' file at that time.

shutdown_lifetime 5 seconds
icp_port 0

http_port 192.168.1.1:8080 transparent


cache_effective_user squid
cache_effective_group squid
umask 022

pid_filename /var/run/squid.pid

cache_mem 512 MB
cache_dir aufs /var/log/cache 4096 16 256

error_directory /usr/lib/squid/advproxy/errors.ipcop/English

access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none

log_mime_hdrs off
forwarded_for off
via off

acl within_timeframe time MTWHFAS 00:00-24:00

acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 563 # 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 Safe_ports port 8080 # Squids port (for icons)

acl IPCop_http  port 81
acl IPCop_https port 445
acl IPCop_ips              dst 192.168.1.1
acl IPCop_networks         src "/var/ipcop/proxy/advanced/acls/src_subnets.acl"
acl IPCop_servers          dst "/var/ipcop/proxy/advanced/acls/src_subnets.acl"
acl IPCop_green_network    src 192.168.1.0/255.255.255.0
acl IPCop_green_servers    dst 192.168.1.0/255.255.255.0
acl CONNECT method CONNECT

#Access to squid:
#local machine, no restriction
http_access allow         localhost

#GUI admin if local machine connects
http_access allow         IPCop_ips IPCop_networks IPCop_http
http_access allow CONNECT IPCop_ips IPCop_networks IPCop_https

#Deny not web services
http_access deny          !Safe_ports
http_access deny  CONNECT !SSL_ports

#Set custom configured ACLs
http_access allow IPCop_networks within_timeframe
http_access deny  all

#Strip HTTP Header
header_access X-Forwarded-For deny all
header_access Via deny all

httpd_suppress_version_string on

maximum_object_size 25600 KB
minimum_object_size 0 KB

request_body_max_size 0 KB
reply_body_max_size 0 deny all

visible_hostname ipcop.localdomain

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
ftp_sanitycheck off

#======== New frox ========
memory_replacement_policy heap GDSF
cache_replacement_policy heap GDSF

# ============= refresh_pattern ===============

refresh_pattern -i .(class|pdf|rtf|doc|wp|wp5|ps|prn)$ 7200 100% 10080 override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern -i .(mov|avi|mpg|wav|au|mid|mp3)$ 7200 100% 10080 override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern -i .(raw|delta|exe|dfg|zip|gz|arj|lha|lzh|rar|tgz|tar|Z)$ 7200 100% 10080 override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern -i .(jpg|gif|jpeg|png|css|js)$ 7200 19000% 10080 override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern -i .(bmp|tif|tiff|xbm)$ 7200 17000% 10080 override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern -i .(png|swf)$ 7200 18000% 10080 override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern ^http://auto-at.asiasoft.co.th/.* 4320 100% 43200 ignore-reload override-lastmod reload-into-ims
refresh_pattern ^http://cbt.patch.easportsfifaonline2.in.th/.* 4320 100% 43200 ignore-reload override-lastmod reload-into-ims
refresh_pattern ^http://patch.sf.in.th/.* 4320 100% 43200 ignore-reload override-lastmod reload-into-ims
refresh_pattern ^http://update.cabal.* 4320 100% 43200 ignore-reload override-lastmod reload-into-ims
refresh_pattern ^http://download.cabal.* 4320 100% 43200 ignore-reload override-lastmod reload-into-ims
refresh_pattern ^http://*.playpark.*/.* 4320 100% 43200 ignore-reload override-lastmod reload-into-ims
refresh_pattern ^http://patch.dragonica.in.th/.* 4320 90% 43200 ignore-reload override-lastmod reload-into-ims override-expire
refresh_pattern ^http://202.43.33.122:9898/ 4320 100% 43200 ignore-reload override-lastmod reload-into-ims
refresh_pattern ^http://202.43.34.11 4320 100% 43200 ignore-reload override-lastmod reload-into-ims
refresh_pattern ^http://61.47.57.9/.* 4320 100% 43200 ignore-reload override-lastmod reload-into-ims
refresh_pattern ^ftp: 7200 100% 10080
refresh_pattern ^gopher: 7200 100% 10080
refresh_pattern . 0 100% 10080

cache_swap_low 90
cache_swap_high 95

maximum_object_size_in_memory 8 KB

mime_table /etc/squid/mime.conf

reload_into_ims on
ie_refresh on

#=============== Delay Pools ================

acl limit src 192.168.1.1-192.168.1.254/255.255.255.0
delay_pools 1
delay_class 1 2
delay_access 1 allow limit
delay_parameters 1 -1/-1 153600/153600

ftp_sanitycheck off

Signature cleanned by Admin