当前位置:网站首页>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
边栏推荐
- CarSim learning experience - rough translation 1
- 2022 Heilongjiang latest food safety administrator simulation exam questions and answers
- Animation synchronization of CarSim real-time simulation
- SQL操作数据库语法
- Summary of one question per day: linked list (continuously updated)
- STL quick reference manual
- The best blog to explain the basics of compilation (share)
- Matlab数学建模工具
- File upload and download performance test based on the locust framework
- Data reverse attack under federated learning -- gradinversion
猜你喜欢
Simple implementation scheme of transcoding and streaming (I)
Sqlyog remote connection to MySQL database under centos7 system
Implementation of bidirectional linked list (simple difference, connection and implementation between bidirectional linked list and unidirectional linked list)
ARP及ARP欺骗
Carsim-問題Failed to start Solver: PATH_ID_OBJ(X) was set to Y; no corresponding value of XXXXX?
Carla-ue4editor import Roadrunner map file (nanny level tutorial)
2022 Heilongjiang latest construction eight members (materialman) simulated examination questions and answers
Generate database documents with one click, which can be called swagger in the database industry
HCIA—数据链路层
sqli-labs第8关(布尔盲注)
随机推荐
Summary of one question per day: linked list (continuously updated)
Force deduction method summary: find classes
力扣每日一题刷题总结:二叉树篇(持续更新)
16: 00 interview, came out at 16:08, the question is really too
Force buckle method summary: sliding window
install. IMG production method
Opencv3 6.3 reduced pixel sampling with filters
力扣每日一题刷题总结:栈与队列篇(持续更新)
DWORD ptr[]
Global and Chinese market of snow sweepers 2022-2028: Research Report on technology, participants, trends, market size and share
Common shortcut keys of Jupiter notebook (you can also view it by pressing h in command mode)
STM32-新建工程(参考正点原子)
Programming ape learning English - imperative programming
c语言将字符串中的空格替换成%20
Carsim 学习心得-粗略翻译1
11月24号,我们为“满月”庆祝
什么是SQL注入
One of the reasons for WCF update service reference error
程序猿学英语-Learning C
c语言自定义类型枚举,联合(枚举的巧妙使用,联合体大小的计算)