当前位置:网站首页>ARP and ARP Spoofing
ARP and ARP Spoofing
2022-07-02 08:27:00 【Defeat of Fujiwara Qianhua】
List of articles
Preface
When a network device has data to send to another network device , You have to know the other person's Network layer address (IP Address ).IP The address is provided by the network layer , But only IP The address is not enough ,IP The data packet It must be encapsulated into frames to be sent through the data link layer . The data frame should contain the purpose MAC Address , Therefore, the sender must also obtain the purpose MAC Address .
Through purpose IP Get the purpose MAC The process of address is controlled by ARP Protocol to implement .
One 、ARP What is it? ?
Address resolution protocol ,Address Resolution Protocol
host A To send a packet to the host C, Host computer A ping host C 10.0.0.3, Data is encapsulated from the upper layer , Active when reaching the network layer IP And purpose IP( May by DNS obtain ), To the data link layer , To encapsulate the source MAC And purpose MAC, Purpose MAC Unknown . that , You need to send ARP.
Two 、ARP Detailed explanation
1.ARP request
Data is encapsulated into the link layer , Found no MAC Address , Instead, encapsulate a ARP request . But it still needs one to encapsulate into frames MAC Address , Write the destination at the head of the frame MAC:FF-FF-FF-FF-FF-FF, Broadcast address , stay ARP There is a purpose in the data IP Field . Every network device receives this ARP Request package , Can extract ARP data , Match to host IP And packet purpose IP Agreement , Return the... Of the host MAC Address .
2.ARP Respond to
host C Received by the host A It's on the air ARP request , Purpose of discovery IP Consistent with this host , Returns a ARP Response packets .
3.ARP Packet format
ARP Broadcast can only be in the same network segment , Each interface of the router must be in different network segments , therefore ARP The message cannot pass through the router .
In the configuration IP Address time , The network device will send a free ARP, Used to ensure that no IP Address conflict
In some special cases , have access to ARP agent , Realize different network segments ARP Request
ARP cheating
ARP cheating : The attacker sent “ Without any reason ARP Respond to ” To disguise other devices , Cause communication failure
边栏推荐
- Use Matplotlib to draw a preliminary chart
- 程序猿学英语-Learning C
- Global and Chinese markets of tilting feeders 2022-2028: Research Report on technology, participants, trends, market size and share
- Smart agriculture solutions smart agriculture system development
- Development of digital collection trading website development of metauniverse digital collection
- My VIM profile
- 使用Matplotlib绘制图表初步
- Vs code configuration problem
- SQL operation database syntax
- Linked list classic interview questions (reverse the linked list, middle node, penultimate node, merge and split the linked list, and delete duplicate nodes)
猜你喜欢
乐理基础(简述)
CarSim learning experience - rough translation 1
2022 Heilongjiang latest construction eight members (materialman) simulated examination questions and answers
Analysis of the use of comparable, comparator and clonable interfaces
链表经典面试题(反转链表,中间节点,倒数第k个节点,合并分割链表,删除重复节点)
Matlab mathematical modeling tool
路由基础—动态路由
SQLyog远程连接centos7系统下的MySQL数据库
Data reverse attack under federated learning -- gradinversion
Don't know mock test yet? An article to familiarize you with mock
随机推荐
St-link connection error invalid ROM table of STM32 difficult and miscellaneous diseases
Live broadcast platform development, flexible menu, and freely adjust the horizontal size of the menu bar
Analysis of the use of comparable, comparator and clonable interfaces
程序猿学英语-指令式编程
16: 00 interview, came out at 16:08, the question is really too
HCIA—数据链路层
深入理解JVM
Constant pointer and pointer constant
Jupyter Notebook常用快捷键(在命令模式中按H也可查看)
Using C language to realize MySQL true paging
Makefile基本原理
web安全--逻辑越权
Matlab-其它
链表经典面试题(反转链表,中间节点,倒数第k个节点,合并分割链表,删除重复节点)
Using transformer for object detection and semantic segmentation
Matlab mathematical modeling tool
Carla-UE4Editor导入RoadRunner地图文件(保姆级教程)
install. IMG production method
文件上传-upload-labs
用数字 5,5,5,1 ,进行四则运算,每个数字当且仅当用一次,要求运算结果值为 24