Skip to content

Commit

Permalink
修正报文映射五元组的目的端口
Browse files Browse the repository at this point in the history
  • Loading branch information
helloimcx authored Apr 5, 2023
1 parent 3cae318 commit 9465cf3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,15 +252,15 @@ TCP 协议是一种“可靠地传输信息”的方法,它不仅有三次握
1. 左侧源地址 123.123.123.123
2. 左侧目的地址 110.242.68.3
3. 左侧源端口 52387
4. 左侧目的地址 443
4. 左侧目的端口 443
5. 协议 TCP

右侧五元组

1. 右侧源地址 10.0.0.100
2. 右侧目的地址 10.0.0.1
3. 右侧源端口 45234
4. 右侧目的地址 443
4. 右侧目的端口 443
5. 协议 TCP

然后,负载均衡器会关联这两个五元组:对两侧发来的数据包(报文)进行拆包和修改(两个地址+两个端口),并从另一侧发送出去。
Expand Down

0 comments on commit 9465cf3

Please sign in to comment.