Methods and apparatus for tracking data flow based on flow state values
First Claim
Patent Images
1. An apparatus, comprising:
- a memory configured to store a first flow state value from a series of flow state values at a memory location; and
a processor configured to increment the first flow state value to a second flow state value from the series of flow state values, after a first time period from a series of time periods has expired, when a first packet is received and when the first flow state value is less than the second flow state value, the processor configured to associate the memory location with a data flow in which the first packet is included, based on a hash value calculated using at least a portion of the first packet, the processor configured to increment the second flow state value to a third flow state value, after a second time period from the series of time periods and longer than the first time period has expired, when a second packet is received and when the second flow state value is less than the third flow state value,the processor configured to decrement the third flow state value in response to a third time period from the series of time periods expiring, the third time period being longer than the second time period,the processor configured to send, in response to the first flow state value changing to the second flow state value, a notice based on the second flow state value matching a threshold flow state value that indicates a network anomaly.
1 Assignment
0 Petitions
Accused Products
Abstract
In one embodiment, a processor-readable medium storing code representing instructions that when executed by a processor cause the processor to update, at a memory location, a first flow state value associated with a data flow to a second flow state value when at least one of a packet from the data flow is received or the memory location is selected after a time period has expired. At least a portion of the packet is analyzed when the second flow state value represents a flow rate of a network data flow anomaly.
-
Citations
18 Claims
-
1. An apparatus, comprising:
-
a memory configured to store a first flow state value from a series of flow state values at a memory location; and a processor configured to increment the first flow state value to a second flow state value from the series of flow state values, after a first time period from a series of time periods has expired, when a first packet is received and when the first flow state value is less than the second flow state value, the processor configured to associate the memory location with a data flow in which the first packet is included, based on a hash value calculated using at least a portion of the first packet, the processor configured to increment the second flow state value to a third flow state value, after a second time period from the series of time periods and longer than the first time period has expired, when a second packet is received and when the second flow state value is less than the third flow state value, the processor configured to decrement the third flow state value in response to a third time period from the series of time periods expiring, the third time period being longer than the second time period, the processor configured to send, in response to the first flow state value changing to the second flow state value, a notice based on the second flow state value matching a threshold flow state value that indicates a network anomaly. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A processor-readable non-transitory medium storing code representing instructions that when executed by a processor cause the processor to:
-
receive a data packet; associate the data packet with a flow state value after receiving the data packet; associate a data flow in which the data packet is included with a memory location based on a hash value calculated using at least a portion of the data packet; increment the flow state value from a first flow state value to a second flow state value, at a time period, in response to the data packet being associated with the flow state value and when the flow state value is less than the second flow state value; receive an indicator that the time period has expired; decrement the flow state value from the second flow state value to the first flow state value, at a time after the time period, in response to the indicator; conduct deep packet inspection on the portion of the data packet in response to the flow state value matching a threshold flow state value that indicates a network anomaly; and
send a notice indicating the network anomaly. - View Dependent Claims (7, 8, 9, 10, 11)
-
-
12. A processor-readable non-transitory medium storing code representing instructions that when executed by a processor cause the processor to:
-
update, at a memory location and after a time period has expired, a flow state value associated with a data flow when at least one of a packet from the data flow is received or the memory location is selected, the data flow being associated with the memory location based on a hash value calculated using at least a portion of the packet, the update of the flow state value associated with the data flow is based on a progression through a series of flow state values including a first flow state value, a second flow state value, and a third flow state value, the flow state value associated with the data flow is incremented from the first flow state value to the second flow state value when (1) the packet is received, (2) the memory location of the first flow state value is identified based on an index value of the packet, and (3) the first flow state value is less than the second flow state value, the flow state value associated with the data flow is decremented within the series of flow state values from the first flow state value to the third flow state value after the first time period has expired, the flow state value associated with the data flow being a numerical count of a number of data packets that have been transmitted in connection to the data flow; conduct deep packet inspection on at least the portion of the packet in response to the flow state value associated with the data flow matching a threshold flow state value that indicates a network data flow anomaly; and send a notice indicating the network data flow anomaly. - View Dependent Claims (13, 14, 15, 16, 17, 18)
-
Specification