Embodiments of the disclosure relate to the field of communications, and in particular, to a system and method directed to automated firmware updates of network devices.
Over the last decade or so, access points normally are provisions by Information Technology (IT) personnel. For instance, according to a conventional deployment scenario, manufacturers are responsible for providing access points to a service provider. Thereafter, the service provider provisions the access points for a particular customer and then re-labels and re-ships these access points to that customer for deployment. For firmware updates, the service provider normally send technicians to a site to upload or provide necessary firmware to IT personnel who would be responsible for controlling firmware upgrades to network devices. Overall, these upgrade schemes are costly and sometimes may compromise security especially when upgrades are delayed for a prolonged period of time.
The invention may best be understood by referring to the following description and accompanying drawings that are used to illustrate embodiments of the disclosure.
Embodiments of the disclosure are directed to a cloud-based firmware distribution service supporting multiple platforms on multiple network devices (including hierarchical network devices operating as virtual control devices and subordinate network devices). The cloud-based firmware distribution service is adapted to provide firmware checking operations and/or upgrade/downgrade services to subscribed network devices and/or their subordinate network devices. This firmware distribution service may be set to automatically activate after a predetermined period of time has elapsed in order to determine whether firmware updates are necessary and update the firmware accordingly. Alternatively, the firmware update may be prompted by onsite Information Technology (IT).
In general, according to one embodiment of the disclosure, a network device posts a message to a specific uniform resource locator (URL) (e.g., devices.companyA.com/firmware). The message contains one or more of the following elements within the header: (i) an identifier of the current version of the firmware and (ii) device information. The uploaded device information includes one or more of the following: (1) Media Access Control (MAC) address for the network device; (2) serial number for the network device; and/or (3) type (part number) of the network device.
Where the network device is a particular type of device, identified by a mode of operation such as an Independent Access Point (IAP) type, keying material related to a particular version of the firmware may be provided in the header of the message. This keying material enables the network device to get access to legacy firmware images with respect to a specific OEM and version number(s). Hence, the network device is able to obtain upgrades and downgrades of non-current versions of the firmware. An illustrative process in the usage of keying material for firmware updates is shown below:
If the network device is determined to be a subscriber to the cloud-based service, the cloud server may be adapted to conduct an authentication scheme to verify the authenticity of the network device. As an example, a challenge/response exchange may be performed in which the cloud server provides a response message with data (challenge) that is signed with a private key securely contained within the network device. The signed challenge and a pre-stored digital certificate are returned to the cloud server. Once the digital certificate is validated by the cloud server, the server validates the signed challenge by determining whether the signed challenge matches the original challenge using the certificate included in the body of the response message.
Alternatively, in lieu of a challenge/response exchange for authentication described above, the firmware-check and firmware-update messages could be facilitated in a single message, where the server validates the network device's certificate within Secure Socket Layer (SSL) negotiations.
Upon successful validation, the network device may receive a validation-response message indicating that a successful firmware post and response as to whether the current firmware version is the updated version. Other validation-response messages may include successful firmware post and response with an URL to a current firmware update having intermediary versions of the updates or without intermediary versions of the firmware update.
Where the network device and subordinate (downstream) network devices have the same device and/or platform type and run the same firmware version, the network device, operating as a virtual control device, may download the firmware and provide the same to the subordinate network devices. However, for subordinate network devices of different device and/or platform types, the network device provides the URLs for the subordinate network device to use to obtain the updated firmware. One reason that URLs may be provided to the subordinate network device, in lieu of firmware images themselves, is based on the network device having limited storage capacity. This limited storage capacity precludes the network device from storing multiple firmware images needed by the subordinate network devices.
Herein, certain terminology is used to describe features of the disclosure. For example, the term “network device” generally represents electronics that support the receipt and/or transmission of wireless communications including, but not limited or restricted to an Access Point (AP); server; a base station; a data transfer device (e.g., switch, router, bridge, brouter, etc.); communication management device or any device that operates as a conduit for information traveling over a network.
It is contemplated that a network device may include hardware logic, including one or more of the following: (i) processing circuitry; (ii) one or more communication interfaces such as radios (e.g., one or more components that handle the wireless data transmission/reception) and/or physical connectors to support wired connectivity; and/or (iii) a non-transitory computer-readable storage media (e.g., a programmable circuit; a semiconductor memory such as a volatile memory such as random access memory “RAM,” or non-volatile memory such as read-only memory, power-backed RAM, flash memory, phase-change memory or the like; a hard disk drive; an optical disc drive; etc.) or any connector for receiving a portable memory device such as a Universal Serial Bus “USB” flash drive, portable hard disk drive, or the like.
Additionally, the term “logic” is generally defined as hardware and/or software. As hardware, logic may include a processor (e.g., processing circuitry such as a controller, a microprocessor, digital signal processor, a programmable gate array, an application specific integrated circuit, combinatorial logic, etc). As software, logic may be one or more software modules, such as executable code in the form of an executable application, an application programming interface (API), a subroutine, a function, a procedure, an object method/implementation, an applet, a servlet, a routine, a source code, an object code, a shared library/dynamic load library, or one or more instructions. These software modules may be stored in any type of a suitable non-transitory storage medium (described above) or transitory computer-readable transmission media (e.g., electrical, optical, acoustical or other form of propagated signals such as carrier waves, infrared signals, digital signals).
“Firmware” denotes software that controls functionality of the network device. Examples of firmware include software pertaining to an operating system or Basic Input Output System (BIOS) (e.g., boot block).
An “interconnect” is generally defined as a communication pathway established over an information-carrying medium. This information-carrying medium may be a physical medium (e.g., electrical wire, optical fiber, cable, bus traces, etc.), a wireless medium (e.g., air in combination with wireless signaling technology) or a combination thereof. The data transferred over the interconnect may be in accordance with a variety of communication protocols including, but not limited or restricted to those protocols in accordance with WIFi™, various IEEE 802.11 standards (e.g., IEEE 802.11ac, 802.11n, etc.), or the like.
Lastly, the terms “or” and “and/or” as used herein are to be interpreted as inclusive or meaning any one or any combination. Therefore, “X, Y or Z” or “X, Y and/or Z” mean “any of the following: X; Y; Z; X and Y; X and Z; Y and Z; X, Y and Z.” An exception to this definition will occur only when a combination of elements, functions, steps or acts are in some way inherently mutually exclusive.
Certain details are set forth below in order to provide a thorough understanding of various embodiments of the disclosure, albeit the invention may be practiced through many embodiments other that those illustrated. Well-known logic and operations are not set forth in detail in order to avoid unnecessarily obscuring this description.
I. Firmware Distribution Service Architecture
Referring to
Herein, cloud-based service 110 comprises one or more servers 115 that collectively operate to manage firmware updates. In particular, cloud-based service 110 is configured to receive firmware updates from network device manufacturers, sellers and/or network service providers and coordinate seamless firmware updates for network device 120. The distribution of these firmware updates is managed as response messages to periodic firmware-check messages initiated from the network devices 120.
For instance, one or more servers 115 within cloud-based service 110 (hereinafter referred to as “cloud server 115”) are adapted to receive firmware-check messages 130 from network device 120. Each firmware-check message 130 causes cloud server 115 to determine (i) if network device 120 is authenticated as a device that may utilize this service, and (ii) whether network device 120 is loaded with current firmware or whether a firmware update is needed. The message flow for the firmware update is described in
Referring now to
Optionally, network device 120 may include a trusted platform module (TPM) 230 in communication with processor 200 and memory 210 over an interconnect 240. The TPM 230 comprises a digital certificate 250 that includes a serial number and/or MAC address of network device 120. Certificate 250 may be used to verify to cloud server 115 of
II. Configuration of Firmware Files in the Cloud
As shown in
Referring now to
As optional features, dashboard display 400 may feature a device summary 480 that features an organized layout of the parameters for firmware associated with entry 410. Also, dashboard display 400 may also feature an area that lists all of the types of devices that may be implemented with the firmware set forth in device summary 480.
III. Firmware Update Distribution Service Protocols
Referring to
According to one embodiment of the disclosure, message 500 comprises information that identifies (i) message type (firmware-check) 510, (ii) a current firmware version 512 loaded on network device 120, (iii) device information 514 associated with network device 120. Device information 514 may include (1) a Media Access Control (MAC) address for network device 120; (2) a serial number for network device 120; (3) a device type identifier for network device 120; and/or (4) a hexadecimal string value related to a particular version of the firmware. Normally, the hexadecimal string value is generated by the cloud server of cloud-based service 110 when a particular firmware image is uploaded so as to pair the value to the firmware image.
Upon receipt of message 500 and verification that network device 120 subscribes to firmware update distribution service, cloud-based service 110 initiates one or more challenge/response exchanges in order verify that message 500 originated from network device 120. A challenge message 520 comprises a random or pseudo random value that is subsequently operated upon by network device 120 and returned as part of response message 530. Challenge message 520 may further solicit transmission of digital certificate 250 from a trusted platform module (TPM) deployed within network device 120. This challenge/response exchange may be used to prevent “man-in-the-middle” attacks.
Upon receipt of information with response message 530 and successful authentication of network device 120, cloud-based service 110 returns a validation-response message 540 providing desired version of firmware for network device 120 and/or URLs to firmware updates for multiple device types in the event that network device 120 is operating as a virtual control device for other network devices.
As a virtual control device, network device 120 only needs to send a single line for all subordinate network devices, such as access points, controllers, switches, etc., because it is typically assumed that all subordinate network devices 550 are running the same version of software as the virtual control device. In this implementation, as a virtual control device, network device 120 receives a list of URLs with links to download a firmware image corresponding to a particular firmware version for various device types. Hence, firmware update logic 225 of network device 120 can download the firmware image for itself, and allow its subordinate network device(s) to retrieve the firmware image from itself instead of through the link, thereby reducing the network traffic load. A subordinate network device 550 only needs to access the URL to download the firmware if its device type is different from network device 120, or if it changes its virtual control device. During the firmware update process, if it is revealed that the MAC address and serial number combination of subordinate network device 550 is new or is associated with a different virtual control device, then that subordinate device's record should be updated to the new network device.
Thereafter, firmware update logic 225 of network device 120 loads the firmware update and, according to this illustrative embodiment, resets a timer/counter that will prompt network device 120 to post another firmware-check message to cloud server 115 after another predetermined amount of time has elapsed.
Referring now to
A. Network Device's Initial Firmware-Check Post
Network device 120 may be adapted to post to the URL: device.companyA.com/firmware with a keep-alive connection specification containing one or more of the following elements contained within a header 610 of firmware-check message 500:
Header Elements for Firmware-Check Message
Optional Header Elements for Firmware-check message
FW-Key is an optional element, and it is contemplated that FW-Key may only sent by IAPB, namely APs without need of controller connectivity unlike Remote APs (“RAPs”) which are network devices in a controller-based operating mode. This element provides a method for IAPB to get access to images with a specific (OEM, version). Hence, customers that have subscribed for firmware update support are able to upgrade or downgrade to non-current versions. The key (or keying material) is a SHA-1 hashed value, which makes it very difficult for a customer without support to guess the key.
An illustrative embodiment of operational flow of the use of the key is described below:
B. Cloud Server's Response to Initial Firmware-Check Post
Cloud server 115 may be configured to determine the device's authentication state by evaluating the session-id element provided in the posted firmware-check message. Cloud server 115 may be further adapted to respond with a challenge message 520 with a keep-alive connection specification (timeout=15 and max=100) containing one or more of the following elements in header 620:
Header Elements for Response to Firmware-Check Message
Cloud server 115 may respond with an HTTP Status code of 200 indicating the request succeeded. Furthermore, cloud server 115 may record the network device's last contacted information in a device table. Other elements in a device table may be updated also if information received from network device 120 is different than stored: first-seen, mode of operation, controller accessed by network device 120, OS version, boot block version, and/or source IP address (obtained from post message 500 itself).
C. Device's Secondary Firmware-Check Post
Network device 120 may be adapted to post message 530 to the URL: device.companyA.com/firmware with a close connection specification containing one or more of the following elements within header 630 and body 640 of message 530:
Header Elements for Response Message
Body Contents
D. Cloud Server's Validation and Response to Secondary Firmware-Check Post
Cloud server 115 may validate the digital certificate, and thereafter, server 115 may validate that the signed challenge matches the original challenge using the certificate included in the body of the response message.
Cloud server 115 may respond with validation-response message 540 that comprises a header 650 and body 660 with one or more of the following elements:
Header Elements in the Validation-Response Message
Related to Firmware 'Invalid1—the cloud server does not understand or know about the current firmware version.
Related to Authentication
If authentication is successful, cloud server 115 returns the desired or latest version (of firmware) and URLs to those firmware files within the body of validation-response message.
Body Elements in the Validation-Response Message
Cloud server 115 may respond with an HTTP Status code of 200 indicating the request succeeded. Error conditions related to the firmware-check API may be contained within the Status-Code element.
Cloud server 115 may terminate the SSL session immediately after successful response to the provision-update response. Network device 120 may log errors from Status-Code and errors encountered obtaining and applying firmware appropriately in syslog or the Web UI.
E. Retrieving Firmware
Network device 120 is configured to retrieve the firmware updates using HTTP and the URL ascertained in the firmware check described above. This URL may be related to “device.company.com,” namely OEM, retailer, software manufacturer responsible for the firmware. Alternatively, this URL may relate to “fwfiles.company.com,” namely a dedicated firmware server to which firmware updates have been offloaded.
Header Elements for Firmware Retrieval Message
It is contemplated that the retrieval of firmware features only one header element. This information is needed for cloud server 115 to understand which device is retrieving the firmware.
It is further contemplated that network device 120 normally issues firmware-check message 510 that is adapted to obtain the latest version of the firmware. However, where network device 120 operates as a virtual control device, firmware-check message 510 may request a specific version of the firmware that is different from the latest version, where the selected version is based on the version of firmware supported by a cluster (e.g., one or more) of subordinate network devices controlled by network device 120. For instance, if the cluster of subordinate network devices are all running “version 1.2” and a new subordinate network device operating with “version 1.3” attempts to join the cluster, network device 120 issues firmware-check message 510 for “version 1.2” in order to downgrade the new subordinate network device that version of firmware.
IV. Reporting Interface of Firmware Distribution Service
In addition, the cloud-based firmware distribution service displays one or more of the followings to the administrator:
Additional advantages and modifications will readily occur to those skilled in the art. Therefore, the invention in its broader aspects is not limited to the specific details and representative embodiments shown and described herein. Accordingly, various modifications may be made without departing from the spirit or scope of the general inventive concept as determined by the foregoing claims and their equivalents. The descriptions are thus to be regarded as illustrative instead of limiting.
This application claims the benefit of priority on U.S. Provisional Application No. 61/720,871 filed Oct. 31, 2012, the entire contents of which are incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
6199204 | Donohue | Mar 2001 | B1 |
6510466 | Cox et al. | Jan 2003 | B1 |
7069293 | Cox et al. | Jun 2006 | B2 |
7130897 | Dervin et al. | Oct 2006 | B2 |
7146412 | Turnbull | Dec 2006 | B2 |
20050033933 | Hetrick et al. | Feb 2005 | A1 |
20050186952 | Kitajima | Aug 2005 | A1 |
20050228888 | Mihm et al. | Oct 2005 | A1 |
20050229173 | Mihm et al. | Oct 2005 | A1 |
20060075276 | Kataria et al. | Apr 2006 | A1 |
20060119884 | Choi | Jun 2006 | A1 |
20060168368 | Chen et al. | Jul 2006 | A1 |
20060174240 | Flynn | Aug 2006 | A1 |
20070169092 | Lee | Jul 2007 | A1 |
20070174601 | Douglas et al. | Jul 2007 | A1 |
20070260790 | Chen et al. | Nov 2007 | A1 |
20080098381 | Lin | Apr 2008 | A1 |
20080126855 | Higashijima et al. | May 2008 | A1 |
20080127166 | Cockburn et al. | May 2008 | A1 |
20080189693 | Pathak | Aug 2008 | A1 |
20090007136 | Endou | Jan 2009 | A1 |
20090063766 | Matsumura et al. | Mar 2009 | A1 |
20090228740 | Higashijima et al. | Sep 2009 | A1 |
20090249320 | Su et al. | Oct 2009 | A1 |
20110128158 | Chou | Jun 2011 | A1 |
20120036343 | Lee | Feb 2012 | A1 |
20120060152 | Oh et al. | Mar 2012 | A1 |
20120062948 | Nishikawa | Mar 2012 | A1 |
20120117365 | Navy et al. | May 2012 | A1 |
20120198434 | Dirstine et al. | Aug 2012 | A1 |
20120216183 | Mahajan et al. | Aug 2012 | A1 |
20120272226 | Yang et al. | Oct 2012 | A1 |
20130159991 | Sato | Jun 2013 | A1 |
20130227538 | Maruyama | Aug 2013 | A1 |
20130276128 | Konetski et al. | Oct 2013 | A1 |
20130290947 | Li | Oct 2013 | A1 |
20130339938 | He | Dec 2013 | A1 |
20140033188 | Beavers et al. | Jan 2014 | A1 |
20140068342 | Chuang | Mar 2014 | A1 |
20140068585 | Young et al. | Mar 2014 | A1 |
20140068594 | Young et al. | Mar 2014 | A1 |
20140122674 | Gray et al. | May 2014 | A1 |
Entry |
---|
Nurmi, D.; Wolski, R.; Grzegorczyk, C.; Obertelli, G.; Soman, S.; Youseff, L.; Zagorodnov, D., “The Eucalyptus Open-Source Cloud-Computing System,” Cluster Computing and the Grid, 2009. CCGRID '09. 9th IEEE/ACM International Symposium on, pp. 124-131. |
Armbrust, Michael, et al. “A view of cloud computing.” Communications of the ACM 53.4 (2010), pp. 50-58. |
Dikaiakos, M.D.; Katsaros, D.; Mehra, P.; Pallis, G.; Vakali, A., “Cloud Computing: Distributed Internet Computing for IT and Scientific Research,” Internet Computing, IEEE , vol. 13, No. 5, pp. 10-13. |
Armburst et al., “A view of Cloud Computing”, Communications of the ACM, vol. 53, No. 4, Apr. 2010, pp. 50-58. |
Dikaiakos et al.. “Cloud Computing: Distributed Internet Computing for IT and Scientific Research”, IEEE, Internet Computing, Sep./Oct. 2009, pp. 10-13. |
Nurmi et al., “The Eucalyptus Open-source Cloud-computing System”, International Symposium on Cluster Computing and the Grid, IEEE, May 2009, pp. 124-131. |
Number | Date | Country | |
---|---|---|---|
20140123124 A1 | May 2014 | US |
Number | Date | Country | |
---|---|---|---|
61720871 | Oct 2012 | US |