2012/02/16 10:01:59| Starting squid Cache version 2.6.STABLE21 for i686-redhat-linux-gnu... 2012/02/16 10:01:59| Process ID 3189 2012/02/16 10:01:59| With 1024 file descriptors available 2012/02/16 10:01:59| Using epoll for the IO loop 2012/02/16 10:01:59| DNS Socket created at 0.0.0.0, port 50869, FD 6 2012/02/16 10:01:59| Adding nameserver 60.191.244.5 from squid.conf 2012/02/16 10:01:59| User-A...
系统 RHEL5,我准备架个squid ,在这有个双网卡的问题比较迷惑,网各位能解疑答惑,谢谢 eth0 对的是外网 ,静态ip. eth1 对的是内网,静态ip. 我想问一下,NAT到3128端口,squid怎么知道要走哪个网卡呢?它是怎么知道要走外网静态IP呢?望版主和各位网友给我解释一下,谢谢!
[root@fedora ~]# curl -I www.qq.com HTTP/1.0 200 OK Server: nginx/0.6.39 Date: Thu, 07 Jan 2010 09:21:27 GMT Content-Type: text/html; charset=GB2312 Vary: Accept-Encoding Expires: Thu, 07 Jan 2010 09:36:27 GMT Cache-Control: max-age=900 Vary: Accept-Encoding Age: 1 X-Cache: HIT from rainny.qq.com Via: 1.0 rainny.qq.com:80 (squid/2.6.STABLE5) Connection: close 大家看看他的前端是squid还是nginx
acl SINA dstdomain .sina.com acl IP_201 src 192.168.0.201 http_access deny SINA IP_201 http_access deny IP_201 SINA 上面两句有区别吗?
squid 3046 0.0 0.4 16376 2132 ? Ss 08:38 0:00 gnome-screensaver squid 3050 0.4 3.4 81552 17784 ? Sl 08:39 0:03 gnome-terminal squid 3052 0.0 0.1 2444 668 ? S 08:39 0:00 gnome-pty-helper squid 3053 0.0 0.2 4728 1468 pts/0 Ss 08:39 0:00 bash squid 3150 0.0 0.2 6660 1540 ? Ss 08:41 0:00 ./squid -s squid ...
[squid@as5 sbin]$ ./squid -N -d1 2009/09/01 14:58:21| Starting squid Cache version 3.1.0.9 for i686-pc-linux-gnu... 2009/09/01 14:58:21| Process ID 30099 2009/09/01 14:58:21| With 1024 file descriptors available 2009/09/01 14:58:21| Initializing IP Cache... 2009/09/01 14:58:21| DNS Socket created at [::], FD 5 2009/09/01 14:58:21| Adding nameserver xxxfrom squid.conf 2009/09/01 14:58:21| errorpage...
http_port 192.168.1.103:3128 vhost vport defaultsite=www.vvexpo.cn cache_mem 64 MB cache_swap_low 90 cache_swap_high 95 maximum_object_size 20 MB minimum_object_size 0 KB maximum_object_size_in_memory 5 MB ipcache_size 1024 ipcache_low 90 ipcache_high 95 fqdncache_size 1024 #acl all src 0.0.0.0/0.0.0.0 acl gsrc src 192.168.1.103 http_access allow gsrc acl Manager proto cache_object acl Localhost...