当前位置:网站首页>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
边栏推荐
猜你喜欢

W10 is upgraded to W11 system, but the screen is black, but the mouse and desktop shortcuts can be used. How to solve it

TCP/IP—传输层

路由基础—动态路由

樂理基礎(簡述)

Carsim problem failed to start Solver: Path Id Obj (X) was set to y; Aucune valeur de correction de xxxxx?

Introduction to parameters of CarSim pavement 3D shape file

Generate database documents with one click, which can be called swagger in the database industry

Comparable,Comparator,Clonable 接口使用剖析

Carsim 学习心得-粗略翻译1

Linked list classic interview questions (reverse the linked list, middle node, penultimate node, merge and split the linked list, and delete duplicate nodes)
随机推荐
Matlab-其它
Jumping | Blue Bridge Cup
Force deduction method summary: double pointer
Introduction to parameters of CarSim pavement 3D shape file
乐理基础(简述)
ICMP协议
STL quick reference manual
Common shortcut keys of Jupiter notebook (you can also view it by pressing h in command mode)
Several methods of image enhancement and matlab code
Multi site high availability deployment
On November 24, we celebrate the "full moon"
OpenCV关于x,y坐标容易混淆的心得
Realize bidirectional linked list (with puppet node)
Live broadcast platform development, flexible menu, and freely adjust the horizontal size of the menu bar
Backup, recovery and repair of XFS file system
Introduction to anti interception technology of wechat domain name
What are the platforms for selling green label domain names? What is the green label domain name like?
Sparse matrix storage
Sqlyog remote connection to MySQL database under centos7 system
CarSim learning experience - rough translation 1