US20010000193A1 - System and method for very fast IP packet filtering - Google Patents

System and method for very fast IP packet filtering Download PDF

Info

Publication number
US20010000193A1
US20010000193A1 US09/726,203 US72620300A US2001000193A1 US 20010000193 A1 US20010000193 A1 US 20010000193A1 US 72620300 A US72620300 A US 72620300A US 2001000193 A1 US2001000193 A1 US 2001000193A1
Authority
US
United States
Prior art keywords
tuple
rules
filtering
rule
filtering rules
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US09/726,203
Other versions
US6301669B2 (en
Inventor
Edward Boden
Wesley Brzozowski
Paul Gebler
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to US09/726,203 priority Critical patent/US6301669B2/en
Publication of US20010000193A1 publication Critical patent/US20010000193A1/en
Application granted granted Critical
Publication of US6301669B2 publication Critical patent/US6301669B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/742Route cache; Operation thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0263Rule management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99931Database or file accessing
    • Y10S707/99939Privileged access

Definitions

  • This invention pertains to IP packet filtering. More specifically, it relates to a use of small, optimized sequences of binary 6-tuples representing filter rules to achieve very fast IP packet filtering.
  • IP Internet protocol
  • NAT network address translation
  • GUI operational navigator graphical user interface
  • IP packet filtering is the process of checking each Internet protocol (IP) packet that is going to be sent from or has just arrived at a gateway system, or node, in a communications network, and based upon that check of making a decision. The decision is (typically, and insofar as it relates to the preferred embodiment of this invention) whether the packet should be discarded or allowed to continue. These are termed the ‘deny’ and ‘permit’ actions. IP filtering is widely used in Internet firewall systems, by independent service providers (ISPs) and organizations connected to the Internet.
  • ISPs independent service providers
  • Filter rules are most commonly an ordered list of rules, processed sequentially from top to bottom (order is specified by the system administrator). Each rule permits a certain kind of IP traffic. Processing for an IP packet continues until the packet is permitted, explicitly denied, or there are no more rules, in which case it is denied. Usually a number of filter rules must be written for each protocol to be permitted.
  • IP filtering actions be particularly efficient and very fast because of the huge volume of IP packets a typical gateway system will handle each day, and because of the fairly large number of filter rules that might have to be processed for each IP packet. Typically, each IP packet that flows through the system must be processed by all the filter rules. A moderately busy system can easily be expected to process 10**6 packets per day. Hence, any unnecessary overhead might cause throughput problems.
  • a system and method for filtering IP packets received from a caller at the physical interface to an operating system kernal is provided. Filtering 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 kernal; and interpreting the resolved filtering rules for each IP packet received at the physical interface.
  • FIG. 1 illustrates the data flow of a preferred embodiment of the invention.
  • FIG. 2 illustrates an example set of IP filter rules.
  • FIG. 3 illustrates the format of a 6-tuple in accordance with the preferred embodiment of the invention.
  • FIG. 4 illustrates the logical structure of 6-tuples, for the example set of FIG. 2, following the load and resolution step of FIG. 1 in accordance with the preferred embodiment of the invention.
  • the problem solved by this invention is: how to generate filtering code that executes in the operating system (OS) kernel from customer-entered rules, that will function correctly and perform very well.
  • OS operating system
  • FIG. 1 the key elements of the invention and the logical relationships and data flow among them, are illustrated.
  • This invention is concerned with the translation of FILTER statements 100 to a 6-tuple representation 124 , and the interpretation 126 of the 6-tuples 124 as IP datagrams flow through the OS kernel 120 .
  • FILTER (and other rule) statements 100 are processed by rule compiler 102 .
  • An output of a first invocation 104 of the rule compiler 102 is two sets of files, s-rule files 106 and i-rule files 108 .
  • These files 106 , 108 contain the binary form of the rules in image format (in i-rule files 108 ) or retain some symbolic information (in s-rule files 106 ).
  • An ‘i’ or ‘s’ rule file 106 , 108 is generated for each physical interface for which there are rules.
  • a second invocation 114 of rule compiler 102 completes resolution of s-rule files 106 .
  • the resolved rules are loaded to OS kernel 120 in the form of 6-tuples.
  • a key part of loading in the kernel is to resolve the various relative and symbolic addresses in 6-tuples to absolute addresses.
  • 6-tuples 124 are ready to be used by filter interpreter 126 as IP datagrams enter and leave the system via device drivers 130 to input/output processor (IOP), not shown.
  • IOPs provide the actual physical interface to a system, and a network cable of some type plugs into an IOP.
  • Each IOP is represented within the OS kernal by a physical interface control block.
  • Filter interpreter 126 communicates with such IOPs through device driver code 130 residing within kernal 120 .
  • Transport protocols 128 (such as TCP, UDP) are accessed by filter interpreter 126 is processing 6-tuples 124 .
  • Both image rules (irules) 108 and symbolic rules (srules) 106 are in 6-tuple form, which is the output of rule compiler invocation 104 , which is further described hereafter in connection with Table 2. Both irules 108 and srules 106 go through an address resolution during load 122 , of the first two elements of their tuples. However, the srules 106 have an additional resolution that occurs during the compiler call 114 in connection with 122 load, but outside of kernal 120 . That additional resolution is required to change certain of their value1 206 or value2 208 elements from symbolic to actual values (IP addresses.)
  • FIG. 2 shows the FILTER rule statements 100 as entered by the system administrator and seen by rule compiler 102 .
  • Three example rules 140 , 142 and 144 are shown. The first two, rules 140 and 142 , are explicitly entered by the system administrator, and the last, rule 144 , called the ‘default deny’ rule, is generated automatically by rule compiler 102 .
  • Rules 140 , 142 and 144 are logically processed top-to-bottom for each IP packet 128 ; so for each packet 128 , if the IP packet matches the rules tests (all selectors for a rules filter set 140 , 142 or 144 ), then the ACTION 150 , 160 or 180 specified by the rule is taken (for rule 1 140 , the PERMIT action 150 means ‘allow the IP packet to continue’). If a given IP packet 128 does not match the first rule 140 , it is checked against the next rule 142 , and so on, until the last rule 144 . The default deny rule 144 always matches any IP packet and has ACTION 180 of deny, which means the IP packet 128 is discarded (not allowed to continue).
  • first filter rule 140 will allow all TCP IP datagrams, from any source, to any destination; and second filter rule 142 will allow UDP traffic if the source port or destination port is 161 or 162 .
  • These are well-known ports for SNMP (Simple Network Management Protocol), so this rule allows SNMP traffic (as an example).
  • the SET name (‘f 1 ’) is used to associate FILTER rule sets with specific physical interfaces via a FILTER_INTERFACE statement (not shown). With this statement, a specific physical interface (named as part of system configuration) is given one or more filter sets. Since only the sets named are loaded for a physical interface, there is an inherent performance advantage over the typical implementation where there is only a single set of rules for the entire system. This means a separate copy of the filter rules is made for each interface, but the physical size of these rules is tiny, relative to system memory and performance gains of having focused rules.
  • each 6-tuple includes operator 200 , nextrule 202 , offset 204 , value1 206 , value2 208 and value3 210 :
  • Nextrule 202 is a pointer to the first 6-tuple of the next rule in sequence, which is another instance of 6-tuple 198 . As generated by rule compiler 102 during invocation 114 , this is an offset that is resolved to a physical memory location when loaded to memory.
  • Offset 204 is a number that is the byte offset into an IP packet to a field in that IP packet that will be checked by this 6-tuple.
  • Value1 206 is the value to be compared against the field in the IP packet accessed by offset 204 .
  • the logical operation of the 6-tuple can now be expressed as “operand1,operator,operand2”.
  • Operand1 is obtained from the tuple element ‘offset’, operator is tuple element ‘operator’ and operand2 is tuple element ‘value1’.
  • the tuple represents expressions such as these; ‘source IP address, equals?, test address’.
  • the nextrule tuple-element is resolved to point to another 6-tuple.
  • Value2 208 is used in some tuples to represent additional or special actions for the tuple.
  • a special additional action implemented via value2 is journaling. If set to 1 in the rule's permit or deny tuple, then a journal entry is created outside kernal 120 that provides direct system administrator visibility to the filter action. This is used for debugging and verifying filter rules and for detecting penetration attacks.
  • the key information contained in each journal entry is: action taken (permit or deny), direction of IP datagram (inbound or outbound), source and destination IP addresses, source and destination port numbers, and the filter rule number.
  • This filter rule number is how the customer knows exactly which FILTER statement the journal entry applies to—the compiler 102 generates these numbers (not shown) and the GUI provides the system administrator access to this listing of all the rules with their numbers.
  • the rule number is in value3 210 of the tuple.
  • value3 210 may contain an IP subnet mask, applicable for some tuples.
  • a common way of representing TCP/IP subnets is by an IP address with a subnet mask. The mask is ‘anded’ (logically, bitwise) with the IP address. All IP addresses that are equal to the anded address after anding with the same mask are within the subnet.
  • 9.130.69.3, 255.255.255.* (sometimes written as 9.130.69.*) refers to this range of IP addresses: 9.130.69.1 through 9.130.69.255.
  • 6-tuples 220 , 222 , 224 , 226 , 230 , 232 , 234 , 236 and 240 that correspond to the three filter rules 140 , 142 , 144 (FIG. 2), is shown.
  • Table 1 presents a second, or alternative, representation of these 6-tuples.
  • All 6-tuples have six elements, some of which might be null (binary 0) or some other unused value.
  • ptr1 corresponds to pointer 252 in FIG. 4
  • ptr2 corresponds to pointer 272
  • ptr3 corresponds to pointer 282
  • ptr4 corresponds to pointer 292
  • ptr5 corresponds to pointer 302
  • ptr6 corresponds to pointer 312 .
  • 6-tuples do not contain “)” or “,”, is not on separate lines, and is simply 28*n contiguous bytes of binary, where n is the number of 6-tuples and 28 is the size, in this specific example, in 8-bit bytes (aka octets) of a 6-tuple.
  • FILTER rules 140 , 142 , 144 customers may define, nor on the resulting size of 6-tuples (the total length in bytes of 6-tuples 124 ).
  • the point of resolving function 200 and nextrule 202 indexes upon 6-tuple load 122 is to improve performance.
  • the resolution is done once, on load 122 , and then does not need to be done for each IP packet 128 as it is processed.
  • FIG. 4 the elipses following 6-tuples 226 , and 236 , denote that additional, arbitrary numbers of 6-tuples follow, and these elipses correspond to elipses in FIG. 2.
  • 6-tuple representations are provided in FIG. 4 for all rules shown in FIG. 2.
  • the correspondence between FILTER statements 140 , 142 , and 144 and the 6-tuples in FIG. 4 is as follows: 140 ⁇ > 220 , 222 ; 142 ⁇ > 224 , 226 , 230 , 234 , 234 , 236 ; and 144 ⁇ > 240 .
  • the values 9, 20, 22 in the offset tuple elements 254 , 284 and 304 , respectively, are the byte offset into an IP datagram at which the appropriate field is found. 9 corresponds to (is the offset to) the protocol field in an IP datagram. Similarly, 20 corresponds to source port and 22 corresponds to destination port.
  • the values in tuple element value1 are 6 (TCP), 20 (UDP), and so forth.
  • Each FILTER statement 100 (examples including 140 , 142 , and 144 ) belongs to a named set. In this example, the only set shown is the set named ‘f 1 ’. All rule statements 100 are partitioned by physical interface (IOP).
  • the customer system administrator uses a FILTER_INTERFACE statement to bind a set of rules to a particular physical interface. (See FIG. 7 in U.S. Patent application S/N —— , filed ——— , assignee docket number EN998067.) This gives an inherent performance advantage over having a single set of filter rules for the entire system, since only the required rules need be defined for each physical interface.
  • filter interpreter 126 In processing each datagram, filter interpreter 126 is given the filter rules that apply to a given physical interface. For outbound datagrams, the routing function has already determined what physical interface will be used. For inbound datagrams, the rules used are those associated with the physical interface that the datagram arrived on.
  • a memory device such as a transmission medium, magnetic or optical tape or disc, or the like, for storing signals for controlling the operation of a computer according to the method of the invention and/or to structure its components in accordance with the system of the invention.

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 kernal 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 kernal; and interpreting the resolved filtering rules for each IP packet received at the physical interface.

Description

    CROSS REFERENCE TO RELATED APPLICATIONS
  • 1. U.S. patent application Ser. No. 08/———, filed ———, entitled “SYSTEM AND METHOD FOR IP NETWORK ADDRESS TRANSLATION AND IP FILTERING WITH DYNAMIC ADDRESS RESOLUTION”, assignee docket number EN998067, filed concurrently herewith is assigned to the same assignee hereof and contains subject matter related, in certain respect, to the subject matter of the present application. The above-identified patent application is incorporated herein by reference.
  • BACKGROUND OF THE INVENTION
  • 2. 1. Technical Field of the Invention
  • 3. This invention pertains to IP packet filtering. More specifically, it relates to a use of small, optimized sequences of binary 6-tuples representing filter rules to achieve very fast IP packet filtering.
  • 4. 2. Background Art
  • 5. Internet protocol (IP) network address translation (NAT) and IP filtering are functions which provide firewall-type capability to an Internet gateway system. In one specific system, this is accomplished by providing means for the system administrator to specify specific NAT and filtering rules via an operational navigator graphical user interface (GUI).
  • 6. IP packet filtering is the process of checking each Internet protocol (IP) packet that is going to be sent from or has just arrived at a gateway system, or node, in a communications network, and based upon that check of making a decision. The decision is (typically, and insofar as it relates to the preferred embodiment of this invention) whether the packet should be discarded or allowed to continue. These are termed the ‘deny’ and ‘permit’ actions. IP filtering is widely used in Internet firewall systems, by independent service providers (ISPs) and organizations connected to the Internet.
  • 7. Filter rules are most commonly an ordered list of rules, processed sequentially from top to bottom (order is specified by the system administrator). Each rule permits a certain kind of IP traffic. Processing for an IP packet continues until the packet is permitted, explicitly denied, or there are no more rules, in which case it is denied. Usually a number of filter rules must be written for each protocol to be permitted.
  • 8. It is important the IP filtering actions be particularly efficient and very fast because of the huge volume of IP packets a typical gateway system will handle each day, and because of the fairly large number of filter rules that might have to be processed for each IP packet. Typically, each IP packet that flows through the system must be processed by all the filter rules. A moderately busy system can easily be expected to process 10**6 packets per day. Hence, any unnecessary overhead might cause throughput problems.
  • 9. It is an object of the invention to provide an improved IP packet filtering system and method.
  • 10. It is a further object of the invention to provide a very fast IP packet filtering system and method.
  • SUMMARY OF THE INVENTION
  • 11. In accordance with the invention, a system and method for filtering IP packets received from a caller at the physical interface to an operating system kernal is provided. Filtering 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 kernal; and interpreting the resolved filtering rules for each IP packet received at the physical interface.
  • 12. Other features and advantages of this invention will become apparent from the following detailed description of the presently preferred embodiment of the inventions taken in conjunction with the accompanying drawings.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • 13.FIG. 1 illustrates the data flow of a preferred embodiment of the invention.
  • 14.FIG. 2 illustrates an example set of IP filter rules.
  • 15.FIG. 3 illustrates the format of a 6-tuple in accordance with the preferred embodiment of the invention.
  • 16.FIG. 4 illustrates the logical structure of 6-tuples, for the example set of FIG. 2, following the load and resolution step of FIG. 1 in accordance with the preferred embodiment of the invention.
  • BEST MODE FOR CARRYING OUT THE INVENTION
  • 17. The problem solved by this invention is: how to generate filtering code that executes in the operating system (OS) kernel from customer-entered rules, that will function correctly and perform very well.
  • 18. Referring to FIG. 1, the key elements of the invention and the logical relationships and data flow among them, are illustrated.
  • 19. This invention is concerned with the translation of FILTER statements 100 to a 6-tuple representation 124, and the interpretation 126 of the 6-tuples 124 as IP datagrams flow through the OS kernel 120. FILTER (and other rule) statements 100 are processed by rule compiler 102. An output of a first invocation 104 of the rule compiler 102 is two sets of files, s-rule files 106 and i-rule files 108. These files 106, 108 contain the binary form of the rules in image format (in i-rule files 108) or retain some symbolic information (in s-rule files 106). An ‘i’ or ‘s’ rule file 106, 108 is generated for each physical interface for which there are rules. Later, when the interface is started in response to start TCP interface (STRTCPIFC) command processing 110, a second invocation 114 of rule compiler 102 completes resolution of s-rule files 106. As is represented by step 122, the resolved rules are loaded to OS kernel 120 in the form of 6-tuples. A key part of loading in the kernel is to resolve the various relative and symbolic addresses in 6-tuples to absolute addresses. Thereupon, 6-tuples 124 are ready to be used by filter interpreter 126 as IP datagrams enter and leave the system via device drivers 130 to input/output processor (IOP), not shown. In a specific embodiment, IOPs provide the actual physical interface to a system, and a network cable of some type plugs into an IOP. Each IOP is represented within the OS kernal by a physical interface control block. Filter interpreter 126 communicates with such IOPs through device driver code 130 residing within kernal 120. Transport protocols 128 (such as TCP, UDP) are accessed by filter interpreter 126 is processing 6-tuples 124.
  • 20. Both image rules (irules) 108 and symbolic rules (srules) 106 are in 6-tuple form, which is the output of rule compiler invocation 104, which is further described hereafter in connection with Table 2. Both irules 108 and srules 106 go through an address resolution during load 122, of the first two elements of their tuples. However, the srules 106 have an additional resolution that occurs during the compiler call 114 in connection with 122 load, but outside of kernal 120. That additional resolution is required to change certain of their value1 206 or value2 208 elements from symbolic to actual values (IP addresses.)
  • 21.FIG. 2 shows the FILTER rule statements 100 as entered by the system administrator and seen by rule compiler 102. Three example rules 140, 142 and 144 are shown. The first two, rules 140 and 142, are explicitly entered by the system administrator, and the last, rule 144, called the ‘default deny’ rule, is generated automatically by rule compiler 102.
  • 22. Rule 1 140 for filter set f1 includes ACTION=PERMIT 150, and selectors DIRECTION=* 152(read * as “splat”, where * means “any”), source address SRCADDR=* 154, destination address DESTADDR=* 156, and protocol PROTO=TCP 158.
  • 23. Rule 2 142 for filter set f1 includes ACTION=PERMIT 160, and selectors DIRECTION=* 162, SRCADDR=* 164, DESTADDR=* 166, PROTO=UDP 168, source port SRCPORT={161,162} 170, destination port DESTPORT={161,162} 172, and journal JRN=ON 174.
  • 24. Rule n 144 for filter set f1 includes ACTION=DENY 180, and selectors DIRECTION=* 182, SRCADDR=* 184, DESTADDR=* 186, and PROTO=* 188.
  • 25. Rules 140, 142 and 144 are logically processed top-to-bottom for each IP packet 128; so for each packet 128, if the IP packet matches the rules tests (all selectors for a rules filter set 140, 142 or 144), then the ACTION 150, 160 or 180 specified by the rule is taken (for rule 1 140, the PERMIT action 150 means ‘allow the IP packet to continue’). If a given IP packet 128 does not match the first rule 140, it is checked against the next rule 142, and so on, until the last rule 144. The default deny rule 144 always matches any IP packet and has ACTION 180 of deny, which means the IP packet 128 is discarded (not allowed to continue).
  • 26. So, the general approach in ordering FILTER rules 146, is to write rules which allowed desired IP traffic to continue. Any IP packets not matched by some explicit PERMIT rule 140, 142, will be discarded by the default deny rule 144.
  • 27. In FIG. 2, first filter rule 140 will allow all TCP IP datagrams, from any source, to any destination; and second filter rule 142 will allow UDP traffic if the source port or destination port is 161 or 162. These are well-known ports for SNMP (Simple Network Management Protocol), so this rule allows SNMP traffic (as an example). The SET name (‘f1’) is used to associate FILTER rule sets with specific physical interfaces via a FILTER_INTERFACE statement (not shown). With this statement, a specific physical interface (named as part of system configuration) is given one or more filter sets. Since only the sets named are loaded for a physical interface, there is an inherent performance advantage over the typical implementation where there is only a single set of rules for the entire system. This means a separate copy of the filter rules is made for each interface, but the physical size of these rules is tiny, relative to system memory and performance gains of having focused rules.
  • 28. Referring to FIG. 3, the logical structure of each 6-tuple includes operator 200, nextrule 202, offset 204, value1 206, value2 208 and value3 210:
  • 29. (operator, nextrule, offset, value1, value2, value3)
  • 30. Operator 200 represents a logical operation to be performed (e.g. tests such as ‘=’, ‘<=’, etc.). As generated by compiler 102 during invocation 104, this is a function index, that is resolved to a function pointer during invocation 114 for loading to memory as 6-tuples 124 in OS kernel 120. (6-tuples 124 in FIG. 1 include some arbitrary number of 6-tuples 198, FIG. 3.) Operators 200 are specific to a given byte length. That is, a 1-byte equality and 2-byte equality are different operators.
  • 31. Nextrule 202 is a pointer to the first 6-tuple of the next rule in sequence, which is another instance of 6-tuple 198. As generated by rule compiler 102 during invocation 114, this is an offset that is resolved to a physical memory location when loaded to memory.
  • 32. Offset 204 is a number that is the byte offset into an IP packet to a field in that IP packet that will be checked by this 6-tuple.
  • 33. Value1 206 is the value to be compared against the field in the IP packet accessed by offset 204. With this tuple element, the logical operation of the 6-tuple can now be expressed as “operand1,operator,operand2”. Operand1 is obtained from the tuple element ‘offset’, operator is tuple element ‘operator’ and operand2 is tuple element ‘value1’. Hence, the tuple represents expressions such as these; ‘source IP address, equals?, test address’. The nextrule tuple-element is resolved to point to another 6-tuple.
  • 34. Value2 208 is used in some tuples to represent additional or special actions for the tuple. In this preferred embodiment, as an example of such actions, a special additional action implemented via value2 is journaling. If set to 1 in the rule's permit or deny tuple, then a journal entry is created outside kernal 120 that provides direct system administrator visibility to the filter action. This is used for debugging and verifying filter rules and for detecting penetration attacks. The key information contained in each journal entry is: action taken (permit or deny), direction of IP datagram (inbound or outbound), source and destination IP addresses, source and destination port numbers, and the filter rule number. This filter rule number is how the customer knows exactly which FILTER statement the journal entry applies to—the compiler 102 generates these numbers (not shown) and the GUI provides the system administrator access to this listing of all the rules with their numbers. The rule number is in value3 210 of the tuple. Alternatively, value3 210 may contain an IP subnet mask, applicable for some tuples. A common way of representing TCP/IP subnets is by an IP address with a subnet mask. The mask is ‘anded’ (logically, bitwise) with the IP address. All IP addresses that are equal to the anded address after anding with the same mask are within the subnet. An example: 9.130.69.3, 255.255.255.* (sometimes written as 9.130.69.*) refers to this range of IP addresses: 9.130.69.1 through 9.130.69.255.
  • 35. Referring to FIG. 4, the set of 6- tuples 220, 222, 224, 226, 230, 232, 234, 236 and 240 that correspond to the three filter rules 140, 142, 144 (FIG. 2), is shown. Table 1 presents a second, or alternative, representation of these 6-tuples.
    TABLE 1
    6-Tuples
    1 (1byte=,ptr1,9,6,,)(permit,,,,,)(1byte=,ptr2,9,20,,)
    2 (2byte=,ptr3,20,161,,)...
    3 (2byte=,ptr4,20,162,,)(2byte=,ptr5,22,161,,)(2byte=,ptr6,22,
    4 162,,)(permit,,,,1,)...
    5 (deny,,,,,)
  • 36. All 6-tuples have six elements, some of which might be null (binary 0) or some other unused value.
  • 37. In table 1, ptr1 corresponds to pointer 252 in FIG. 4, ptr2 corresponds to pointer 272, ptr3 to pointer 282, ptr4 to pointer 292, ptr5 to pointer 302, and ptr6 to pointer 312.
  • 38. Of course, a direct in-memory form of 6-tuples does not contain “)” or “,”, is not on separate lines, and is simply 28*n contiguous bytes of binary, where n is the number of 6-tuples and 28 is the size, in this specific example, in 8-bit bytes (aka octets) of a 6-tuple. There is no effective limit on the number of FILTER rules 140, 142, 144 customers may define, nor on the resulting size of 6-tuples (the total length in bytes of 6-tuples 124).
  • 39. The diagram of Table 1 and FIG. 4 does not show the resolution of operators. Each of the operators shown (1byte=250, 270, 2bytes=280, 290, 300, 310, permit 260, deny 330) is actually a function pointer to a C++ entry point. The operator functions take as their single argument, a pointer to the 6-tuple that contains their function pointer and returns 1 (or, true—that is, the logical test specified by the 6-tuple is true), 0 (or, false—the logical test failed), 2 for permit and 3 for deny. Thus, the function argument is a pointer to the 6-tuple. Referring to the example of FIG. 4, the argument to 1byte=(field 250) is 220 (or a pointer to 6-tuple 220.) The function argument for permit (field 260) is 222 (that is, a pointer to 6-tuple 222), and so forth. This neat scheme simplifies the definition and use of these functions 250, 260, . . . by filter interpreter 126, and keeps the interpreter small.
  • 40. The point of resolving function 200 and nextrule 202 indexes upon 6-tuple load 122, is to improve performance. The resolution is done once, on load 122, and then does not need to be done for each IP packet 128 as it is processed.
  • 41. In FIG. 4, the elipses following 6- tuples 226, and 236, denote that additional, arbitrary numbers of 6-tuples follow, and these elipses correspond to elipses in FIG. 2. Thus, 6-tuple representations are provided in FIG. 4 for all rules shown in FIG. 2. The correspondence between FILTER statements 140, 142, and 144 and the 6-tuples in FIG. 4 is as follows: 140−>220, 222; 142−>224, 226, 230, 234, 234, 236; and 144−>240.
  • 42. The values 9, 20, 22 in the offset tuple elements 254, 284 and 304, respectively, are the byte offset into an IP datagram at which the appropriate field is found. 9 corresponds to (is the offset to) the protocol field in an IP datagram. Similarly, 20 corresponds to source port and 22 corresponds to destination port. The values in tuple element value1 ( fields 256, 276, 286, 296, 306 and 316) are 6 (TCP), 20 (UDP), and so forth.
  • 43. Each FILTER statement 100 (examples including 140, 142, and 144) belongs to a named set. In this example, the only set shown is the set named ‘f1’. All rule statements 100 are partitioned by physical interface (IOP). The customer (system administrator) uses a FILTER_INTERFACE statement to bind a set of rules to a particular physical interface. (See FIG. 7 in U.S. Patent application S/N ———, filed ———, assignee docket number EN998067.) This gives an inherent performance advantage over having a single set of filter rules for the entire system, since only the required rules need be defined for each physical interface. In processing each datagram, filter interpreter 126 is given the filter rules that apply to a given physical interface. For outbound datagrams, the routing function has already determined what physical interface will be used. For inbound datagrams, the rules used are those associated with the physical interface that the datagram arrived on.
  • 44. The key portions of the invention are:
  • 45. First, processing the FILTER rule statements 146 to generate the 6-tuple form 198 of the filtering rule 100, 140, . . . .
  • 46. Second, loading and resolving relative & symbolic indexes 202, 204 in 6-tuples.
  • 47. Third, interpreting the 6-tuples 124 for each IP datagram 128.
  • 48. Fourth, operating filter rule interpreter 126 to call certain operator functions.
  • 49. Tables 2-5 are pseudo-code (C++—like syntax) descriptions of these functional steps.
    TABLE 2
    Processing FILTER Statements
     1 // Processing FILTER statements to generate 6-tuples
     2 create tuple buffer to hold constructed 6-tuples;
     3 set ‘nextbyte’ to beginning of tuple buffer;
     4 while (more rule statements exist in file) {
     5 if (rule statement is a FILTER statement) {
     6 for (each logical condition in statement) {
     7 construct 6-tuple for condition;
     8 copy to ‘nextbyte’ of tuple buffer;
     9 increment tuple buffer ‘nextbyte’;
    10 }
    11 construct final ‘action’ 6-tuple;
    12 copy to ‘nextbyte’ of tuple buffer;
    13 increment tuple buffer ‘nextbyte’;
    14 for (each 6-tuple generated for this FILTER rule) {
    15 set ‘nextrule’ tuple element =
    16 tuple buffer nextbyte’;
    17 }
    18 }
    19 else {/* process statement as usual*/ }
    20 }
    21 write s-rule or i-rule file for each physical interface;
  • 50.
    TABLE 3
    Loading and Resolving 6-tuple Indexes
     1 // Load & resolve 6-tuple indexes
     2 if (loading s-rule file) { // function in OS, above
     3 // kernal
     4 for (each symbolic address) {
     5 get offset from index table;
     6 change offset to actual IP address;
     7 }
     8 }
     9 load rules to kernel;
    10 for ( every 6-tuple ) { // function in OS, in kernal
    11 replace operator index with pointer to function;
    12 compute pointer to next rule based on nextrule value;
    13 replace nextrule value with computed pointer;
    14 }
  • 51.
    TABLE 4
    Interpreting 6-tuples
     1 // Interpreting 6-tuples
     2 // code is invoked for each IP datagram
     3 obtain tuple pointer to 1st 6-tuple;
     4 while (1) {
     5 result = call operator function ( 6-tuple, datagram );
     6 if ( result is false ) set tuple pointer to nextrule;
     7 else if ( result is true ) set tuple pointer to next
     8 tuple;
     9 else break; // leave while loop
    10 }
    11 if ( tuple value2 is 1 ) generate journal entry for IP
    12 packet;
    13 return result; // caller does actual permit or deny
    14 // action
  • 52.
    TABLE 5
    Representative Operator Functions
    1 bool 1byte=(6tuple,packet){return byte at
    2 packet.6tuple.offset == byte 6tuple.value1;}
    3 bool permit(6tuple,packet) {return true;}
    4 bool 2byte=( 6tuple,packet) {return 2bytes at
    5 packet.6tuple.offsett== 2bytes at 6tuple.value1;}
    6 bool deny( 6tuple,packet) {return false; }
  • ADVANTAGES OVER THE PRIOR ART
  • 53. It is an advantage of the preferred embodiment of this invention that an improved, very fast IP packet filtering method and system is provided.
  • ALTERNATIVE EMBODIMENTS
  • 54. It will be appreciated that, although specific embodiments of the invention have been described herein for purposes of illustration, various modifications may be made without departing from the spirit and scope of the invention. In particular, it is within the scope of the invention to provide a memory device, such as a transmission medium, magnetic or optical tape or disc, or the like, for storing signals for controlling the operation of a computer according to the method of the invention and/or to structure its components in accordance with the system of the invention.
  • 55. Accordingly, the scope of protection of this invention is limited only by the following claims and their equivalents.

Claims (10)

We claim:
1. A method for generating, from user-entered rules, filtering rules for execution in an operating system kernal to filter an IP packet received at a physical interface to said operating system kernal, comprising the steps of:
compiling said user-entered filtering rules into sets of binary symbolic and image files, with one said set for each said physical interface for which there exist said user-entered rules;
upon starting said physical interface to said operating system kernal,
resolving filtering rules in said symbolic file to form resolved 6-tuple filtering rules in image format, and
loading to said operating system kernal said resolved 6-tuple filtering rules and 6-tuple filtering rules from said image file;
said 6-tuple filtering rules in image format including an operator field and, selectively, a next rule field, an offset field and zero or more parameter value fields;
said operator field comprising a function index that is resolved to a function pointer upon being loaded to memory in said operating system kernal;
said next rule field selectively comprising a pointer to a first 6-tuple of a next rule;
said offset field selectively representing an offset into an IP packet to be checked by this 6-tuple; and
a first said parameter value field comprising a value to be compared against the field in said IP packet accessed by said offset field.
2. The method of
claim 1
wherein said function and next rule indexes are resolved upon 6-tuple load to said operating system kernal, whereby resolution is done once and need not be done for each IP packet as it is processed.
3. Method for filtering IP packets received from a caller at the physical interface to an operating system kernal, comprising the steps of:
processing FILTER rule statements entered by a user in a rules file to generate 6-tuple filtering rules, each said 6-tuple filtering rule including an operator index;
resolving relative and symbolic indexes in said 6-tuples filtering rules to form resolved filtering rules and loading said resolved filtering rules to said operating system kernal; and
interpreting said resolved filtering rules for each IP packet received at said physical interface.
4. The method of
claim 3
, said processing step comprising the further steps of:
creating a tuple buffer to hold constructed 6-tuples;
setting a next byte pointer to the beginning of said tuple buffer;
while more filter rule statements exist in said rules file, if the next rule is a filter statement, for each next logical condition in said filter statement,
constructing a 6-tuple for said next logical condition, copying said 6-tuple to said tuple buffer at the location set by said next byte pointer, and incrementing said next byte pointer;
constructing a final action 6-tuple and copying said final action 6-tuple to said tuple buffer at the location set by said next byte pointer, and incrementing said next byte pointer;
for each 6-tuple generated for this filter rule, setting the next rule tuple element to point to the next 6-tuple in said tuple buffer.
5. The method of
claim 4
, said resolving and loading steps further comprising the steps of:
for each 6-tuple generated for this filter rule,
replacing said operator index with a pointer to a corresponding function;
computing a next rule pointer to the next rule based on said next rule tuple element; and
replacing said next rule tuple element with said next rule pointer.
6. The method of
claim 5
, said interpreting step comprising the further steps of:
obtaining tuple pointer to 1st 6-tuple;
while operator function returns a value of true,
calling the operator function of the tuple designated by said tuple pointer, passing as the parameters to said operator function the 6-tuple pointed to by said tuple pointer;
responsive to said operator function returning a value of false, setting said tuple pointer to point to the next rule and leaving this while loop;
responsive to said operator function returning a value of true, setting said tuple pointer to the next 6-tuple and continuing this while loop.
7. The method of
claim 6
, this while loop of said interpreting step comprising the further steps of:
responsive to the 6-tuple pointed to by said tuple pointer including a journal entry parameter which evaluates as true, generating a journal entry for said IP packet; and
returning a result value to said caller selectively for permitting or denying the action requested in said IP packet.
8. A system for filtering IP packets received from a caller at the physical interface to an operating system kernal, comprising:
a first compiler function for processing FILTER rule statements entered by a user in a rules file to generate 6-tuple filtering rules, each said 6-tuple filtering rule including an operator index;
a second compiler function for resolving relative and symbolic indexes in said 6-tuples filtering rules to form resolved filtering rules and loading said resolved filtering rules to said operating system kernal; and
said operating system kernal being operative for interpreting said resolved filtering rules for each IP packet received at said physical interface.
9. A program storage device readable by a machine, tangibly embodying a program of instructions executable by a machine to perform method steps for filtering IP packets received from a caller at the physical interface to an operating system kernal, said method steps comprising:
processing FILTER rule statements entered by a user in a rules file to generate 6-tuple filtering rules, each said 6-tuple filtering rule including an operator index;
resolving relative and symbolic indexes in said 6-tuples filtering rules to form resolved filtering rules and loading said resolved filtering rules to said operating system kernal; and
interpreting said resolved filtering rules for each IP packet received at said physical interface.
10. An article of manufacture comprising:
a computer useable medium having computer readable program code means embodied therein for filtering IP packets received from a caller at the physical interface to an operating system kernal, the computer readable program means in said article of manufacture comprising:
computer readable program code means for causing a computer to effect processing FILTER rule statements entered by a user in a rules file to generate 6-tuple filtering rules, each said 6-tuple filtering rule including an operator index;
computer readable program code means for causing a computer to effect resolving relative and symbolic indexes in said 6-tuples filtering rules to form resolved filtering rules and loading said resolved filtering rules to said operating system kernal; and
computer readable program code means for causing a computer to effect interpreting said resolved filtering rules for each IP packet received at said physical interface.
US09/726,203 1998-08-17 2000-11-29 System and method for very fast IP packet filtering Expired - Fee Related US6301669B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US09/726,203 US6301669B2 (en) 1998-08-17 2000-11-29 System and method for very fast IP packet filtering

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US09/135,102 US6182228B1 (en) 1998-08-17 1998-08-17 System and method for very fast IP packet filtering
US09/726,203 US6301669B2 (en) 1998-08-17 2000-11-29 System and method for very fast IP packet filtering

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US09/135,102 Division US6182228B1 (en) 1998-08-17 1998-08-17 System and method for very fast IP packet filtering

Publications (2)

Publication Number Publication Date
US20010000193A1 true US20010000193A1 (en) 2001-04-05
US6301669B2 US6301669B2 (en) 2001-10-09

Family

ID=22466555

Family Applications (2)

Application Number Title Priority Date Filing Date
US09/135,102 Expired - Fee Related US6182228B1 (en) 1998-08-17 1998-08-17 System and method for very fast IP packet filtering
US09/726,203 Expired - Fee Related US6301669B2 (en) 1998-08-17 2000-11-29 System and method for very fast IP packet filtering

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US09/135,102 Expired - Fee Related US6182228B1 (en) 1998-08-17 1998-08-17 System and method for very fast IP packet filtering

Country Status (1)

Country Link
US (2) US6182228B1 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030149766A1 (en) * 2001-12-18 2003-08-07 Tuomo Syvanne Firewall configuration validation
US20030152035A1 (en) * 2002-02-08 2003-08-14 Pettit Steven A. Creating, modifying and storing service abstractions and role abstractions representing one or more packet rules
US20040001475A1 (en) * 2002-07-01 2004-01-01 Olli Mikkonen Routing for virtual private networks
US20040190526A1 (en) * 2003-03-31 2004-09-30 Alok Kumar Method and apparatus for packet classification using a forest of hash tables data structure
US20050071493A1 (en) * 2003-09-30 2005-03-31 Sheng Lee SNMP packet filtering for printing devices
US20070223474A1 (en) * 2002-03-15 2007-09-27 Broadcom Corporation Method and apparatus for filtering packet data in a network device
US20080232359A1 (en) * 2007-03-23 2008-09-25 Taeho Kim Fast packet filtering algorithm
US20080281695A1 (en) * 2007-05-11 2008-11-13 Verizon Services Organization Inc. Systems and methods for using voice services records to provide targeted marketing services
US7620070B1 (en) 2003-06-24 2009-11-17 Nvidia Corporation Packet processing with re-insertion into network interface circuitry
US7913294B1 (en) * 2003-06-24 2011-03-22 Nvidia Corporation Network protocol processing for filtering packets
US20120281714A1 (en) * 2011-05-06 2012-11-08 Ralink Technology Corporation Packet processing accelerator and method thereof
US8819285B1 (en) * 2002-10-01 2014-08-26 Trustwave Holdings, Inc. System and method for managing network communications
WO2015088506A1 (en) * 2013-12-11 2015-06-18 Continental Teves Ag & Co. Ohg Method for operating a security gateway of a communication system for vehicles

Families Citing this family (51)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE39501E1 (en) 1996-10-31 2007-03-06 Nvidia Corporation Multiple network protocol encoder/decoder and data processor
US6480892B1 (en) * 1998-12-16 2002-11-12 Siemens Information And Communication Networks, Inc. Apparatus and method for inserting predetermined packet loss into a data flow
US7136926B1 (en) * 1998-12-31 2006-11-14 Pmc-Sierrra Us, Inc. Method and apparatus for high-speed network rule processing
US8135842B1 (en) 1999-08-16 2012-03-13 Nvidia Corporation Internet jack
US7065578B2 (en) * 2000-03-20 2006-06-20 At&T Corp. Service selection in a shared access network using policy routing
US6914905B1 (en) 2000-06-16 2005-07-05 Extreme Networks, Inc. Method and system for VLAN aggregation
US6826698B1 (en) * 2000-09-15 2004-11-30 Networks Associates Technology, Inc. System, method and computer program product for rule based network security policies
US7039717B2 (en) * 2000-11-10 2006-05-02 Nvidia Corporation Internet modem streaming socket method
US6912592B2 (en) * 2001-01-05 2005-06-28 Extreme Networks, Inc. Method and system of aggregate multiple VLANs in a metropolitan area network
US7379475B2 (en) * 2002-01-25 2008-05-27 Nvidia Corporation Communications processor
US7533409B2 (en) * 2001-03-22 2009-05-12 Corente, Inc. Methods and systems for firewalling virtual private networks
US8218555B2 (en) * 2001-04-24 2012-07-10 Nvidia Corporation Gigabit ethernet adapter
AU2002304227A1 (en) * 2001-06-11 2002-12-23 Bluefire Security Technology Packet filtering system and methods
US7209962B2 (en) * 2001-07-30 2007-04-24 International Business Machines Corporation System and method for IP packet filtering based on non-IP packet traffic attributes
US20030055978A1 (en) * 2001-09-18 2003-03-20 Microsoft Corporation Methods and systems for enabling outside-initiated traffic flows through a network address translator
JP3590936B2 (en) * 2001-10-06 2004-11-17 テラス テクノロジーズ,インコーポレイテッド E-mail service system having dynamic IP filtering module and dynamic IP address filtering method
US7227864B2 (en) 2001-12-17 2007-06-05 Microsoft Corporation Methods and systems for establishing communications through firewalls and network address translators
US7535913B2 (en) * 2002-03-06 2009-05-19 Nvidia Corporation Gigabit ethernet adapter supporting the iSCSI and IPSEC protocols
US6917946B2 (en) * 2002-08-12 2005-07-12 International Business Machines Corporation Method and system for partitioning filter rules for multi-search enforcement
US7042885B2 (en) * 2002-12-05 2006-05-09 Nokia Inc. System and method for implementing a distributed service platform using a system-wide switchtag definition
US7467227B1 (en) * 2002-12-31 2008-12-16 At&T Corp. System using policy filter decision to map data traffic to virtual networks for forwarding the traffic in a regional access network
US20040168089A1 (en) * 2003-02-19 2004-08-26 Hyun-Sook Lee Security method for operator access control of network management system
KR100548154B1 (en) * 2003-06-11 2006-01-31 (주)엔텔스 Method and apparatus for packet transmission control and packet charging data generation in wired and wireless communication networks
US7408932B2 (en) * 2003-10-20 2008-08-05 Intel Corporation Method and apparatus for two-stage packet classification using most specific filter matching and transport level sharing
US8549170B2 (en) * 2003-12-19 2013-10-01 Nvidia Corporation Retransmission system and method for a transport offload engine
US7899913B2 (en) * 2003-12-19 2011-03-01 Nvidia Corporation Connection management system and method for a transport offload engine
US8065439B1 (en) 2003-12-19 2011-11-22 Nvidia Corporation System and method for using metadata in the context of a transport offload engine
US8176545B1 (en) 2003-12-19 2012-05-08 Nvidia Corporation Integrated policy checking system and method
KR100522138B1 (en) 2003-12-31 2005-10-18 주식회사 잉카인터넷 Flexible network security system and method to permit trustful process
US7249306B2 (en) * 2004-02-20 2007-07-24 Nvidia Corporation System and method for generating 128-bit cyclic redundancy check values with 32-bit granularity
US7206872B2 (en) * 2004-02-20 2007-04-17 Nvidia Corporation System and method for insertion of markers into a data stream
US7525958B2 (en) * 2004-04-08 2009-04-28 Intel Corporation Apparatus and method for two-stage packet classification using most specific filter matching and transport level sharing
US7698413B1 (en) 2004-04-12 2010-04-13 Nvidia Corporation Method and apparatus for accessing and maintaining socket control information for high speed network connections
US7530093B2 (en) * 2004-04-30 2009-05-05 Microsoft Corporation Securing applications and operating systems
US7505463B2 (en) * 2004-06-15 2009-03-17 Sun Microsystems, Inc. Rule set conflict resolution
US7512071B2 (en) * 2004-06-15 2009-03-31 Sun Microsystems, Inc. Distributed flow enforcement
US7760730B2 (en) * 2004-06-15 2010-07-20 Oracle America, Inc. Rule set verification
US20060005227A1 (en) * 2004-07-01 2006-01-05 Microsoft Corporation Languages for expressing security policies
US7657923B2 (en) * 2004-07-23 2010-02-02 Microsoft Corporation Framework for a security system
US7957379B2 (en) * 2004-10-19 2011-06-07 Nvidia Corporation System and method for processing RX packets in high speed network applications using an RX FIFO buffer
US7624436B2 (en) * 2005-06-30 2009-11-24 Intel Corporation Multi-pattern packet content inspection mechanisms employing tagged values
US8250229B2 (en) * 2005-09-29 2012-08-21 International Business Machines Corporation Internet protocol security (IPSEC) packet processing for multiple clients sharing a single network address
US7784086B2 (en) * 2006-03-08 2010-08-24 Panasonic Corporation Method for secure packet identification
US20070294699A1 (en) * 2006-06-16 2007-12-20 Microsoft Corporation Conditionally reserving resources in an operating system
US20080101222A1 (en) * 2006-10-30 2008-05-01 David Alan Christenson Lightweight, Time/Space Efficient Packet Filtering
US20080209501A1 (en) * 2007-02-28 2008-08-28 Tresys Technology, Llc System and method for implementing mandatory access control in a computer, and applications thereof
JP4962394B2 (en) * 2008-04-21 2012-06-27 富士通株式会社 Packet transfer control device and packet transfer control method
US8555368B2 (en) * 2009-12-09 2013-10-08 Intel Corporation Firewall filtering using network controller circuitry
US9253156B2 (en) * 2011-06-09 2016-02-02 International Business Machines Corporation Dynamically defining network access rules
CN102857493B (en) * 2012-06-30 2015-07-08 华为技术有限公司 Content filtering method and device
US10171422B2 (en) * 2016-04-14 2019-01-01 Owl Cyber Defense Solutions, Llc Dynamically configurable packet filter

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5021945A (en) 1985-10-31 1991-06-04 Mcc Development, Ltd. Parallel processor system for processing natural concurrencies and method therefor
US5557798A (en) 1989-07-27 1996-09-17 Tibco, Inc. Apparatus and method for providing decoupling of data exchange details for providing high performance communication between software processes
US5367643A (en) 1991-02-06 1994-11-22 International Business Machines Corporation Generic high bandwidth adapter having data packet memory configured in three level hierarchy for temporary storage of variable length data packets
US5317568A (en) 1991-04-11 1994-05-31 Galileo International Partnership Method and apparatus for managing and facilitating communications in a distributed hetergeneous network
US5606668A (en) * 1993-12-15 1997-02-25 Checkpoint Software Technologies Ltd. System for securing inbound and outbound data packet flow in a computer network
US5867666A (en) * 1994-12-29 1999-02-02 Cisco Systems, Inc. Virtual interfaces with dynamic binding
US5701316A (en) 1995-08-31 1997-12-23 Unisys Corporation Method for generating an internet protocol suite checksum in a single macro instruction
US6147976A (en) * 1996-06-24 2000-11-14 Cabletron Systems, Inc. Fast network layer packet filter
JP3219186B2 (en) * 1996-08-27 2001-10-15 日本電信電話株式会社 Packet processing device
US6233686B1 (en) * 1997-01-17 2001-05-15 At & T Corp. System and method for providing peer level access control on a network
US5968176A (en) * 1997-05-29 1999-10-19 3Com Corporation Multilayer firewall system
US6098172A (en) * 1997-09-12 2000-08-01 Lucent Technologies Inc. Methods and apparatus for a computer network firewall with proxy reflection
US6092110A (en) * 1997-10-23 2000-07-18 At&T Wireless Svcs. Inc. Apparatus for filtering packets using a dedicated processor

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7406534B2 (en) * 2001-12-18 2008-07-29 Stonesoft Corporation Firewall configuration validation
US20030149766A1 (en) * 2001-12-18 2003-08-07 Tuomo Syvanne Firewall configuration validation
US20030152035A1 (en) * 2002-02-08 2003-08-14 Pettit Steven A. Creating, modifying and storing service abstractions and role abstractions representing one or more packet rules
US7855972B2 (en) * 2002-02-08 2010-12-21 Enterasys Networks, Inc. Creating, modifying and storing service abstractions and role abstractions representing one or more packet rules
US20070223474A1 (en) * 2002-03-15 2007-09-27 Broadcom Corporation Method and apparatus for filtering packet data in a network device
US7801139B2 (en) * 2002-03-15 2010-09-21 Broadcom Corporation Method and apparatus for filtering packet data in a network device
US20040001475A1 (en) * 2002-07-01 2004-01-01 Olli Mikkonen Routing for virtual private networks
EP1379037A1 (en) * 2002-07-01 2004-01-07 Stonesoft Corporation Packet routing based on user ID in virtual private networks
US8819285B1 (en) * 2002-10-01 2014-08-26 Trustwave Holdings, Inc. System and method for managing network communications
US7394809B2 (en) 2003-03-31 2008-07-01 Intel Corporation Method and apparatus for packet classification using a forest of hash tables data structure
US20040190526A1 (en) * 2003-03-31 2004-09-30 Alok Kumar Method and apparatus for packet classification using a forest of hash tables data structure
US7620070B1 (en) 2003-06-24 2009-11-17 Nvidia Corporation Packet processing with re-insertion into network interface circuitry
US7913294B1 (en) * 2003-06-24 2011-03-22 Nvidia Corporation Network protocol processing for filtering packets
US7603456B2 (en) * 2003-09-30 2009-10-13 Kabushiki Kaisha Toshiba System and method for securing remote administrative access to a processing device
US20070260722A1 (en) * 2003-09-30 2007-11-08 Sheng Lee System and method for securing remote administrative access to a processing device
US20050071493A1 (en) * 2003-09-30 2005-03-31 Sheng Lee SNMP packet filtering for printing devices
US20080232359A1 (en) * 2007-03-23 2008-09-25 Taeho Kim Fast packet filtering algorithm
US10349106B1 (en) 2007-05-11 2019-07-09 Verizon Patent And Licensing Inc. Systems and methods for providing targeted video content
US20080281695A1 (en) * 2007-05-11 2008-11-13 Verizon Services Organization Inc. Systems and methods for using voice services records to provide targeted marketing services
US11064236B2 (en) 2007-05-11 2021-07-13 Verizon Patent And Licensing Inc. Systems and methods for using value-added services records to provide targeted marketing services
US11051063B2 (en) 2007-05-11 2021-06-29 Verizon Patent And Licensing Inc. Systems and methods for providing targeted video content
US20120281714A1 (en) * 2011-05-06 2012-11-08 Ralink Technology Corporation Packet processing accelerator and method thereof
US10057292B2 (en) * 2013-12-11 2018-08-21 Continental Teves Ag & Co. Ohg Method for operating a security gateway of a communication system for vehicles
US20160301714A1 (en) * 2013-12-11 2016-10-13 Continental Teves Ag & Co. Ohg Method for operating a security gateway of a communication system for vehicles
CN105917339A (en) * 2013-12-11 2016-08-31 大陆-特韦斯贸易合伙股份公司及两合公司 Method for operating a security gateway of a communication system for vehicles
WO2015088506A1 (en) * 2013-12-11 2015-06-18 Continental Teves Ag & Co. Ohg Method for operating a security gateway of a communication system for vehicles

Also Published As

Publication number Publication date
US6182228B1 (en) 2001-01-30
US6301669B2 (en) 2001-10-09

Similar Documents

Publication Publication Date Title
US6182228B1 (en) System and method for very fast IP packet filtering
US6717949B1 (en) System and method for IP network address translation using selective masquerade
US7209962B2 (en) System and method for IP packet filtering based on non-IP packet traffic attributes
US6963913B2 (en) Packet filtering system and methods
Scholz et al. Performance implications of packet filtering with linux ebpf
US6266707B1 (en) System and method for IP network address translation and IP filtering with dynamic address resolution
Fiuczynski et al. An Extensible Protocol Architecture for Application-Specific Networking.
US8763018B2 (en) Modifying application behaviour
US20030231632A1 (en) Method and system for packet-level routing
US6931444B2 (en) System, method and computer program product for reading, correlating, processing, categorizing and aggregating events of any type
US20020159447A1 (en) Methods, systems and computer program products for translating internet protocol (IP) addresses located in a payload of a packet
US20090288104A1 (en) Extensibility framework of a network element
WO2005072344A2 (en) Routing systems and methods for implementing routing policy
US8024787B2 (en) Packet firewalls of particular use in packet switching devices
KR20030062406A (en) A method and system to pre-compile configuration information for a data communications device
US10979542B2 (en) Flow cache support for crypto operations and offload
US20080101222A1 (en) Lightweight, Time/Space Efficient Packet Filtering
US10958770B2 (en) Realization of a programmable forwarding pipeline through packet header summaries in a data processing unit
US11546301B2 (en) Method and apparatus for autonomous firewall rule management
CN104243344A (en) Effective data packet capturing method and request redirection server
US7636937B1 (en) Method and apparatus for comparing access control lists for configuring a security policy on a network
US20070282982A1 (en) Policy-Based Management in a Computer Environment
CA2390450C (en) Method and system for controlling transmission of information
JP4262284B2 (en) Packet filtering system and method
US20230319115A1 (en) Systems and methods for validating, maintaining, and visualizing security policies

Legal Events

Date Code Title Description
FPAY Fee payment

Year of fee payment: 4

REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees
STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20091009