Claims
- 1. A method of detecting a denial of service attack on a connection in a digital communications system, the method comprising the steps of:
a) calculating, for a connection establishing packet during a predetermined time interval, a first value using a hash function with source and destination IP addresses, source and destination port numbers and a secret key as input parameters; b) processing a portion of subsequent packets by adding the first value to a second value that is dependent on a sequencing number of each processed subsequent packet and the predetermined time interval to derive respective indexes to a hash table, the hash table having counter values of current, previous and next buckets to which said processed packets are mapped; and c) determining whether there is a denial of service attack by evaluating respective indexes, an attack being indicated when an index value calculated from a processed packet does not point to a current, previous or next bucket that have a counter value greater than zero.
- 2. The method as defined in claim 1 wherein said connection establishing packet has an initial sequence number assigned thereto.
- 3. The method as defined in claim 2 wherein said sequencing number is a sequence number assigned to each said subsequent packet.
- 4. The method as defined in claim 2 wherein said sequencing number is assigned to a connection acknowledgement (ACK) packet.
- 5. The method as defined in claim 1 wherein a connection acknowledgement packet is processed in the same manner as one of said subsequent packets.
- 6. The method as defined in claim 1 wherein said portion of subsequent packets processed is about 1 percent of all subsequent packets received.
- 7. The method as defined in claim 1 wherein the predetermined time intervals are one of continuous sliding windows or non-overlapping sliding windows.
- 8. The method as defined in claim 7 wherein the bucket counts are reset at the end of the predetermined time interval.
RELATED APPLICATION
[0001] This application is a continuation in part application of U.S. Ser. No. 10/158,115 filed May 31, 2002.
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
10158115 |
May 2002 |
US |
Child |
10316883 |
Dec 2002 |
US |