Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The principle of traceroute and tracert

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

The principle of traceroute:

The 1.traceroute host sends UDP packets to the trace host, and the destination port is the port with a higher number (such as port 33434).

two。 The TTL value and port number of the packet after the first packet TTL=1,Dport=33434; are added by 1

3. How to tell if you have arrived at your destination

Generally speaking, the destination will not open any service on a port as large as UDP33434, so after the packet arrives at the destination, the destination will find that the local host has not opened the corresponding port and will reply to the port unreachable message. Of course, this is limited to UDP.

In the case of TCP service, the local host will reply resert if the corresponding TCP service is not enabled.

The principle of tracert:

The principle of 1.tracert is relatively simple, sending echo reauest directly

two。 When you receive the echo reply from the destination, you will arrive at the destination.

Notes from my own study, if there are mistakes I hope to spend, we will make progress together, thank you.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report