PROCESSING METHOD FOR ACCELERATING PACKET FILTERING
First Claim
1. A processing method for accelerating packet filtering, applicable to a packet processing flow in a computer device, comprising:
- loading a rule chain comprising a plurality of packet filtering policies;
receiving a plurality of packet data;
performing a grouping procedure on the packet filtering policies according to feature values of the packet filtering policies, wherein the packet filtering policies meeting a threshold value are set as at least one policy group;
filtering the packet data by using the policy groups respectively;
determining whether the packet data matches the policy groups or not;
performing a packet filtering process by using each of the packet filtering policies in the policy groups if the packet data matches the policy groups; and
processing the packet data according to a preset processing policy if the packet data does not match the packet filtering policies in the policy groups.
1 Assignment
0 Petitions
Accused Products
Abstract
A processing method for accelerating packet filtering is used for accelerating the filtering process of packet data in a computer. The processing method accelerating packet filtering includes the steps. A plurality of packet filtering policies is loaded. Feature values of each packet filtering policy are resolved. A grouping procedure is performed on the packet filtering policies according to the feature values, so as to add the packet filtering policies meeting a threshold value to corresponding policy groups. A performing sequence of the packet filtering policies in the policy groups is determined according to a performing sequence of the packet filtering policies. A performing sequence of the policy groups is determined according to a producing sequence of the policy groups. A plurality of packet data is received. When the packets don'"'"'t match the policy groups, the default policy is processed according to protocol information of the packets.
28 Citations
4 Claims
-
1. A processing method for accelerating packet filtering, applicable to a packet processing flow in a computer device, comprising:
-
loading a rule chain comprising a plurality of packet filtering policies; receiving a plurality of packet data; performing a grouping procedure on the packet filtering policies according to feature values of the packet filtering policies, wherein the packet filtering policies meeting a threshold value are set as at least one policy group; filtering the packet data by using the policy groups respectively; determining whether the packet data matches the policy groups or not; performing a packet filtering process by using each of the packet filtering policies in the policy groups if the packet data matches the policy groups; and processing the packet data according to a preset processing policy if the packet data does not match the packet filtering policies in the policy groups. - View Dependent Claims (2, 3, 4)
-
Specification