FIELD: network packets dynamic filtering.
SUBSTANCE: invention relates to the methods for dynamic filtering of network packets. To resolve collisions that occur when tracking a session based on a HASH sum, one RAM cell contains records with information about four sessions. The information includes the destination IP address, the source IP address, the L4 protocol code, the destination port, the source port, the time the last session packet was received, and the code for the action to be performed on the packet. Next, the HASH sum is transmitted to the session tracking unit (106), which checks the address in the RAM memory cell, which is equal to the HASH sum, the presence of information consisting of packet header fields, which were used to calculate the HASH sum of the already received packet with such the same HASH sum, while the counter of the number of packets in the session is increased by 1 packet. If the RAM cell already contains information about the session, then it is compared with the data from the packet descriptor. If the information matches and the packet does not contain the SYN flag in the TCP header, then the packet is considered to belong to an already existing session and the action identifier stored in this RAM memory cell is added to the packet descriptor, which is an 8-bit number based on which the filter block performs packet filtering. If the information matches, but the packet contains the SYN flag in the TCP header, then a new session identifier is assigned and information about the current packet is entered into the RAM memory cell. If the information does not match, then the other three records about other sessions are checked in the same way; if there is no match, a new record is created in the RAM-memory cell.
EFFECT: invention improves throughput and performance.
1 cl, 4 dwg
Title | Year | Author | Number |
---|---|---|---|
METHOD FOR FILTERING A PART OF PACKETS IN A NETWORK SESSION | 2022 |
|
RU2790635C1 |
METHOD FOR TRACKING SESSIONS IN NETWORK TRAFFIC | 2022 |
|
RU2786178C1 |
A WAY TO TRACK FRAGMENTS OF PACKETS IN NETWORK TRAFFIC | 2022 |
|
RU2778462C1 |
BALANCING METHOD WHILE MAINTAINING INTEGRITY OF DATA FLOWS | 2023 |
|
RU2807656C1 |
METHOD FOR ENSURING BALANCING IDENTITY FOR BIDIRECTIONAL NETWORK SESSION DATA FLOW | 2022 |
|
RU2786629C1 |
METHOD FOR DETECTING DUPLICATE PACKETS IN A NETWORK TRAFFIC FLOW | 2022 |
|
RU2790636C1 |
METHOD FOR FILTERING NETWORK TRAFFIC BASED ON RULES WITH A MASK DURING PACKET SWITCHING | 2022 |
|
RU2795295C1 |
METHOD FOR SECURITY GATEWAY CLUSTER OPERATION | 2021 |
|
RU2757297C1 |
METHOD FOR ISOLATING DATA PACKETS TRANSMITTED OVER PUBLIC NETWORKS IN THE TCP/IP FAMILY PROTOCOL FORMAT USING A COMBINATION OF MASKING, ENCRYPTION AND CONTROL METHODS FOR THE RECEIVED DATA | 2021 |
|
RU2762157C1 |
METHOD OF MANAGING CONNECTIONS IN FIREWALL | 2012 |
|
RU2517411C1 |
Authors
Dates
2022-09-01—Published
2022-04-15—Filed