The present invention relates generally to data routing systems, and more particularly to methods and apparatus for providing secure communications on a network.
A packet switch communication system includes a network of one or more switches or routers connecting a plurality of users. A packet is the fundamental unit of transfer in the packet switch communication system. A user can be an individual user terminal or another network.
A layer 2 (L2) switch is a switching device which receives packets containing data or control information on one port, and based on a media access connection (MAC) address contained within the packet, switches the packet out another port. Conventional L2 switches perform this switching function by evaluating layer 2 (L2) header information contained within the packet in order to determine the proper output port for a particular packet. The L2 switch includes a table that maps MAC addresses with output ports. If a MAC address is unknown (i.e., there is no corresponding entry in the table), then the corresponding packet is broadcast to all output ports with the hope that another component in the packet switched communication system will recognize the MAC address (and pass back information to the forwarding L2 switch to update its table). Other types of L2 devices include bridges.
A router is a switching device which receives packets containing data or control information on one port, and based on destination information contained within the packet, routes the packet to a next hop to/toward the destination. Conventional routers perform this switching function by evaluating layer 3 (L3) header information contained within the packet in order to determine a next hop for a particular packet. The layer 3 information includes an IP address associated with the intended destination (as well as source address) for the packet.
The network coupling the users can be an intranet, that is, a network connecting one or more private servers such as a local area network (LAN). Alternatively, the network can be a public network, such as the Internet, in which data packets are passed over untrusted communication links. The network configuration can include a combination of public and private networks. For example, two or more LAN's with individual terminals can be coupled together using a public network such as the Internet. Data security issues can arise when public and private networks are linked or when distinct networks are coupled. For example, conventional packet switched communication systems that include links between public and private networks typically include security measures for assuring network access control and data integrity.
In order to assure individual packet security, packet switched communication systems can include encryption/decryption services. Prior to leaving a trusted network (or portion of a network), individual packets can be encrypted to minimize the possibility of data loss while the packet is transferred over an untrusted (e.g., public) network (or portion thereof). Upon receipt at a destination or another trusted portion of the communication system (e.g., at a firewall just before the destination), the packet can be decrypted and subsequently delivered to its intended destination. The use of encryption and decryption allows for the creation of a virtual private network (VPN) between users separated by untrusted communication links.
In addition to security concerns for the data transferred over the public portion of the communications system, the private portions of the network must safeguard against intrusions through the gateway provided at the interface of the private and the public networks. A firewall is a device that can be coupled in-line between a public network and private network for screening packets received from the public network. A firewall is a particular type of L3/L4 device that can be used to enforce policy and filtering functions. A firewall can include one or more engines for inspecting, filtering, authenticating, encrypting, decrypting and otherwise manipulating received packets. Conventional firewalls use L3 and L4 header information including IP addresses associated with the source and destination of a given packet being processed. Received packets are inspected and thereafter forwarded or dropped in accordance with the policies associated with the given domain.
In one aspect, the invention provides an L2 device in a packet switched communication system. The packet switched communication system has plural zones and each zone represents a distinct security domain and has an associated policy for use in inspecting packets entering/exiting an associated zone. The L2 device includes at least one port coupled to a terminal unit included in a first security zone, at least one port coupled to a terminal unit included in a second security zone, a controller determining for each packet received whether the received packet is destined for another zone, a firewall engine operable to inspect and filter inter-zone packets using a zone specific policy and an L2 switching engine. The L2 switching engine is operable to immediately route to a port all intra-zone packets passing through the L2 device using a table of MAC addresses and corresponding ports, and only route to a port inter-zone packets that are retained after the inspection by the firewall engine.
In another aspect, the invention provides an L2 device in a packet switched communication system. The L2 device includes a controller determining for each packet received whether the received packet is to be transferred intra-zone or inter-zone, a firewall engine operable to inspect and filter inter-zone packets using a zone specific policy and an L2 switching engine operable to immediately route to a port all intra-zone packets passing through the L2 device using a table of MAC addresses and corresponding ports and only route to a port inter-zone packets that are retained after the inspection by the firewall engine.
In another aspect, the invention provides an L2 device in a packet switched communication system including a controller determining for each packet received whether the received packet is to be transferred inter-zone and a firewall engine operable to inspect and filter inter-zone packets using a zone specific policy prior to routing using L2 protocols.
In another aspect, the invention provides an L2 device in a packet switched communication system including a controller determining for each packet received whether the received packet is to be transferred inter-zone and an inspection device operable to inspect and filter inter-zone packets using a zone specific policy prior to routing using L2 protocols.
In another aspect, the invention provides an L2 device in a packet switched communication system including a controller determining for each packet received whether the received packet is to be inspected, an inspection device operable to inspect and filter packets identified by the controller including using a zone specific policy and an L2 controller for transferring inspected packets in accordance with L2 header information using L2 protocols.
Aspects of the invention can include one or more of the following features. The inspection device can be a firewall including a layer 3 firewall device, a layer 4 firewall device and a layer 7 firewall device. The inspection device can be a firewall that filters based on layer information other than layer 2 header information. The controller can determine each packet that is to pass between security zones and the inspection device only processes inter-zone traffic. The controller can determine each packet that is to remain in a single security zone and the inspection device immediately routes intra-zone packets. The device can route traffic using the MAC address in the layer 2 header of a given packet to determine an egress port on the device to which the packet is to be routed.
The device can include a storage element for storing packets that are to be inspected and an L2 controller for transferring packets through the device including determining an egress port for transferring a given packet using a destination MAC address in the given packet and a MAC address table that includes a mapping of MAC addresses and associated egress nodes.
The memory element can include a first and second portion. The first portion can store packets to be transferred through the device and the second portion can store packets waiting for inspection. The device can be a L2 switch or an L2 bridge.
In another aspect, the invention provides a method for transferring packets in a communication network including receiving a packet at an L2 device, determining whether the received packet is to be transferred inter-zone and inspecting and filtering inter-zone packets using a zone specific policy prior to routing using L2 protocols.
In another aspect, the invention provides a method for transferring packets in a communication network including receiving a packet at an L2 device, determining whether the received packet is to be inspected and inspecting and filtering identified packets using a zone specific policy prior to transferring the packet through the L2 device using L2 protocols.
In another aspect, the invention provides a method for switching packets in a communication network including receiving a packet at an interface of an L2 device, determining if a destination MAC address associated with the received packet is known and, if not, holding the received packet a predetermined amount of time without transferring the packet to any port of the L2 device, creating a probe packet that includes the unknown MAC address and broadcasting the probe packet to all interfaces except the receiving interface.
Aspects of the invention can include one or more of the following features. The probe packet can include a time to life (TTL) field in a IP header and the method can include setting a value of the TTL field such that a downstream node having the unknown MAC address and receiving the probe cell will return an expired message to the L2 device. The method can include dropping the packet after the expiration of the predetermined amount of time. The packet can be dropped if the MAC address is unknown. The method can include receiving a response from on one of the broadcast interfaces and updating a table indicating a previously unknown MAC address is associated with the responding interface.
In another aspect, the invention provides method of providing secure communications between users without requiring encryption and decryption services at a respective user. The method includes identifying first and second users, coupling the first and second users through two or more L2 devices over a communication network and specifying a virtual private network for communications between the first and second users. The virtual private network is defined between a first and second L2 device in the network. The method includes receiving a packet at either the first or the second L2 device, determining whether the received packet is associated with the virtual private network and encrypting and decrypting as appropriate identified packets using local encryption and decryption services prior to transferring the packet through the L2 device using L2 protocols.
Aspects of the invention can include one or more of the following features. The step of determining can include using a destination MAC address associated with the packet to identify a virtual private network.
In another aspect, the invention provides a virtual private network for providing secure communications between users without requiring encryption and decryption services at a respective user. The virtual private network includes first and second L2 devices coupling first and second users over a communication network where each of the first and second L2 devices includes a screening mechanism determining whether a received packet is associated with the virtual private network and encryption and decryption services operating on packets associated with the virtual private network prior to a transfer of the packet through the L2 device using L2 protocols.
Aspects of the invention can include one or more of the following advantages. A packet switched communication system is provided that allows for the creation of plural security zones within a single device without requiring changes to the network or terminal configuration. Between each zone, a terminal unit can communicate with other terminal units without the knowledge of, yet receiving the benefits of, L2 switching and up to layer 7 security filtering as discussed below. A packet switched communication system is provided that includes L2 switch and firewall functionality. The packet switched communication system acts as an IEEE 802.1Q VLAN L2 conventional switch forwarding/filtering based on MAC-address for all intra-zone communications. The packet switched communication system allows L2 switching among multiple ports inside a given security zone. The L2 switch also provides up to layer 7 security firewall protections as appropriate for inter-zone or intra-zone traffic including TCP stateful inspection, syn-attack guard, policy-based control, load balancing and other functionalities on each data stream. In one implementation, the packet switched communication system can be configured to include multiple IEEE 802.1Q VLAN based L2 transparent domains. A user can create multiple VLANs, each having its own policy for firewall control. In addition, methods are provided for VPN tunnel capability to connect remote clients to the L2 domain. Methods are provided to guard against broadcasting information throughout the zones and violating one or more security constraints when a MAC address that is being processed is not recognized. The methods include the broadcast of probe packets to discover topology information for unknown MAC destinations.
The details of one or more embodiments of the invention are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the invention will be apparent from the description and drawings, and from the claims.
a is a schematic view of an L2 firewall enabled switch.
b shows an exemplary communication network including plural zones partitioned by a single security switch.
Like reference symbols in the various drawings indicate like elements.
Referring now to
In one implementation, each terminal unit 102 is of the form of a standalone computer (e.g., a personal computer, a laptop or workstation). Alternatively, one or more terminal units may be of the form of a personal digital assistant (PDA), Web pad, two-way pager, cellular handset, or other termination or remote device in a communication or computing environment. In one implementation, each terminal is a gateway to another network or group of terminal units (e.g., to a LAN or a pool of servers).
Each zone 104 embodies a security domain in the communication system. Each security domain can include separate policy, traffic management, accounting and administrative definitions and functions. Security policies, traffic management and other filtering functions can be enforced among and within zones. In one implementation, security policies are enforced between zones, while intra-zone communications are not subject to the security constraints. In one implementation, zones overlap. When zones overlap, policies associated with a parent zone can be a superset of the policies associated with one or more sub-zones (each including a subset of the overall policies). Alternatively, the policies associated with the parent zone may be separate and distinct from the policies of each sub-zone. For example, in one implementation, a zone can include one or more sub-zones, each including a separate set of policies.
In one implementation, each zone is associated with physical boundaries or other segmentation in the communication network. Alternatively, the assignment of particular terminal units to zones may represent groupings or combinations in a business structure (e.g., zones used to separate different functional entities in a business organization). Alternatively, the zones have no particular relation to physical boundaries. Communication between terminal units in each zone and among terminal units within a zone are controlled in accordance with protocols described below in association with switch 106.
Switch 106 may be of different types. In one implementation, each switch 106 is configured as a layer 2 (L2) device and includes a plurality of ports on which packets from the communication network are received and transferred in accordance with L2 protocols. Each switch 106 includes a media access connection (MAC) table for use in determining switching of received packets. The MAC table associates MAC addresses with ports of the switch 106. Packets are processed as they arrive at the ports of each switch 106 in accordance with L2 header information contained within a given packet. Depending on the MAC address, packets are switched to an appropriate output port as specified in the MAC table.
One or more of switches 106 are configured to enforce security domain constraints. For example, one or more of switches 106 is configured as an L2 firewall enabled security switch (hereinafter “security switch”). Referring now to
L2 controller 230 supports L2 switching protocols. Packets are either directly processed (e.g., intra-zone packets) or processed after a security screening (e.g., for inter-zone packets) as discussed in greater detail below. Associated with L2 controller 230 is a MAC table 235. MAC table 235 includes plural entries each of which includes a MAC address and an indicator of a port 202 associated therewith. Switch fabric 220 is used to route traffic from storage element 208 to a respective port 202 under the control of L2 controller 230 using bus 221.
Storage element 208 is partitioned into two portions. A first portion 215 is used to store packets received from a port 202 that are not subject to security screening. For example, in one implementation, packets received from a terminal unit in a same security zone (e.g., intra-zone traffic) are not subject to security screening. Un-screened packets are processed directly by L2 controller 230 and forwarded out a designated port in accordance with L2 protocols as specified in MAC table 235. Second portion 217 is used to store packets to be screened by firewall device 210.
Security controller 204 includes a screening engine 240. Screening engine 240 examines each packet received from a respective port 202 and determines whether security screening is to be performed. In one implementation, screening engine 240 examines the L2 header for each packet, and based on the screening, either forwards the packet to the first or second portion 215 and 217, respectively, of storage element 208. The L2 header includes a destination MAC address that can be mapped to an egress port on the device using the MAC table 235. Associated with each ingress and egress port is a security zone identifier. Security zone identifiers can be stored in a table of zone identifiers (not shown) that is indexed by port identifier (id). Screening engine 240 compares the security zone identifier associated with the packet being processed (determined from the identification of the egress port from the MAC table using the destination MAC address in the header of the packet being processed) with the security zone identifier associated with the port on which the packet was received in the device. Based on the comparison, screening engine 240 can determine whether the packet is destined for another zone (i.e., constitutes intra-zone or inter-zone communication).
The screening of packets can be with or without the knowledge of the individual terminal units. Associated with security switch 200 is a user interface (not shown) and associated management tools (not shown) for constructing one or more security zones. In one implementation, the security zones are determined based on the destination MAC address included in the L2 header of the packet received. More specifically, each egress port can be assigned to a security zone and have an associated security zone identifier associated therewith. Alternatively, the security zones can be created for plural users coupled to different ports of the security switch 200. For example, security switch 200 can be configured to include three ports, where terminal units associated with a first two of the ports are assigned to a first zone, while terminal units associated with the third port are assigned to a second zone. Other configurations are possible. Zone assignments and partitions are discussed in greater detail below. The user interface allows an administrator or user to configure the security switch 200. The security switch 200 can be configured to create plural security zones and associate one or more interfaces with each zone. Thereafter, policies can be established for inspecting or otherwise screening packets as they traverse the security switch 200.
Firewall device 208 includes plural engines for performing packet screening prior to routing packets through security switch 200. Firewall device 208 includes a firewall engine 270 and associated policies 271, authentication engine 272, encryption engine 274, decryption engine 276 and a firewall controller 278.
Firewall controller 278 extracts packets from second portion 217 of storage element 208. Firewall controller 278 oversees the distribution of packets within the firewall device as well as the coordination among the respective engines. Each packet is evaluated and processed in accordance with policies based on one or more considerations. For example, packets can be screened based on source, destination or both. One or more policies 271 are retrieved and used by firewall engine 270 to inspect the packet. Packet inspection may also require encryption, decryption and authentication services. One or more of the encryption 272, decryption 274 and authentication 276 engines can be invoked by the firewall controller 278 as part of the inspection processes. In addition, other services can be provided including virtual private network termination services, session set-up and various other traffic management and security related functions. Examples of screening services are discussed in greater detail below. After the inspection, packets can be forwarded in the network or dropped as appropriate. In one implementation, packets that are to be forwarded (e.g., pass the inspection) are prepared as appropriate (e.g., encrypted) then forwarded to the first portion 215 of storage element 208. Alternatively, the packets may be returned to the second portion 217 of storage element 208 and marked as having been screened. In one implementation, screened packets are forwarded to a queue for processing by L2 controller 230. Screened packets are then processed by L2 controller 230 and switched to an appropriate output port in accordance with conventional L2 processing protocols.
Each security switch 200 can be configured to create plural security zones. For example, a communications network having a security switch 200 is shown in
Alternatively, the users may be aware of the security structure and include indicators (e.g., zone identifiers) in packets transferred to other users. Each user may define their own custom L2 zone and an inter-zone policy for their network security requirements. For example, security switch 200 shown in
Communications from user 291 to user 293 will invoke an inspection process as defined by the security system architect (e.g., user 291 or 292 or an administrator for such) for communications between V1-trust and V1-untrust. Similarly, communications between user 294 and user 291 will invoke an inspection process (e.g., a potentially lesser screen) for communications between V1-dmz and V1-trust.
Multiple interfaces are allowed inside each zone. For intra-zone traffic, security switch 200 behaves like a tradition L2 bridge forwarding a given packet based on the destination MAC-address. In one implementation, no firewall protection mechanisms are applied for the intra-zone traffic.
For inter-zone traffic, standard firewall inspections (including policy inspection, TCP stateful inspection, etc. as described above) are performed for each incoming packet. In all cases, the egress interface is determined by the learned destination MAC address on the interface.
Packet Flow
Referring now to
At step 312, either a packet has passed inspection or did not require inspection. In either case, L2 header information is extracted to determine a MAC address associated with the packet. A look-up of the MAC address is performed (314) and the packet is then routed to an appropriate output port (316). Thereafter the process ends.
Referring again to
Packets that are to be inspected are transferred by security controller 204 into second portion 217 of storage element 208. When firewall engine 230 is available, a packet is fetched and processed to determine a security policy to be used in inspecting the packet. Firewall engine 270 evaluates IP address(es) associated with the packet and implements traffic control and management functions as appropriate. Packets that are to be forwarded (i.e., pass inspection) are returned to storage element 208. Thereafter, the packet can be forwarded to an appropriate link into switch fabric 220 for routing to a determined output port 202. Other packets are dropped or otherwise handled in accordance with the policies defined for the given security zones.
As discussed above, all packets that pass the inspection in the firewall device 210 as well as all packets that are not required to be inspected, are processed by L2 controller 230 in accordance with conventional L2 protocols. In one implementation, the processing of packets by L2 controller is modified to maintain security zones. More specifically, as discussed above, conventional L2 switches broadcast on all ports a packet that has a MAC address that is not recognized. This type of broadcast may well violate one or more security policies in place for given zones in the communication network. Accordingly, in one implementation a test packet is broadcast to each port. The broadcasting of test packets is described in more detail in association with
Referring now to
A number of embodiments of the invention have been described. Nevertheless, it will be understood that various modifications may be made without departing from the spirit and scope of the invention. For example, the firewall device has been described in terms of screening at the L3 layer level. Alternatively, other screening can be invoked at other levels including layers up to and including layer 7 (L7) processing. Accordingly, other embodiments are within the scope of the following claims.
This application is a continuation of U.S. patent application Ser. No. 09/967,878 filed Sep. 28, 2001, the disclosure of which is incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
5544322 | Cheng et al. | Aug 1996 | A |
5708654 | Arndt et al. | Jan 1998 | A |
5889953 | Thebaut et al. | Mar 1999 | A |
5905859 | Holloway et al. | May 1999 | A |
5918018 | Gooderum et al. | Jun 1999 | A |
5968176 | Nessett et al. | Oct 1999 | A |
6000045 | Lewis | Dec 1999 | A |
6041058 | Flanders et al. | Mar 2000 | A |
6115472 | Shimizu et al. | Sep 2000 | A |
6131120 | Reid | Oct 2000 | A |
6141755 | Dowd et al. | Oct 2000 | A |
6182226 | Reid et al. | Jan 2001 | B1 |
6212558 | Antur et al. | Apr 2001 | B1 |
6219707 | Gooderum et al. | Apr 2001 | B1 |
6233688 | Montenegro | May 2001 | B1 |
6304973 | Williams | Oct 2001 | B1 |
6684253 | Whitaker et al. | Jan 2004 | B1 |
6754716 | Sharma et al. | Jun 2004 | B1 |
6763469 | Daniely | Jul 2004 | B1 |
6961771 | Sato | Nov 2005 | B2 |
7047561 | Lee | May 2006 | B1 |
7103055 | Kadambi et al. | Sep 2006 | B2 |
7302700 | Mao et al. | Nov 2007 | B2 |
20010042213 | Jemes et al. | Nov 2001 | A1 |
20020053020 | Teijido et al. | May 2002 | A1 |
Number | Date | Country |
---|---|---|
06-311161 | Nov 1994 | JP |
WO 9535610 | Dec 1995 | WO |
Number | Date | Country | |
---|---|---|---|
20080034414 A1 | Feb 2008 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09967878 | Sep 2001 | US |
Child | 11869287 | US |