作者RZAddict (鸩罗)
看板Network
标题[问答] udp传输终止原理
时间Tue Sep 20 00:57:35 2011
这是节录课本的
The source increments the TTL field for each datagram it sends.
Thus, one of the datagrams will eventually make it all the way to the
destination host. Because thie datagram contains a UDP segment with an
unlikely port number, the distination host sends a port unreachable ICMP
message.
想请问的是
Thus 後面开始有点不太懂
为什麽port number会跟前面送的segment不一样?
谢谢
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.113.140.175
1F:推 sssxyz:这段叙述看起来像是traceroute by udp packet的陈述 09/20 23:08
2F:→ sssxyz:udp本身并没有什麽特殊的传输控制方法在 09/20 23:09
3F:→ sssxyz:使用一个不服务的port 很自然地会传送出icmp回应 09/20 23:10
4F:→ sssxyz:藉以达成traceroute的目的罗...另一种trace by icmp packet 09/20 23:12
5F:→ RZAddict:所以接收端已经收满 就把接收用的port关掉 所以之後收到 09/20 23:31
6F:→ RZAddict:的packet上的port就是不服务的port? 09/20 23:31
7F:→ birdy590:这跟收满没有关系, 而是故意选用一个应该没在用的 port 09/21 00:11
8F:→ birdy590:udp traceroute +1 09/21 00:12
9F:→ RZAddict:有点懂了 谢谢:) 09/21 00:37