System and method for very fast IP packet filtering
Abstract
Small, optimized sequences of binary 6-tuples representing filter rules achieve very fast IP packet filtering. Filtering IP packets received from a caller at the physical interface to an operating system kernel is accomplished by processing FILTER rule statements entered by a user in a rules file to generate 6-tuple filtering rules, each of the 6-tuple filtering rules including an operator index; resolving relative and symbolic indexes in these 6-tuples filtering rules to form resolved filtering rules and loading the resolved filtering rules to the operating system kernel; and interpreting the resolved filtering rules for each IP packet received at the physical interface.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 31.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of compiling filtering rules into sets of binary symbolic and image files comprising the steps of: expanding a primary file and N secondary included files to produce an expanded in-memory rule table including one or more source filter rules; reading source filter rules from said in-memory rule table; recognizing a plurality of physical interfaces that are targets for said source filter rules; for said physical interfaces that are non-dynamic, generating binary image rule output files; and for said physical interfaces that are dynamic, generating binary symbolic rule output files.
- Claim 2Depends on #1
The method of claim 1 , further comprising the steps of: forming and loading 6-tuple filtering rules into an operating system kernel, said filtering rules including an operating field, a next rule fi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗