]>
Commit | Line | Data |
---|---|---|
8f27a221 KS |
1 | # This file is part of systemd. |
2 | # | |
3 | # systemd is free software; you can redistribute it and/or modify it | |
4 | # under the terms of the GNU Lesser General Public License as published by | |
5 | # the Free Software Foundation; either version 2.1 of the License, or | |
6 | # (at your option) any later version. | |
7 | ||
8 | # See sysctl.d(5) and core(5) for for details. | |
9 | ||
0f59fe51 KS |
10 | # System Request functionality of the kernel (SYNC) |
11 | kernel.sysrq = 16 | |
12 | ||
8f27a221 KS |
13 | # Append the PID to the core filename |
14 | kernel.core_uses_pid = 1 | |
15 | ||
16 | # Source route verification | |
17 | net.ipv4.conf.default.rp_filter = 1 | |
1836bf9e | 18 | net.ipv4.conf.all.rp_filter = 1 |
8f27a221 KS |
19 | |
20 | # Do not accept source routing | |
21 | net.ipv4.conf.default.accept_source_route = 0 | |
1836bf9e | 22 | net.ipv4.conf.all.accept_source_route = 0 |
8f27a221 | 23 | |
ad8bc9ea TG |
24 | # Promote secondary addresses when the primary address is removed |
25 | net.ipv4.conf.default.promote_secondaries = 1 | |
1836bf9e | 26 | net.ipv4.conf.all.promote_secondaries = 1 |
ad8bc9ea | 27 | |
8f27a221 KS |
28 | # Enable hard and soft link protection |
29 | fs.protected_hardlinks = 1 | |
30 | fs.protected_symlinks = 1 |