NETWORK TRAFFIC ANALYSIS USING A FLOW TABLE

Information

  • Patent Application
  • 20120207024
  • Publication Number
    20120207024
  • Date Filed
    April 20, 2012
    12 years ago
  • Date Published
    August 16, 2012
    12 years ago
Abstract
A device may receive a data unit at a line interface of a network device, convey the data unit to a first component in the line interface, update a flow table in the first component based on the data unit, send a message to a second component in the network device, the message describing the update to the flow table, and forward the data unit from the first component to another line interface in the network device.
Description
BACKGROUND

Network devices, such as switches or routers, may be used not only to route and/or switch packets to their destinations at different network layers, but also to collect information related to clients, applications and traffic statistics in the network.


SUMMARY

According to one aspect, a method may include receiving a data unit at a line interface of a network device, conveying the data unit to a first component in the line interface, updating a flow table in the first component based on the data unit, sending a message to a second component in the network device, the message describing the update to the flow table, and forwarding the data unit from the first component to another line interface in the network device.


According to another aspect, a network device may include a line interface. The line interface may include a visibility processor and a component that include a flow table. The component may be configured to buffer a data unit that is received at a line interface, locate a record of a flow associated with the data unit in the flow table, modify the record in the flow table based on the data unit, and send an update message to a visibility processor, the update message indicating a change in the record. The visibility processor may be configured to aggregate flow records in a shadow table in accordance with the update message.


According to yet another aspect, a device may include means for buffering a data unit that is received at a line interface, means for locating a record of a flow associated with the data unit, means for changing the record based on the data unit, and means for sending an update message to a visibility processor, the update message indicating the change in the record. The device may further include means for aggregating flow records in accordance with the update message at the visibility processor and means for receiving the aggregated flow records from the visibility processor.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a diagram of an exemplary network in which concepts described herein may be implemented;



FIG. 2 is a block diagram of an exemplary network device of the exemplary network of FIG. 1;



FIG. 3 is a functional block diagram of the exemplary controller of FIG. 2;



FIG. 4 is a functional block diagram of the exemplary line interface of FIG. 2;



FIG. 5 is a block diagram of the exemplary flow table of FIG. 4;



FIG. 6A is a flow diagram of an exemplary process for updating the flow table of FIG. 5;



FIG. 6B is a flow diagram of an exemplary process for sending messages from a fabric interface when the flow table of FIG. 5 is updated;



FIG. 7 is a block diagram of an exemplary message that carries a flow record;



FIG. 8 is a block diagram of an exemplary message that carries a sample data unit; and



FIG. 9 illustrates an example of the management of the flow table of FIG. 5.





DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

The following detailed description refers to the accompanying drawings. The same reference numbers in different drawings may identify the same or similar elements.


In the following, a network device may employ a flow table to manage information about data units (e.g., packets). The flow table may include information related to flows (e.g., a number of packets that are received at a device in a period of time, where the packets have the same source and destination addresses and port numbers). Because information that has been obtained by a forwarding module for routing or switching data units is easily incorporated into the flow table, the flow table may be updated and managed with minimal latency to routing and/or switching. In addition, because flow tables may be uniformly located at points where all data units flow through, the flow tables may be used to collect and manage flow statistics and samples (e.g., copies) of data units homogenously and therefore, conveniently.


The term “data unit,” as used herein, may refer to a packet, datagram, cell, a fragment of a packet, or other types of data that may be carried at a specified communication layer. The term “sample” or “sample data unit,” as used herein, may refer to a full copy or a partial copy of the data unit.


The term “visibility,” as used herein, may refer to availability of information/data about data units to users, non-local components, external devices, and/or users. Furthermore, the term “visibility engine” may refer to a hardware/software component for obtaining the information/data from the data units. The information/data may or may not require further processing before the information/data is rendered available to an application, a device, or a user.


The term “source,” as used herein, may refer to a node (e.g., network node, a network socket, etc.) from which data units emerge. The term “destination,” used herein, may refer to a node to which the data units are sent. A source or a destination may be a logical network source or destination that is associated with one or more identifiers, such as an Internet Protocol (IP) address, a port number, etc. The term “flow,” as used herein, may refer to a stream of data units from a source to a destination. A flow may or may not have a start time (e.g., time when a flow begins) and/or an end time (e.g., time when the flow terminates). As used herein, the term “flow statistics” may refer to information about a flow, such as a byte count, a number of data units, a start time, etc. The term “shadow,” as used herein, may refer to an object that reflects the contents of an original object over a time period. For example, a shadow of a cache may include information that has been temporarily placed in the cache over several minutes. A shadow may include items that are no longer in the original. A shadow, thus, may accumulate the contents of a given object over time.


In the following, data units that are received at a network device may be placed in a flow table. The flow table may include flow statistics, which may be conveyed to a processor. The processor may aggregate and/or export the flow statistics to a visibility engine and/or other components.


In addition, some of the data units that are used to update the flow table may be sampled and sent to the visibility engine. The visibility engine may inspect the samples and forward the result of the inspection to the processor, to be correlated with the flow statistics. The flow statistics and/or the result of the inspection may be used for many applications, such as network planning, troubleshooting, virus/worm detection, packet latency measurements, etc.



FIG. 1 is a diagram of an exemplary network 100 in which concepts described herein may be implemented. Network 100 may include the Internet, an ad hoc network, a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), a cellular network, a public switched telephone network (PSTN), any other network, or combinations of networks.


As shown, network 100 may include N network devices 102-1 through 102-N (collectively referred to herein as “network device 102”). Each of network devices 102-1 through 102-N may include a switch, a router, a server, and/or another type of device. While network devices 102 may be implemented as different types of devices, in the following paragraphs, network devices 102 will be described herein in terms of a router or a switch.



FIG. 2 is a block diagram of an exemplary network device 102. As shown, network device 102 may include a controller 202, M line interfaces 204-1 through 204-M (collectively referred to herein as “line interface 204”), a switch fabric 206, and a communication path(s) 208. Depending on implementation, network device 102 may include additional, fewer, or different components than those illustrated in FIG. 2. For example, in one implementation, network device 102 may include modules for rendering network services, such as a firewall service, a load balancing service, etc.


Controller 202 may include devices for managing routes, flow statistics, and/or types of information that demand centralized processing. Controller 202 may manage routes (e.g., accept or disseminate routes) in accordance with routing/signaling protocols. In addition, controller 202 may receive and process flow statistics from other components of network device 102 (e.g., line interface 204).


Line interfaces 204-1 through 204-M may include devices for receiving data units from devices in network 100 and for transmitting the data units to other devices in network 100. In addition, each of line interfaces 204-1 through 204-M may perform data unit forwarding, data unit classification, internal redirection of data units to other components in network device 102, and/or extraction and management of a flow table and samples from data units.


Switch fabric 206 may include switches for conveying data units from line interfaces 204-1 through 204-M or other modules (not shown) to others of line interfaces 204 or the other modules. Communication path(s) 208 may provide an interface through which components of network device 102 can communicate with one another.



FIG. 3 is a functional block diagram of controller 202. As shown, controller 202 may include a routing engine 302 and a visibility engine 304. Depending on implementation, controller 202 may include additional, fewer, and/or different components than those illustrated in FIG. 3.


Routing engine 302 may include hardware and/or software for communicating with other routers to gather and store routing information. Visibility engine 304 may include one or more devices for performing traffic analysis. Visibility engine 304 may receive sample data units from line interface 204, process/analyze the samples (e.g., identify applications associated with the samples), and/or send the processed samples to line interface 204.


Visibility engine 304 may use some of the samples for deep data unit inspection. The deep data unit inspection may entail examining data units for non-compliance with communication protocols, security violations (e.g., virus, intrusion, etc.), and/or features that warrant further statistical analysis. In addition, visibility engine 304 may import processed flow statistics from line interface 204.



FIG. 4 is a functional block diagram of exemplary line interface 204. As shown, line interface 204 may include a forwarding module 402, a classification table 404, a forwarding table 406, an access control list (ACL) 408, a visibility processor 410, and a fabric interface 412. Depending on implementation, line interface 204 may include fewer, additional, or different elements than those illustrated in FIG. 4.


Forwarding module 402 may include hardware and/or software for forwarding and/or classifying a data unit that is received at line interface 204. Forwarding module 402 may perform a lookup in classification table 404, forwarding table 406, and/or ACL 408, and may obtain a data unit descriptor that includes a forwarding address (e.g., a destination switch fabric port, a destination network port, etc.). In addition, forwarding module 402 may augment the data unit by appending the data unit descriptor to the data unit, and either forward the data unit to one of line interfaces 204-1 through 204-M. In different implementations, forwarding module 402 may include other components, such as flow table 414.


Classification table 404 may include rules for categorizing a data unit based on a data unit header. Examples of classification rules may include rules for performing an ACL lookup (e.g., if a field in a data unit header is one of specified values, perform a lookup in ACL 408), for performing a policy based routing (e.g., if a data unit header is a telephony data unit, route the data unit from X to Y via an asynchronous transfer mode (ATM) circuit), and for rendering differentiated quality of service (QoS). Forwarding table 406 may include information for identifying an egress line interface to forward an incoming data unit to a network node based on the data unit's network destination address. ACL 408 may include a list of rules that detail services or service ports that are available on network device 102.


Visibility processor 410 may include hardware and/or software for managing flow records and correlating the flow records with sample data units from visibility engine 304. In managing flow records, visibility processor 410 may receive flow statistics from fabric interface 412, aggregate and/or maintain the flow statistics in records of a shadow table, and export the aggregated flow statistics to another component in network device 102 (e.g., visibility engine 304), or alternatively, to a network element that is external to network device 102.


Visibility processor 410 may aggregate the flow statistics based on various parameters, such as a communication protocol, a port number, source and/or destination addresses, a source/destination address prefix, a source/destination autonomous system (AS) prefix, etc. The aggregated flow statistics may be exported to other components in network device 102 or other network devices based on different export schemes (e.g., NetFlow 9.0).


Visibility processor 410 may correlate a flow record with a sample data unit by using a flow table index. An application or a device that receives the flow record and the correlated sample from visibility processor 410 may use the record and the correlated sample to extract other information, such a latency of an application response to a request packet, a number of requests for creating and destroying endpoints of connections per unit time, etc.


Fabric interface 412 may include hardware and/or software for providing an interface to switch fabric 206, sampling data units, and managing the sampled data units and/or flow statistics. Fabric interface 412 may include one or more interfacing buffers (not shown) for temporarily storing augmented data units from forwarding module 402. The buffers may prevent the data units from being dropped if a bottleneck (e.g., a processing delay) develops on a line interface-to-line interface path during data unit transport.


Fabric interface 412 may sample and manage the sampled data units. Depending on control settings, the data units may be sampled in one of several ways. For example, in one setting, a flow may be selected based on a classification rule (e.g., an ACL classification rule), and first T (e.g., an integer) data units in the selected flow may be sampled. Alternatively, given the selected flow, data units may be randomly sampled.


In another setting, one or more flows may be selected randomly, and the first T data units in each of the selected flows may be sampled. Alternatively, for each randomly selected flow, data units may be randomly sampled.


In making a random selection of flows, a hash value of a first data unit header may be compared to a selected value. If the computed hash value of the first data unit header of a new flow matches a selected range of values, then that new flow may be chosen for sampling. The hash function and the selected range of values may be chosen to increase the odds of obtaining statistically significant number of correlated flows.


For example, assume that applying a hashing function to the source and destination addresses of a data unit yields the same hash as applying the hashing function to the destination and source addresses (e.g., the hash is symmetric with respect to the destination address and the source address). In such a case, comparing the hash to the selected range of values may result in the selection of two flows, each of whose source and destination addresses are the destination and source addresses of the other flow. Consequently, data units that belong to the two flows that are part of a transaction between two network endpoints may be sampled.


For example, if a hash is symmetric with respect to addresses 191.178.21.2 and 191.178.3.5, data units whose source and destination addresses are 191.178.21.2 and 191.178.3.5 may be sampled, as well as data units whose source and destination addresses are 191.178.3.5 and 191.178.21.2.


As further shown in FIG. 4, fabric interface 412 may include a flow table 414, in which fabric interface 412 may create, manage, and/or delete records of flow statistics. FIG. 5 is a block diagram of flow table 414. In different implementations, flow table 414 may be included in and handled (e.g., records of flow statistics are created, managed, deleted, etc.) by another component, such as forwarding module 402. In other implementations, flow table 414 may be placed in any position between switch fabric 206 and a point at which forwarding lookup/processing occurs.


As shown in FIG. 5, flow table 414 may include records of flow statistics. Each record 500 may include a flow table index field 502, a source address field 504, a destination address field 506, a source port field 508, a destination port field 510, a protocol field 512, a data unit count/byte field 514, a sample field 516, a time stamp field 518, a received flag field 520, and an aging count field 522. In other implementations, flow record 500 may include additional, fewer, or different fields. For example, flow table 414 may include another time stamp field, for indicating a time of the last update to flow record 500.


Flow table index field 502 may indicate a location of flow record 500 within flow table 414. Source and destination address fields 504 and 506 may contain source and destination addresses (e.g., IP address) that are associated with a flow. Source and destination port fields 508 and 510 may include information indicating source and destination ports (e.g., port 83 for web server) for the flow. Protocol field 512 may indicate a communication protocol (e.g., Transport Control Protocol (TCP)) for the flow.


Data unit/byte fields 514 may indicate the number of data units (e.g., packets) and bytes that have been transferred by the flow. In automated management of flow table 414, data unit/byte fields 514 can be used to ensure sampling and delivery of the first N data units to visibility engine 304, by comparing the contents of data unit/byte fields 514 to N, which may be obtained through a lookup in classification table 404. Sample field 516 may include a bit value that indicates if data units pertaining to the flow are to be sampled. In a different implementation, sample field 516 may contain a target sample size (e.g., the desired number of samples). Time stamp field 518 may indicate the time at which the flow record was created.


Received flag field 520 may indicate whether a data unit has been received. In one implementation, received flag field 520 may be accessed sequentially, and therefore, faster than some other fields of flow record 500. In such a case, received flag field 520 may be used by a process/thread to quickly determine if a data unit that pertains to flow record 500 has just been received.


Aging count field 522 may indicate a remaining time until flow record 500 is aged out (e.g., removed) from flow table 414. In one implementation, during maintenance of flow table 414, if received flag 520 is set, a process/thread for modifying part of flow table 414 may insert a particular value in aging count field 522. If received flag 520 is not set, the process/thread may the value in decrement aging count field 522, unless aging count field 522 contains zero. If aging count field 522 contains zero, flow record 500 may be aged out (e.g., removed) from flow table 414.


Exemplary Process for Updating Flow Table

The above paragraphs describe system elements that are related to devices and/or components for automated management of flow table 414. FIGS. 6A and 6B show exemplary processes 600 and 610 that are capable of being performed by one or more of these devices and/or components.



FIG. 6A is a flow diagram of part an exemplary process 600 for updating flow table 414. Process 600 may begin at block 602, where flow table 414 may be updated based on a received data unit. The update may depend on a header of the data unit and the state of flow table 414 (e.g., flow table is full).


If a portion of a data unit header matches a portion of a flow record in flow table 414, the record may be updated. More specifically, data unit count/byte field 514 may be modified to account for the new data unit. If a portion of the data unit header does not match any corresponding portions of records in flow table 414, and flow table 414 is not full, a new record may be created with fields that are illustrated in FIG. 5. If the portion of data unit header does not match any corresponding portions of records in flow table 414, and flow table 414 is full, flow table 414 may not be modified.


Flow records that have not been updated for longer than a particular duration may be removed from flow table 414 (block 604). Removing the flow records may provide space in flow table 414 for new flow records.


Update messages may be sent (block 606). An update message may include a flow creation message, a flow removal message, a flow loss message, or a long lived message. A flow record creation message and a flow record removal message may be sent by fabric interface 412 when flow table 414 obtains a new flow record and when an old flow record is removed from flow table 414, respectively. A flow record loss message may be sent when flow table 414 is unable to accommodate a new flow record because flow table 414 is full. In one implementation, an update message may be sent as a datagram that is received by visibility processor 410, which may maintain a shadow of flow table 414. A long lived message may be sent periodically to report on the status of flows that are in the flow table for an extended period of time. Long lived messages may permit network device 102 to provide visibility to resource utilization by various applications (e.g., voice over IP (VoIP) applications) when long lived flows are present in flow table 414 (e.g., flows that are associated with VoIP applications).



FIG. 7 is a block diagram of an exemplary update message 700. As shown, update message 700 may include a source and destination Media Access Control (MAC) addresses field 702 for designating source and destination components within network device 102; a sequence number field 704 for indicating the number of different sub-messages that are carried by update message 700; a message type field 706 for indicating the type of message (e.g., a flow record creation message, a flow record removal message, etc.); a flow table index field 708 for indicating the location, in the flow table, at which a flow record may be found; a flow hash field 710 for carrying a hash of a header of the flow record; a time stamp field 712 for indicating the time of the creation of the flow record; address fields 714 for indicating source and destination addresses and/or ports for the flow record; data unit counts/bytes fields 716 for indicating the number of data units and/or bytes that are part of a flow being tracked by the flow record; and a protocol field 718 for indicating a communication protocol that is associated with the flow.


Depending on implementation, update message 700 may include additional, fewer, and/or different fields than those illustrated in FIG. 7. For example, in one implementation, update message 700 may include a hardware descriptor field for carrying format information for


Ethernet header of the data unit. In the same implementation, a flow record removal message may dispense with the address fields.


After flow table 414 is updated and an update message is sent, process 600 may return to block 602, to handle additional data units that arrive at fabric interface 412 and to continue to update flow table 414.


Exemplary Process for Sending a Message When a Flow Table is Updated


FIG. 6B is a flow diagram of an exemplary process 610 for sending a message from fabric interface 412 when flow table 414 is updated. At block 612, a flow record may be checked to determine if a sample data unit associated with the flow record is to be sent. The flow record may be checked when the data unit arrives at fabric interface 412. If a flow record associated with the data unit exists, sample field 516 in the flow record may be examined. Sample field 516 may indicate if the data unit may be sampled.


A sample data unit may be sent if the flow record indicates that the data unit is to be sampled (block 610). As explained in the above description of fabric interface 412, the data unit may be sampled in various ways, depending on control settings of network device 102.


In sending the sample data unit, a copy of the data unit may be encapsulated in a message (e.g., datagram) (see description of message 800 below with respect to FIG. 8) and sent from fabric interface 412 to another component in network device 102, if sample field 516 indicates a sample data unit is to be sampled.



FIG. 8 is a block diagram of an exemplary message 800 that encapsulates a data unit. As shown, the message may include a source and destination MAC addresses field 802 for designating source and destination components within network device 102; a flow type field 804 for indicating a flow type into which the data unit is classified; a flow table index field 806 for indicating the location, in the flow table, at which a flow record associated with the data unit may be found; a flow hash field 808 for carrying a hash of the flow record; a flow data unit number field 810 for tagging a data unit within a flow; a time stamp field 812 for indicating the time of the arrival of the data unit; and the original data unit field 814 for including the contents of the original data unit. Depending on implementation, message 800 may include additional, fewer, or different fields than those illustrated in FIG. 8.


EXAMPLE

The following example, with reference to FIG. 9, illustrates one example of the management of flow table 414. The example is consistent with exemplary processes 600 and 610 described above with reference to FIGS. 6A and 6B.


In the example, as illustrated in FIG. 9, network device 102 includes fabric interface 412, a visibility engine 304, and a visibility processor 410. Furthermore, fabric interface 412 includes flow table 414. In other implementations, flow table 414 may be included in other components, such as forwarding module 402. In the example, assume that a data unit 902 arrives at fabric interface 412.


When data unit 902 arrives at fabric interface 412, flow table 414 is updated. To update flow table 914, a portion of header of data unit 902 is compared to portions of records in flow table 914. A match is found, and data unit count/byte field 514 is modified to reflect the additional number of data units/bytes that data unit 902 contributes to the flow associated with data unit 902.


In addition, sample field 516 indicates that a sample data unit needs to be sent from fabric interface 412. A message with the fields illustrated in FIG. 8 is constructed, and sent to visibility engine 304 for further analysis.


After data unit 902 is processed, no data unit that is part of the flow to which data unit 902 belongs arrives at fabric interface 412. Contents of aging count field 522 are found to be equal to zero. The flow record of the flow for data unit 902 is removed from flow table 414. Furthermore, a flow record removal message with the fields shown in FIG. 7 is assembled and sent to visibility processor 410.


In the above example, fabric interface 412 may manage flow table 414. Because flow table 414 is positioned between switch fabric 206 and the point at which data unit forwarding lookup/processing occurs, information related to data units may be easily incorporated into flow table 414, with minimal latency to routing and/or switching. In addition, because flow table 414 may be uniformly located at points where all data units flow through, the flow table may be used to collect and manage flow statistics and samples (e.g., copies) of data units homogenously and therefore, conveniently.


CONCLUSION

The foregoing description of implementations provides illustration, but is not intended to be exhaustive or to limit the implementations to the precise form disclosed. Modifications and variations are possible in light of the above teachings or may be acquired from practice of the teachings.


For example, while series of blocks have been described with regard to exemplary processes illustrated in FIGS. 6A and 6B, the order of the blocks may be modified in other implementations. In addition, non-dependent blocks may represent acts that can be performed in parallel to other blocks.


It will be apparent that aspects described herein may be implemented in many different forms of software, firmware, and hardware in the implementations illustrated in the figures. The actual software code or specialized control hardware used to implement aspects does not limit the invention. Thus, the operation and behavior of the aspects were described without reference to the specific software code—it being understood that software and control hardware can be designed to implement the aspects based on the description herein.


Even though particular combinations of features are recited in the claims and/or disclosed in the specification, these combinations are not intended to limit the invention. In fact, many of these features may be combined in ways not specifically recited in the claims and/or disclosed in the specification.


No element, act, or instruction used in the present application should be construed as critical or essential to the implementations described herein unless explicitly described as such. Also, as used herein, the article “a” is intended to include one or more items. Where one item is intended, the term “one” or similar language is used. Further, the phrase “based on” is intended to mean “based, at least in part, on” unless explicitly stated otherwise.

Claims
  • 1-25. (canceled)
  • 26. A method comprising: updating, by a first component of a network device, a flow table stored by the network device, the flow table including a plurality of flow records, and updating the flow table including: modifying one or more flow records of the plurality of flow records;sending, by the first component and based on updating the flow table, a message to a second component, of the network device, that differs from the first component, the message including: a flow table index field identifying the modified one or more flow records, andinformation associated with a type of modification to the one or more flow records;obtaining, by the second component and based on the flow table index field and the information associated with the type of modification, information associated with the modified one or more flow records; andaggregating, by the second component and based on the obtained information, the modified one or more flow records.
  • 27. The method of claim 26, further comprising: receiving, by the first component, information associated with a data unit processed by the network device; andthe updating of the flow table further including: updating the flow table based on the received information associated with the data unit.
  • 28. The method of claim 27, the updating of the flow table based on the received information further including: identifying a flow record, of the plurality of flow records in the flow table, based on information included in a header of the data unit, andincreasing a data unit count field and a byte count field in the identified flow record.
  • 29. The method of claim 28, the message further including information indicating when the identified flow record was created.
  • 30. The method of claim 27, the updating of the flow table based on the received information further including: determining, based on the received information, that none of the plurality of flow records is associated with the data unit; andcreating a new flow record based on the received information,the message further including information identifying the new flow record.
  • 31. The method of claim 30, the message further including status information associated with the flow table, the status information indicating whether the flow table is full after creating the new flow record.
  • 32. The method of claim 26, the modifying of the one or more flow records further including: removing a flow record, of the plurality of flow records, from the flow table when the flow record has not been modified during a threshold time period,the message further including information identifying the removed flow record.
  • 33. The method of claim 26, the aggregating of the modified one or more flow records including: aggregating, by the second component, the modified one or more flow records in a shadow table that differs from the flow table.
  • 34. A network device comprising: a first processor to: store a first flow table that includes a plurality of records,modify a record of the plurality of records, andsend, based on modifying the record, an update message to a second processor,the update message including: a notification of modifying the record, andinformation identifying a portion of the first flow table associated with the record; andthe second processor to: access, based on the update message, information associated with the record, andaggregate, based on the information associated with the record, flow records in a second table associated with the second processor, the second table differing from the first flow table.
  • 35. The network device of claim 34, the first processor being further to: determine information associated with a data unit,identify, based on the determined information, a flow associated with the data unit, the first processor selecting the record based on the identified flow, andmodify the record, in the first flow table, based on the determined information associated with the data unit; andthe update message further including at least one of: a source port number associated with the data unit,a destination port number associated with the data unit, ora communication protocol associated with the data unit.
  • 36. The network device of claim 35, the first processor being further to: form, based on the data unit, a sample data unit,send, based on the record in the first flow table, the sample data unit to a third processor that differs from the first processor and the second processor, andthe first processor, when modifying the record based on the determined information associated with the data unit, being further to update the record based on sending the sample data unit to the third processor.
  • 37. The network device of claim 36, the data unit being included in a plurality of data units associated with the flow; the first processor, when forming the sample data unit, being further to: sample a predetermined quantity of data units, of the plurality of data units in the flow, the predetermined quantity of data units including the data unit, andform the sample data unit based on the sampled predetermined quantity of data units.
  • 38. The network device of claim 36, the flow being a first flow, the data unit being a first data unit, and the record being a first record; the first processor being further to: determine a source address and a destination address associated with the first data unit,identify, using the source address and the destination address, a second flow that includes a second data unit being sent from the destination address to the source address,identify a second record, of the plurality of records in the flow record, associated with the second flow,sample the second data unit, andupdate the second record; andthe first processor, when forming the sample data unit, being further to: form the sample data unit further based on the sampled second data unit.
  • 39. The network device of claim 35, the first processor being further to: determine information associated with a plurality of data units that includes the data unit;identify, based on the determined information, a security concern associated with the data unit; andselect the data unit, from the plurality of data units, based on the identified security concern.
  • 40. The network device of claim 34, the first processor, when modifying of the record, being further to: remove the record from the first flow table when the record has not been modified during a threshold time period, andinclude, in the update message, information indicating the removal of the record from the first flow table.
  • 41. The network device of claim 34, the second processor being further to: aggregate flow statistics associated with the second flow table, andexport the aggregated flow records to another network device.
  • 42. A non-transitory computer readable medium comprising: one or more instructions which, when executed by a first processor, cause the first processor to modify one or more flow records, of a plurality of flow records included in a flow table;one or more instructions which, when executed by the first processor, cause the first processor to send, based on updating the flow table and to a second processor, a message including: a field identifying one or more locations in the flow table associated with,respectively, the modified one or more flow records;one or more instructions which, when executed by the second processor, cause the second processor to obtain, based on the field, information associated with the modified one or more flow records; andone or more instructions which, when executed by the second processor, cause the second processor to aggregate, based on the obtained information, the modified one or more flow records.
  • 43. The non-transitory computer readable medium of claim 42, further comprising: one or more instructions which, when executed by the first processor, cause the first processor to receive information associated with a data unit; andthe one or more instructions to modify the one or more flow records further including: one or more instructions which, when executed by the first processor, cause the first processor to identify the one or more flow records, of the plurality of flow records included in the flow table, based on the received information associated with the data unit; andone or more instructions which, when executed by the first processor, cause the first processor to modify the one or more flow records based on the received information associated with the data unit.
  • 44. The non-transitory computer readable medium of claim 42, the one or more instructions to modify the one or more flow records further including: one or more instructions which, when executed by the first processor, cause the first processor to remove a particular flow record from the flow table when less than a threshold number of data units, associated with the particular flow record, have been received during a time period.
  • 45. The non-transitory computer readable medium of claim 42, the one or more instructions to aggregate modified the one or more flow records including: one or more instructions which, when executed by the second processor, cause the second processor to aggregate the modified one or more flow records in a second table that differs from the flow table.
Continuations (1)
Number Date Country
Parent 11923057 Oct 2007 US
Child 13452537 US