The present invention relates generally to data communications. More particularly, the present invention relates to custom remote automatic monitoring for network devices.
It is often desirable to remotely monitor network devices such as network switches and the like. One such technique is described in RFC 3577—Introduction to the Remote Monitoring (RMON) Family of MIB Modules. Another technique known as SMON is described in RFC 2613—Remote Network Monitoring MIB Extensions for Switched Networks Version 1.0. While useful, these techniques are limited in the sorts of monitoring that can take place.
In general, in one aspect, the invention features an apparatus comprising at least one port to exchange packets of data with one or more networks; a user interface circuit to establish a plurality of event classification rules, wherein each of the event classification rules describes at least one event characteristic for an event in the apparatus, and wherein at least one of the event classification rules describes a plurality of the event characteristics; an event classifier to identify events having the at least one event characteristic described by any of the packet classification rules; and a plurality of event counters each to count the events identified by the event classifier for a respective one of the event classification rules.
In some embodiments, the event characteristics comprise at least one of the group consisting of: a change in state of one of the ports; a change in state of a memory of the apparatus; a change in state of a processor of the apparatus; a reboot of the apparatus; an interface attribute change; a timeout; a user login; and a user logout. In some embodiments, the event characteristics comprise packet characteristics of the packets of data. In some embodiments, the packet characteristics comprise at least one of the group consisting of: destination addresses of the packets of data; source addresses of the packets of data; types of the packets of data; identifiers of network interfaces of the apparatus receiving the packets of data into the apparatus; identifiers of the network interfaces of the apparatus transmitting the packets of data from the apparatus; data rates of the packets of data; quantities of data in the packets of data; identifiers of network devices in the paths of the packets of data; and times of occurrence of the packets of data. In some embodiments, each of the event classification rules describes an event counter condition and a threshold action, the apparatus further comprising: an action circuit to initiate the respective threshold action for each of the event classification rules when the respective event counter meets the respective event counter condition. In some embodiments, the event counter conditions describe at least one of the group consisting of: an occurrence of a predetermined count of the event counter; a predetermined change in a count of the event counter; and a predetermined change in the count of the event counter during a predetermined interval. In some embodiments, the threshold actions comprise at least one of the group consisting of: implementing a further one of the event classification rules; closing one or more of the ports; changing logical attributes of one or more of the ports; manifesting an alarm indication; and dropping subsequent packets of data having the at least one of the packet characteristics described by the respective event classification rule. In some embodiments, at least one of the event classification rules includes a conditional statement. Some embodiments comprise a network switch comprising the apparatus. Some embodiments comprise a router comprising the apparatus. Some embodiments comprise a network interface controller comprising the apparatus.
In general, in one aspect, the invention features an apparatus comprising: at least one port means for exchanging packets of data with one or more networks; user interface means for establishing a plurality of event classification rules, wherein each of the event classification rules describes at least one event characteristic for an event in the apparatus, and wherein at least one of the event classification rules describes a plurality of the event characteristics; event classifier means for identifying events having the at least one event characteristic described by any of the packet classification rules; and a plurality of means for counting each for counting the events identified by the event classifier means for a respective one of the event classification rules.
In some embodiments, the event characteristics comprise at least one of the group consisting of: a change in state of one of the port means; a change in state of a memory of the apparatus; a change in state of a processor of the apparatus; a reboot of the apparatus; an interface attribute change; a timeout; a user login; and a user logout. In some embodiments, the event characteristics comprise packet characteristics of the packets of data. In some embodiments, the packet characteristics comprise at least one of the group consisting of: destination addresses of the packets of data; source addresses of the packets of data; types of the packets of data; identifiers of network interfaces of the apparatus receiving the packets of data into the apparatus; identifiers of the network interfaces of the apparatus transmitting the packets of data from the apparatus; data rates of the packets of data; quantities of data in the packets of data; identifiers of network devices in the paths of the packets of data; and times of occurrence of the packets of data. In some embodiments, each of the event classification rules describes an event count condition and a threshold action, and the apparatus further comprises: action means for initiating the respective threshold action for each of the event classification rules when the respective event count meets the respective event counter condition. In some embodiments, the event count conditions describe at least one of the group consisting of: an occurrence of a predetermined count of the means for counting; a predetermined change in a count of the means for counting; and a predetermined change in the count of the means for counting during a predetermined interval. In some embodiments, the threshold actions comprise at least one of the group consisting of: implementing a further one of the event classification rules; closing one or more of the port means; changing logical attributes of one or more of the port means; manifesting an alarm indication; and dropping subsequent packets of data having the at least one of the packet characteristics described by the respective event classification rule. In some embodiments, at least one of the event classification rules includes a conditional statement. Some embodiments comprise a network switch comprising the apparatus. Some embodiments comprise a router comprising the apparatus. Some embodiments comprise a network interface controller comprising the apparatus.
In general, in one aspect, the invention features a method for an apparatus, the method comprising: exchanging packets of data with one or more networks; establishing a plurality of event classification rules in accordance with a user interface of the apparatus, wherein each of the event classification rules describes at least one event characteristic for an event in the apparatus, and wherein at least one of the event classification rules describes a plurality of the event characteristics; identifying events having the at least one event characteristic described by any of the event classification rules; and counting the identified events for respective ones of the event classification rules.
In some embodiments, the event characteristics comprise at least one of the group consisting of: a change in state of a port of the apparatus; a change in state of a memory of the apparatus; a change in state of a processor of the apparatus; a reboot of the apparatus; an interface attribute change; a timeout; a user login; and a user logout. In some embodiments, the event characteristics comprise packet characteristics of the packets of data. In some embodiments, the packet characteristics comprise at least one of the group consisting of: destination addresses of the packets of data; source addresses of the packets of data; types of the packets of data; identifiers of network interfaces receiving the packets of data; identifiers of the network interfaces transmitting the packets of data; data rates of the packets of data; quantities of data in the packets of data; identifiers of network devices in the paths of the packets of data; and times of occurrence of the packets of data. In some embodiments, each of the event classification rules describes an event count condition and a threshold action, and the method further comprises: initiating the respective threshold action for each of the event classification rules when a count of the respective identified events meets the respective event count condition. In some embodiments, the event count conditions describe at least one of the group consisting of: an occurrence of a predetermined count of the identified events; a predetermined change in a count of the identified events; and a predetermined change in a count of the identified events during a predetermined interval. In some embodiments, the threshold actions comprise at least one of the group consisting of: implementing a further one of the event classification rules; closing one or more ports of the apparatus; changing logical attributes of one or more ports of the apparatus; manifesting an alarm indication; and dropping subsequent packets of data having the at least one packet characteristic described by the respective packet classification rule. In some embodiments, at least one of the packet classification rules includes a conditional statement.
In general, in one aspect, the invention features a computer program for an apparatus, the computer program comprising: causing the apparatus to exchange packets of data with one or more networks; establishing a plurality of event classification rules in accordance with a user interface of the apparatus, wherein each of the event classification rules describes at least one event characteristic for an event in the apparatus, and wherein at least one of the event classification rules describes a plurality of the event characteristics; identifying events having the at least one event characteristic described by any of the event classification rules; and counting the identified events for respective ones of the event classification rules.
In some embodiments, the event characteristics comprise at least one of the group consisting of: a change in state of a port of the apparatus; a change in state of a memory of the apparatus; a change in state of a processor of the apparatus; a reboot of the apparatus; an interface attribute change; a timeout; a user login; and a user logout. In some embodiments, the event characteristics comprise packet characteristics of the packets of data. In some embodiments, the packet characteristics comprise at least one of the group consisting of: destination addresses of the packets of data; source addresses of the packets of data; types of the packets of data; identifiers of network interfaces receiving the packets of data; identifiers of the network interfaces transmitting the packets of data; data rates of the packets of data; quantities of data in the packets of data; identifiers of network devices in the paths of the packets of data; and times of occurrence of the packets of data. In some embodiments, each of the event classification rules describes an event count condition and a threshold action, further comprising: initiating the respective threshold action for each of the event classification rules when a count of the respective identified events meets the respective event count condition. In some embodiments, the event count conditions describe at least one of the group consisting of: an occurrence of a predetermined count of the identified events; a predetermined change in a count of the identified events; and a predetermined change in a count of the identified events during a predetermined interval. In some embodiments, the threshold actions comprise at least one of the group consisting of: implementing a further one of the event classification rules; closing one or more ports of the apparatus; changing logical attributes of one or more ports of the apparatus; manifesting an alarm indication; and dropping subsequent packets of data having the at least one packet characteristic described by the respective packet classification rule. In some embodiments, at least one of the packet classification rules includes a conditional statement.
The details of one or more implementations are set forth in the accompanying drawings and the description below. Other features will be apparent from the description and drawings, and from the claims.
The leading digit(s) of each reference numeral used in this specification indicates the number of the drawing in which the reference numeral first appears.
Embodiments of the present invention provide custom remote automatic monitoring for network devices. In a preferred embodiment, a user interface circuit allows a user to input event classification rules. Each event classification rule describes one or more event characteristics for an event in the network device. Each event classification rule optionally further describes an event counter condition and a threshold action. An event classifier identifies those events occurring in the network device and having the event characteristics described by any of the event classification rules. An event counter associated with each event classification rule is incremented (or decremented) whenever the event classifier identifies an event for that event classification rule. In some embodiments, when an event counter meets the respective event counter condition, the respective action is initiated. The actions can include, for example, manifesting an alarm indication, dropping subsequent packets having packet characteristics described by the respective packet rule, and the like.
Network device 102 can be fabricated as one or more semiconductors, and can be implemented within a network switch, a router, a network interface controller, and the like. Network device 102 comprises one or more ports 108 to exchange packets of data with network 104. Network device 102 further comprises a user interface circuit 110, an event classifier 112, and event counters 114, and an optional action circuit 116, each of which can be implemented using hardware, software, or some combination thereof.
Each of the event classification rules describes at least one event characteristic. Each of the event classification rules optionally further describes an event counter condition and a threshold action.
An event characteristic can describe any occurrence in network device 102. For example, an event characteristic can describe a change in state of a port 108 such as a loss or resumption of connectivity with network 104, a change in spanning tree mode, and the like. As another example, an event characteristic can describe a change in state of a memory or a processor of network device 102, such as a load above a certain percent, reboot/reload events, protocol internal state transitions, and the like. As a further example, an event characteristic can describe an interface attribute change, for example in speed, duplex, VLAN membership, membership in other internal logical groups such as quality of service (QoS) grade, and the like. As a further example, an event characteristic can describe a timeout event in general, or specific to some sub-function, such as how many times in talking to an external time-server or authentication-server a timeout resulted, and the like. As a further example, an event characteristic can describe characteristics of user login and logout, such as number, frequency, duration, time of day, and the like, for network users and system administrators together or separately.
Event characteristics can also describe packet characteristics of the packets sent and/or received by network device 102. The packet characteristics can include any characteristic of the packets, for example such as destination and source addresses of the packets, the type of packets (such as protocol and the like), identifiers of the network interfaces (such as ports, VLANs, and the like) receiving the packets into network device 102, identifiers of the network interfaces transmitting the packets from network device 102, data rates of the packets, quantities of data in the packets, identifiers of other network devices in the paths of the packets, times of occurrence of the packets, and the like.
Each event classification rule can describe more than one event characteristic. For example, an event classification rule could describe TCP SYN packets at a rate exceeding one per second in order to identify and alarm a denial of service attack using this technique.
Unlike conventional remote monitoring technologies, this rule-based approach enables complex rules to be implemented. For example, the event classification rules can include conditional statements such as if-then-else statements, and can even implement other event classification rules. For example, when the number of spanning-tree state changes in a port 108 exceeds a predetermined number, action circuit 116 can not only change the STP timers, but also add a new event classification rule that, when the number of BPDU packets received by that port 108 exceeds a predetermined number, starts forwarding copies of the BPDU's to a look-aside port for analysis.
Event classifier 112 examines each event within network device 102, and examines each packet sent or received by network device 102, and for each event classification rule, identifies the events having the event characteristic(s) described by the event classification rule (step 204). For event classification rules including conditional statements, event classifier 112 employs the conditional statements to identify events.
Each of the event classification rules is optionally associated with an optional event counter 114. Each event counter 114 counts the events identified by event classifier 112 for the associated event classification rule (step 206). When the count of an event counter 114 meets the event counter condition associated with the event classification rule associated with the event counter 114 (step 208), optional action circuit 116 optionally initiates the threshold action for that event classification rule (step 210).
The event counter conditions can describe, for example, an occurrence of a predetermined count of event counter 114, a predetermined change in the count of event counter 114, a predetermined change in the count of event counter 114 during a predetermined interval, and the like. The threshold actions can include, for example, manifesting an alarm indication, for example by sending an email to a system administrator, dropping subsequent packets having packet characteristic(s) described by the event classification rule, and the like. The threshold actions can also include enabling and disabling sub-functions and sub-systems of network device 102, for example by closing a port 108, changing the logical attributes of a port 108, changing quality of service (QoS) settings, and the like.
Referring now to
Referring now to
The HDTV 312 may communicate with mass data storage 315 that stores data in a nonvolatile manner such as optical and/or magnetic storage devices. The HDD may be a mini HDD that includes one or more platters having a diameter that is smaller than approximately 1.8″. The HDTV 312 may be connected to memory 316 such as RAM, ROM, low latency nonvolatile memory such as flash memory and/or other suitable electronic data storage. The HDTV 312 also may support connections with a WLAN via a WLAN network interface 317.
Referring now to
The present invention may also be implemented in other control systems 322 of the vehicle 318. The control system 322 may likewise receive signals from input sensors 323 and/or output control signals to one or more output devices 324. In some implementations, the control system 322 may be part of an anti-lock braking system (ABS), a navigation system, a telematics system, a vehicle telematics system, a lane departure system, an adaptive cruise control system, a vehicle entertainment system such as a stereo, DVD, compact disc and the like. Still other implementations are contemplated.
The powertrain control system 319 may communicate with mass data storage 325 that stores data in a nonvolatile manner. The mass data storage 325 may include optical and/or magnetic storage devices for example hard disk drives HDD and/or DVDs. The HDD may be a mini HDD that includes one or more platters having a diameter that is smaller than approximately 1.8″. The powertrain control system 319 may be connected to memory 326 such as RAM, ROM, low latency nonvolatile memory such as flash memory and/or other suitable electronic data storage. The powertrain control system 319 also may support connections with a WLAN via a WLAN network interface 327. The control system 322 may also include mass data storage, memory and/or a WLAN interface (all not shown).
Referring now to
The cellular phone 328 may communicate with mass data storage 335 that stores data in a nonvolatile manner such as optical and/or magnetic storage devices for example hard disk drives HDD and/or DVDs. The HDD may be a mini HDD that includes one or more platters having a diameter that is smaller than approximately 1.8″. The cellular phone 328 may be connected to memory 336 such as RAM, ROM, low latency nonvolatile memory such as flash memory and/or other suitable electronic data storage. The cellular phone 328 also may support connections with a WLAN via a WLAN network interface 337.
Referring now to
The set top box 338 may communicate with mass data storage 343 that stores data in a nonvolatile manner. The mass data storage 343 may include optical and/or magnetic storage devices for example hard disk drives HDD and/or DVDs. The HDD may be a mini HDD that includes one or more platters having a diameter that is smaller than approximately 1.8″. The set top box 338 may be connected to memory 342 such as RAM, ROM, low latency nonvolatile memory such as flash memory and/or other suitable electronic data storage. The set top box 338 also may support connections with a WLAN via a WLAN network interface 343.
Referring now to
The media player 344 may communicate with mass data storage 349 that stores data such as compressed audio and/or video content in a nonvolatile manner. In some implementations, the compressed audio files include files that are compliant with MP3 format or other suitable compressed audio and/or video formats. The mass data storage may include optical and/or magnetic storage devices for example hard disk drives HDD and/or DVDs. The HDD may be a mini HDD that includes one or more platters having a diameter that is smaller than approximately 1.8″. The media player 344 may be connected to memory 350 such as RAM, ROM, low latency nonvolatile memory such as flash memory and/or other suitable electronic data storage. The media player 344 also may support connections with a WLAN via a WLAN network interface 351. Still other implementations in addition to those described above are contemplated.
Embodiments of the invention can be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations of them. Apparatus of the invention can be implemented in a computer program product tangibly embodied in a machine-readable storage device for execution by a programmable processor; and method steps of the invention can be performed by a programmable processor executing a program of instructions to perform functions of the invention by operating on input data and generating output. The invention can be implemented advantageously in one or more computer programs that are executable on a programmable system including at least one programmable processor coupled to receive data and instructions from, and to transmit data and instructions to, a data storage system, at least one input device, and at least one output device. Each computer program can be implemented in a high-level procedural or object-oriented programming language, or in assembly or machine language if desired; and in any case, the language can be a compiled or interpreted language. Suitable processors include, by way of example, both general and special purpose microprocessors. Generally, a processor will receive instructions and data from a read-only memory and/or a random access memory. Generally, a computer will include one or more mass storage devices for storing data files; such devices include magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and optical disks. Storage devices suitable for tangibly embodying computer program instructions and data include all forms of non-volatile memory, including by way of example semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM disks. Any of the foregoing can be supplemented by, or incorporated in, ASICs (application-specific integrated circuits).
A number of implementations of the invention have been described. Nevertheless, it will be understood that various modifications may be made without departing from the spirit and scope of the invention. Accordingly, other implementations are within the scope of the following claims.
This application is a continuation of U.S. patent application Ser. No. 12/861,294 (now U.S. Pat. No. 8,305,923), filed Aug. 23, 2010, which is a continuation of U.S. patent application Ser. No. 11/342,481 (now U.S. Pat. No. 7,787,390), filed Jan. 30, 2006. The entire disclosures of the above applications are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
6456624 | Eccles et al. | Sep 2002 | B1 |
6507852 | Dempsey et al. | Jan 2003 | B1 |
6601048 | Gavan et al. | Jul 2003 | B1 |
6674758 | Watson | Jan 2004 | B2 |
6792456 | Hellerstein et al. | Sep 2004 | B1 |
7117191 | Gavan et al. | Oct 2006 | B2 |
7142651 | Ronen et al. | Nov 2006 | B2 |
7185368 | Copeland, III | Feb 2007 | B2 |
7194451 | Chaudhuri et al. | Mar 2007 | B2 |
7231436 | Dalfo et al. | Jun 2007 | B1 |
7239409 | Parry | Jul 2007 | B2 |
7266754 | Shah et al. | Sep 2007 | B2 |
7289988 | Joseph | Oct 2007 | B2 |
7379999 | Zhou et al. | May 2008 | B1 |
7457872 | Aton et al. | Nov 2008 | B2 |
7523137 | Kass et al. | Apr 2009 | B2 |
7653633 | Villella et al. | Jan 2010 | B2 |
7817791 | Mahone et al. | Oct 2010 | B2 |
7925606 | Katzer et al. | Apr 2011 | B1 |
8260907 | O'Sullivan | Sep 2012 | B2 |
20040117624 | Brandt et al. | Jun 2004 | A1 |
20050289226 | Mohammed et al. | Dec 2005 | A1 |
20060095569 | O'Sullivan | May 2006 | A1 |
20060095570 | O'Sullivan | May 2006 | A1 |
20060190310 | Gudla et al. | Aug 2006 | A1 |
20060227997 | Au et al. | Oct 2006 | A1 |
20060242694 | Gold et al. | Oct 2006 | A1 |
Number | Date | Country | |
---|---|---|---|
Parent | 12861294 | Aug 2010 | US |
Child | 13669766 | US | |
Parent | 11342481 | Jan 2006 | US |
Child | 12861294 | US |