Systemd catches up with bind events
Systemd catches up with bind events
Posted Nov 14, 2020 1:03 UTC (Sat) by dxin (guest, #136611)Parent article: Systemd catches up with bind events
Posted Nov 14, 2020 1:40 UTC (Sat)
by Paf (subscriber, #91811)
[Link] (7 responses)
Posted Nov 14, 2020 8:32 UTC (Sat)
by TheGopher (subscriber, #59256)
[Link] (1 responses)
Posted Nov 15, 2020 20:41 UTC (Sun)
by NYKevin (subscriber, #129325)
[Link]
Perhaps the RFCs of the time could have been written with greater care, but the trouble is that at the time (see RFC 988), they were in the process of designating class D (224.0.0.0/4) as multicast. They didn't know what class E would be used for, so they couldn't just say "treat class E as if it were unicast, unless a later standard says otherwise." For all they knew at the time, they would later want to use class E for some even weirder thing, and unicast processing would have been inappropriate or even harmful. So they just left it as "reserved," and the people who had to actually make the silicon and software decided that "reserved" meant "invalid." IMHO, they didn't really have much of a choice.
In short: From userspace's perspective, "reserved for future expansion" means "I don't know what this value represents, so if the kernel hands it to me, the only not-wrong thing I can possibly do is crash." In some contexts, ignoring the value *might* be not-wrong, but it's hard for userspace to predict that in advance. Regardless, the kernel cannot rely on userspace taking any particular interpretation, because as Linus has previously said, they don't break userspace, even where userspace is wrong.
Posted Nov 14, 2020 9:53 UTC (Sat)
by ballombe (subscriber, #9523)
[Link] (2 responses)
Posted Nov 14, 2020 10:57 UTC (Sat)
by embe (subscriber, #46489)
[Link] (1 responses)
Posted Nov 15, 2020 11:15 UTC (Sun)
by tinko92 (guest, #102129)
[Link]
Posted Nov 18, 2020 9:30 UTC (Wed)
by Cyberax (✭ supporter ✭, #52523)
[Link] (1 responses)
This is actually a thing in TLS. At least several TLS implementations send deliberately non-existing cipher suite names during negotiation to make sure that middleboxes don't encode stuff like "use the first cipher".
Posted Nov 19, 2020 14:49 UTC (Thu)
by kpfleming (subscriber, #23250)
[Link]
Chaos engineering can be quite useful.
Systemd catches up with bind events
Systemd catches up with bind events
Systemd catches up with bind events
Systemd catches up with bind events
"warning: enum RESERVED not handled in switch".
And of course then you add Systemd catches up with bind events
default: abort();
to make the warning go away and everything is fine ;)
Systemd catches up with bind events
Systemd catches up with bind events
Systemd catches up with bind events