- 论坛徽章:
- 0
|
我搭了一个lighttpd web服务器,然后再在上面装了一个squid透明代理
两个同时运行
netstat -ln 发现开了端口80
test@test ~ $ sudo /usr/sbin/lsof -i tcp:80
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
squid 11205 squid 17u IPv4 523179 TCP 186.180.77.125.broad.xw.sh.dynamic.163data.com.cn:55096->221.238.249.177:http (ESTABLISHED)
squid 11205 squid 22u IPv4 523186 TCP 186.180.77.125.broad.xw.sh.dynamic.163data.com.cn:35634->221.238.249.178:http (SYN_SENT)
squid 11205 squid 24u IPv4 523189 TCP 186.180.77.125.broad.xw.sh.dynamic.163data.com.cn:44972->221.238.249.178:http (SYN_SENT)
squid 11205 squid 26u IPv4 523192 TCP 186.180.77.125.broad.xw.sh.dynamic.163data.com.cn:49154->221.238.249.178:http (SYN_SENT)
squid 11205 squid 32u IPv4 523211 TCP 186.180.77.125.broad.xw.sh.dynamic.163data.com.cn:49341->221.238.249.178:http (SYN_SENT)
squid 11205 squid 36u IPv4 523215 TCP 186.180.77.125.broad.xw.sh.dynamic.163data.com.cn:55608->221.238.249.178:http (SYN_SENT)
squid 11205 squid 37u IPv4 523216 TCP 186.180.77.125.broad.xw.sh.dynamic.163data.com.cn:58073->221.238.249.178:http (SYN_SENT)
squid 11205 squid 38u IPv4 523217 TCP 186.180.77.125.broad.xw.sh.dynamic.163data.com.cn:51478->221.238.249.178:http (SYN_SENT)
squid 11205 squid 43u IPv4 523261 TCP 186.180.77.125.broad.xw.sh.dynamic.163data.com.cn:52768->221.238.249.178:http (SYN_SENT)
squid 11205 squid 52u IPv4 523240 TCP 186.180.77.125.broad.xw.sh.dynamic.163data.com.cn:34078->220.181.18.166:http (ESTABLISHED)
squid 11205 squid 54u IPv4 523243 TCP 186.180.77.125.broad.xw.sh.dynamic.163data.com.cn:60516->220.181.18.166:http (ESTABLISHED)
squid 11205 squid 56u IPv4 523246 TCP 186.180.77.125.broad.xw.sh.dynamic.163data.com.cn:48151->211.151.49.141:http (SYN_SENT)
lighttpd 16873 lighttpd 4u IPv4 429995 TCP *:http (LISTEN)
怎么会这样呢?这样的话,web服务还是能访问的.那squid又在那里呢? |
|