r/freebsd • • 12h ago All Seeing Upvote

news Sovereign Tech Agency commissions additional 464,160 € of FreeBSD Improvements for Enterprise

Thumbnail freebsdfoundation.org
37 Upvotes

r/freebsd • • 9h ago Bravo

news Joint Statement on Recent Advances in Cryptographic and Cybersecurity Capabilities

Thumbnail cisa.gov
43 Upvotes

Just came into my feed. Was announced 24 hours ago (+8 my time). Sharing to notify.

  • Posted Date: 2026-12-03
  • Content Freeze Date: request for comment

TL; DR

UPDATE 2026-10-03 21:16:

Based on Filippo Valsorda (a well-known cryptographer I knew from Go community)'s interpretation, 256-bit elliptic curves (P-256 and Curve25519/X25519/Ed25519) are likely broken or significantly weaker than we thought via a classical attack[16].

This aligned to CloudFlare CEO's statements on Elliptic Curve cryptography. If that is the case, we MUST move up as soon as possible.

Something is seriously cooking in cryptography that it is very rare this many big entities made such a joint statement over the recent Anthropic discovery (refer: references list). *CEO of CloudFlare seems to hint something related to RSA and Elliptic Curve cryptography***[6] and according to him, far worse than RSA-2048 cracking****[5].

  1. FreeBSD already shipped Post-Quantum (PQ) algorithms equipped OpenSSL (refer below's test result).
  2. Let's Encrypt stated PQ algorithm should be production ready by 2027[8].
  3. Nginx already provided examples on how to use PQ algorithm for TLS (refer below's example)[9].
  4. FreeBSD shipped GnuPG with CRYSTAL-Kyber PQ algorithm (encrypt-only) already but you need to create a new sub-key in expert mode (refer example from my test below)[12][13].
  5. FreeBSD shipped PQ Algorithm enabled OpenSSH (>v9.9) (refer tested example below)[14].

Hence, move up as soon as possible whenever you can and first available since the facility are there already. This event is very unusual so it is better to be on "assume the worse" side than taking unnecessary risk.

Screenshot of Matthew Prince, CEO of CloudFlare stated assume anything uses RSA or Elliptic Curve cryptography[6].
Screenshot of Matthew Prince, CEO of CloudFlare stated that the matter is far worse that RSA-2048 cracking[5].

FreeBSD's Latest Shipped OpenSSL on Quarterly

user@machine:~ $ uname -a
FreeBSD machine 15.1-RELEASE-p6 FreeBSD 15.1-RELEASE-p6 releng/15.1-n283643-95719d8a895b GENERIC amd64

user@machine:~ $ openssl --version
OpenSSL 3.5.9 29 Sep 2026 (Library: OpenSSL 3.5.9 29 Sep 2026)
user@machine:~ $ openssl list -kem-algorithms
  SecP384r1MLKEM1024 @ default
  { 1.2.840.10045.2.1, EC, id-ecPublicKey } @ default
  { 1.3.101.110, X25519 } @ default
  { 1.3.101.111, X448 } @ default
  { 2.16.840.1.101.3.4.4.1, id-alg-ml-kem-512, ML-KEM-512, MLKEM512 } @ default
  { 2.16.840.1.101.3.4.4.2, id-alg-ml-kem-768, ML-KEM-768, MLKEM768 } @ default
  { 2.16.840.1.101.3.4.4.3, id-alg-ml-kem-1024, ML-KEM-1024, MLKEM1024 } @ default
  X25519MLKEM768 @ default
  X448MLKEM1024 @ default
  SecP256r1MLKEM768 @ default
  { 1.2.840.113549.1.1.1, 2.5.8.1.1, RSA, rsaEncryption } @ default

user@machine:~ $

NGINX

server {
  listen 443 ssl;
  server_name localhost;
 
  ssl_certificate /etc/ssl/private/localhost.crt;
  ssl_certificate_key /etc/ssl/private/localhost.key;
 
  ssl_protocols TLSv1.3;
  ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1; # PQC + classical curves
 
  location / {
    root /var/www/html;
    index index.html;
  }
}

GnuPG

user@machine:~ $ gpg --version
gpg (GnuPG) 2.5.24
libgcrypt 1.12.4
Copyright (C) 2026 g10 Code GmbH
License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /home/u0/.gnupg
Supported algorithms:
Pubkey: RSA, Kyber, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

Guide to create new sub-key:

user@machine:~ $ gpg --expert --edit-key [MAIN_KEY_ID]
gpg> addkey
Please select what kind of key you want:
   (3) DSA (sign only)
   (4) RSA (sign only)
   (5) Elgamal (encrypt only)
   (6) RSA (encrypt only)
   (7) DSA (set your own capabilities)
   (8) RSA (set your own capabilities)
  (10) ECC (sign only)
  (11) ECC (set your own capabilities)
  (12) ECC (encrypt only)
  (13) Existing key
  (14) Existing key from card
  (17) Kyber (encrypt only)
Your selection? 17
...

GnuPG + SSH Agent Settings (auth keys setup)

GnuPG has yet to support PQ sign & auth keys creation. Your existing non-PQ keys can be used for authenticate but it is not PQ protected.

Due to the fact that GnuPG's progress cannot be rush (it can break A LOT of ecosystem) and the current circumstances, to be fully protected, one must break the GnuPG+SSH Agent relationship for now and revert back to use SSH to create PQ algorithm keys instead.

PQ keys are different when created using SSH like the command below (when using OpenSSH-Portable port (https://www.freshports.org/security/openssh-portable/):

/usr/local/bin/ssh-keygen -t mldsa44-ed25519 -f ~/.ssh/id_mldsa

OpenSSH

FreeBSD shippment in 15.1 Release has PQ algorithms equipped OpenSSH[14] as shown below:

user@machine:~ $ uname -a
FreeBSD machine 15.1-RELEASE-p6 FreeBSD 15.1-RELEASE-p6 releng/15.1-n283643-95719d8a895b GENERIC amd64

user@machine:~ ssh -V
OpenSSH_10.0p2, OpenSSL 3.5.9 29 Sep 2026

user@machine:~ ssh -Q kex
...
sntrup761x25519-sha512
sntrup761x25519-sha512@openssh.com
mlkem768x25519-sha256


user@machine:~

To test/debug a connection (example here is using github.com and look for the algorithms above):

user@machine:~ ssh -v git@github.com exit 2>&1 | grep 'kex: algorithm:'
debug1: kex: algorithm: mlkem768x25519-sha256

user@machine:~

To upgrade the server, edit /etc/sshd_config to have the above algorithms listed at the front. The first one wins so make sure KexAlgorithms is before sourcing any other configuration files[15]:

...
# enable post-quantum algorithms
KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,sntrup761x25519-sha512@openssh.com,...
...

Once done, restart the server with:

$ service sshd restart

and test your server connection again.

To create a PQ key (as of writing, only doable using OpenSSH-Portable port (https://www.freshports.org/security/openssh-portable/) as of 2026-12-03:

user@machine:~ /usr/local/bin/ssh-keygen -t mldsa44-ed25519 -f ~/.ssh/id_mldsa
Generating public/private mldsa44-ed25519 key pair.
Enter passphrase for "/root/.ssh/id_mldsa" (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /root/.ssh/id_mldsa
Your public key has been saved in /root/.ssh/id_mldsa.pub
The key fingerprint is:
SHA256:VKEY+5X97u/sS3PT+dZ5/6XTG9W7T805WdHdSvUZ8WM root@EP2
The key's randomart image is:
+[MLDSA44-ED25519-+
|      .   o.   oo|
|       + o o   .O|
|      o o o . .E*|
|       o .   o..+|
|        S     o +|
|             . .X|
|              .%X|
|             .o=#|
|              oX^|
+----[SHA256]-----+

user@machine:~

References

  1. https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities
  2. https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662453/joint-statement-from-oncd-nsa-and-cisa-on-recent-advances-in-cryptographic-and/
  3. https://www.whitehouse.gov/briefings-statements/2026/12/joint-statement-on-recent-advances-in-cryptographic-and-cybersecurity-capabilities/
  4. https://openai.com/index/joint-statement-post-quantum-cryptography/
  5. https://x.com/eastdakota/status/2128334047273480583
  6. https://x.com/eastdakota/status/2128333858798186982
  7. https://blog.cloudflare.com/pq-is-still-safe/
  8. https://letsencrypt.org/2026/06/03/pq-certs
  9. https://blog.nginx.org/blog/pqc-nginx
  10. https://community.letsencrypt.org/t/post-quantum-crypto-roadmap/245173/2
  11. https://community.letsencrypt.org/t/preparing-for-quantum-safe-crypto-systems/204611/8
  12. https://lists.gnupg.org/pipermail/gnupg-users/2026-April/068248.html
  13. https://lists.gnupg.org/pipermail/gnupg-users/2026-April/068249.html
  14. https://www.openssh.org/pq.html
  15. https://gist.github.com/michabbb/5eb580d60ede01dc7d1e5abc72d7eb40
  16. https://words.filippo.io/nsa-advisory/

r/freebsd • • 1h ago

article Upgrade 14.1 Distribution Sets Jail to 15.2 PKGBASE

Thumbnail
vermaden.wordpress.com
9 Upvotes

r/freebsd • • 16h ago

AI FreeBSD is Actually Amazing..

Thumbnail
youtube.com
114 Upvotes

Fun fact from the video: Our mascot is a daemon that John Lasseter (the Pixar guy) drew for a manual cover in 1984.


r/freebsd • • 14h ago

AI 2026-12-02 FreeBSD security advisories

25 Upvotes

Most of yesterday's set follows the pattern of 2026 so far: local privilege escalation through kernel memory-safety bugs, several of them credited in part to the OpenAI Security Research Team.

FreeBSD-SA-26:104.proc is a use-after-free triggered when the process generation counter wraps around; it affects all supported versions and has no workaround.

FreeBSD-SA-26:102.socket is a privilege escalation through a listen(2) race on TCP sockets.

FreeBSD-SA-26:101.setrlimit, FreeBSD-SA-26:100.unix and FreeBSD-SA-26:103.ptrace are further use-after-free bugs, each leading to local privilege escalation.

FreeBSD-SA-26:99.linux lets an unprivileged local user corrupt the memory of set-ID Linux programs through execve(2), and FreeBSD-SA-26:95.arm64 allows privilege escalation through stale large page mappings on arm64 systems whose CPUs support BTI.

These are serious, but the 2026-11-17 set contained more bugs of the same kind.

Advisories that stand out a little

FreeBSD-SA-26:96.krb5 covers MIT Kerberos and lists about 21 CVEs in a single advisory. It affects FreeBSD 15.1. Remote attackers may be able to crash the KDC, kadmind or GSS-API applications, and some of the issues allow forged PAC or CAMMAC data in service tickets. For anyone running Kerberos, this is the most significant remote issue in the set, because forged PAC data can affect authorisation as well as availability. Claude did not count CVEs per advisory across the year, so it cannot say whether 21 is a 2026 record.

FreeBSD-SA-26:98.bsnmp is the second bsnmp advisory in two weeks, following FreeBSD-SA-26:89.bsnmp. A single crafted UDP packet can crash bsnmpd, which does not restart automatically. Only systems with the snmp_vacm module loaded are exposed, and that module is not loaded by default.

FreeBSD-SA-26:97.pam_xdg lets an unprivileged local user make root delete arbitrary files and directories. It stands out as a userland bug in PAM in a set otherwise dominated by kernel bugs.

Claude's take

Systems that use Kerberos should get the krb5 fix first.

After that, the kernel privilege escalation fixes call for the usual patching of all systems.

The SNMP issue matters only where snmp_vacm is loaded.

― Opus 5.5, medium.


r/freebsd • • 2h ago

article A project for an open kernel driver on FreeBSD 16-CURRENT that serves the Nvidia driver for both CUDA, with NVIDIA's official userspace...

0 Upvotes

Hello.

I'm happy to discuss this project with you.

Goal: an open kernel driver on FreeBSD 16-CURRENT that serves the RTX 2080 Ti (but with some little adaptation it works for every Nvidia GPU) for both CUDA, with NVIDIA's official userspace, and open graphics with Mesa NVK and Zink. A single driver on the GPU.

Astra's proposal, right in its core idea: start from NVIDIA OpenRM (open-gpu-kernel-modules) instead of nouveau, because nouveau gives no CUDA while OpenRM was built for the CUDA userspace. The precedent is X547/nvidia-haiku (OpenRM, NVK and Zink on Haiku), and the missing piece on FreeBSD is UVM.

Corrections:

  1. OpenRM on FreeBSD already exists: cloudbsdorg/nvidia-gb10-freebsd combines NVIDIA's FreeBSD layer with the open 580.178.04 core, on amd64 and arm64. cloudbsdorg/uvm-bsd is a native BSD-2 UVM, and with it Linux CUDA runs under the Linuxulator, llama.cpp included. Both tested on a single machine. Porting the core means rebuilding and linking it, so Astra's difficulty table is overstated.
  2. The real gap is Turing: nvidia.ko targets Ampere and later, and with Turing it attaches without anyone ever having tested it. uvm-bsd supports only Blackwell GB20x, so Turing has to be added. amd64 has never been tested either.
  3. NVK doesn't go through a DRM adapter: it uses a backend that talks directly to the NVIDIA driver. X547's MIT backend can be reused.
  4. nvdriver must be excluded for provenance: its code says it was decompiled from NVIDIA's blob; it's not just a matter of age.
  5. The Linuxulator needs changes: libcuda needs base-kernel changes, namely the /proc files it reads and Linux abstract sockets.
  6. No UVM on the proprietary driver: with the rebuilt open core that path is no longer needed.
  7. Licences: core MIT, uvm-bsd BSD-2, NVK MIT. The FreeBSD layer is under NVIDIA's licence, while GSP firmware and CUDA libraries stay proprietary.
  8. Quality and minor details: the CloudBSD projects are written by AI agents and need verifying. Gdev's last commit is from 2017, not 2012.

Revised plan:

  1. Build the driver on amd64, with the 2080 Ti dedicated to development and the desktop on the UHD 630.
  2. Apply the kernel changes for the Linuxulator.
  3. Add Turing to uvm-bsd, then test vectorAdd, llama.cpp on CUDA and PyTorch.
  4. Get NVK working: compute only first, then on-screen presentation.
  5. Optional: rewrite the FreeBSD layer as open code.

With OpenRM and NVK, nouveau is no longer needed for Turing and later.

Maintenance: firmware, core, FreeBSD layer and NVIDIA libraries must share the same version. Pin the 580 branch. Updates within the branch are cheap; branch jumps are costly.

These are the advantages of the OpenRM route: NVIDIA's open core, the FreeBSD layer, uvm-bsd, NVK and the NVIDIA libraries through the Linuxulator.

Compared with today's proprietary FreeBSD driver

  1. Real UVM instead of dummy-uvm: a native /dev/nvidia-uvm, with cuInit, contexts and basic managed memory. It doesn't break every time the UVM interface changes, as it did with the 550 series. For Turing, support has to be added to uvm-bsd first.
  2. No blob in the kernel: the RM core is built from MIT source with the base system's tools. You can debug inside RM with kgdb and dtrace, and fix bugs yourself.
  3. Modifiable: CloudBSD has already added GPU access control per jail and per user, plus resource accounting (racct). With the blob that's impossible.
  4. arm64: the official FreeBSD driver exists only for x86-64, with a prebuilt nv-kernel.o. The open core also builds for aarch64. github
  5. A path to native CUDA without the Linuxulator: libnvrm with native libcuda/libcudart, still in progress but saxpy has already run on an RTX 5060 Ti.

Compared with a nouveau port

  1. Real CUDA: the official libcuda, cuBLAS, cuDNN, PyTorch and llama.cpp run, not a reimplementation.
  2. Same driver as Linux and Windows: same RM and same firmware for clocks, power, NVENC/NVDEC and NVIDIA's Vulkan.
  3. One kernel driver for graphics and compute: no two drivers fighting over the GPU.
  4. No chasing GSP calls: firmware and core arrive already in sync from NVIDIA.
  5. Far less code to write: the FreeBSD layer already exists. No drm_gpuvm to port and no CUDA to reinvent.
  6. Maintenance handled by NVIDIA: new GPUs and security fixes land in the core.
  7. Open graphics still possible: NVK with X547's RM backend, MIT, about 2,200 lines, already running on Haiku with the Turing firmware.

Project advantages

  1. You start from a working system: driver, UVM, monitor and display modesetting already exist.
  2. Your contribution is clear and bounded: amd64 and Turing, exactly the two things CloudBSD lists as untested, plus Turing support in uvm-bsd.
  3. Permissive licences, no GPL: core MIT, uvm-bsd BSD-2, NVK MIT. Only the FreeBSD layer is under NVIDIA's licence, and it can be rewritten on the Haiku model.
  4. SteamBSD stays as it is today: NVIDIA's Linux Vulkan runs through the Linuxulator on the same RM, with NVK as an extra option.
  5. You set the update pace: on a fixed branch, updates within the branch are cheap.

The trade-off is the one already covered: GSP firmware and CUDA libraries are proprietary, and firmware, core, FreeBSD layer and libraries all have to be updated together.


r/freebsd • • 19h ago Bravo

video appjail4win: Spin up new Windows VM quickly on FreeBSD

Thumbnail
youtu.be
21 Upvotes

appjail4win is an AppJail for deploying Windows virtual machines on FreeBSD as vmjails, powered by Overlord and aimed at making setup simple and reproducible instead of requiring you to assemble the virtualization pieces yourself. It works with any Windows version you provide an ISO for, supports unattended installs through autounattend.xml, gives each VM a disposable system disk plus a persistent data disk so user files survive rebuilds, and allows profile-based customization via templates and attributes. It also integrates with Security Groups for network filtering and can be routed through Tor with some network and DNS tweaking.

github.com/AppJail-makejails/appjail4win


r/freebsd • • 1d ago

help needed What do you think about the porting of nouveau via drm-kmod/LinuxKPI ? In your opinion,is it worth it or not ?

14 Upvotes

Hello.

For an open NVIDIA stack on FreeBSD with concrete results: the shortest path is to port nouveau via drm-kmod/LinuxKPI. It is mature C, already supports the r570.144 GSP firmware, and has display support; NVK in Mesa uses its interface. drm-kmod is already aligned with the Linux 6.12 LTS drivers, but nouveau is not included: it needs to be ported, including the GPUVM layer.

A clean room is not needed. Almost all of nouveau is MIT-licensed, so you port it as-is, leaving the copyright notices intact. A clean room is only needed to obtain code under a license that the source does not allow—for example, turning nova (GPL-2.0) into BSD-licensed code—or when the source is proprietary. That is not the case with nouveau.

Precedent: NetBSD imported nouveau directly into its own source tree: the files live in sys/external/bsd/drm2/dist/drm/nouveau, with the glue code in sys/external/bsd/drm2/nouveau (nouveau_pci.c, nouveaufb.c and others). No clean room.

In your opinion,is it worth it or not ?


r/freebsd • • 1d ago

AI The Ultimate AI Coding Challenge: Using LLMs to finally defeat the infamous Broadcom BCM4313 [14e4:4727] on FreeBSD & Haiku

2 Upvotes

(Disclosure: English text polished with AI assistance; the idea, hardware setup, and technical details are my own.)
Hey everyone,
I’m not a kernel developer, so I can't pull this off myself—but I want to throw a genuinely fun and historic challenge out to the community.
Everyone who has ever touched FreeBSD, Haiku OS, or Amiga/AROS on older 2011 laptops knows the infamous Broadcom BCM4313 [14e4:4727] Wi-Fi card. There are thousands of forum threads and videos trying to get it working, yet outside of Linux, it has been a brick wall for over a decade due to missing datasheets.
What makes this the ultimate AI reverse-engineering challenge right now is that it has already been proven possible on embedded hardware. A GitHub project for the D-Link DSL-2730U router (which uses the exact same BCM4313 chip) recently used an AI-assisted reverse-engineering workflow to solve two "unfixable" hardware walls: reconstructing the missing ssb_sprom board calibration data from the firmware map and fixing the ucode (MI_MACSSPNDD) initialization bug so brcmsmac works properly.
Furthermore, all the necessary pieces for laptops are already on the table. The proprietary radio firmware blob (which handles the actual Wi-Fi radio frequencies) is already available and redistributable, and Linux has a fully open-source driver (brcmsmac).
Imagine taking a piece of 2011 laptop hardware that caused a decade of headaches, feeding Linux's brcmsmac driver and MMIO traces into modern AI, and having it map out the exact hardware signals and timing into clean open documentation. That single breakthrough would instantly unlock native Wi-Fi for FreeBSD, Haiku, and AROS all at once.
Honestly, if I knew C and kernel dev, I’d be doing this tonight just for the thrill of it. Anyone up for testing how far modern AI can really go with hardware reverse engineering?
https://github.com/Vibhav-Aggarwal/dsl-2730u-wifi-openwrt

UPDATE / Key Takeaways from the comments:

Thanks to the experienced FreeBSD devs in the comments for pointing out the major real-world hurdles with the BCM4313 beyond static router boards. The biggest challenges include dealing with 5 different hardware revisions sharing the exact same PCI ID (14e4:4727) with different state machines, handling complex laptop power management like ACPI suspend and resume states which do not exist on OpenWrt routers, and respecting clean-room and GPL licensing rules that prevent direct AI translation of Linux driver code.

Check out the discussion below for great insights on why this specific chip is so tricky, along with a theoretical idea of using an automated Hardware-in-the-Loop setup with PCIe passthrough and a USB power relay for clean-room documentation.


r/freebsd • • 1d ago

I want to pass BSD but I'm afraid how can I break it

Thumbnail reddit.com
2 Upvotes

r/freebsd • • 2d ago

AI FreeBSD/unkernel

67 Upvotes

Got intrigued by unkernel project (https://unkernel.dev), so had Claude port FreeBSD to WASM architecture based on unkernel work.

It works and boots into multiuser < 10s.

Not sure if there is a practical use, but it's fun to play with.

https://stass.github.io/freebsd-unkernel/


r/freebsd • • 3d ago Annoyed

discussion I reverse-engineered FreeBSD and rewrote it in Odin.

105 Upvotes

Hi r/freebsd,

Here is my clean-room reimplementation of FreeBSD in Odin.

I wanted to rewrite it in Rust, but that's a language I already know. The roadmap included a Pro Edition written in Rust and a Standard Edition written in Ruby.

To do this properly, I needed to pick a language I don't understand, so I could nod at every decision the model makes without introducing human bias.

The entire OS runs in Ring -4, just below Intel ME. Intel ME now runs inside its own jail. (Don't ask me how... the tests is green)

There are no kernel panics. If something panics, Claude takes over and fixes it in production. I call this Panic-Driven Development (PDD).

There are no device drivers either. Astra dynamically generates stubs for your hardware on the fly. Hardware compatibility is now a prompt engineering problem. Describe your hardware to get the driver.

The scheduler is powered by an LLM. Processes with better-written prompts receive more CPU time. Caveman get garbage collected.

Memory leaks are automatically resolved by increasing the context window or switching to a newer model.

Benchmarks are coming soon, once the model decides what numbers would best reflect the architecture.

Donations

Developing an operating system is expensive, especially when you have to pay for tokens instead of developers.

If you believe in the future of autonomous operating system development, please consider supporting the project.

BTC: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa


The text above is satire.

But yesterday, I saw someone presenting an NVIDIA driver written in Rust for FreeBSD as if it were a technological breakthrough. It got 300+ stars and 30+ forks, with three issues unanswered and zero external contributions.

These are software content farms.

Think about it. If you achieved a breakthrough in reverse-engineering modern NVIDIA hardware, Linux would be thebetter target, given its ecosystem and user reach.

FreeBSD was targeted because the Nova driver already exists in Linux. The code is authored by NVIDIA themselves with modern Rust 2024. We got Rust edition from the Covid Era 2021.

The code does not work as predicted. Yet it presented with benchmarks involving H100s, H200s, every 30/40/50 series. The LLM just copied code and facts from the GPL code early this year.

Last year, I asked Claude to get Wi-Fi working. It modified some code, installed the driver, ran benchmarks, and presented impressive Wi-Fi 6 speeds.

There were few errors that made me say WTF:

  • The wireless card was from 2010-2009. (We had wifi 4 then)
  • FreeBSD did not even have the Wi-Fi 6 infrastructure at the time.

The model had used grep wrongly and end up benchmaking the 1000MB Lan connection which was already working. The Wifi was just attaching to the hardware, it was not sending frames or receiving. The WPA3 code did not exist.


I'm not complaining about AI or gatekeeping anything, in fact i will be happy if i speand yesterday time to test that crap and it worked correctly, i might even have contributed to it, so we can rewrite it later in C and land it.

When i launched ChaosBSD, i was contacted by these farms, they offered me 10k stars for 1k USD in crypto. My fork will have more github stars than FreeBSD-src itself in 1 month, all fake or hacked accounts.

But the bigger issue here, is that LLMs learn from their own SLOP and enforce it. They are like politicians, they lie, then believe the lie.

You will ask me "How do that affect me or FreeBSD ?".

Most of our free work comes for an itch contributor(s) face or want to work on ( A button that dont work, light that don't turn off, brightness that dont cna't be controlled)
When you poison the documentation, that work become exponentially harder, especially if you want fill the provenance of the information or code. We do no always have official PDF from the vendors. We depend on the thousands of hours that other engineers did. Now we have a ton of plausible sounding slop in the wild.

Also think about all the people that will lose their time and mind thinking there is something wrong with their setup because they could not get the same gain/result from a repo with 200+ stars.

Just to wrap up: Gemini thinks i'm an OS.


r/freebsd • • 1d ago Galaxy Brain Bravo

AI rshyve a drop in replacement for bhyve on SmartOS

Post image
0 Upvotes

I built firehyve for our Triton Cloud agent sandbox platform.. and did some experiements along the way. One of them was to see how FreeBSD boot performance compared to our illumos solution. (FreeBSD was faster!)..

On FreeBSD, a Xeon Gold 6240, a 512 MiB Linux guest reaches its workload 100 ms after the VMM process starts, and a 64 MiB guest with a trimmed kernel does it in 56.5 ms.

Even better though.. restoring a guest from a snapshot took 5.4 ms! This requires a patch to vmm.ko, included in the repo.. the patch and the write-up of the port are at https://github.com/TritonDataCenter/rshyve.

FreeBSD as a sandbox platform is a solid choice, and the boot/restore performance make it really attractive. We're not using FreeBSD today for this, but I wanted to share it with the community in case it could be useful.


r/freebsd • • 3d ago

fluff [nwm] FreeBSD

Post image
42 Upvotes

r/freebsd • • 3d ago Heartwarming

AI NVDRIVER for FreeBSD?

Thumbnail
github.com
15 Upvotes

Any chance this driver will land in FreeBSD?


r/freebsd • • 4d ago

AI Why I Do Not Like FreeBSD: The Tragedy of the Sovereign Desktop – Vladimir Petrov | LinkedIn

Thumbnail
linkedin.com
51 Upvotes

… Before the tribal pitchforks come out - from either the Penguin camp or the Beastie faithful – let us establish the ground rules. I am a longtime adept, advocate, and fellow of FreeBSD. I have built careers, carrier-grade networks, and production infrastructure on its back. … However, admiration is not blindness, and no operating system on this planet represents ultimate, unassailable perfection. Critical thinking must be applied everywhere - especially to the tools we love – if we want to see reality rather than comforting myths. That is the exact purpose of this autopsy. …

Comments include:

I remember the good old days … when the Project's web site was modernised – "The Power to Serve" quietly disappeared, and no-one noticed. https://web.archive.org/web/20260516105511/https://www.freebsd.org/ …


r/freebsd • • 4d ago

help needed v15 FreeBSD USB mouse [non laptop ] reccomendation??

6 Upvotes

I've a v15 that for which I'd like to buy a wired usb mouse that works right off under Xorg and at the console. Anyone? Would also appreciate how it is listed in /dev and annotated in rc.conf [ if any ] and which driver [/dev/input/evdevN, or ums0, or hms0 ] it runs under. I've searched the forum, online, and elsewhere and this seems the easiest way to get a reply. Thanks !!!


r/freebsd • • 4d ago Heartwarming

fluff FreeBSD 16.0 -current (amd64)

Post image
42 Upvotes

r/freebsd • • 4d ago

news FreeBSD 15.2-RC1 Now Available

Thumbnail lists.freebsd.org
47 Upvotes

r/freebsd • • 4d ago

discussion For those on Freebsd 14 who's using Chromium....

23 Upvotes

Are you switching to another browser due to the package fallout or are you continuing to use it until the package builds successfully keeping your prayers alive before the EOL near summer of next year?


r/freebsd • • 5d ago Bravo Heartwarming

AI Bhyve finally got nested virtualization.

59 Upvotes

Here we go again.

After a full month of work,night and day,I've implemented the nested virtualization for (qemu) + bhyve :

https://github.com/Marietto2008/freebsd-src/tree/vmm-nested-16

It works with every permutation of FreeBSD,Linux and Windows,as you can see from the pictures below :

Permutation 1 :

L0=FreeBSD 16.0-CURRENT
L1=Windows 11
L2=FreeBSD 15.2 (on top of Hyper-V and WSL2)

https://ibb.co/kTRL2cv :

Permutation 2 :

L0=FreeBSD 16.0-CURRENT
L1=KUbuntu-Noble-Wayland-KDE
L2=FreeBSD-15.1-RELEASE

https://ibb.co/6JZWPrpz :

Permutation 3 :

L0=FreeBSD 16.0-CURRENT
L1=FreeBSD-15.1-RELEASE
L2=Linux omarchy

https://ibb.co/LDSDkXJF :

This has been the most complicated, delicate, treacherous project that I've worked on so far. But what matters is that I had fun and I've learnt a lot.

Here is a small kit for replicating the project on your PC :

https://github.com/Marietto2008/bhyve-nested-strumenti/tree/main/kit

If you try it, please attach the manifest and the smoke-test output.

For the record, my host is consumer hardware: an i9-9900K on a Gigabyte Z390 AORUS PRO, BIOS F12g (2020), running FreeBSD 16-CURRENT. The CPU has VMCS shadowing but no APICv and no posted interrupts, and that shapes the results below.

**On AI use, since that is what the policy discussion is about.**

Code, the test scripts and the performance report were produced with Claude 5.5 with the help of Astra 6. Design reviews during development were also done by AI models, not by people. KVM (GPL) was studied for its behaviour, never copied. Commits carry a "Co-Authored-By: Claude" line. Nothing here has had independent human review yet, and I'd welcome it.

From here on I'll post one item at a time, when there is something new, instead of long reports. Raw data and scripts are in kit/full-report/.


r/freebsd • • 5d ago

AI FreeBSD 15.2-RC1 (release candidate) – pkgbase – unofficial

Post image
22 Upvotes

Unofficial, because the candidate is not yet announced:

Upgraded from 15.1-RELEASE-p7.

SDDM is installed, so I remembered to manually edit /etc/group before the upgrade (thanks to Claude).

Post-upgrade …

root@clean:~ # freebsd-version -kru ; uname -mvKU
15.2-RC1
15.2-RC1
15.2-RC1
FreeBSD 15.2-RC1 releng/15.2-n286780-c362b2f52bb7 GENERIC amd64 1502000 1502000
root@clean:~ # grep audio /etc/group
audio:*:43:
root@clean:~ # ls -hl /etc/*.pkg*
-rw-r--r--  1 root wheel   66K Oct 14  2025 /etc/rc.subr.pkgsave
root@clean:~ # pkg repos -el | sort -f ; sleep 5 ; pkg repos -e | grep -B 1 url
FreeBSD-base
FreeBSD-ports
FreeBSD-ports-kmods
FreeBSD-ports: {  
   url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/latest",
--
FreeBSD-ports-kmods: {  
   url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_latest_2",
--
FreeBSD-base: {  
   url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/base_release_2",
root@clean:~ # pkg -v
2.9.3
root@clean:~ # /usr/bin/time -h pkg upgrade -Fqy
…

I forgot to correct /etc/group (see the screenshot) – I'll take the lazy approach, a reinstallation of SDDM.


r/freebsd • • 5d ago

discussion A FreeBSD driver for Broadcom Wi-Fi (Raspberry Pi 4, MacBookPros(circa. 2015), USB), with WPA3. Code and a paper.

48 Upvotes

I've been working on a FreeBSD driver for Broadcom FullMAC Wi-Fi chips, the ones that run their own firmware. It's called bwfm and it comes as three modules, one for each bus: PCIe, SDIO and USB.

What works:

  • Station mode with WPA2 on all three buses. net80211 and wpa_supplicant do the join, and the driver loads the keys into the firmware. Roaming between access points on the same network works too.
  • WPA3 (SAE) as a station on the Raspberry Pi 4's BCM43455. That's the only chip here whose firmware supports it.
  • Access point mode through hostapd, open or WPA2, tested on the Pi 4 and on the BCM43602 in a MacBook Pro.
  • 802.11w (management frame protection), as a station and as an access point, where the firmware supports it.

Tested hardware:

  • PCIe: BCM43602, MacBook Pro (amd64)
  • SDIO: BCM43455, Raspberry Pi 4 (arm64)
  • USB: BCM43236 dongle, on a MacBook Pro and a Pi 4

The driver's tables recognize other chips, but I haven't tested them, and most need firmware the repo doesn't ship. The BCM4360 isn't supported, because no firmware for it can be shipped.

It needs FreeBSD 15.0 or later. PCIe and USB build against stock sources. SDIO needs a kernel patch, because stock FreeBSD has no SDIO layer for Wi-Fi chips. The patch is in the repo.

The net80211 side sits in a small FullMAC layer that other drivers for firmware-run chips could use too. It isn't in FreeBSD yet, so the modules build their own copy in for now. I plan to send it to freebsd-wireless for review. 802.11w and WPA3 also need a small net80211 patch, listed in COMPATIBILITY.md.

The driver was written for FreeBSD. Its firmware interface follows Linux brcmfmac and OpenBSD's bwfm by Patrick Wildt, and it takes its name from the OpenBSD driver. Files that came from there keep their ISC notices.

Code: https://github.com/b1nc0d3x/bwfm-driver

https://github.com/b1nc0d3x/bwfm-driver/blob/main/docs/FullMAC_WiFi_on_FreeBSD.pdf


r/freebsd • • 5d ago

help needed pkg-be: automatic boot environment before pkg upgrade

Thumbnail mail-archive.freebsd.org
5 Upvotes

This is Mehmet Ozgan's recent plea for feedback, addressed to the freebsd-pkgbase@ list:

freebsd-update creates a boot environment before it installs updates; pkg does not (PR 292983).

With pkgbase replacing freebsd-update in 16, I think pkg should close this gap, so I wrote a small pkg plugin: …

– note his three questions, please reply to the list.

Thanks.

Also, please note that pkgbase is intended to progress without replacing freebsd-update.

Ozgan's repo

https://github.com/mozgan/pkg-be

Postscripts

  1. fixed quotes for compatibility with Reddit
  2. changed the first of the links to work around an issue with mail-archive.freebsd.org