9.4 Ensure the KeepAliveTimeout Is Set Properly

Information

The 'KeepAliveTimeout' directive specifies the number of seconds Apache will wait for a subsequent request before closing a connection that is being kept alive.

Rationale:

Reducing the number of seconds that Apache HTTP server will keep unused resources allocated will increase the availability of resources to serve other requests. This efficiency gain may improve a server's resiliency to DoS attacks.

Solution

Perform the following to implement the recommended state:

Add or modify the 'KeepAliveTimeout' directive in the Apache configuration to have a value of '15' or less.

KeepAliveTimeout 15

See Also

https://workbench.cisecurity.org/files/2378

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CSCv6|9, CSCv7|5.1

Plugin: Unix

Control ID: 2b28b2c9de62641417818ebbdd010151bf6d29b84795f85fe0efc5ad5080f7c0