Adaptive re-ordering of data packet filter rules
Abstract
A packet data filter which stores ordered rules and sequentially applies the rules to received data packets to determine the disposition of the data packet. The packet filter maintains a match count in memory which indicates the number of times each rule matched an incoming data packet. Periodically, at the initiation of a user, or based on operating parameters of the filter, the rules are automatically re-ordered based on the match count. As a result of the re-ordering, rules with higher match counts are moved earlier in the sequential evaluation order and rules with lower match counts are moved later in the sequential evaluation order. As such, rules which are more likely to match incoming data packets are evaluated earlier, thus avoiding the evaluation of later rules. In order to prevent a re-ordering which would change the overall security policy of the packet filter, pairs of rules are compared to determine if they conflict (i.e., the swapping of the two rules would result in a change in the overall security policy). During re-ordering, the swapping of conflicting rules is prevented.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 58.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for operation of a data packet filter which implements a security policy by filtering data packets by sequentially evaluating a plurality of ordered rules, said method comprising the step of: dynamically maintaining, during operation of said data packet filter, match data indicating the number of times each of said rules is matched by a data packet; and automatically re-ordering said ordered rules such that rules which are matched more often are evaluated earlier.
- Claim 2Depends on #1
The method of claim 1 wherein said step of re-ordering is based on prior activity of said data packet filter.
- Claim 3Depends on #2
The method of claim 2 further comprising the step of: dynamically maintaining, during operation of said data packet filter, match data indicating the number of times each of said rules is matched by a data pa
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 58 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (1)
- William R. Cheswick and Steven M. Bellovin, Firewalls and Internet Security Repelling the Wily Hacker, Chapter 3, pp. 51-83, Addison-Wesley Publishing Company 1994.