One embodiment disclosed relates to a method for a switch to respond to a new client. A new client is detected at a port of the switch. The switch temporarily assigns the port to be an untagged member of a virtual local area network (VLAN) which is configured for unauthorized clients. Initialization...http://www.google.de/patents/US20040250117?utm_source=gb-gplus-sharePatent US20040250117 - Method and apparatus for access security services

One embodiment disclosed relates to a method for a switch to respond to a new client. A new client is detected at a port of the switch. The switch temporarily assigns the port to be an untagged member of a virtual local area network (VLAN) which is configured for unauthorized clients. Initialization services are provided to the new client via the unauthorized-client VLAN. The new client may be authenticated by way of an authentication session using the unauthorized-client VLAN. If the new client is authenticated, then the untagged membership of the port in the unauthorized-client VLAN is dropped, and the port is assigned to be an untagged member of a specified VLAN.

Bilder(7)

Ansprüche(23)

What is claimed is:

1. A method for a switch to respond to a new client, the method comprising:

detecting the new client at a port of the switch; and

temporarily assigning the port to be an untagged member of a virtual local area network (VLAN) which is configured for unauthorized clients.

2. The method of claim 1, further comprising:

providing initialization services to the new client via the unauthorized-client VLAN.

3. The method of claim 1, further comprising:

authenticating the new client by way of an authentication session using the unauthorized-client VLAN; and

if the new client is authenticated, then dropping the untagged membership of the port in the unauthorized-client VLAN and assigning the port to be an untagged member of a specified VLAN.

4. The method of claim 3, wherein the authentication session involves communications between supplicant software at the new client and an authentication server.

5. The method of claim 2, wherein the initialization services include acquisition of supplicant software necessary for the authentication session.

6. The method of claim 2, wherein the initialization services include acquisition of internet protocol (IP) addressing by way of a dynamic host configuration protocol (DHCP) server on the unauthorized-client VLAN.

7. The method of claim 2, wherein the initialization services include user registration by way of a registration tool provided by the unauthorized-client VLAN.

8. The method of claim 2, wherein the initialization services include antivirus scanning of the new client.

9. The method of claim 2, wherein the initialization services include probing the new client.

10. The method of claim 3, wherein the specified VLAN membership comprises a static untagged VLAN membership specified in the port's configuration, and further comprising suspending the static untagged. VLAN membership of the port prior to the assigning of the port to the unauthorized-client VLAN.

11. The method of claim 3, wherein the specified VLAN membership comprises membership in an authorized-client VLAN specified in the port's configuration.

12. The method of claim 3, wherein the specified VLAN membership comprises a VLAN membership which has been assigned to the port by an authentication server during the authentication session.

a first priority that is a VLAN membership which has been assigned to the port by an authentication server during the authentication session;

a second priority that is membership in an authorized-client VLAN specified in the port's configuration; and

a third priority that is a static untagged VLAN membership specified in the port's configuration.

14. An apparatus for switching network packets, the apparatus comprising:

switching circuitry; and

a plurality of ports coupled to the switching circuitry,

wherein at least one said port is configurable to an open virtual local area network (VLAN) mode,

wherein in said mode, upon being contacted by a new client, the port is temporarily assigned to be an untagged member of a guest VLAN that is specifically configured for unauthorized clients.

15. The apparatus of claim 14, wherein in said mode, once the new client is authenticated, the untagged membership of the port in the guest VLAN is dropped, and the port is assigned to be an untagged member of a specified VLAN.

16. The apparatus of claim 15, wherein the specified VLAN membership comprises membership in a static untagged VLAN specified in the port's configuration, and wherein, in said open VLAN mode, the static untagged VLAN membership of the port is suspended prior to the assigning of the port to the guest VLAN.

17. The apparatus of claim 15, wherein the specified VLAN membership comprises membership in an authorized-client VLAN specified in the port's configuration.

18. The apparatus of claim 15, wherein the specified VLAN membership comprises a VLAN membership which has been assigned to the port by an authentication server during the authentication session.

a first priority that is a VLAN membership which has been assigned to the port by an authentication server during the authentication session;

a second priority that is membership in an authorized-client VLAN specified in the port's configuration; and

a third priority that is a static, untagged VLAN membership specified in the port's configuration.

21. A method for filtering access to network resources, the method comprising:

detecting a new client at an access port;

temporarily configuring a first filter at the access port, said first filter providing access to a first network with resources for unauthorized clients;

authenticating the new client using the resources of the first network;

receiving authorization for the new client to access a second network; and

after receiving said authorization, replacing the first filter with a second filter at the access port, said second filter providing access to the second network.

22. The method of claim 21, wherein the first network comprises a first virtual local area network (VLAN), the second network comprises a second VLAN, the first filter including at least a Port VLAN ID (PVID) for the first VLAN, and the second filter including at least a PVID for the second VLAN.

23. A system for initializing a new client detected at an 802.1Q-compliant port of a switch, the system comprising:

means for temporarily assigning the port to be an untagged member of a guest virtual local area network (VLAN) which is configured for unauthorized clients;

means for providing initialization services to the new client via the guest VLAN;

means for authenticating the new client by way of an authentication session; and

means for, once the new client is authenticated, dropping the untagged membership of the port in the guest VLAN and assigning the port to be an untagged member of a specified VLAN.

Beschreibung

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates generally to networking. More particularly, the present invention pertains to access security for networks.

[0003] 2. Description of the Background Art

[0004] Local area networks (LANs) of various types that are IEEE 802 compliant may be connected together with media access control (MAC) bridges. The IEEE 802.1Q standard defines the operation of virtual LANs (VLANs) within a bridged LAN infrastructure.

[0005] Under IEEE 802.1Q, VLANs are not restricted to a single switch. Such VLANs can span many switches (and may even span across a wide area network). A tag field with a VLAN identifier (VLAN ID or VID) is included with the data frame. The tag with VID serves to communicate the VLAN membership information between switches. Within IEEE 802.1Q, the VID can range from 1 to 4094.

[0006] A switch port which is IEEE 802.1Q compliant may be configured to transmit tagged frames to other IEEE 802.1Q-compliant devices (such as, for example, other IEEE 802.1Q-compliant switches), or it may be configured to transmit untagged frames to devices that are non-IEEE 802.1Q-compliant (such as, for example, typical network interface cards for printers or computers). A non-IEEE 802.1Q-compliant device that receives a tagged frame will not comprehend the VLAN tag and will typically drop the frame. Hence, a port should be configured to send untagged frames if non-IEEE 802.1Q-compliant devices are attached to the port.

[0007]FIG. 1 is a schematic diagram illustrating a conventional IEEE 802.1Q-compliant switch 100 with ports configured as members of various VLANs. The switch 100 includes a switching section 102, a plurality of switch ports 104, a switch operating system (OS) 106, and a switch configuration file 108.

[0008] The switching section 102 is coupled to each of the ports 104. The switching section may include, for example, a crossbar switch or other circuitry, and makes connections between the ports 104 so that frames can be transferred from one port to another port.

[0009] Eight switch ports 104 are shown in this example. The ports 104 are shown as numbered, for example, as #1, #2, #3, #4, #5, #6, #7, and #8. Under IEEE 802.1Q, each port may be assigned untagged membership in one VLAN. More specifically, there is an ingress list and an egress list of VLANs. The ingress list helps determine how to classify frames onto VLANs when they are received. The egress list determines the format (tagged or untagged) the frames will have when transmitted. It is possible to have many untagged VLANs on the egress list in untagged format, but typically in ingress, there is only a single untagged VLAN. In other words, as far as the ingress list is concerned, typically a port 104 may be an untagged member of only one VLAN, but it may be a tagged member of more than one VLAN. Even if a port 104 is not an untagged member of any VLAN, it may still be a tagged member of one or more VLANs and pass along frames with those VLAN tags.

[0010] The untagged membership of each port 104 in FIG. 1 is indicated by a Port VLAN ID or PVID. In the example illustrated in FIG. 1: port #1 has been configured with PVID 2; port #2 has been configured with PVID 1; port #3 has been configured with PVID 2; port #4 has been configured with PVID 3; port #5 has been configured with PVID 2; port #6 has been configured with PVID 1; port #7 has been configured with PVID 2; and port #8 has been configured with PVID 1. In other words, ports #2, #6, and #8 are untagged members of the VLAN having VID 1. Ports #3, #5, and #7 are untagged members of the VLAN having VID 2. Port #4 is an untagged member of the VLAN having VID 3. Port #1 is not an untagged member of any VLAN.

[0011] In the example illustrated, port #1 is coupled to another switch that is 802.1Q compliant. As such, the other switch can receive and decode frames with VLAN tags. Such tagged frames may be sent via port #1 to the other switch. For example, port #1 may be a tagged member of the VLAN with VID 3. For example, if port #2 of the switch 100 received a broadcast data frame tagged with VID 3, that tagged data frame would then be transmitted via port #1 to the other switch. In addition, an untagged version of the data frame would be broadcast via port #4.

[0012] The switch OS 106 includes software routines used to control the operation of the switch 100. The switch configuration file 108 includes configuration information utilized by the switch OS 106. For example, the switch configuration file 108 may include the untagged and tagged VLAN membership data for each port 104 of the switch 100.

[0013]FIG. 2 is a flow chart depicting a conventional method 200 for responding to a new client at a port when the port is under the control of the IEEE 802.1X port access control scheme. For purposes of discussion, consider the new client to be accessing the network via switch port #7 of the switch 100 in FIG. 1. The new client is detected 202 by the port. For example, the new client may be a laptop computer of a university student, and the student may be trying to access a network in a teaching laboratory at the university. In this example, the laboratory network utilizes an implementation of the IEEE 802.1X protocol to authenticate student computers before allowing the computers access to the network.

[0014] IEEE 802.1X is an example of a network access server (NAS) protocol. IEEE 802.1X runs at layer 2 of the OSI networking model, and so IEEE 802.1X may be completed prior to a client obtaining an internet protocol (IP) address (which is a layer 3 type address). Under IEEE 802.1X, an authentication session may utilize, for example, the Radius protocol between an authentication server and supplicant software at the new client.

[0015] A branch in the process 200 occurs depending on whether or not 204 the new client has the resources present to enable an authentication session. For example, the branch would occur depending on whether or not the student's computer has IEEE 802.1X-compliant supplicant software.

[0016] Let's first consider the situation where the situation where the new client does have the resources to enable the authentication session (the Y or Yes branch from 204). For example, the student's computer has the IEEE 802.1X supplicant software already installed. In this situation, an authentication session occurs 208 with the new client in order to authenticate the new client. The authentication may involve, for example, checking the new client against a secure database of authorized users. If the new client does not pass authentication, then access by the new client to the network would be denied 206. If the new client passes the authentication, then access via the switch port 104 would be granted 212 to the new client. In our example, if access was via port #7 of FIG. 1, then the new client would be able to receive untagged frames on the VLAN with VID 2.

[0017] However, now consider the situation where the student's computer does no have IEEE 802.1X supplicant software currently on it. In other words, the new client does not yet have installed the resources needed to enable the authentication session (the N or No branch from 204). For instance, IEEE 802.1X software is included in Microsoft Windows XP, but not in prior versions of Windows. Hence, a laptop running one of the prior versions would not have the IEEE 802.1X supplicant installed as part of the operating system. In this situation, since the authentication session is not enabled, access is simply denied 206. This result is undesirable because the new client may be “friendly” (for example, it may be a properly registered student with an older Windows operating system on her laptop). In other words, if the new client had the proper resources, then authentication may have been completed. However, due to a lack of the resources, the authentication session was not enabled to be performed. In another example, the new client may have the supplicant software installed, but it may not yet have a valid account.

[0018] The above-described problems and disadvantages may be overcome by utilizing embodiments of the present invention.

SUMMARY

[0019] One embodiment of the invention pertains to a method for a switch to respond to a new client. A new client is detected at a port of the switch. The switch temporarily assigns the port to be an untagged member of a virtual local area network (VLAN) which is configured for unauthorized clients. Initialization services are provided to the new client via the unauthorized-client VLAN.

[0020] Another embodiment of the invention relates to an apparatus for switching network packets. The apparatus includes switching circuitry, and a plurality of ports coupled to the switching circuitry. At least one of the ports is configurable to an open VLAN mode. In the open VLAN mode, upon being contacted by a new client, the port is temporarily assigned to be an untagged member of a guest VLAN that is specifically configured for unauthorized clients.

[0021] Another embodiment of the invention relates to a method for filtering access to network resources. The method includes detecting a new client at an access port, and temporarily configuring a first filter at the access port. The first filter provides access to a first network with resources for unauthorized clients, and the new client is authenticated using the resources of the first network. If authentication is received for the new client to access a second network, then the first filter is replaced with a second filter at the access port. The second filter provides access to the second network.

BRIEF DESCRIPTION OF THE DRAWINGS

[0022]FIG. 1 is a schematic diagram illustrating a conventional IEEE 802.1Q-compliant switch with ports configured as members of various VLANs.

[0023]FIG. 2 is a flow chart depicting a conventional method for responding to a new client at a port when the port is under the control of the IEEE 802.1X port access control scheme.

[0024]FIG. 3A is a schematic diagram illustrating a switch with ports configurable to an open VLAN mode in accordance with an embodiment of the present invention.

[0025]FIG. 3B is a schematic diagram illustrating an unauthorized-client VLAN in accordance with an embodiment of the present invention.

[0026]FIG. 4 is a flow chart depicting a method for responding to a new client at a port in an open VLAN mode in accordance with an embodiment of the present invention.

[0027]FIG. 5 is a flow chart depicting a method for the prioritized assignment of untagged VLAN membership in accordance with an embodiment of the present invention.

DETAILED DESCRIPTION

[0028]FIG. 3A is a schematic diagram illustrating a switch 300 with ports configurable to an open VLAN mode in accordance with an embodiment of the present invention. Similar to the switch 100 of FIG. 1, the switch 300 of FIG. 3A includes a switching section 102, a plurality of switch ports 104, a switch operating system (OS) 306, and a switch configuration file 308. However, the switch OS 306 is modified to enable one or more of the switch ports 104 to be configurable to the open VLAN mode. The switch configuration file 308 is also modified so as to include configuration data for the open VLAN mode. For example, the modified switch OS 306 may include an additional software module programmed to provide the open VLAN functionality, and the modified switch configuration file 308 may include additional data fields for the open VLAN mode configuration data. In the particular example depicted in FIG. 3A, the three (#6, #7, and #8) of the eight ports 104 are configured to be in the open VLAN mode, while the other five ports (#1 through #5) are not.

[0029] Another difference is that one of the switch ports 104 provides access to an unauthorized-client VLAN 310. In the particular example illustrated in FIG. 3A, the unauthorized-client VLAN corresponds to VID 5, and port #5 is configured with PVID 5 so as to be an untagged member of the VLAN with VID 5. In this example, frames with VID 5 would be broadcast to the unauthorized-client VLAN 310 via port #5. Note that the unauthorized-client VLAN 310 may be accessed via VLAN tagged frames in addition to, or instead of, the access by way of untagged frames. Access via tagged frames may occur if one or more of the ports 104 are tagged members of the unauthorized-client VLAN 310.

[0030]FIG. 3B is a schematic diagram illustrating an unauthorized-client VLAN 310 in accordance with an embodiment of the present invention. The unauthorized-client VLAN 310 is accessible by a new client through an open-VLAN-configured port. The use of the unauthorized-client VLAN 310 in regards to access security is further described below in relation to FIG. 4 in accordance with an embodiment of the invention.

[0031] In accordance with one embodiment, the unauthorized-client VLAN 310 includes supplicant download facility 312, dynamic host configuration protocol (DHCP) server 314, an authentication server 316, a registration tool 318, and perhaps other resources 320 providing initialization type services to facilitate the new client gaining access to the secure network. The supplicant download facility 312 enables a new client without the supplicant software to download and install the supplicant software. The DHCP server 314 provides and allocates an IP address to the new client device, if the new client device is not configured with a fixed (manual) IP address. The authentication server 316 may comprise, for example, a Radius authentication server or a similar type of server. The registration tool 318 may comprise, for example, a web-based software interface to set-up a valid account on the secure network. The other resources 320 may include, for example, software that interrogates the new client to determine various parameters (such as the OS version of the new client) and antivirus software for scanning the new client for viruses.

[0032]FIG. 4 is a flow chart depicting a method 400 for responding to a new client at a port in an “open” or “unauthorized” VLAN mode in accordance with an embodiment of the present invention. For purposes of discussion, consider the new client to be accessing the network via switch port #7 of the switch 300 in FIG. 3. The new client is detected 402 by the port. As in the previous example, port #7 may use an implementation of the IEEE 802.1X protocol to authenticate new clients before allowing access to the network. However, now port #7 is configured in an open or unauthorized VLAN mode in accordance with an embodiment of the present invention.

[0033] The switch 300 responds to the new client by temporarily suspending 404 the untagged VLAN membership, if any, of the access port. In our example, port #7's untagged membership in the VLAN with VID 2 would be suspended. Suspending the untagged VLAN membership of the port protects that VLAN from “unfriendly” new clients while allowing the system to provide limited access to “friendly” clients, as described further below.

[0034] The switch port being accessed is then assigned temporarily 406 to be an untagged member of a VLAN which is configured specifically for unauthorized clients. This VLAN is referred to as the unauthorized-client VLAN 310. In our example, port #7 would be temporarily assigned to be an untagged member of the VLAN with VID 5 (corresponding to the unauthorized-client VLAN 310). Advantageously, the unauthorized-client VLAN 310 provides initialization resources to allow a friendly new client to proceed, whereas in the conventional process 200 access was denied 206 without such resources.

[0035] Various initialization services may be provided 408 to the new client via the unauthorized-client VLAN 310. For example, if the new client does not have the necessary supplicant software for the authentication session, then the supplicant software may be downloaded from a download source 312 to the new client from the unauthorized-client VLAN 310. In the conventional process 200, lack of the appropriate supplicant at the new client would block the access process. Other necessary software may similarly be downloaded to the new client. As another example, if the new client does not have a manual IP address, then an IP address may be assigned to the new client by a DHCP server 314 on the unauthorized-client VLAN 310. As another example, a registration service may be provided by a registration tool 318 for a new user to become a member of a group of authorized users. Other initialization services that resources 320 on the unauthorized-client VLAN 310 may provide include, but are not limited to, probing the new client to determine its operating system, scanning the new client for computer viruses, and so on.

[0036] The new client is authenticated 410 by way of an authentication session. The authentication 410 may be accomplished by communications between an authentication server 316 on the unauthorized-client VLAN 310 and corresponding supplicant software at the new client. For example, the authentication server may comprise a Radius authentication server, and the authentication may be accomplished in accordance with IEEE 802.1X. Other authentication servers and schemes may be used instead, for example, Kerberos, Unix password, NT-Domain, Lightweight Directory Access Protocol (LDAP), and so on.

[0037] If the new client does not pass authentication, then access by the new client to the network would be denied 414. Denial may occur, for example, if the user is not an authorized user. If the new client passes the authentication, then the process 400 continues by dropping 416 the untagged membership of the access port 304 in the unauthorized-client VLAN 310. In our example, port #7's untagged membership in the VLAN with VID 5 would be dropped. Instead, the access port 304 would be assigned 418 to be an untagged member of a specified VLAN. One embodiment of a process 500 for determining the specified VLAN to be assigned is described below in relation to FIG. 5.

[0038]FIG. 5 is a flow chart depicting a method 500 for the prioritized assignment of untagged VLAN membership, after successful authentication, in accordance with an embodiment of the present invention. This is merely one implemented method 500 for the assignment, other alternate methods or prioritizations may be used.

[0039] A first priority may be an untagged VLAN membership assigned by the authentication server 316. Hence, a determination 502 is made as to whether such a membership has been specified by the authentication server 316. If there is one, then the port 304 is assigned 504 untagged membership in the VLAN specified by the authentication server 316.

[0040] A second priority may be an authorized-client VLAN membership specified in the port's configuration (separate and apart from the port's original PVID). Hence, a determination 506 is made as to whether such a membership has been specified in the port configuration. If one has been specified, then the port 304 is assigned 508 untagged membership in the authorized-client VLAN.

[0041] A third priority may be a static, untagged VLAN membership assigned to the port in its configuration. This is the port's original PVID, as shown in the previous figures. Hence, a determination 510 is made as to whether such a membership has been assigned. If one has been assigned, then the port 304 utilizes (reverts back to) the static, untagged VLAN membership.

[0042] An alternate way to view the method of the invention pertains to filtering access to network resources. For example, when a new client is detected at the port, the method of the invention temporarily configures a first filter to restrict access at the port to a first network. For example, under IEEE 802.1X, the first network may comprise an unauthorized VLAN, and the first filter may include the PVID of the unauthorized VLAN. If authentication is successful, then the method may continue by replacing the first filter with a second filter. The second filter provides access to a second (authorized) network. For example, the second filter may comprise the original PVID of the port, and the second network may comprise, for instance, the virtual network associated with that original PVID.

[0043] Embodiments of the invention are implementable in conjunction with network switching products. Such network switching products include, for example, HP ProCurve® switch products available from the Hewlett-Packard Company, with corporate offices in Palo Alto, Calif.

[0044] In the above description, numerous specific details are given to provide a thorough understanding of embodiments of the invention. However, the above description of illustrated embodiments of the invention is not intended to be exhaustive or to limit the invention to the precise forms disclosed. One skilled in the relevant art will recognize that the invention can be practiced without one or more of the specific details, or with other methods, components, etc. In other instances, well-known structures or operations are not shown or described in detail to avoid obscuring aspects of the invention. While specific embodiments of, and examples for, the invention are described herein for illustrative purposes, various equivalent modifications are possible within the scope of the invention, as those skilled in the relevant art will recognize.

[0045] These modifications can be made to the invention in light of the above detailed description. The terms used in the following claims should not be construed to limit the invention to the specific embodiments disclosed in the specification and the claims. Rather, the scope of the invention is to be determined by the following claims, which are to be construed in accordance with established doctrines of claim interpretation.