Network protocol processing for filtering packets
First Claim
Patent Images
1. A method for network protocol filtering of a packet using an address resolution table that is cross-linked with a state table associating data structures with NAT address information and that is indexed with an address resolution table index (ART index), the packet having a Media Access Control (MAC) destination address, the method comprising:
- determining a packet type for the packet;
obtaining packet information for the packet including the MAC destination address;
determining that the MAC destination address is included in an entry in the address resolution table;
obtaining the ART index associated with the MAC destination address from the entry in the address resolution table, wherein the ART index is an index into the state table for locating an entry in the state table associating data structures with NAT address information; and
storing the ART index and the packet information in a data structure associated with the state table associating data structures with NAT address information.
1 Assignment
0 Petitions
Accused Products
Abstract
Method and apparatus for network protocol filtering of a packet is described. An index to a table is obtained and stored to travel with the packet. The index is obtainable to access the table to obtain packet information. In particular, a method for inbound network address translation packet filtering and a method for outbound packet filtering are described.
180 Citations
21 Claims
-
1. A method for network protocol filtering of a packet using an address resolution table that is cross-linked with a state table associating data structures with NAT address information and that is indexed with an address resolution table index (ART index), the packet having a Media Access Control (MAC) destination address, the method comprising:
-
determining a packet type for the packet; obtaining packet information for the packet including the MAC destination address; determining that the MAC destination address is included in an entry in the address resolution table; obtaining the ART index associated with the MAC destination address from the entry in the address resolution table, wherein the ART index is an index into the state table for locating an entry in the state table associating data structures with NAT address information; and storing the ART index and the packet information in a data structure associated with the state table associating data structures with NAT address information. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method for inbound network address translation packet filtering using an address resolution table that is cross-linked with a state table associating data structures with NAT address information and that is indexed with an address resolution table index (ART index), the packet having a Media Access Control (MAC) destination address, the method comprising:
-
obtaining a packet; determining whether type of the packet is one of a Transmission Control Protocol, a User Datagram Protocol, a Generic Routing Encapsulation, an Internet Protocol Security and an Internet Control Message Protocol type; if the type is the Transmission Control Protocol type, determining if the packet is an initial packet for a connection; if the type is the Transmission Control Protocol type and the packet is for an existing connection or if the type is one of the User Datagram Protocol type, the Generic Routing Encapsulation type and the Internet Protocol Security type, obtaining packet information from the packet including the MAC destination address; determining that the MAC destination address is included in the address resolution table; obtaining the ART index associated with the MAC destination address from the entry in the address resolution table, wherein the ART index is an index into the state table for locating an entry in the state table associating data structures with NAT address information; and storing the ART index and the product information in the data structure associated with the state table associating data structures with NAT address information. - View Dependent Claims (11, 12, 13)
-
-
14. A method for outbound packet filtering using an address resolution table that is cross-linked with a state table associating data structures with NAT address information and that is indexed with an address resolution table index (ART index), the packet having a Media Access Control (MAC) destination address, the method comprising:
-
obtaining a packet; determining whether an incoming interface for the packet is running network address translation; if the incoming interface is running the network address translation, obtaining a first index from a data structure associated with the packet; and obtaining packet information in a first table using the first index; determining whether type of the packet is one of a Transmission Control Protocol, a User Datagram Protocol, a Generic Routing Encapsulation, an Internet Protocol Security and an Internet Control Message Protocol type; if the type is the Transmission Control Protocol type, determining if the packet is an initial packet for a connection; if the type is the Transmission Control Protocol type and the packet is for an existing connection or if the type is the User Datagram Protocol type, obtaining the packet information from the packet including the MAC destination address, determining that the MAC destination address is included in the address resolution table, obtaining the ART index associated with the MAC destination address from the entry in the address resolution table, wherein the ART index is an index into the state table for locating an entry in the state table associating data structures with NAT address information, and storing the ART index and the packet information in a data structure associated with the state table associating data structures with NAT address information; if the type is the Internet Control Message Protocol type, determining whether the Internet Control Message Protocol type is on a list of Internet Control Message Protocol types; if the type is not the Internet Control Message Protocol type, determining if the outgoing interface is running the network address translation; responsive to the outgoing interface running the network address translation, obtaining the second index from the data structure; and obtaining the packet information from the first table using the second index. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21)
-
Specification