我用的是redhat enterprise linux5.在上边安装了tomcat,在本机上测试:http://127.0.0.1:8080没有问题。用http://本机ip:8080测试也没有问题,
但是在局域网中用其它电脑测试tomcat则不通(同一个网段内)。但是测试Apache是通的。iptables stop也不行。我是装在VM上的,如果是VM设置的问题的话,Apache应该也不会通。并且我的vsftpd是通的。iptables我已经用命令设置过:#iptables -A INPUT -p tcp --dport 8080 -j ACCEPT
# iptables -A OUTPUT -p tcp --sport 8080 -j ACCEPT
还是不通。
大家看一下抓的包:tcpdump -vv -i eth0 port 8080
14:54:57.258874 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: TCP (6), length: 52) localhost.webcache > localhost.f5-iquery: S, cksum 0x9a09 (correct), 3946166685:3946166685(0) ack 316654593 win 5840
14:54:57.259146 IP (tos 0x0, ttl 128, id 52893, offset 0, flags [DF], proto: TCP (6), length: 40) localhost.f5-iquery > localhost.webcache: ., cksum 0xf393 (correct), 1:1(0) ack 1 win 65044
14:54:47.268996 IP (tos 0x0, ttl 128, id 52896, offset 0, flags [DF], proto: TCP (6), length: 110) localhost.f5-iquery > localhost.webcache: P 1:71(70) ack 1 win 65044
14:55:07.327418 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: TCP (6), length: 52) localhost.webcache > localhost.qsnet-assist: S, cksum 0x954a (correct), 3977146026:3977146026(0) ack 3981719394 win 5840
14:55:07.328369 IP (tos 0x0, ttl 128, id 52939, offset 0, flags [DF], proto: TCP (6), length: 40) localhost.qsnet-assist > localhost.webcache: ., cksum 0xeed4 (correct), 1:1(0) ack 1 win 65044
14:55:07.329208 IP (tos 0x0, ttl 128, id 52940, offset 0, flags [DF], proto: TCP (6), length: 110) localhost.qsnet-assist > localhost.webcache: P 1:71(70) ack 1 win 65044
这些包是什么意思,我看不懂,请教一下大家。麻烦给帮个忙,谢谢!
白衬衫 于 2010-07-15 13:30:00发表:
问题已解决。是我的粗心造成的,只是还有问题是我抓到的那些数据包是什么意思?谁能告诉啊???