当前位置:网站首页>Network equipment hard core technology insider firewall and security gateway chapter (VI) security double repair under the law
Network equipment hard core technology insider firewall and security gateway chapter (VI) security double repair under the law
2022-07-28 00:48:00 【User 8289326】
Last time when it comes to , Linghuchong developed the firewall HA (High Availability) function , Realize the session synchronization of firewall , In this way, when a firewall fails , Another firewall seamlessly takes over all traffic , Only a few packets are lost .
But , When testing the new connection performance of firewall , Linghuchong found , Test results and closure HA The functions are quite different .
original , Linghuchong forgot an important problem .
When the firewall synchronizes the session , You need to carry the following information :
Quintuples ( Source IP, Purpose IP, Source port , Destination port , Protocol type );
NAT The last quintuple ;
VRF—— Because of the difference VRF The addresses of can overlap , Avoid confusion ;
And other processing fields of the session .
thus , Calculate the packet header cost of each session packet , The network of session synchronization itself becomes the bottleneck of restricting session synchronization ……
The solution is also very simple , Linghuchong modified the driver code , Let the session synchronization be carried out through the aggregated Ethernet .
However , One wave rises after another .
Linghuchong tested the firewall layer 2 networking , Find a new problem :
Pictured , Firewall works in layer 2 mode , There is no IP Address , It presents a network bridge with the function of state detection firewall .
because FW A,FW B,SW X and SW Y Form a loop , therefore , Need to use STP The protocol blocks the redundant interfaces of the loop to form a spanning tree :
Of course , This kind of networking has the same disadvantages as the switch spanning tree : Long convergence time , At least half of the interface bandwidth is wasted .
Linghuchong transplanted the code related to the switch stacking function to the firewall , Allow two firewalls to stack , The control plane is virtualized into one , however , Linghuchong found , Even the basic session establishment function can't work properly ……
original , Here's the problem :
because SW X and SW Y It's all switches , Their lines to two firewalls are configured using port aggregation . Switch in the case of port aggregation , Packet streaming is based on IP Of —— that , This may cause TCP SYN and TCP SYN-ACK Sent to two different firewalls in the stack group .
Suppose the firewall A received TCP SYN package , And establish a session , And on the return trip TCP SYN-ACK But there is no guarantee that it will be sent to the firewall A. If SYN-ACK Sent to the firewall B, It will be discarded , As a result, this session will never be established .
therefore , Use stack mode in firewall ( Also known as Active-Active Pattern ) When realizing dual machine hot standby , Asymmetric session establishment is a very necessary function .
It allows two firewalls to synchronize session state machine information , Instead of simply synchronizing the addition and deletion of sessions . such , The enviable switch stacking function can also be realized on the firewall .
Linghuchong has solved the dual machine hot standby function of the firewall , Very happy , Soon , The new firewall has been deployed in the network exit and network core of Huashan School , Yue buqun is very happy .
However , With the development of Huashan sect , New challenges are coming ——
Please look forward to the next issue .
边栏推荐
- Volkswagen China invested 8billion yuan and became the largest shareholder of GuoXuan high tech
- 【Leetcode】547.省份数量(中等)
- 特权更改对现有连接的影响
- LeetCode_位运算_中等_137.只出现一次的数字 II
- 2020年一季度可穿戴市场出货量达7260万部,苹果独占近三成市场份额
- ҈ straight ҈ Broadcast ҈ Pre ҈ Report ҈ |҈ In hot summer, let's cross the high temperature and "bake" with nono!
- 大众中国豪掷80亿,成国轩高科第一大股东
- Selection of FFT sampling frequency and sampling points
- 网络设备硬核技术内幕 防火墙与安全网关篇 (八) 虚拟化神器 (中)
- How does JMeter solve the problem of garbled code?
猜你喜欢

Matlab | those matlab tips you have to know (4)

In July, a software testing engineer came to the company. He looked like a hairy boy. He didn't expect to be the new generation of roll King

【Meetup预告】OpenMLDB+OneFlow:链接特征工程到模型训练,加速机器学习模型开发

点分治解析

Data visualization - White Snake 2: black snake robbery (3)

How to smoothly go online after MySQL table splitting?
![Jerry, if you turn on Bluetooth again, one for two. When the mobile phone is connected to the prototype, it will appear and cannot be connected [chapter]](/img/6c/d4a45981a7fc87f6a82a91017f8ce8.png)
Jerry, if you turn on Bluetooth again, one for two. When the mobile phone is connected to the prototype, it will appear and cannot be connected [chapter]

从第二层到第三层

Basic operations of MySQL database (2) --- Based on data table

How does matlab set the K-line diagram to classic red and green color matching?
随机推荐
Confused SCM matrix keys
Jerry's PWM setting and PWM IO selection [chapter]
In the first quarter of 2020, the wearable market shipped 72.6 million units, with apple occupying nearly 30% of the market share
How to realize fast recognition of oversized images
Basic operations of MySQL database (3) --- Based on fields
智能便利店带你解锁未来科技购物体验
Matlab | those matlab tips you have to know (2)
Point divide and conquer analysis
自动推理的逻辑09–自动定理证明
leetcode:1997. 访问完所有房间的第一天【跳跃dp】
In July, a software testing engineer came to the company. He looked like a hairy boy. He didn't expect to be the new generation of roll King
From the second floor to the third floor
The server is poisoned - the dish is the original sin
英特尔AI实践日第56期 | 探讨行业发展新趋势
Numpy has no unsqueeze function
҈ straight ҈ Broadcast ҈ Pre ҈ Report ҈ |҈ In hot summer, let's cross the high temperature and "bake" with nono!
公司7月来了个软件测试工程师,一副毛头小子的样儿,哪想到是新一代卷王...
估值360亿美元!即将进行首次载人发射的SpaceX筹资3.46亿美元
[meetup preview] openmldb + ONEFLOW: link feature engineering to model training to accelerate machine learning model development
mysql数据库的基本操作(三)-——基于字段