-
Tracert程序
Tracert(跟踪路由)是路由跟踪实用程序,用于确定 IP 数据报访问目标所采取的路径。Tracert 命令用 IP 生存时间 (TT...
Tracert程序
Tracert(跟踪路由)是路由跟踪实用程序,用于确定 IP 数据报访问目标所采取的路径。Tracert 命令用 IP 生存时间 (TTL) 字段和 ICMP 错误消息来确定从一个主机到网络上其他主机的路由。
本程序利用RAW Socket实现Tracert程序。Tracert程序在具体实现时,是令其向目的主机发送一个ICMP回显请求消息,并重复递增IP头部TTL字段的值。刚开始的时候TTL等于1,这样当数据报抵达途中的第一个路由器时,TTL值就被减为0,导致发生超时错误,因为该路由器生成一份ICMP差错报文返回给源主机。随后,主机将数据报的TTL值递增1,以便IP报文能到达下一个路由器,并由下一路由器生成ICMP超时差错报文返回给源主机。不断重复这个过程,直到数据报达到最终的目的主机,此时目的主机将返回ICMP回显应答消息。这样,源主机只需对返回的每一份ICMP报文进行解析处理,就可以掌握数据报从源主机到达目的主机途中所经过的路由器信息。
本程序为控制台程序-Tracert using WinSocket
- 2023-05-23 15:50:04下载
- 积分:1
-
获取110端口和80端口用户名和口令
获取110端口和80端口用户名和口令-Access to 110 ports and 80-port user name and password
- 2023-06-27 11:15:03下载
- 积分:1
-
本设计的功能是填充一个TCP数据包,并发送给目的主机。
程序具体要求如下:
1) 以命令行形式运行:SendTCP、source_ip、source_p...
本设计的功能是填充一个TCP数据包,并发送给目的主机。
程序具体要求如下:
1) 以命令行形式运行:SendTCP、source_ip、source_port、dest_ip、dest_port,其中SendTCP是程序名,source_ip为源端IP地址,source_port为源端口号,dest_ip为目的地址,dest_port为目的端口号;
2) 其他的TCP头部参数请自行设定;
3) 数据字段为“This is my homework of network ,I am happy !”
4) 成功发送后在屏幕上输出“Send OK” 。
-The design features are filled with a TCP packet, and send the purpose of the host. Program specific requirements are as follows: 1) to form the command line run: SendTCP, source_ip, source_port, dest_ip, dest_port, which are SendTCP program name, source_ip client IP address as the source, source_port as the source port number, dest_ip for the purpose of the address, dest_port for the purpose of port number 2) the head of other TCP parameters at your own settings 3) data fields for the This is my homework of network, I am happy! 4) successfully sent the output on the screen after the Send OK .
- 2023-01-12 02:10:04下载
- 积分:1
-
使用WSAEnumProtocols函数找出在电脑上运行的所有的协议,图形界面....
使用WSAEnumProtocols函数找出在电脑上运行的所有的协议,图形界面.-use WSAEnumProtocols function on the computer to find all the operating agreement graphical interface.
- 2023-02-08 12:10:03下载
- 积分:1
-
ARP包的捕获分析(基于Libpcap下)
ARP包的捕获分析(基于Libpcap下)-ARP packet capture analysis (based on the next Libpcap)
- 2023-06-16 21:55:03下载
- 积分:1
-
监听snmp包的程序
监听snmp包的程序 -Monitor snmp packets
- 2022-02-02 20:51:01下载
- 积分:1
-
Linux下的包监听
Linux下的包监听 -Sniffer in Linux
- 2022-03-07 01:07:44下载
- 积分:1
-
协议的打包和解包代码
协议打包,解包程序代码-agreement packing and unpacking code
- 2022-02-28 19:21:11下载
- 积分:1
-
监控本地网络,捕获一段时间内以本机为源或目的地址的IP数据包,统计IP数据包的信息,列出本机到相同目的地址或同一源地址到本机且数据包协议类型相同的数据包的数量。...
监控本地网络,捕获一段时间内以本机为源或目的地址的IP数据包,统计IP数据包的信息,列出本机到相同目的地址或同一源地址到本机且数据包协议类型相同的数据包的数量。-local network monitoring, capture for some time to the plane of the source or purpose of the IP addresses of packets, Statistics IP packet information, for this machine to the same destination address or addresses to the same source for the data packet agreement with the same type of data packets quantity.
- 2022-02-22 09:14:22下载
- 积分:1
-
通过系统调用查看局域网内的计算机,获得局域网内的存活主机...
通过系统调用查看局域网内的计算机,获得局域网内的存活主机-View system calls through the computer LAN, LAN access to the survival of the mainframe
- 2023-08-23 08:00:03下载
- 积分:1