免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: bigbigsh
打印 上一主题 下一主题

[网络管理] 新年第一天上班SQIUD 陶宝不能买东西求解 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2012-01-30 17:43 |只看该作者
我把squid.conf里面的规则都改了为什么还是不行。
附图  求解

http_port 3128 transparent
cache_mem 256 MB
dns_nameservers 196.196.0.8
maximum_object_size_in_memory 2 MB
memory_replacement_policy heap LFUDA
cache_replacement_policy heap LFUDA
cache_dir ufs /home/cache 5000 32 512
error_directory /usr/local/squid/share/errors/Simplify_Chinese
#acl my_pc 196.196.0.200
#acl nocache urlpath_regex cookie.*\.php *\.jsp *\.asp *\.pl *\.cgi
#no_cache deny nocache
#acl badurls dstdomain -i www.xunlei.com www.gougou.com www.flashget.com www.flashget.net www.soso.com
#http_access deny badurls
#acl badkeywords url_regex -i xunlei.com gougou.com flashget.com flashget.net soso.com
#http_access deny badkeywords
#acl audio urlpath_regex -i .torrent$ .avi$ .mp3$ .mp4$  
#http_access deny audio
#acl badfiles urlpath_regex -i .swf$ .flv$
#http_access deny badfiles
#acl download urlpath_regex -i \.mp3$ \.avi$ \.rvmb$ \.mpe$ \.swf$ \.flv$
####acl download urlpath_regex -i \.zip$ \.mp3$ \.ra$ \.avi$ \.rar$ \.rvmb$ \.mpe$
#http_access deny download
acl localhost src 196.196.0.0/24
http_access allow localhost
http_access allow all
#http_access deny all
acl safe port 80 3128
http_access allow safe
cache_effective_user squid
cache_effective_group squid
icp_port 0
cache_mgr worldrestart@yahoo.com.cn
acl OverConnLimit maxconn 16
http_access deny OverConnLimit
acl conncount maxconn 5
visible_hostname 196.196.0.8
icon_directory /usr/local/squid/share/icons
max_open_disk_fds 0
minimum_object_size 1 KB
maximum_object_size 20 MB
cache_swap_low 90
cache_swap_high 95
access_log /usr/local/squid/var/logs/access.log squid
cache_log /usr/local/squid/var/logs/cache.log squid
cache_store_log none
emulate_httpd_log on
cache_dns_program /usr/local/squid/libexec/dnsserver
dns_children 80
dns_nameservers 196.196.0.8
###refresh_pattern -i \.jpg$ 30 50% 4320 reload-into-ims
###refresh_pattern -i \.png$ 30 50% 4320 reload-into-ims
refresh_pattern -i \.htm$ 0 20% 1440
refresh_pattern -i \.html$ 0 20% 1440
refresh_pattern -i . 5 25% 2880
###refresh_pattern . 0 20% 4320 override-expire override-lastmod reload-into-ims ignore-reload
acl buggy_server url_regex ^http://.... http://
broken_posts allow buggy_server
###acl apache rep_header Server ^Apache
####broken_vary_encoding allow apache
request_entities off
###header_access header allow all
relaxed_header_parser on
client_lifetime 120 minute
###cache_peer 196.196.0.8 parent 80 0 no-query default multicast-responder no-netdb-exchange
###cache_peer_domain 196.196.0.8                                 
hostname_aliases 196.196.0.8
#error_directory /usr/local/squid/share/errors/Simplify_Chinese
always_direct allow all
ignore_unknown_nameservers on
coredump_dir  /var/log/squid
half_closed_clients off
buffered_logs on

7777.JPG (47.41 KB, 下载次数: 15)

7777.JPG

论坛徽章:
0
12 [报告]
发表于 2012-01-30 17:44 |只看该作者
我加了这句按道理是全放行
http_access allow all

论坛徽章:
0
13 [报告]
发表于 2012-01-30 17:52 |只看该作者
先下班明天再来 虽然我还没搞好  还是谢谢热心版主

论坛徽章:
0
14 [报告]
发表于 2012-01-31 08:15 |只看该作者
1.所有电脑都这样么
2.点击所有淘宝购买按钮都这样么

可能不是squid的问题。

论坛徽章:
0
15 [报告]
发表于 2012-02-01 11:45 |只看该作者
本帖最后由 bigbigsh 于 2012-02-01 11:46 编辑

不好意思昨天感冒在家呆着,版主所有的电脑都这个问题,我用IPTABLES上网就没问题。用SQUID就出现这问题。

论坛徽章:
0
16 [报告]
发表于 2012-02-01 12:19 |只看该作者
这个问题以前从来没有过。就去年下半年出现的。QQ空间也一样。要在IE里设代理才能打开空间。 如果不设也一样是空白的.那时也没在意。这回taobao买不了东西了。只在taobao聚划算里出现。以前也没有人说这里上不了。

论坛徽章:
0
17 [报告]
发表于 2012-02-02 09:49 |只看该作者
自己顶一下
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP