Commit Graph

22 Commits

Author SHA1 Message Date
Aminda Suomalainen a581ee2dd5
rm etc/sysctl.d/99-enable-ipv6.conf
Refer to crontab, yggdrasil.service.d and nordvpn.service.d
2024-03-29 08:57:35 +02:00
Aminda Suomalainen 7d48ac8a1a
sysctl.d/99-enable-ipv6.conf: workaround NordVPN 2024-03-12 17:55:32 +02:00
Aminda Suomalainen e9fcfbb1c3
sysctl.d/99-ssd-swappiness.conf: add reminder on earlyoom 2022-06-24 23:15:59 +03:00
Aminda Suomalainen 3c23a31d18
etc/sysctl.d: add 99-ssd-swappiness.conf (and .gitignore)
The default 99-sysctl.conf doesn't have to be here, it's a symlink to
top directory anyway.
2022-06-13 17:20:53 +03:00
Aminda Suomalainen 61ad1e935b
00-ptrace-restricted.conf: set to 3
I cannot remember when I last needed it and this makes Edgium
about:sandbox happy
2021-09-06 18:45:38 +03:00
Aminda Suomalainen a9f34a8d1c
sysctl/questionable: 99-nonlocalbind.conf
Resolves: #55
2021-06-27 17:43:34 +03:00
Aminda Suomalainen 0c5413171f
sysctl.d: add 00-max-ipv6-route.conf 2021-06-20 00:42:24 +03:00
Aminda Suomalainen c73d7a3a0c
sysctl.d: 00-magicsysrq.conf -> 60-magicsysrq.conf
Otherwise Fedora seems to overwrite it with priority 50 file
2021-06-19 15:49:27 +03:00
Aminda Suomalainen 3b99675a34
etc/sysctl.d: go through, mkdir questionable/
Resolves: #93
2021-06-19 15:41:49 +03:00
Aminda Suomalainen 93823eabd6
sysctl.d: add 23-starts-unprivileged-ports.conf
Self-explanatory within comments. Link list notes to selves contributing
into this version:

* https://kernelnewbies.org/Linux_4.11
* https://stackoverflow.com/a/51439516
* https://stackoverflow.com/questions/413807/is-there-a-way-for-non-root-processes-to-bind-to-privileged-ports-on-linux#comment90027734_51439516
* https://developer.apple.com/forums/thread/674179
* https://news.ycombinator.com/item?id=18302380
* https://security.stackexchange.com/q/242859
* https://stackoverflow.com/questions/413807/is-there-a-way-for-non-root-processes-to-bind-to-privileged-ports-on-linux#comment90027734_51439516
2021-06-12 21:52:39 +03:00
Aminda Suomalainen 8155bec959
sysctl.d: add 00-quic-go-udp-receive-buffer.conf
So I will remember it's existence
2021-02-13 09:36:28 +02:00
Aminda Suomalainen 60899ca667
etc/sysctl.d: add kernel.yama.ptrace_scope = 1 2020-02-12 22:36:17 +02:00
Aminda Suomalainen 3e325cca03
etc/sysctl.d: add 00-local-userns.conf with warnings/rant 2020-02-12 22:00:11 +02:00
Aminda Suomalainen 284a50288c
sysctl.d: document privacy extensions & use double # for comments 2019-02-26 20:32:08 +02:00
Aminda Suomalainen 446c5c14ab
sysctl: don't touch vm.swappiness
I think my distribution is more capable of choosing a reasonable value
and I am not confident in understanding it enough.
2018-04-20 12:32:46 +03:00
Aminda Suomalainen 314a03ee24
sysctl: increase vm.swappiness to 10 2016-07-25 17:01:12 +03:00
Aminda Suomalainen 36b99e8679 sysctl: enable Magic SysRq key 2016-03-03 16:12:33 +02:00
Aminda Suomalainen c772dd308f sysctl.d: 40-ipv6.conf 2016-02-04 11:45:03 +02:00
Aminda Suomalainen 6cb22a6de2 sysctl/60-mikaela.conf: mention systemd-networkd 2015-06-24 16:09:05 +03:00
Aminda Suomalainen a5de194c6f fix sysctl.d/60-mikaela.conf
EUI-64, not SLAAC & privacy extensions for all
2015-06-24 15:12:11 +03:00
Aminda Suomalainen 9ac3c776d7 sysctl.d: net.ipv6.conf.default.use_tempaddr 2015-05-14 19:04:35 +03:00
Aminda Suomalainen 3b976e3cd4 move sysctl from \*rc functions to etc/sysctl.p/ 2015-04-22 22:20:30 +03:00