6.12.3 Ensure Local Logging is Set for Firewall Events

Information

Logging data for Firewall Events should be saved to a local file.

Rationale:

The JUNOS Device's built in Firewall (configured under [edit firewall] and discussed in more detail elsewhere in this Benchmark) can be the first line of defense, so the logging it produces can be vital in responding to a security incident as well as a useful tool for diagnosing faults relating to the Firewall.

A local SYSLOG file should be configured to record all firewall related events.

Impact:

Logging of Firewall events may record a large volume of messages. You may wish to specify the size of files to be recorded, the number of zipped older files the JUNOS Devices should keep and automatic archiving settings to appropriate values for the device and environment you are using. Details of the related commands are linked in the References section.

Solution

To configure a local SYSLOG file for Firewall events, issue the following command from the [edit system syslog] hierarchy;

[edit system syslog]
user@host#set file <filename> firewall any

Where <filename> is the file, in the default /var/log/ folder, that should be used to log these messages. You may, for example, choose to call the file firewall, in which case it can be read with the show log firewall command.

Default Value:

SYSLOG for Firewall events is not sent to a separate file by default.

See Also

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

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-3, 800-53|AU-12, CSCv7|6.2

Plugin: Juniper

Control ID: 6a945c11e8ce43a7309d2af511f5067b27f45b98e1aa5307b82a3f8b36cdeb09