当前位置:网站首页>ARP principle
ARP principle
2022-07-21 04:26:00 【Blue moon Champions League King】
Catalog
Introduction to transport layer protocol
TCP Why is the Agreement three handshakes instead of two ?
One 、
ARP Attack principle
- Deceive all other computers
- Spoofing the attacked computer
ARP Spoof gateway
ARP Spoofing the host
Manage the network through Longhorn network monitoring machine software
- Set the monitoring range · Network management
- Verification effect
ARP Fault handling
Demand analysis
- Benet The company suddenly cannot access the Internet normally
- Discover the host ARP The number of gateways in the cache table MAC The address is incorrect
Two 、
Introduction to transport layer protocol
TCP/IP Transport layer protocol of protocol family
- TCP (Transmission Control Protocol )
◆ Transmission control protocol
- UDP (User Datagram Protocol )
◆ User datagram protocol
TCP Why is the Agreement three handshakes instead of two ?
reason 1: It is mainly to prevent the failed connection request message from being suddenly transmitted to the server , This leads to unnecessary errors and waste of resources .
If you use two handshakes to establish a connection , Let's say there's a scenario , The first request sent by the client connects and is not lost , Just because I've been on the Internet for too long , because TCP The client of has not received the confirmation message , Thought the server didn't receive , Send this message to the server again , After that, the client and the server complete the connection through two handshakes , To transmit data , Then close the connection . The connection request that was held before this time , Because the network is unobstructed , Reached the server , This newspaper text should be invalid , however , The two handshake mechanism will allow the client and the server to establish a connection again , This will lead to unnecessary mistakes and waste of resources .
If three handshakes are used , Even if the failed message was transmitted , The server receives the invalid message and replies the confirmation message , But the client will not issue a confirmation again . Because the server can't receive confirmation , Just know that the client didn't request a connection
TCP And UDP The difference between ?
TCP and UDP The difference between
(1)TCP It's a reliable transmission ,UDP It's an unreliable transmission ;
(2)TCP Connection oriented ,UDP There is no connection ;
(3)TCP Transmit data in order ,UDP The order of data is not guaranteed ;
(4)TCP Do not save data boundaries ,UDP Preserve data boundaries ;
(5)TCP The transmission speed is relative UDP slower ;
(6)TCP There are flow control and congestion control ,UDP No, ;
(7)TCP It's a heavyweight agreement ,UDP It's a lightweight protocol ;
(8)TCP The first part is long 20 byte ,UDP The head is short 8 word
TCP The meaning of each state of three handshakes ∶
LISTEN: Listening from far away TCP Connection request for port
SYN_SENT: Wait for the matching connection request after sending the connection
SYN_RECEIVED : Wait for confirmation after receiving and sending a connection request
ESTABLISHED: Represents an open connection , Can transmit data
FIN_WAIT1: Waiting for remote TCP Connection interrupt request for
FIN_WAIT2: From remote TCP Wait for connection interrupt request
CLOSE_WAIT: Waiting for the connection interrupt request from the local user
CLOSING: Waiting for remote TCP Confirmation of interruption .
LAST_ACK: Wait for the confirmation of the interrupt request
TIME_WAIT: Wait enough time to make sure that the remote TCP Received connection interruption request confirmation
CLOSED : There is no connected state .
Summary :
- TCP Is a reliable connection oriented protocol
- TCP It takes three handshakes to establish a connection
- TCP It takes four waves to disconnect
- UDP Is an unreliable connectionless protocol
边栏推荐
- Application of safertos in medical devices
- Jenkins pipeline key for remote deployment
- DHCP原理及配置
- Ask me if there is a better way to do database migration, whole database migration, from MySQL (old) - & gt; MySQL (New)?
- Web framework foreplay
- Don't know how to learn MySQL? It's enough to finish the 50 questions of Niuke! (Part VI)
- JSON parsing
- Mysql安装
- SNAT与DNAT
- 进程和计划任务管理
猜你喜欢
文件系统与日志分析
PXE efficient network installation, kickstart unattended installation
远程访问及控制
SAFERTOS在医疗设备中的应用
Qixin Jushi cloud spectrum new chapter | Haitai Fangyuan and Sichuan Unicom reach ecological strategic cooperation
expect
What are the serious consequences of the Internet giant's "winner takes all"?
Shell脚本数组与冒泡排序
Rust installs and implements a HelloWorld
Ugui official optimization document translation
随机推荐
CPU平均负载过高检查(iowait负载高)
Don't know how to learn MySQL? It's enough to finish the 50 questions of Niuke! (Part VI)
yum安装
CORS cross domain & jsonp callback & domain name takeover
bond网络模式
Qixin Jushi cloud spectrum new chapter | Haitai Fangyuan and Sichuan Unicom reach ecological strategic cooperation
Interpretation of the latest ECCV 2022 work: combined diffusion model
DHCP配置
Don't know how to learn MySQL? It's enough to finish the 50 questions of Niuke! (Part III)
账号和权限管理
DHCP概述及详细的DHCP服务器部署
List,Set,Map,Queue,Deque,Stack的特点及遍历方式总结
02-线性结构4 Pop Sequence(入栈,出栈的模拟)
BeanUtils. Copyproperties() and jsonobject What copy type is parseobject() (shallow copy or deep copy)
Please tell me about flink1.15 flinksql Kafka topic. If you don't create a submission job in advance, it will fail
One bite of Stream(1)
三剑客--awk
Jenkins Pipeline 密钥实现远程部署
UGUI——LayoutGroup
Shell expect automated interaction