HP-UX IPFilter Version 16 Administrator's Guide

5 Configuring and Loading Dynamic Connection Allocation
(DCA) Rules
This chapter describes Dynamic Connection Allocation (DCA). DCA helps protect and mitigate
against DOS attacks where an attacker attempts to overload a system with TCP connection
requests. DCA uses stateful packet inspection to limit the number of incoming TCP connections
to a system.
This chapter describes DCA keywords and syntax. It also contains procedures for changing DCA
rules dynamically and setting DCA mode at startup.
NOTE: On HP-UX 11i v1 systems, DCA is not supported with IPv6 addresses.
This chapter contains the following sections:
“DCA with HP-UX IPFilter” (page 44)
“Overview: DCA Functionality” (page 44)
“DCA Rules Configuration Files” (page 44)
“DCA Rule Syntax and Keywords” (page 45)
“DCA Rule Conditions” (page 45)
“keep limit: Limiting Connections” (page 45)
“return-rst: Returning RESET Packets” (page 46)
“cumulative: Limiting Cumulative Connections” (page 46)
“log limit: Logging Exceeded Connections” (page 46)
“log limit freq: Log Frequency ” (page 47)
“Loading and Modifying DCA Rules” (page 49)
“Updating keep limit Rules” (page 49)
Adding New keep limit Rules” (page 50)
“Integrating keep limit Rules” (page 51)
“Extracting an Individual Rule from a Subnet Rule” (page 51)
“Enabling and Disabling DCA” (page 52)
“Enabling and Disabling DCA Using ipf” (page 52)
“Configuring IPFilter to Enable DCA at System Startup Time” (page 52)
“Using IPFilter Utilities with DCA” (page 52)
“keep limit Rules and Rule Hits” (page 53)
“Monitoring and Allocating Memory for DCA Data” (page 54)
43