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: 24915014ee55cdb4cedf162555867993efd690a4db9297dbd0cc48dd8db8a262