Skip to content

Commit 870d762

Browse files
committed
change default queue to 512
1 parent f0288ea commit 870d762

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

audisp/plugins/af_unix/af_unix.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ active = no
99
path = /sbin/audisp-af_unix
1010
type = always
1111
args = 0640 /run/audit/audispd_events string
12-
# To change the queue depth from the default of 800, append the value:
12+
# To change the queue depth from the default of 512, append the value:
1313
# args = 0640 /run/audit/audispd_events string 1000
1414
format = binary

audisp/plugins/af_unix/audisp-af_unix.8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ audisp-af_unix \- plugin to push audit events to an af_unix socket
99
.B args
1010
line of the
1111
.B af_unix.conf
12-
file expects three arguments: access mode, socket path, and output format, and optionally a fourth argument specifying the queue depth. The access mode determines the permissions for the socket and defaults to 0640. The socket path specifies where the socket will be created, with the default location being /run/audit/audispd_events. The output format determines the format in which events are delivered to the socket and supports two options: "string" and "binary". The "string" format delivers events in a human-readable form, while the "binary" format delivers events in their binary representation, which is essential for applications that need to process events in binary and reconstruct headers accurately. If the output format is not specified, the plugin defaults to the "string" format. If no queue depth is specified, it defaults to 800.
12+
file expects three arguments: access mode, socket path, and output format, and optionally a fourth argument specifying the queue depth. The access mode determines the permissions for the socket and defaults to 0640. The socket path specifies where the socket will be created, with the default location being /run/audit/audispd_events. The output format determines the format in which events are delivered to the socket and supports two options: "string" and "binary". The "string" format delivers events in a human-readable form, while the "binary" format delivers events in their binary representation, which is essential for applications that need to process events in binary and reconstruct headers accurately. If the output format is not specified, the plugin defaults to the "string" format. If no queue depth is specified, it defaults to 512.
1313

1414
The
1515
.B af_unix.conf

audisp/plugins/af_unix/audisp-af_unix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ int inbound_protocol = -1;
6969
static struct mallinfo2 last_mi;
7070
#endif
7171

72-
#define DEFAULT_QUEUE_DEPTH 800
72+
#define DEFAULT_QUEUE_DEPTH 512
7373
#define QUEUE_ENTRY_SIZE MAX_AUDIT_EVENT_FRAME_SIZE+1
7474

7575
static size_t queue_depth = DEFAULT_QUEUE_DEPTH;

0 commit comments

Comments
 (0)