Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../lib/sysctl.d
File: 50-default.conf
# This file is part of systemd.
[0] Fix | Delete
#
[1] Fix | Delete
# systemd is free software; you can redistribute it and/or modify it
[2] Fix | Delete
# under the terms of the GNU Lesser General Public License as published by
[3] Fix | Delete
# the Free Software Foundation; either version 2.1 of the License, or
[4] Fix | Delete
# (at your option) any later version.
[5] Fix | Delete
[6] Fix | Delete
# See sysctl.d(5) and core(5) for documentation.
[7] Fix | Delete
[8] Fix | Delete
# To override settings in this file, create a local file in /etc
[9] Fix | Delete
# (e.g. /etc/sysctl.d/90-override.conf), and put any assignments
[10] Fix | Delete
# there.
[11] Fix | Delete
[12] Fix | Delete
# System Request functionality of the kernel (SYNC)
[13] Fix | Delete
#
[14] Fix | Delete
# Use kernel.sysrq = 1 to allow all keys.
[15] Fix | Delete
# See https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html for a list
[16] Fix | Delete
# of values and keys.
[17] Fix | Delete
kernel.sysrq = 16
[18] Fix | Delete
[19] Fix | Delete
# Append the PID to the core filename
[20] Fix | Delete
kernel.core_uses_pid = 1
[21] Fix | Delete
[22] Fix | Delete
# https://bugzilla.redhat.com/show_bug.cgi?id=1689346
[23] Fix | Delete
kernel.kptr_restrict = 1
[24] Fix | Delete
[25] Fix | Delete
# Source route verification
[26] Fix | Delete
net.ipv4.conf.all.rp_filter = 1
[27] Fix | Delete
[28] Fix | Delete
# Do not accept source routing
[29] Fix | Delete
net.ipv4.conf.all.accept_source_route = 0
[30] Fix | Delete
[31] Fix | Delete
# Promote secondary addresses when the primary address is removed
[32] Fix | Delete
net.ipv4.conf.all.promote_secondaries = 1
[33] Fix | Delete
[34] Fix | Delete
# ping(8) without CAP_NET_ADMIN and CAP_NET_RAW
[35] Fix | Delete
# The upper limit is set to 2^31-1. Values greater than that get rejected by
[36] Fix | Delete
# the kernel because of this definition in linux/include/net/ping.h:
[37] Fix | Delete
# #define GID_T_MAX (((gid_t)~0U) >> 1)
[38] Fix | Delete
# That's not so bad because values between 2^31 and 2^32-1 are reserved on
[39] Fix | Delete
# systemd-based systems anyway: https://systemd.io/UIDS-GIDS.html#summary
[40] Fix | Delete
-net.ipv4.ping_group_range = 0 2147483647
[41] Fix | Delete
[42] Fix | Delete
# Fair Queue CoDel packet scheduler to fight bufferbloat
[43] Fix | Delete
net.core.default_qdisc = fq_codel
[44] Fix | Delete
[45] Fix | Delete
# Enable hard and soft link protection
[46] Fix | Delete
fs.protected_hardlinks = 1
[47] Fix | Delete
fs.protected_symlinks = 1
[48] Fix | Delete
[49] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function