Hi Thomas, Yes, I develop and maintain all of these libraries upstream. They are used in my own commercial work, and they have been used in many shipping games, as well as being the foundation behind the commercial networking library SnapNet (https://snapnet.dev).
I felt that given the security posture of these libraries and OpenBSD's, that they would be a good fit for OpenBSD when running ultra-secure servers, so thank you for taking a look at them. cheers Glenn On Sun, Jul 12, 2026 at 1:42 PM Thomas Frohwein <[email protected]> wrote: > > On Sat, 11 Jul 2026 20:44:13 -0400 > Glenn Fiedler <[email protected]> wrote: > > > Hi ports@, > > > > Attached are four new ports for a family of BSD-3-licensed game > > networking libraries I develop and maintain upstream > > (https://github.com/mas-bandwidth). I'm the upstream author and happy > > to be MAINTAINER for all four. > > > > - devel/serialize -- header-only C++ bitpacking serializer > > (PKG_ARCH=*) > > - net/reliable -- reliability layer (acks, fragmentation, connection > > stats) for UDP-based protocols, plain C > > - net/netcode -- secure client/server connections over UDP with > > connect-token authentication; encrypts with libsodium (uses > > security/libsodium, not the vendored copy) > > - net/yojimbo -- C++ client/server library for real-time multiplayer > > games, built on the three above (builds against the installed > > packages, no vendored code in the package) > > > > Dependency order: serialize, reliable and netcode are independent of > > each other; yojimbo needs all three. Closest existing port in spirit > > is net/enet. > > > > All four build from GitHub release tarballs with the devel/cmake > > module and BUILD_SHARED_LIBS. Upstream supports OpenBSD as of netcode > > 1.3.5 and yojimbo 1.6.3, so no port patches are needed. Each port > > runs the upstream test suite in the test target; all tests pass on > > arm64 on both 7.9-release and the July 10 2026 -current snapshot > > (ports tree from the same date). portcheck and port-lib-depends-check > > are clean, and a demo program builds and runs against the installed > > yojimbo package. > > > > Comments and testing welcome. If it looks OK I'd appreciate a commit. > > > > Thanks! > > Glenn Fiedler > > [email protected] > > Hi, > > This looks interesting. Is there something open source that uses these > libraries, or something in the pipeline? That makes it easier to have > an immediate use case and make sure it works as intended...
