免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2167 | 回复: 1
打印 上一主题 下一主题

[FreeBSD] FB+PF+Squid+WCCP 代理QQ问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-09-07 12:50 |只看该作者 |倒序浏览
最近在公司部署了web cache.结果cisco switch+wccp.现在透明带来并且web cache都已经搞定,就是QQ无法登陆...老是提示服务器超市...有什么办法可以让QQ登陆成功呢???下面是我的配置:
  1. bash# more /etc/pf.conf
  2. rdr on re0 inet proto tcp from any to any port www -> 127.0.0.1 port 3128
  3. rdr on re0 inet proto tcp from any to any port 443 -> 127.0.0.1 port 3128
  4. rdr on re0 inet proto udp from any port 4000 to any port 8000 -> 0/32
  5. rdr on re0 inet proto udp from any port 4001 to any port 8000 -> 0/32
  6. rdr on re0 inet proto udp from any port 4002 to any port 8000 -> 0/32
  7. rdr on re0 inet proto udp from any port 4003 to any port 8000 -> 0/32
  8. rdr on re0 inet proto udp from any port 4004 to any port 8000 -> 0/32
  9. rdr on re0 inet proto udp from any port 4005 to any port 8000 -> 0/32
  10. rdr on re0 inet proto udp from any port 4006 to any port 8000 -> 0/32
  11. rdr on re0 inet proto udp from any port 4007 to any port 8000 -> 0/32
  12. rdr on re0 inet proto udp from any port 4008 to any port 8000 -> 0/32

  13. bash# more /usr/local/etc/squid/squid.conf
  14. 文件太大,copy了主要部分:
  15. #
  16. acl SSL_ports port 443
  17. acl Safe_ports port 80          # http
  18. acl Safe_ports port 21          # ftp
  19. acl Safe_ports port 443         # https
  20. acl Safe_ports port 70          # gopher
  21. acl Safe_ports port 210         # wais
  22. acl Safe_ports port 1025-65535  # unregistered ports
  23. acl Safe_ports port 280         # http-mgmt
  24. acl Safe_ports port 488         # gss-http
  25. acl Safe_ports port 591         # filemaker
  26. acl Safe_ports port 777         # multiling http
  27. acl CONNECT method CONNECT
  28. http_access allow manager localhost
  29. http_access deny manager
  30. wccp2_router x.x.x.x
  31. wccp2_router x.x.x.x:2048
  32. #wccp2_rebuild_wait on
  33. wccp2_forwarding_method 2
  34. wccp2_return_method 2
  35. wccp2_assignment_method 2
  36. wccp2_service standard 0
  37. wccp2_service dynamic 80
  38. wccp2_service_info 80 protocol=tcp flags=src_ip_hash,ports_source priority=100 ports=80
  39. wccp2_address x.x.x.x
复制代码


QQ登陆时有这样的信息:
TCP_DENIED/400 1519 NONE NONE:// - NONE/- text/html
TCP_DENIED/400 1519 NONE NONE:// - NONE/- text/html

这个是不是和QQ的数据包有关系?麻烦各位大哥帮小弟解决一下!!
谢谢啦!

论坛徽章:
0
2 [报告]
发表于 2009-09-09 17:11 |只看该作者
再顶一下......各位大哥们,有什么想法都可以说说看...现在偶是没头绪了...
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP