由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 常用的调试网络的命令,除了ping和traceroute,还有什么? (转载)
相关主题
question on TCP slow start你们大牛讨论的东西我看不懂还算码工吗?
关于tcp包头的一个小问题 [图] (转载)【转帖】Linode 被 Hack 事件始末 (转载)
怎样把snoop的文本结果抽出来?页面上有没可能判断访问者用没用代理服务器?
ip问题Linux下C++程序能否指定监听一个网卡的端口?
面试C/C++该怎么准备?如何截取浏览器向服务器发送的数据
弱问:1us包含packet在网卡里和kernel里处理的时间吗?问一个Linux下socket编程connect失败的问题
用公司的电脑做自己的小项目危险吗这个网站是怎么在源码中隐藏url地址的?
请问怎么记录tcp连接的时候从发出synack到收到ack的时间?python question: A socket operation was attempted to an unreachable network
相关话题的讨论汇总
话题: ping话题: traceroute话题: tcp话题: 调试话题: 常用
进入Programming版参与讨论
1 (共1页)
t**********g
发帖数: 3388
1
【 以下文字转载自 Linux 讨论区 】
发信人: thanksgiving (~灯红酒绿的上海~), 信区: Linux
标 题: 常用的调试网络的命令,除了ping和traceroute,还有什么?
发信站: BBS 未名空间站 (Mon Mar 17 00:02:43 2008)
除了ping和traceroute,还有什么常用的调试网络的命令?
t**********g
发帖数: 3388
2
谢谢楼上几位。我的问题是,假设你有一个TCP connection,从A机器到B机器。这个
TCP connection不通,你怎么diagnose?
我会先ping B以确定B是不是alive。
还有什么可能原因导致这个TCP connection failure呢?
s*******d
发帖数: 59
3
防火墙
g*****e
发帖数: 87
4
Lots of firewalls blocks ICMP which means ping might not work at all.
Try to telenet destIPaddress port to see if you can open the port or not.
Install wireshark/ethereal or tcpdump to see if you can start the TCP three
way handshaking process or not. You might be able to see if your nearest
gateway stop you or destination rejects you or something in between.
f**y
发帖数: 138
5
ifconfig - check your interface
iptables - check your firewall rules
nmap - scan the remote machine
netstat - check listening ports, active connections, routing table, etc.
ip - check your another kind of routing policy
1 (共1页)
进入Programming版参与讨论
相关主题
python question: A socket operation was attempted to an unreachable network面试C/C++该怎么准备?
请教一个抓取网页内容的问题弱问:1us包含packet在网卡里和kernel里处理的时间吗?
套在P民头上的信息枷锁又升级了zz用公司的电脑做自己的小项目危险吗
推荐一款监测网络活动的软件请问怎么记录tcp连接的时候从发出synack到收到ack的时间?
question on TCP slow start你们大牛讨论的东西我看不懂还算码工吗?
关于tcp包头的一个小问题 [图] (转载)【转帖】Linode 被 Hack 事件始末 (转载)
怎样把snoop的文本结果抽出来?页面上有没可能判断访问者用没用代理服务器?
ip问题Linux下C++程序能否指定监听一个网卡的端口?
相关话题的讨论汇总
话题: ping话题: traceroute话题: tcp话题: 调试话题: 常用