Laoise Nic Giolla Uidhir on Nostr: a user is arguing with me that setting securelevel on FreeBSD prevents an attacker ...
a user is arguing with me that setting securelevel on FreeBSD prevents an attacker gaining persistence, which... is not even remotely true, but i'm sure we still ship documentation that suggests it is.
i don't think we should remove securelevel, since the basic functionality it provides is fine, but perhaps it needs to be split into a few different sysctls. like one for enforcing file flags, one for device access, one for memory access... the firewall stuff can probably just be ditched.
is there a reason we didn't already do that? it seems like a fairly obvious thing to do.
Published at
2025-12-25 21:40:49 UTCEvent JSON
{
"id": "11a39588f2ec3b2940d8d4b012f01320bfb81b86a9a3060e16ed76cb001f8bb7",
"pubkey": "f52f39fb4838cce2e9a460e6d5abdf7ff8b586de015c3d39871c907b78fb3420",
"created_at": 1766698849,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.bsd.cafe/@lw/115782375818413812",
"web"
],
[
"proxy",
"https://mastodon.bsd.cafe/users/lw/statuses/115782375818413812",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.bsd.cafe/users/lw/statuses/115782375818413812",
"pink.momostr"
],
[
"-"
]
],
"content": "a user is arguing with me that setting securelevel on FreeBSD prevents an attacker gaining persistence, which... is not even remotely true, but i'm sure we still ship documentation that suggests it is.\n\ni don't think we should remove securelevel, since the basic functionality it provides is fine, but perhaps it needs to be split into a few different sysctls. like one for enforcing file flags, one for device access, one for memory access... the firewall stuff can probably just be ditched.\n\nis there a reason we didn't already do that? it seems like a fairly obvious thing to do.",
"sig": "6dcbbea27cf7440f16f3fddccc7805a0b068fbe67b56792d1c2434e9fce59faab1786c6ff9f4758dc5c1781894a28343dc5b3ffee2f2f2011a76b3aa8465bfe7"
}