The present invention relates generally to wireless network communication, and, more particularly, to a system and method facilitating automatic detection of a wireless network type.
Computer device(s) performing network communications over wireless links are becoming increasingly popular. Conventionally, when a user comes within range of a wireless network, the client device (e.g., computer system) is able to discern two pieces of information about that network, without connecting to it (e.g., from the wireless network beacon): (1) the service set identifier (SSID) of the network (e.g., essentially its name); and (2) whether or not the network encrypts data. If the network employ s encryption, an encryption key is required. The encryption key can be manually entered by the user and/or sent in accordance with the 802.1x protocol.
With the information that the client device can retrieve from the wireless network beacon, the client device can generally determine whether the network is of type unencrypted, encrypted or, with the addition of a Wi-Fi Protected Access (WPA) information element, encrypted using WPA-pre-shared key or encrypted using WPA. If it is unencrypted, then a user needs only to acknowledge that the network is insecure, and that they wish to use it in spite of that information. However, if it is encrypted and does not use WPA, then it either requires the user to enter a WEP key or it is an 802.1x-enabled network which distributes the WEP key automatically (requiring the client computer to enable 802.1x authentication to complete the connection).
Since the client computer cannot tell whether the non-WPA encrypted network requires the user to enter a WEP key or is an 802.1x-enabled network which does not support WPA, it typically requests input from the user. In the vast majority of cases, the user is in no position, from a technical knowledge perspective, to answer such a request.
The following presents a simplified summary of the invention in order to provide a basic under standing of some aspects of the invention. This summary is not an extensive overview of the invention. It is not intended to identify key/critical elements of the invention or to delineate the scope of the invention. Its sole purpose is to present some concepts of the invention in a simplified form as a prelude to the more detailed description that is presented later.
The present invention provides for a system and method facilitating automatic detection of a type of wireless network. In accordance with an aspect of the present invention, wireless network client(s) can automatically detect the “type” of a network without requiring input from the user. The “type” in this context, refers to the method of authentication and encryption that the network requires (e.g., unencrypted networks requiring no authentication, encrypted networks requiring the user to enter a WEP key, encrypted networks supporting 802.1x authentication, Wi-Fi Protected Access (WPA) networks requiring the user to enter a WPA pre-shared key, 802.1x enabled network which do support WPA and/or wireless provisioning services supporting networks). Thus, the system employs a technique for efficiently and safely determining which of the network types the user is attempting to connect to, thereby allowing the operating system to present the user with an appropriate user interface. For example, the system can provide a way to distinguish whether (1) a manually-entered WEP key or (2) 802.1x authentication is required by the wireless network.
In accordance with another aspect of the present invention, a wireless network detection system having a connection component and a detection component is provided. The connection component facilitates connection of a client system to at least one of a plurality of wireless networks. The detection component identifies a type of an available wireless network.
In one example, identification by the detection component can be based, at least in part, upon receipt of a specific information element from a wireless network beacon. In another example, the detection component iteratively probes the wireless network beacon in connection with identifying a type of the wireless network.
For example, the detection component can first attempt to connect to the wireless network as if it were a wireless provisioning services (WPS) supporting network. By waiting for certain kinds of failure(s) in the authentication sequence, the detection component can determine if the network requires the user to enter a WEP key.
If the failures are not observed, the detection component can wait a longer period of time (e.g., up to thirty seconds)for a particular piece of the authentication sequence (e.g., Protected extensible authentication protocol-type length value (PEAP-TLV)) that identifies a WPS network. In the absence of this piece of the sequence, the detection component can identify the wireless network as an 802.1x-enabled network to the connection component. If the particular piece of the authentication sequence is detected by the detection component, then the detection component can identify the network as a WPS supporting network to the connection component.
Accordingly, the user is not asked to determine the network type. This can lead, for example, to user(s) who are more successful in their use of wireless network sand further reduce user frustration with wireless network(s).
To the accomplishment of the foregoing and related ends, certain illustrative aspects of the invention are described herein in connection with the following description and the annexed drawings. These aspects are indicative, however, of but a few of the various ways in which the principles of the invention may be employed and the present invention is intended to include all such aspects and their equivalents. Other advantages and novel features of the invention may become apparent from the following detailed description of the invention when considered in conjunction with the drawings.
The present invention is now described with reference to the drawings, wherein like reference numerals are used to refer to like elements throughout. In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough under standing of the present invention. It may be evident, however, that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to facilitate describing the present invention.
As used in this application, the terms “component,” “handler,” “model,” “system,” and the like are intended to refer to a computer-related entity, either hardware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a server and the server can be a component. One or more components may reside within a process and/or thread of execution and a component may be localized on one computer anchor distributed between two or more computers. Also, these components can execute from various computer readable media having various data structures stored thereon. The components may communicate via local and/or remote processes such as in accordance with a signal having one or more data packets (e.g., data from one component interacting with another component in a local system, distributed system, and/or across a network such as the Internet with other systems via the signal). Computer components can be stored, for example, on computer readable media including, but not limited to, an ASIC (application specific integrated circuit), CD (compact disc), DVD (digital video disk), ROM (read only memory), floppy disk, hard disk, EEPROM (electrically erasable programmable read only memory) and memory stick in accordance with the present invention.
Referring to
“Type” of wireless network refers generally to the kind of authentication and encryption that the network requires. In one example, wireless networks can be divided into six types:
The IEEE802.11 set of standards defines two network types: encrypted networks (e.g., WEP networks) and unencrypted networks. Owing to the well-known weaknesses of the WEP protocol, the wireless industry implemented support for the IEEE 802.1x standard as a mechanism for addressing the key deficiencies in the WEP protocol, those being user authentication, encryption key management and encryption key distribution. For WEP-encrypted networks, the user needs to provide an encryption key and for 802.1x enabled networks the key is provided automatically if the user has a valid credential (e.g., such as a digital certificate or username and password). For 802.11 networks which are encrypted this presents a usability problem as it is currently not possible to determine a priori whether the user needs to enter the WEP key or whether the network supports 802.1x, in which case they do not have to enter it.
To address the underlying weaknesses of the WEP algorithm, which has been shown to be cryptographically weak, a security enhancement to the 802.11 set of standards was introduced, called Wi-Fi Protected Access (WPA). WPA also addresses some of the usability issues of the original 802.11 standard by specifying an information element which WPA-capable access points include in their beacon frame. This information element describes inter alia whether the network requires the user to enter the encryption key called WPA pre-shared key mode (WPA-PSK) or whether the key is provided automatically by virtue of the user's credential, referred to as “WPA mode”.
Wired Equivalent Privacy
WEP is defined by the IEEE 802.11 standard and is intended to provide a level of data confidentiality that is equivalent to a wired network. Due to the nature of wireless LAN networks, implementing a security infrastructure that monitors physical access to the network can be difficult. Unlike a wired network where a physical connection is required, anyone within range of a wireless access point (AP) can conceivably send and receive frames as well as listen for other frames being sent. This makes eavesdropping and remote sniffing of wireless LAN frames very easy.
WEP provides data confidentiality services by encrypting the data sent between wireless nodes. WEP encryption for an 802.11 frame is indicated by setting a WEP flag in the MAC header of the 802.11 frame. WEP provides data integrity for random errors by including an integrity check value (ICV) in the encrypted portion of the wireless frame.
The following tables illustrates the two shared keys that WEP defines:
WEP encryption employs the RC4 symmetric stream cipher with 40-bit and 104-bit encryption keys.
Wi-Fi Protected Access
WPA is a Wi-Fi standard designed to improved upon the security features of WEP. Unlike WEP, 802.1x authentication is required in WPA. With WPA, rekeying of both unicast and global encryption keys is required For the unicast encryption key, the Temporal Key Integrity Protocol (TKIP) changes the key for every frame, and the change is synchronized between the wireless client and the wireless access point (AP). For the global encryption key, WPA includes a facility for the wireless AP to advertise the changed key to the connected wireless clients
TKIP replaces WEP with an encryption algorithm that is stronger than the WEP algorithm. TKIP also provides for verification of the security configuration after the encryption keys are determined synchronized changing of the unicast encryption key for each frame; and, determination of a unique starting unicast encryption key for each pre-shared key authentication.
WPA further employs a method know as “Michael” that specifies an algorithm that calculates an 8-byte message integrity code (MIC). The MIC is placed between the data portion of the IEEE 802.11 frame and the 4-byte integrity check value(ICV). The MIC field is encrypted together with the frame data and the ICV.
WPA is an interim standard that will be replaced with the IEEE's 802.11 standard upon its completion.
Wireless Provisioning Services (WPS) Supporting Networks
WPS allows Wi-Fi network providers and/or enterprises to send provisioning and configuration information to a mobile client as it connects to the Internet or a corporate network, providing seamless and automatic provisioning and configuration of the client with uniform sign-up experience. As a user logs onto a wireless network, the network recognizes the user, automatically sets up the session, and bills the user's account.
The security of a wireless session is improved because the automatic authentication and encryption provided by WPS minimizes the chances that a user's wireless session will be broken into by rogue access points or hackers. With WPS, a network can request substantially any type of information from the user, for example, a user name, a coupon code, anchor demographic information.
Distinctions between exemplary wireless network types
Turning briefly to
Wireless networks encompassed by the original 802.11 specification 210 include encrypted 214 and not encrypted 216. The 802.1x specification further facilitated automatic distribution of the WEP encryption key 222 and 802.1x authentication 224. The introduction of WPS further provides for 802.1x authentication 224 to be sub-divided into network(s) that support WPS242 and network(s) that do not support WPS244.
Alternatively, introduction of the WPA specification provided for wireless network supporting the 802.11 specification and further encompassing the WPA specification 230. These network(s) are encrypted 234 and can be sub-divided into WPA236 (e.g., 802.1x-enabled networks that support WPA) and WPA PSK238. With the introduction of WPS, the WPA node 236 can be further sub-divided into network(s) that support WPS252 and network(s) that do not support WPS254.
The Wireless Network Detection System 100
Returning to
As discussed previously, conventionally, when a user comes within range of a wireless network, the client computer is able to discern two pieces of information about that network, without connecting to it (e.g., from the wireless network beacon): (1) the SSID of the network (e.g., essentially its name); and (2) whether or not the network encrypts data. If the network employs encryption, an encryption key is required. The encryption key c an be manually entered by the user and/or via the 801.1x protocol. Thus, for e ach of the network types, the information the client computer requires from the user can be different.
However, with the information that the computer can retrieve from the network beacon, the computer can only determine whether the network is (a) unencrypted (type #1) or (b) encrypted (type #2 or #4) or, with the addition of the WPA information element, encrypted using WPA-PSK (type #3) or encrypted using WPA (type #5)
If it is unencrypted (e. g., type #1), then the user can acknowledge that the network is insecure, and that they wish to use it in spite of that information. However, if it is encrypted and does not use WPA, then it is either of type #2 or #4. If it is type #2, the user would need to enter a WEP key, and if it is type #4, the user not need to enter a WEP key, bit the client computer needs to enable 802.1x authentication to complete the connection. Since the client computer cannot tell whether the network is #2 or #4, it essentially has to ask the user. In the vast majority of cases, the user is in no position (from a technical knowledge perspective) to answer such a question. The introduction of WPS network(s) has made the situation even more complicated (e.g., three different types of encrypted networks).
The wireless network detection system 100 efficiently and safely determines which of a plurality of network types the user is attempting to connect to, in order to present the user with appropriate user interface (UI). As noted previously, for each of the network types, the information the client computer needs from the user can be different. Thus, the system 100 can provide a way to distinguish whether (1) a manually-entered WEP key or (2) 802.1x authentication is required by the wireless network without significant user input.
In one example, the system 100 employs an information element (IE) from the wireless network beacon 140 to facilitate determination of the network type. The general concept of an IE is part of the 802.11 standard In accordance with an aspect of the present invention, a specific IE, for example, two bits, can be used to provide information to distinguish between the types of network (e.g., three). The following table illustrated the structure and layout of an exemplary IE:
In this example, the wireless network beacon 140 provides the IE to the detection component 120. Based at least in part, upon the IE, the detection component 120 identifies the type of wireless network.
In another example, the system 100 employs a probing technique to determine the encryption type of a network, for example, performed the first time the user tries to connect to it. For example, the detection component 120 can first attempt to connect to the wireless network as if it were a WPS network. WPS networks are a subset of 802.1x networks (e.g., type #4 or type #5) and may or may not support WPA. By waiting for certain kinds of failure(s) in the authentication sequence, the detection component 120 can determine if the network is of type #2 (e.g., manually entered WEP key). For example, the probing can mitigate impact upon the user by recognizing a common type of network (e.g., manually entered WEP key).
If the failures are not observed, the detection component 120 can wait a longer period of time (e.g., up to thirty seconds) for a particular piece of the authentication sequence (e.g., Protected extensible authentication protocol-type length value (PEAP-TLV)) that identifies a WPS network. In the absence of this piece of the sequence, the detection component 120 can identify the wireless network as type #4 or type #5 to the connection component 110. If the particular piece of the authentication sequence is detected by the detection component 120, then the detection component 120 can identify the network as a WPS supporting network to the connection component 110.
Accordingly, the user is not asked to determine the network type. This can lead, for example, to user(s) who are more successful in their use of wireless network sand further reduce user frustration with wireless network(s).
It is to be appreciated that the wireless network detection system 100, the connection component 110, the detection component 120, the client system 130 and/or the wireless network beacon 140 can be computer components as that term is defined herein.
Turning briefly to
The invention may be described in the general context of computer-executable instructions, such as program modules, executed by one or more components. Generally, program modules include routines, programs, objects, data structures, etc. that perform particular tasks or implement particular abstract data types. Typically the functionality of the program modules may be combined or distributed as desired in various embodiments.
Referring to
If the determination at 320 is YES, at 340, up to a threshold period of time (e.g., 30 seconds) is waited for a receipt of a particular piece of authentication information that identifies a WPS network (e.g., PEAP-TLV sequence). At 350, a determination is made as to whether the particular piece of authentication information has been received If the determination at 350 is NO, at 360, the network is identified as type #4 or type #5, and, no further processing occurs. If the determination at 350 is YES, at 370, the network is identified as WPS-supporting, and no further processing occurs.
Next, referring to
If the determination at 408 is YES, at 420, a determination is made as to whether the network is WPA (e.g., based at least, in part, upon information received from the wireless network beacon). If the determination at 420 is YES, at 422, at determination is made as to whether the network is WPA PSK (e.g., based at least in part, upon information received from the wireless network beacon). If the determination at 422 is YES, at 424, the network is identified as WPA PSK. At 428, a user can be prompted to enter a WPA pre-shared key, and, no further processing occurs. If the determination at 422 is NO, processing continues at 432.
If the determination at 420 is NO, at 432, a determination is made as to whether the network supports 802.1x. For example, as discussed previously, the determination can be made by employing a probing technique and for an information element received from the wireless network beacon. If the determination at 432 is NO, at 436, the network is identified as a manual WEP type. At 440, a user can be prompted to enter a WEP key, and, no further processing occurs.
If the determination at 432 is YES, at 444, a determination is made as to whether the network supports WPS. Again, the determination can be made by employing a pro ting technique and/or an information element received from the wireless network beacon. If the determination at 444 is YES, at 448, the network is identified as WP S-supporting. At 452, WPS information can be loaded and the connection continued and, no further processing occurs.
If the determination at 444 is NO, at 456, the network is identified as an 802.1x network. At 460, connection to the wireless network can be continued using a default 802.1x authentication type, and, no further processing occurs.
In order to provide additional context for various aspects of the present invention,
With reference to
The system bus 618 can be any of several types of bus structure(s) including the memory bus or memory controller, a peripheral bus or external bus, and/or a local bus using any variety of available bus architectures including, but not limited to, an 8-bit bus, Industrial Standard Architecture (ISA), Micro-Channel Architecture (MSA), Extended ISA (EISA), Intelligent Drive Electronics (IDE), VESA Local Bus (VLB), Peripheral Component Interconnect (PCI), Universal Serial Bus (USB), Advanced Graphics Port (AGP), Personal Computer Memory Card International Association bus (PCMCIA), and Small Computer Systems Interface (SCSI).
The system memory 616 includes volatile memory 620 and nonvolatile memory 622. The basic input/output system (BIOS), containing the basic routines to transfer information between elements within the computer 612, such as during start-up, is stored in nonvolatile memory 622. By way of illustration, and not limitation, nonvolatile memory 622 can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM), or flash memory. Volatile memory 620 includes random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in many forms such as synchronous RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct Rambus RAM (DRRAM).
Computer 612 also includes removable/nonremovable, volatile/nonvolatile computer storage media.
It is to be appreciated that
A user enters commands or information into the computer 612 through input device(s) 636. Input devices 636 include, but are not limited to, a pointing device such as a mouse, trackball, stylus, touch pad keyboard, microphone, joystick, game pad, satellite dish, scanner, TV tuner card digital camera, digital video camera, web camera, and the like. These and other input devices connect to the processing unit 614 through the system bus 618 via interface port(s) 638. Interface port(s) 638 include, for example, a serial port, a parallel port, a game port, and a universal serial bus (USB). Output device(s) 640 use some of the same type of ports as input device(s) 636. Thus, for example, a USB port maybe used to provide input to computer 612, and to output information from computer 612 to an output device 640. Output adapter 642 is provided to illustrate that there are some output devices 640 like monitors, speakers, and printers among other output devices 640 that require special adapters. The output adapters 642 include, by way of illustration and not limitation, video and sound cards that provide a means of connection between the output device 640 and the system bus 618. It should be noted that other devices and/or systems of devices provide both input and output capabilities such as remote computer(s) 644.
Computer 612 c an operate in a networked environment using logical connections to one or more remote computers, such as remote computer(s) 644. The remote computers) 644 can be a personal computer, a server, a router, a network PC, a workstation, a microprocessor based appliance, a peer device or other common network node and the like, and typically includes many or all of the elements described relative to computer 612. For purposes of brevity, only a memory storage device 646 is illustrated with remote computer(s) 644. Remote compiler(s) 644 is logically connected to computer 612 through a network interface 648 and then physically connected via communication connection 650. Network interface 648 encompasses communication networks such as local-area networks (LAN) and wide-area networks (WAN). LAN technologies include Fiber Distributed Data Interface (FDDI), Copper Distributed Data Interface (CDDI), Ethernet/IEEE 802.3, Token Ring/IEEE 802.5 and the like. WAN technologies include, but are not limited to, point-to-point links, circuit switching networks like Integrated Services Digital Networks(ISDN) and variations thereon, packet switching networks, and Digital Subscriber Lines (DSL).
Communication connection(s) 650 refers to the hardware/soft ware employed to connect the network interface 648 to the bus 618. While communication connection 650 is shown for illustrative clarity inside computer 612, it can also be external to computer 612. The hardware/soft ware necessary for connection to the network interface 648 includes, for exemplary purposes only, internal and external technologies such as, modems including regular telephone grade modems, cable modems and DSL modems, ISDN adapters, and Ethernet cards.
What has been described above includes examples of the present invention. It is, of course, not possible to describe every conceivable combination of components or methodologies for purposes of describing the present invention, but one of ordinary skill in the art may recognize that many further combinations and permutations of the present invention are possible. Accordingly, the present invention is intended to embrace all such alterations, modifications and variations that fall within the spirit and scope of the appended claims. Furthermore, to the extent that the term “includes” is used in either the detailed description or the claims, such term is intended to be inclusive in a manner similar to the term “comprising” as “comprising” is interpreted when employed as a transitional word in a claim.
This application is a continuation of U.S. patent application Ser. No. 10/729,209, filed on Dec. 5, 2003, entitled “AUTOMATIC DETECTION OF WIRELESS NETWORK TYPE”, the entirety of which is incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
6088451 | He et al. | Jul 2000 | A |
6629151 | Bahl | Sep 2003 | B1 |
6674738 | Yildiz et al. | Jan 2004 | B1 |
7099627 | Turner et al. | Aug 2006 | B2 |
7120129 | Ayyagari et al. | Oct 2006 | B2 |
7505596 | Duplessis et al. | Mar 2009 | B2 |
20010023446 | Balogh | Sep 2001 | A1 |
20020176366 | Ayyagari et al. | Nov 2002 | A1 |
20030054818 | Bahl et al. | Mar 2003 | A1 |
20030097596 | Muratov et al. | May 2003 | A1 |
20030119484 | Adachi et al. | Jun 2003 | A1 |
20030163558 | Cao et al. | Aug 2003 | A1 |
20030204748 | Chiu | Oct 2003 | A1 |
20040068653 | Fascenda | Apr 2004 | A1 |
20040103282 | Meier et al. | May 2004 | A1 |
20040111520 | Krantz et al. | Jun 2004 | A1 |
20050063338 | Tsui | Mar 2005 | A1 |
Number | Date | Country |
---|---|---|
2002344458 | Mar 2002 | JP |
0122662 | Mar 2001 | WO |
Entry |
---|
OA mailed May 31, 2007 for U.S. Appl. No. 10/729,209, 21 pages. |
OA mailed Jan. 18, 2007 for U.S. Appl. No. 10/729,209, 17 pages. |
OA mailed Apr. 21, 2008 for U.S. Appl. No. 10/729,209, 44 pages. |
OA mailed Oct. 31, 2007 for U.S. Appl. No. 10/729,209, 20 pages. |
CNOA dispatched Dec. 28, 2007 for Chinese Patent Application No. 200410085877.1, with translation, 10 pages. |
ESR dated Sep. 17, 2010 for European Patent Application No. 04025545.7, 5 pages. |
“A Key Step Forward in Enterpriser-Class Wireless Lan (WLAN) Security”, Meetinghouse Data Communications, Inc., White Paper, (May 26, 2003), 10 pages. |
“Advisory Action”, U.S. Appl. No. 10/729,209, (Aug. 13, 2007), 3 pages. |
“Final Rejection”, Chinese Application No. 200410085877.1, (Aug. 3, 2010), 9 pages. |
“Foreign Office Action”, EP Application No. 04025545.7, (May 18, 2011), 8 pages. |
“Foreign Office Action”, Japanese Application No. 2004-320999, (Jun. 14, 2010), 8 pages. |
“Foreign Office Action”, Japanese Application No. 2004-320999, (Jan. 4, 2011), 2 pages. |
“Foreign Office Action”, Japanese Application No. 2004-320999, (Sep. 22, 2010), 6 pages. |
“Foreign Office Action”, Korean Application No. 10-2004-88357, (Mar. 8, 2011), 4 pages. |
“Notice of Allowance”, U.S. Appl. No. 10/729,209, (Nov. 3, 2008), 18 pages. |
“Notice on Reexamination”, Chinese Application No. 200410085877.1, (Aug. 12, 2011), 9 pages. |
“Overview of the WPAA Wireless Security Update in Windows XP”, Microsoft Knowledge Base Article—815485, (2003). |
“Second Office Action”, Chinese Application No. 200410085877.1, (Dec. 25, 2009), 12 pages. |
“Overview of the WPA Wireless Security Update in Windows XP”, Microsoft Knowledge Base Article—815485, (2003), 4 pages. |
“Hot 5000 Spots!, 5,000 Reasons to Choose Boingo!”, Boingo Wireless, Inc., (2001-2003), 1 page. |
“Interrogation”, Japanese Application No. 2004-320999, (Mar. 2, 2012), 7 pages. |
Number | Date | Country | |
---|---|---|---|
20100329461 A1 | Dec 2010 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10729209 | Dec 2003 | US |
Child | 12403851 | US |