mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
sysctl.conf: include PID in file names of generated core dumps
This is recommended by various Linux hardening guides in order to prevent accidential overwriting of existing core dumps. While it has probably little to no relevance to the average IPFire user, enabling it won't harm and fixes a Lynis warning. :-) Signed-off-by: Peter Müller <peter.mueller@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
02489761db
commit
b474e87bb8
@@ -103,3 +103,6 @@ net.ipv4.tcp_fastopen = 3
|
||||
# This protects against various TCP attacks, such as DoS against or injection
|
||||
# of arbitrary segments into prematurely closed connections.
|
||||
net.ipv4.tcp_rfc1337 = 1
|
||||
|
||||
# Include PID in file names of generated core dumps
|
||||
kernel.core_uses_pid = 1
|
||||
|
||||
Reference in New Issue
Block a user