]> git.ipfire.org Git - thirdparty/systemd.git/blame - sysctl.d/50-default.conf
shared: simplify dns_name_hash_func() end of name detection
[thirdparty/systemd.git] / sysctl.d / 50-default.conf
CommitLineData
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
16b65d7f
ZJS
8# See sysctl.d(5) and core(5) for for documentation.
9
10# To override settings in this file, create a local file in /etc
11# (e.g. /etc/sysctl.d/90-override.conf), and put any assignments
12# there.
8f27a221 13
0f59fe51 14# System Request functionality of the kernel (SYNC)
16b65d7f
ZJS
15#
16# Use kernel.sysrq = 1 to allow all keys.
17# See http://fedoraproject.org/wiki/QA/Sysrq for a list of values and keys.
0f59fe51
KS
18kernel.sysrq = 16
19
8f27a221
KS
20# Append the PID to the core filename
21kernel.core_uses_pid = 1
22
23# Source route verification
24net.ipv4.conf.default.rp_filter = 1
1836bf9e 25net.ipv4.conf.all.rp_filter = 1
8f27a221
KS
26
27# Do not accept source routing
28net.ipv4.conf.default.accept_source_route = 0
1836bf9e 29net.ipv4.conf.all.accept_source_route = 0
8f27a221 30
ad8bc9ea
TG
31# Promote secondary addresses when the primary address is removed
32net.ipv4.conf.default.promote_secondaries = 1
1836bf9e 33net.ipv4.conf.all.promote_secondaries = 1
ad8bc9ea 34
e6c253e3
MS
35# Fair Queue CoDel packet scheduler to fight bufferbloat
36net.core.default_qdisc = fq_codel
37
8f27a221
KS
38# Enable hard and soft link protection
39fs.protected_hardlinks = 1
40fs.protected_symlinks = 1