当前位置:网站首页>Hcie security Day12: supplement the concept of packet filtering and security policy
Hcie security Day12: supplement the concept of packet filtering and security policy
2022-07-03 20:44:00 【Xiao Liang L】
Packet filtering technology
For packets that need to be forwarded , Get the header information first , Then compare it with the set rules , According to the results of the comparison, the packets are forwarded or discarded . The main technology used is ACL.
State detection mechanism
For only one connection ( A stream ) The first packet of is checked for packet filtering , If the first package passes the inspection , The session table will be established , Subsequent messages are quickly forwarded according to the session table , No longer detected by packet filtering .
Security policy of firewall
According to certain rules ( Packet filtering ) The control device forwards the traffic and integrates the content security of the traffic ( Not only is 5 Tuples detect the legitimacy of messages and analyze the content characteristics of messages to determine whether they are malicious messages such as diseases * Poison, etc ) Detection strategy . It is mainly used to control network mutual access across firewalls or access to the firewall itself .
Firewall security policy principle
[USG6000V1]security-policy [USG6000V1-policy-security]rule name p1 [USG6000V1-policy-security-rule-p1]rule name p2 [USG6000V1-policy-security-rule-p2]rule name p3 [USG6000V1-policy-security]dis this 2022-01-28 15:08:50.000 # security-policy rule name p1 (not configure the action) rule name p2 (not configure the action) rule name p3 (not configure the action) # return
Filter the traffic passing through the firewall according to the defined rules , And determine how to proceed with the next operation of the filtered traffic according to the keywords .
Firewall inter domain forwarding
Query and create session
The position of the session in the forwarding process
1、 Match the firewall session table according to the five tuples of the message , If the match is successful, carry out state detection , And security checks ( If done IPS Configuration ), And refresh the session table , Forward the message .
2、 If no match succeeds , Then conduct status detection to determine whether it is the first package , Check whether there is a route with destination address in the routing table , Some words , According to the message Access interface And the message determined in the routing table Exit interface Determine inter domain traffic Direction , Check the corresponding security policy according to the direction of inter domain traffic , If the match , Create a session , Forward , If it doesn't match , Direct discarding .
View session table information
[USG6000V1]dis firewall session table 2022-01-28 15:48:03.600 Current Total Sessions : 1 bootps VPN: default --> default 192.168.191.1:68 --> 192.168.191.254:67 [USG6000V1]dis firewall session table verbose 2022-01-28 15:48:12.850 Current Total Sessions : 1 bootps VPN: default --> default ID: c487f66beef5cf8231561f40fd8 Zone: trust --> trust TTL: 00:02:00 Left: 00:00:21 Recv Interface: GigabitEthernet0/0/0 Interface: GigabitEthernet0/0/0 NextHop: 192.168.191.254 MAC: 0050-56f6-a752 <--packets: 2 bytes: 656 --> packets: 1 bytes: 344 192.168.191.1:68 --> 192.168.191.254:67 PolicyName: ---
current total sessions: Statistics of current session tables
bootp: Name of agreement
VPN:default-->default:VPN Instance name , The expression is : Source direction --> Goal direction
192.168.191.1:68-->192.168.191.254:67: Session table information
ID: Current session id
zone:trust-->trust: The security zone of the session , The expression is : Source security area --> Objective safe area
TTL: The total lifetime of the session entry
Left: The remaining lifetime of the session table entry
Output-interface: Exit interface
NextHop: Next jump ip Address
MAC: Next jump MAC Address
边栏推荐
- AST (Abstract Syntax Tree)
- From the behind the scenes arena of the ice and snow event, see how digital builders can ensure large-scale events
- MDM mass data synchronization test verification
- Haven't expressed the artifact yet? Valentine's Day is coming. Please send her a special gift~
- Measurement fitting based on Halcon learning -- Practice [1]
- Global and Chinese markets of cast iron diaphragm valves 2022-2028: Research Report on technology, participants, trends, market size and share
- 设计电商秒杀系统
- QT tutorial: signal and slot mechanism
- Preliminary practice of niuke.com (11)
- Change deepin to Alibaba image source
猜你喜欢
Measurement fitting based on Halcon learning -- Practice [1]
Machine learning support vector machine SVM
"Designer universe" APEC safety and health +: environmental protection Panda "xiaobaobao" Happy Valentine's Day 2022 | ChinaBrand | Asia Pacific Economic media
1.4 learn more about functions
Basic knowledge of dictionaries and collections
Qtablewidget control of QT
Haven't expressed the artifact yet? Valentine's Day is coming. Please send her a special gift~
Qt6 QML Book/Qt Quick 3D/基础知识
jvm jni 及 pvm pybind11 大批量数据传输及优化
Shortest path problem of graph theory (acwing template)
随机推荐
The 29th day of force deduction (DP topic)
[Tang Laoshi] C -- encapsulation: member variables and access modifiers
Global and Chinese markets of cast iron diaphragm valves 2022-2028: Research Report on technology, participants, trends, market size and share
MySQL learning notes - single table query
XAI+网络安全?布兰登大学等最新《可解释人工智能在网络安全应用》综述,33页pdf阐述其现状、挑战、开放问题和未来方向
Shortest path problem of graph theory (acwing template)
Ruby replaces gem Alibaba image
How to handle wechat circle of friends marketing activities and share production and release skills
9 pyqt5 qscrollarea scroll area and qscrollbar scroll bar
The global industrial design revenue in 2021 was about $44360 million, and it is expected to reach $62720 million in 2028. From 2022 to 2028, the CAGR was 5.5%
Discussion Net legacy application transformation
Commands related to files and directories
11-grom-v2-05-initialization
jvm jni 及 pvm pybind11 大批量数据传输及优化
Qt6 QML Book/Qt Quick 3D/基础知识
MySQL dump - exclude some table data - MySQL dump - exclude some table data
Interval product of zhinai sauce (prefix product + inverse element)
AcWing 1460. Where am i?
1.5 learn to find mistakes first
浅议.NET遗留应用改造