搜索资源列表
indihgk
- 熟悉Linux环境下基本的RAW socket 编程,可以对以太网帧进行初步分析,可以通过程序完成第一个程序中对应的不同参差PDU字段分析,修改和重新发送-Familiar with the Linux environment, the basic RAW socket programming, you can conduct a preliminary analysis of the Ethernet frame can be completed through the program the
if_ether
- IEEE 802.3 Ethernet magic constants. The frame sizes omit the preamble and FCS CRC (frame check sequence).
if_ether
- IEEE 802.3 Ethernet magic constants. The frame sizes omit the preamble and FCS CRC (frame check sequence).
ping
- 编写一个简单的 ping 程序。利用 Raw Socket 封装和发送以太网帧的功能,实现 ICMP 包的发送和接收,并输出结果。(Write a simple ping program. Using Raw Socket encapsulation and send Ethernet frame function, to achieve ICMP packet sending and receiving, and output the results.)
01_session_daemon_test
- 在网络通讯时,源主机的应用程序知道目的主机的IP地址和端口号,却不知道目的主机的硬件地址,而数据包首先是被网卡接收到再去处理上层协议的,如果接收到的数据包的硬件地址与本机不符,则直接丢弃。因此在通讯前必须获得目的主机的硬件地址。ARP协议就起到这个作用。源主机发出ARP请求,询问“IP地址是192.168.0.1的主机的硬件地址是多少”,并将这个请求广播到本地网段(以太网帧首部的硬件地址填FF:FF:FF:FF:FF:FF表示广播),目的主机接收到广播的ARP请求,发现其中的IP地址与本机相符,