当前位置:网站首页>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
边栏推荐
- In depth understanding of prototype drawings
- 实现双向链表(带傀儡节点)
- Media query usage
- Summary of one question per day: String article (continuously updated)
- 使用wireshark抓取Tcp三次握手
- 2022 Heilongjiang latest food safety administrator simulation exam questions and answers
- idea中注释代码取消代码的快捷键
- Force deduction method summary: double pointer
- Opencv common method source link (continuous update)
- Common shortcut keys of Jupiter notebook (you can also view it by pressing h in command mode)
猜你喜欢

STM32 new project (refer to punctual atom)

Simple implementation scheme of transcoding and streaming (I)

Carsim-问题Failed to start Solver: PATH_ID_OBJ(X) was set to Y; no corresponding value of XXXXX?

ICMP协议

Matlab数学建模工具

Use of opencv3 6.2 low pass filter

How to back up the configuration before the idea when reinstalling the idea

IP协议与IP地址

MySQL optimization

Carsim 学习心得-粗略翻译1
随机推荐
程序猿学英语-指令式编程
Carla-ue4editor import Roadrunner map file (nanny level tutorial)
Cvpr19 deep stacked hierarchical multi patch network for image deblurring paper reproduction
cve_ 2019_ 0708_ bluekeep_ Rce vulnerability recurrence
MySQL optimization
Global and Chinese markets for magnetic resonance imaging (MRI) transmission 2022-2028: Research Report on technology, participants, trends, market size and share
OpenCV3 6.3 用滤波器进行缩减像素采样
Learning C
High school mathematics compulsory one
Makefile基本原理
Simple implementation scheme of transcoding and streaming (I)
SQL操作数据库语法
Opencv3 6.3 reduced pixel sampling with filters
[dynamic planning] p4170: coloring (interval DP)
Summary of one question per day: linked list (continuously updated)
2022 Heilongjiang latest construction eight members (materialman) simulated examination questions and answers
File upload and download performance test based on the locust framework
St-link connection error invalid ROM table of STM32 difficult and miscellaneous diseases
Rotating linked list (illustration)
VS Code配置问题