Reining in file system access is hard to get right, even forOpenBSD developers. In a message to tech@ titledopenat(2) is mostly useless, sadlyTheo de Raadt (deraadt@) describes how theopenat(2)family of system calls has failed to live up to expectations in practice,and he proposes changes that may improve the situation.Theo writes,
Recently, Crystal Kolipe found that attachingsoftraidvolumes as read-only devices did not work.Then what to do?Fix the code and make it work, of course!The full story is available asStay, (write), protected!",taking us through the steps of adding a feature toOpenBSD. Enjoy!
A new profiling subsystem is now in OpenBSD-current, from the hands of none other than Theo de Raadt (deraadt@) himself.A longish sequence of commitsintroducedthechangesincrementally,with asummary as follows:
Are you an OpenBSD user with a low power device such as aPC EnginesAPU2,with one or moreem(4)network interfaces?Darren Tucker (dtucker@) has a new diff out that may be of use to you,posted in amessageto tech@:
Our favorite operating system is in the process of aquiring Encapsulated Remote Switch Port Analyzer (ERSPAN) support, in the form of a new virtual network interface, dubbed erspan(4).An early version of the code, but possibly close to being ready for further development in-tree waspresentedby David Gwynne (dlg@) in amessage to tech@:
A longdiscussionon tech@(initiated by asuggestion/patch from Jesper Wallin)has culminated in Damien Miller (djm@)committingchanges which increase security by taking advantage of the use ofunveil(2)elsewhere in the OpenBSD ecosystem:
Klemens Nanni (kn@) hascommittedthe his proposed change[Seeprevious article]such that theOpenBSD installer now prefers disks over 1GBwhen prompting for the root disk.The commit message explains the change:
You can tell it's right after a release is cut when new ideas are fielded in patches to tech@.One such small but potentially important change that is being aired now is achangeto the installer to suggest the larger one when several disks are available. Klemens Nanni (kn@) describes the motivation for the change as
In apostto tech@,Martin Pieuchot (mpi@)has requested testing of a diff (against -current) to enablerunning the upper part of the fault handler in parallel:
As we saw recently in theGraphed and measured: running TCP input in parallelstory, Alexander Bluhm (bluhm@) has been working on parallel TCP input, finally making tcp_input() MP-safe.This work has now beencommitted,
The OpenBSD project hasannouncedOpenBSD 7.7,its 58 release.The new releasecontains a number of significant improvements, including but certainlynot limited to:
Our favorite operating system may be on the verge of having a LLDP(Link Layer Discovery Protocol)daemon added to the base system. David Gwynne (dlg@) is circulating a patch on tech@ that introduces the daemon,
Theo de Raadt (deraadt@) updated the versionofOpenBSD-current to "7.7-current".Those running the latest-and-greatest[via a sufficiently new snapshot or built from source]no longer need to use"-D snap" withpkg_add(1)(andpkg_info(1)).
If you have ever been irked by having to enter a sequence of sysctl(8) commands to achieve things like enabling forwarding for IPv4 and IPv6 both, help is at hand.In a recent commit, Klemens Nanni (kn@) added functionality to have the classic command read multiple settings from a file:
We (undeadly.org editors) had not noticed ourselves, but Will Backman wrote in about the news that some OpenBSD code -- openrsync -- had been made available to a wider audience, courtesy of Apple:
TheOpenBSD7.7 release cycle is entering its final phases...With the followingcommit,Theo de Raadt (deraadt@) moved -current to version 7.7(dropping the "-beta"):
Hitherto,fw_update(8)has gathered system information largely from/var/run/dmesg.boot(on the host on which it is invoked).Andrew Hewus Fresh (afresh1@) hascommitted a changewhich allowsspecifyinganarbitrary dmesg file.The commit message explains the rationale:
The OpenBGPD project (essentially a subproject of the OpenBSD project), have released their latest work in the OpenBGPD 8.8 release.The release announcement reads,
As announced by Job Snijders on the FediVerse rpki-client 9.4 has been released.The complete release notes from https://cdn.openbsd.org/pub/OpenBSD/rpki-client/rpki-client-9.4.txt are below:Read more...
There has long been some concern in the networking communities, particularly the routing security part, about the use of very long lived Trust Anchor (TA) certificates in routing infrastructure. Today Job Snijders (job@) commited code torpki-client(8)to implement a gradual phase in of a stricter policy on TA certificates lifetimes.The commit message reads,