Abstract:
The invention relates to a method for providing a wireless local network, wherein stationary communication devices and mobile communication devices are connected in the manner of a mesh as the sub-network, which is particularly connected to an infrastructure network and configured such that it can exchange authentication messages with at least one communication device, which is particularly disposed in the infrastructure network and provides an authentication function. During an attempt to establish a first link by a first communication device connected to a communication device providing the authentication function to a second communication device connected to the communication device providing the authentication function, an authenticator role to be assigned as part of an authentication process is associated with the first and second communication devices, wherein at least one property correlating with the connection is analyzed for meeting a criterion. The invention further relates to an arrangement comprising means for carrying out the method.

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS  
       [0001]    This application is the United States National Stage filing under 35 U.S.C. §371 of International Application No. PCT/EP2008/050891, filed on Jan. 25, 2008, and claiming priority to German Application No. 10 2007 007 345.5, filed on Feb. 14, 2007. Both of the foregoing are incorporated by reference herein. 
     
    
     BACKGROUND OF THE INVENTION  
       [0002]    1. Field of the Invention 
         [0003]    Embodiments of the invention relate to methods for providing a wireless mesh network as well as arrangements to provide a wireless mesh network. 
         [0004]    2. Background of the Art 
         [0005]    A wireless mesh network is a meshed network of terminals, described as “nodes”, which is implemented, by way of example, in a wireless local area network (WLAN). The nodes may be either infrastructure nodes or “end user nodes”, such as a notebook or a PDA. 
         [0006]    In a mesh network, a mobile node can transfer data originating from another mobile node to still another mobile node or a base station. In a mesh network, long distances can be traversed, in particular on uneven or difficult terrain. Mesh networks additionally work very reliably, as every mobile node is connected to several other nodes. If a node fails, e.g., due to a hardware defect, its neighboring nodes seek out a different data transfer route. Mesh networks can include fixed or mobile devices. 
         [0007]    When adding a new, generally mobile, node, an authentication takes place. This authentication is generally carried out using an authentication server “AAA server”; the mesh network can be coupled via a gateway component or a “mesh key distributor”, which provides encryption material, to an infrastructure network. 
         [0008]    In order to authenticate nodes or computers, the EAP (extensible authentication protocol) is generally used. The EAP protocol is used in WLANs to secure network access. Various specific authentication procedures, known as EAP methods, can be transported via the EAP protocol, e.g., EAP-TLS, EAP-AKA, EAP-SIM, TTLS, PEAP-MSChapv2. In authentication, a cryptographic key or session key—MSK, EMSK (MSK: master session key; EMSK: extended master session key) is determined, which is subsequently used to protect data communications, as in link layer encryption. The authentication of a participant occurs between the participant (supplicant) and an authentication server (AAA server). If authentication is successful, the authentication server sends the result of authentication and the session key—MSK—originating from the authentication to an authenticator, such as a WLAN access point. Communication between the access point and the authentication server normally occurs via the radius or diameter data transfer protocol, in which the session key—MSK—is sent as a data attribute to the access point—AP—as part of an EAP success message. The session key—MSK—transferred is then used in an 802.11 4-way handshake—802.11 WHS—between the participant and the access point in accordance with IEEE standard 802.11. 
         [0009]    Thus, authentication on the basis of an authentication server—AAA server—distinguishes between the roles of supplicant and authenticator, which, specifically, results in the supplicant authenticating itself via the authenticator to an AAA server, which, in turn, informs the authenticator of the result. Depending on the result, the authenticator either grants or denies the supplicant access to the mesh network. 
         [0010]    While in a normal network, e.g., a WLAN-based network, a network login involves one client seeking access to one network, the situation in a mesh network is symmetrical, as the authentication takes place between two mesh nodes of the same type. This gives rise to the problem of needing to determine which of the two nodes acts as authenticator and which as supplicant. 
         [0011]    From US2006/0200678, a so-called “role arbitration” is known. This is carried out using the MAC address, based on random values selected by each node on the basis of a “hop count” comparison or based on “processing capabilities.” 
         [0012]    WO2006/119281 generally discloses a “role arbitration” between mesh nodes, with the role being determined based on random numbers. 
       BRIEF SUMMARY OF THE INVENTION  
       [0013]    Thus, the objective of the present invention is to disclose an improved method and arrangement for the provision of a wireless mesh network. 
         [0014]    In accordance with the method disclosed by the invention for the provision of a wireless mesh network, in which stationary communication devices as well as mobile communication devices are connected as a subnet in the form of a mesh, which is connected, in particular, to an infrastructure network, and is designed such that it can exchange authentication messages with at least one communication device carrying out the function of authentication, in particular one arranged within the network; in the case of an attempt to create a first link by a first communication device connected with the communication device performing the authentication function to a second communication device connected to the communication device performing the authentication function, the authenticator role, which must be assigned to one of the two communications devices as part of an authentication, is assigned to the communication device in which at least one property correlating with connection is tested for meeting a criterion. 
         [0015]    The method disclosed by the invention optimizes the necessary role assignment such that connection properties are also taken into account; thus, the network is able to work more efficiently. Furthermore, this allows, on average, for better resource allocation. 
         [0016]    In an advantageous embodiment of the invention, the first and second communications devices will measure the value correlating to the connection. This has, by way of example, the advantage that the AAA server is relieved of making such determinations and the basic effect disclosed by the invention—that efficiency is increased and capacity is equally allocated—is further improved. 
         [0017]    In a preferred embodiment, the correlating value used is the number of hops to the communication device performing the authentication function, as this value allows for a good estimate of the time needed to send messages, with the preferred criterion being the testing of at least one value determinable based on a routing log, in particular a mesh routing log. In particular, the criterion tested is the minimum number of hops, as this allows for the detection of the connection that allows for faster handling of the authentication process. 
         [0018]    Alternatively, or additionally, in another advantageous embodiment, the correlating value measured is a physical property of the connection, in particular signal quality, with the criterion being the testing for a value indicating better quality. This variation also allows for fast handling, as, for example, multiple retransmissions necessitated by interruptions of the physical connection are avoided. 
         [0019]    A further advantageous additional or alternative embodiment is the measurement of a capacity of the connection to the communication device providing the authentication function and/or of communication devices realizing the connection to the communication device performing the authentication function as the correlating value, with the minimum capacity being used as the criterion. This embodiment, like the aforementioned embodiments, contributes to increased efficiency and faster handling. Furthermore, this procedure also ensures better allocation of the load within the network. 
         [0020]    Alternatively, but especially additionally, one embodiment measures the type of power supply of the communication device that performs the authentication function and/or provides the connection to the communication device performing the authentication function is measured as the correlating value, with network power supply being used as the criterion. This prevents potential interruptions due to lack of power to operate the relevant nodes, thus avoiding time waste and increasing the speed of handling in this embodiment, as well. 
         [0021]    If, in an alternative development or in addition to the foregoing embodiments, the processor usage of the communication device performing the authentication function and/or the communication device providing the connection to the communication device performing the authentication function is measured, with the criterion being the minimum processor use, the advantage provided by the invention of distributing the load for more efficient and, ultimately, faster handling is further supported. 
         [0022]    If, where the test results coincide, the authenticator role to be assigned is assigned on the basis of a comparison of the media access control (MAC) addresses of the first and second communication device, a default position exists such that the system will enter a predefined state even in such a case. 
         [0023]    Preferably, of the two communication devices, the role of authenticator is assigned to the one with the lesser MAC address. 
         [0024]    In another development of the invention, if the first and second communication device have connections to several communication devices performing authentication functions (AAA-S, MKD),
       a) an intersection of communication devices performing authentication functions (AAA-S, MKD) is formed that comprises the communication devices performing an authentication function, to which the first and second communication devices each are connected,   b) if the intersection comprises at least one first and one second communication device performing an authentication function (AAA-S, MKD), the authenticator role is assigned to the device of the two in which at least one property correlating with the connection best meets the criterion;   c) if the intersection is empty, the role of authenticator is assigned to the one of the two communication devices in which at least one property correlating with a communication device performing the authentication function best fulfills the criterion.       
 
         [0028]    This makes it possible to use the invention even with “scaling”, and further allows for fast mesh-internal authentication in such a scenario. 
         [0029]    If the authentication method is adapted on the basis of the test result, in particular the selection of a method defined based on the extensible authentication protocol (EAP), handling can be even further fine-tuned to meet the requirements of the circumstances. 
         [0030]    The problem on which the invention is based is also solved by means of an arrangement for the provision of a wireless local network, which includes the means to carry out the method, by allowing for the method to be carried out. 
         [0031]    Further details on the invention as well as benefits will be discussed in greater detail based on the scenario shown in  FIG. 1  and an exemplary embodiment shown in  FIG. 2 . 
     
    
     
       BRIEF DESCRIPTION OF THE FIGURES 
         [0032]      FIG. 1 : Example of a mesh network 
           [0033]      FIG. 2 : Schematic representation of an exemplary embodiment of the invention in a mesh network that implements the invention. 
       
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
       [0034]    As discussed above,  FIG. 1  shows a mesh network MESH connected with an infrastructure network INFRASTRUCTURE NETWORK. It can be seen that, in addition to node MP, there are also infrastructure nodes such as a mesh key distributor MKD and an authentication, authorization, accounting authentication server AAA-S. 
         [0035]    Here, the mesh key distributor MKD is a gateway node that couples the mesh network MESH with the infrastructure network INFRASTRUCTURE NETWORK and handles key distribution. The mesh key distributor MKD is also a mesh node, which has the additional task of handling the aforementioned key distribution or gateway functionality within the mesh network MESH. 
         [0036]    It can further be seen that between some of the nodes MP shown, authenticated direct connections, i.e., links between the nodes MP exist (indicated by the lightning bolt). 
         [0037]    To create such a link between two nodes MP, there must be authentication by the authentication server with the above-described allocation of roles between authenticator and supplicant. 
         [0038]    So that a node MP can be assigned the authenticator role, at least one of the nodes requires a connection to the AAA server AAA-S. This connection can pass through several links, i.e., over several of the nodes MP; MKD. 
         [0039]    If only one of the mesh nodes has a connection to the authentication server AAA-S, and thus can act as authenticator, the allocation of roles is clear (if none can act as authenticator, no authentication is possible). 
         [0040]    If, however, both mesh nodes are capable of acting as authenticators, the procedure disclosed by the invention applies. 
         [0041]    In  FIG. 2 , a first node MP-A and a second node MP-B of nodes MP are emphasized as nodes establishing a direct connection. 
         [0042]    Here, it can be seen that both the first node MP-A has a first connection to the authentication server AAA-S, indicated as a dotted line in  FIG. 2 , and that the second node has a second connection to the authentication server AAA-S, indicated as a dashed line in  FIG. 2 , such that both the first node MP-A and the second node MP-B are available for the role of authenticator. 
         [0043]    The exemplary embodiment also comprises the core element disclosed by the invention, which is that a mesh node, with the aid of an “information element”, signals a metric that indicates how “good” the first connection and/or second connection to the authentication server AAA-S is, which is used for authentication and connects the mesh network with the mesh key distributor MKD or another node responsible for authentications within the mesh network based on which the role of authenticator is assigned. 
         [0044]    “Metric”, as is known, generally refers to a system of indicators or a procedure to measure a quantifiable value. Thus, according to the invention, a value correlating with the connection to the authentication server AAA-S is determined. 
         [0045]    Thus, this value is a measurement for how well suited the mesh node is to take on the role of authenticator in authentication (the authenticator needs a connection to an authentication server; the supplicant, on the other hand, communicates via the authenticator—not directly—with the authentication server). 
         [0046]    According to the invention, the metric may, in particular, be the number of hops MKD-DISTANZ1; MKD_DISTANZ2 to the mesh key distribution node MKD. Another metric determined based on the data of the mesh routing log can alternatively or additionally be used in accordance with the invention. 
         [0047]    To this end, additionally, the capacity of the links or the quality of the radio connection on which the links are based can be taken into account. Further developments of the invention also provide that additional data of the mesh node are included in the metric, such as the type of power supply (a/c power or battery), as well as the state of charge of the battery, or current CPU or network load. 
         [0048]    As discussed above, the decision of which of nodes MP-A and MP-B is to be the authenticator is made based on the metric that indicates the better connection, i.e., the values determined, which are taken either independently by measurement or are requested via (protocol) messages, are compared, and the better value for the purpose of an optimal connection determines which node—MP-A or MP-B—is to be assigned the role of authenticator. 
         [0049]    If, however, the values are equal, i.e., the metric is the same, according to the invention, the decision is made based on a comparison of the MAC addresses of the two nodes MP-A; MP-B. By way of example, the node with the lesser MAC address may be assigned the role of authenticator, or vice versa. The same can occur if the metric cannot be determined for one or both nodes. 
         [0050]    In addition, if the node given the role of supplicant supports several authentication options (EAP methods), an adjusted EAP method for authentication can be selected based on the metric of the authenticator (and its own information, such as battery charge): thus, if the metric is poor, an efficient EAP method can be selected in which only a few messages between the supplicant and the authentication server AAA-S are exchanged and/or only involves minimal power consumption (e.g., because it only uses simple cryptographic operations, such as secret key-based rather than public key-based). 
         [0051]    In addition to the selection of the method defined in accordance with the Extensible Authentication Protocol, an option can also be selected within such a method. 
         [0052]    Examples of this are, e.g., within EAP-TLS:
       The cipher suite used (e.g., AES or DES encryption)   The credential used (e.g., short or long key/certificate (1024 bit RSA key or 2048 bit RSA key; key/certificate for RSA or for ECC→for elliptical curves ECC, the keys are smaller than with a comparably strong RSA).       
 
         [0055]    These are only some of the EAP method options available. According to the invention, generally any of the possible options can be made dependent on the metric evaluation disclosed by the invention for adjustment and optimization. 
         [0056]    The exemplary embodiment only shows a mesh key distributor MKD and/or an authentication server AAA-S that can be reached thereby, but the invention also offers solutions for networks in which a plurality of authentication severs AAA-S or mesh key distributors MKD are present in one network (scaling). 
         [0057]    In this case, according to the invention, not only is a metric provided for each mesh node for an authentication server AAA-S or mesh key distributor MKD that it is capable of reaching, but for a plurality of nodes responsible for authentication AAA-S; MKD, generally all of which can be reached by the respective node. 
         [0058]    The process disclosed by the invention for such a case is such that, first, a comparison is made of the nodes intended for authentication AAA-S; MKD known to both mesh nodes MP-A; MP-B. 
         [0059]    In order to identify the nodes intended for the authentication function MKD, AAA-S and the unique assignment of the respective metrics determined to them, the “MKD identifiers” or the MAC addresses of the nodes intended for the authentication function can be used. 
         [0060]    To this end, each of the two mesh nodes MP-A; MP-B compares the nodes known to it that are intended for the authentication function AAA-S; MKD with those of the respective other mesh node MP-A; MP-B. The respective nodes intended for the authentication function can be made known to one another in advance via a message, in particular in the form of an “announcement”. 
         [0061]    An advantage of this procedure disclosed by the invention is that, if there is a match, fast, mesh net-internal authentication is possible. 
         [0062]    According to the invention, therefore, an intersection is formed from the nodes reported that are intended for the authentication function AAA-S; MKD, which contains the nodes intended for the authentication function AAA-S; MKD that were reported by both mesh nodes. 
         [0063]    From this intersection, in accordance with the core idea disclosed by the invention, the node intended for the authentication function AAA-S; MKD is selected that shows the best metric, and the role of authenticator is assigned to the node MP-A; MP-B for which this metric was determined for its connection to the selected node performing the authentication function AAA-S; MKD. 
         [0064]    The invention also takes into account the case in which no joint node intended for the authentication function AAA-S; MKD exists, i.e., that the intersection is empty. In this case, thus, the node intended for the authentication function AAA-S; MKD with the best metric of all AAA-S; MKD reported is selected, with, in turn, the node MP-A; MP-B becoming the authentication, for the connection of which to the selected node AAA-S; MKD performing the authentication function this metric was determined. 
         [0065]    An additional advantage arises from the fact that fewer resources are used for authentication in the mesh network compared to the procedure known from prior art, as the authentication messages in accordance with the invention are always transported over a more efficient path within the mesh network. 
         [0066]    In the exemplary embodiment shown in  FIG. 2  for the possible variants described above, which were kept relatively simple for better understanding, it is assumed that the first node MP-A and the second node MP-B want to establish a link in the first step. 
         [0067]    In the second step, both nodes MP-A; MP-B then signal the respective other in the exemplary embodiment selected, for example, the distance MKD-DISTANZ1; MKD_DISTANZ2 as a metric, i.e., the number of hops to the mesh key distributor MKD. 
         [0068]    The drawing shows that a first metric MKD-DISTANZ1 is 3 (hops) for the first node MP-A and a second metric is 2 hops for the second metric MKS-DISTANZ2. 
         [0069]    In accordance with the invention, in the exemplary embodiment, the one of the two mesh nodes MP-A; MP-B that has the better metric (lesser value) becomes the authenticator. To this end, the metric values are compared, with the selection criterion being the smaller number of necessary hops in this example, such that, in accordance with the exemplary embodiment, therefore, the second node MP-B is assigned the authenticator role.