Squid

admin on 十二月 1st, 2011

服务器需要停止的服务: NetworkManager dnsmasq 域名不能解析,resolv.conf被修改 cat /etc/resolv.conf # Generated by NetworkManager chkconfig dnsmasq off chkconfig –list dnsmasq Dec  1 13:39:04  dhcpd: No subnet decla...

Continue reading about centos 6 server dhcpd、squid和网络排错

182 views
admin on 七月 11th, 2011

关键:squid自定义日志格式中combined %>a和之间只可有一个空格分隔,如果多于一个,squid日志中每行行首会有前置空格,分析时会报错: Found 6 corrupted records。 以下测试在centos linux中通过。 ...

Continue reading about awstats分析统计squid日志

764 views
admin on 六月 16th, 2011

实现linux服务器配置squid透明代理访问非80端口,允许部分地址不通过代理服务器直接访问。   iptables相关配置: *mangle -A PREROUTING -d 10.11.48.0/255.255.255.192 -j MARK –set-mark 0×2 -A PREROUTING ...

Continue reading about squid透明代理访问非80端口http服务

615 views
admin on 九月 28th, 2009

开心网的游戏叫人杀盗淫妄,而不是教人仁义礼智信。公司下令封锁,现把方法写出来。如果是用iptables,只需要在Chain FORWARD最前面加一下几条就可以。 $IPTABLES -A FORWARD -d www2.kaixin001.z.cdn20.co...

Continue reading about 如何封开心网

928 views
admin on 六月 25th, 2009

/usr/local/squid/bin/squidclient -p 3128 -h localhost mgr:io HTTP/1.0 200 OK Server: squid/3.0.STABLE15 HTTP I/O number of reads: 18985956 Read Histogram:     1-    1:       766  0% &nbs...

Continue reading about squid优化

441 views

linux服务器:centos   squid3 squid日志:  "NONE error:unsupported-request-method HTTP/0.0" 400 1817 NONE:NONE, 原来qq使用了80端口但使用的非http标准协议。 公司允许使用qq、msn, 只好打开udp 8000端...

Continue reading about squid iptables 透明代理 QQ、msn不能登录解决办法

1,729 views