Packet Rate Limiting for DoS Attack Mitigation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for detecting and mitigating Denial of Service (DoS) attacks in IP networks are ineffective, particularly in distinguishing between legitimate and spoofed packets, and are not well-suited to handle attacks involving many small packets, leading to system overload and prolonged vulnerability windows.

Innovation Solution

Implementing a packet rate limiting system that configures a packet rate limit for an ACL interface, counting packets, and discarding excess packets to prevent system overload, using a packet rate limit counter and housekeeping processor to enforce rate limiting rules, allowing for fast and efficient detection and mitigation of DoS attacks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual filtering of attack traffic is implemented, then attack mitigation is achieved, but response time increases to minutes and system vulnerability window is prolonged

Engineering Contradiction:
Improveattack mitigation effectivenessVSAvoidresponse time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs automatic packet filtering based on pre-configured rate limits without requiring manual intervention. The router autonomously monitors packet arrival rates and discards excess packets according to the defined policy, eliminating the need for manual filter installation and activation that causes minute-scale delays.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

Rate limit parameters are configured in advance before attacks occur. When traffic exceeds the predetermined threshold, the system immediately activates the filtering action without waiting for detection and manual response, reducing the vulnerability window from minutes to near-instantaneous response.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If byte rate based rate limiting is used, then traffic control is achieved, but effectiveness against attacks with many small packets is reduced

Engineering Contradiction:
Improvetraffic control capabilityVSAvoidDoS attack protection
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system changes the measurement parameter from byte rate to packet rate. By counting the number of packets arriving at the interface rather than measuring total data volume, the system effectively detects and limits attacks composed of many small packets that would be invisible to byte-rate-based mechanisms.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If complex state tracking and multiple timestamps are used for rate limiting, then measurement precision is improved, but implementation complexity increases

Engineering Contradiction:
Improverate measurement accuracyVSAvoidimplementation complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system extracts and uses only the essential information needed for rate limiting - the packet arrival count at the interface. By removing unnecessary state tracking mechanisms and multiple timestamps, the implementation achieves sufficient precision with minimal complexity, using simple packet counters rather than complex measurement systems.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS7436770B2Metering packet flows for limiting effects of denial of service attacks
Publication Date: 2008.10.14 RPX CORP
  • US7436770B2 patent drawing
  • US7436770B2 patent drawing
  • US7436770B2 patent drawing

AI summary

The packet rate limiting method and system is used for detecting and blocking the effects of DoS attacks on IP networks. The method uses an ACL counter that stores an action parameter in the first 3 most significant bits and uses 13 bits as a packet counter. A rate limit is enforced by setting the packet counter to an initial value, and resetting this value at given intervals of time. The action parameter enables the ACL to accept or deny packets based on this rate limit. If the number of packets in the incoming flow saturates the packet counter before the reset time, the packets are denied access to the network until the counter is next reset. The denied packets may be just discarded or may be extracted for further examination.