Re: Any particular reason we don't have sshd oomprotected by default?
Alexander Leidinger <[email protected]>
| Newsgroups | gmane.os.freebsd.architechture |
|---|---|
| Organization | No organization, this is a private message. |
| Message-ID | <[email protected]> |
Am 2023-11-09 12:18, schrieb Philip Paeps: > On 2023-11-09 15:54:22 (+0800), Alexander Leidinger wrote: >> We have syslogd oomprotected by default (/etc/defaults/rc.conf). Is >> there a particular reason we don't have sshd protected the same way? >> >> Any objections if I would commit such a change (sshd_oomprotect=YES in >> defaults/rc.conf)? > > I don't have feelings about it either way. It probably makes sense to > optimise for installations that don't have out of band access. > >> I was also thinking about which other daemon we should protect by >> default, but apart from the need to make sure important logs are >> written to find issues which may have caused the oom trigger, and the >> need to be able to login to such a troubled system, I didn't see any >> other service as such critical (we could argue about ntpd, but I send >> to be on the "may be protected" (not for my use cases) and not to be >> on the "has to be protected" side) to include it in this proposal. > > In the FreeBSD.org cluster, we set local_unbound_oomprotect="YES" too. > Without DNS, everything grinds to a halt. Including SSH. https://reviews.freebsd.org/D42544 Bye, Alexander. -- http://www.Leidinger.net [email protected]: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org [email protected] : PGP 0x8F31830F9F2772BF
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmVN8uAACgkQEg2wmwP4 2IYPHA//SuvdPb34B7t9bLoXk4WdWfYxC7+Msfo+8ewdxA3F2JQ+2BOeVDGm3Psb rcOS46goBpG7ksQpg+0CCfh1Po8xOSJoUpKePHE9xdYCwj+hMVz50pElhEunHYN6 Ws/vKSpX+S/yGcFNheoLWUMT6SGutJq1gIjc7nGDccjl9rafxoFpuKur4erm/lyM nreRYmdFfuEwkgYK4ekzbFWh5WTbcxx0dArd7MtjfGFR+V4PwtzZ24jHiq58W6m6 RudkuLM5Bidh5NCBSejQjHqGLY9+Fa90Qnja7RK2hV9DMJ8MRDWGqLRByuGP92Ot 1CRLoU46DcUCmGi7M+4pWBVpd6Wh2hpADnR1JJXbUYj2kDLi4z6LkX//kuczma78 dqZsCgwJxBxovEte9ElxFparS6U6YU0bJpsnyody3oS7kxpZ7UoZ4m2Mn/uvQ1n5 7/PWzgimjDuElOKXONmDCIN+Fq2qHzmmBLbAhrcemFs9S5jLKkCyRApuXKcO8APy v88oT4qk02ANQpMW/0bKgih9hTGq6B3BBU2th1e3zmMbJLK6N5vCnyxo7eJ/2xLu mqOoLKCBUwCBADanTi6zIZdt1s0NPAFU67EtfHK8OM1E7gB+AB2VwdNsoZIOJMa8 4LUF05c/Xoh0ONt97jJx9KGNgMZymuhRk0G5ROHArM0kVHJO5lI= =PSYD -----END PGP SIGNATURE-----