mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-20 10:09:29 +01:00
Mikaela Suomalainen
93823eabd6
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
7 lines
452 B
Plaintext
7 lines
452 B
Plaintext
# I mainly care about protecting 22/SSH, and don't see myself using ports
|
|
# below 80 (or 70 if Gopher fans around me get me around to it), the 1024
|
|
# unprivileged start is legacy that Windows and macOS have ended ages ago.
|
|
# Linux 4.11 April 2017, also works for IPv6
|
|
# https://stackoverflow.com/questions/413807/is-there-a-way-for-non-root-processes-to-bind-to-privileged-ports-on-linux#comment90027734_51439516
|
|
net.ipv4.ip_unprivileged_port_start=23
|