XIO

xWire

Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.

The FreeBSD Forums

The FreeBSD Forums

trying to get started with fail2ban and pf

I have FreeBSD 14.4-RELEASE, fail2ban 1.1.1 and have pf enabled fail2ban.log shows ip addresses being recognised and listed as already banned, but maillog shows attempts still getting through, and I haven't worked out how to see if the tables are appearing in pf. I've had a look through the forums but when I do pfctl -a "fail2ban/postfix" -t fail2ban-postfix -T show I get "table does not exist" I suspect it is the banaction line in jail.local, but I can't find what I need to put in there, it…

rcd(8) - new service manager daemon

For those who might've missed the big news on the mailing list - I decided to post it here. Looks like the creator of pkg and poudriere (Baptiste Daroussin) has been brewing up a new modern service manager daemon for FreeBSD. From what I can tell; it's functionally similar to SMF but relies on FreeBSD features/interfaces instead of mangling the kernel. From the original post; Key features: - Parallel boot via dependency DAG (no more serial rc.d execution) - Process tracking via pdfork(2)…

pkg: need to re-create repo FreeBSD to upgrade schema version

Hello. How to fix? pkg upgrade Updating FreeBSD repository catalogue... pkg: need to re-create repo FreeBSD to upgrade schema version Fetching meta.conf: 100% 168 B 0.2 kB/s 00:01 Fetching data: 100% 9327 KiB 4.8 MB/s 00:02 pkg: repository archive entry is too large: data pkg: No signature found FreeBSD repository is up to date. Updating FreeBSD-kmods repository catalogue... FreeBSD-kmods repository is up to date. All repositories are up to date. pkg: need to re-create repo FreeBSD to upgrade…

Goodbye GitHub ... ? Hello Fossil.

Hello, Goodbye GitHub: that’s what I would have liked to say... Codeberg is my original repository; I added GitHub to use Codex Cloud, which I no longer use, relying instead solely on the Codex CLI. I don’t like the GitHub interface: it’s slow to load, the Markdown rendering is unattractive, and it creates the extra burden of maintaining two separate repositories. While GitHub offers high visibility, it’s clear that, after two years, it hasn’t provided me with any real additional benefit.…

OpenSSL EVP_CipherInit_ex2 returns error for presumably options for aes-xts-plain64, when previously did not.

When trying to make a decryption subroutine for some luks header reader I got some problems, but later finalizing this minimal reproducible example here, Code: #include <assert.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <openssl/core_names.h> #include <openssl/params.h> #include <openssl/evp.h> #include <openssl/bio.h> #include <openssl/err.h> int main(int argc, char **argv) { int ret = 0, len; const uint64_t size = 258048;…

FreeBSD cannot be installed on a microSD card.

Hi everybody, I booted FreeBSD from my USB memstick without a problem. Then, I wanted to install FreeBSD on a microSD card that I inserted into the microSD card reader of my laptop. But there is no option to install on a microSD card when I go through the steps of installation. It just shows me my laptop's NVMe, which I don't want to install FreeBSD on for now. How can I install FreeBSD on my microSD card? Thank you.

How to use opencrypto in userspace?, documentation looks like suggesting errors.

There is plenty of affirmations in the documentation that opencrypto crypto(4) can be used to encrypt and decrypt data, certainly GELI claims to be using it, but the documentation does not look very useful, case stands there is no even en example on crypto(4). I am doing some LUKS (scary) things in FreeBSD, and have to do some aes-xts-plain64 decryption, but the documentation is no helping. I found crypto_session(9) which suggest some code like: Code: #include <stdint.h> #include <unistd.h>…

Trash does not work in Xfce or Mate DE nor filesystem refresh in file managers.

Hi, I am using FreeBSD 14.5-RELEASE and since 2026Q4 quarterly packages the trash does not work in Xfce nor Mate DE. Their respective file managers does not refresh file modification that occur in filesystem (file added or deleted). So after some investigation and other packages problems, I decided to build my own packages with ports-mgmt/poudriere. I reverted default compilation options of the port filesystems/gvfs from FUSER=ON to FUSER=OFF and LSOF=OFF to LSOF=ON. This bug is now solved for…

Looking for testers to reproduce a bug with nvidia drivers

I am experiencing periodic plasmashell crashes and I think that I have a reproducer for the bug (not without some help ). The reproducer should not crash your Plasma (and it is not required), your DE, your OS, etc. If it reproduces the bug, it crashes itself, if it doesn't then it keeps running until you kill it. I think that 5-10 minutes should be sufficient. The program creates a window off-screen, the window does not take focus, so it should not interfere with whatever you are doing, at…

Porting old X11 software

Hi y'all, I've been using FreeBSD as my daily driver for about three months now, and I've really enjoyed the journey so far. Recently, I've become more interested in the history of Unix and older software, particularly from the 1990s and the early days of X11. This got me interested in finding old, somewhat obscure software, compiling it, and getting it to work on modern FreeBSD systems. So far, I've managed to get the following programs working: wily (a text editor inspired by Acme) mgv (a…

Post here some questions to your local LLM.

Eg , i currently do, " Act as a Senior Software Architect. Refactor the input F# file using these constraints: 1. ABSOLUTE CONSTRAINT: Do not modify mutable key-value types. And do not modify the operators on them. Keep them exactly as implemented. 2. Fix all structural anti-patterns, logical flaws, and unhandled edge cases. 3. Refactor for idiomatic F# and Async 4. Extract complex or nested logic blocks into distinct sub-functions. 5. Refactor for human readability, clean architecture, and low…

CUPS & devfs ruleset

Hi guys, The documentation around CUPS and devfs is not enough dumb-proof. CUPS on FreeBSD How to install and use CUPS on FreeBSD docs.freebsd.org Code: cupsd_enable="YES" devfs_system_ruleset="system" However when I try to start the second: Code: doas service devfs start /etc/rc.d/devfs: WARNING: devfs_set_ruleset: you must specify a ruleset number /etc/rc.d/devfs: WARNING: devfs_apply_ruleset: you must specify a ruleset Maybe instead of a word I must use a code, but I couldn't find any clear…

Rocky Linux 9 minimal jail working, need to figure out the next steps

I have just created a Rocky Linux 9 minimal Jail Rocky Linux Jail notes so far on github work in progress cerberus/freebsd/rocky-linux-jail.org at master · NapoleonWils0n/cerberus cerberus code library. Contribute to NapoleonWils0n/cerberus development by creating an account on GitHub. github.com The reason im looking at Rocky Linux is to use it to install Davinci Resolve 19 because Davinci Resolve wont render (export) footage using an Ubuntu jail Davinci Resolve has switched from using Centos…

Poudriere and hyperthreading

I'm currently in the middle of a bulk build waiting for devel/cmake-core to complete and wondering whether It's a mistake to have hyperthreading. I suspect without that a single package on which other builds are waiting might go twice as fast. Hyperthreading might be great for everyday use but for compiling, I wonder whether it's slowing things down as dependencies mean there's a limit to what can be done in parallel and it might be better to have more speed on fewer cores. What do people think?

Security - PHP RCEs reported

Hi, The PHP team are releasing two critical patches soon; details scarce at this point but there is talk of RCEs. PHP: News Archive - 2026 PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world. www.php.net If you host any internet-facing PHP sites, get ready!

freebsd-update loop 15.1-RELEASE-p6

I have freebsd-update cron run every day. I received an email yesterday about 15.1-RELEASE-p6 which I installed. Then today I got another email about the same patch: src component not installed, skipped Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 15.1-RELEASE from update1.freebsd.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. The following files are affected by updates. No changes have…

Mismatch package/userland "FreeBSD-zstd-dbg" AArch64 (CURRENT)?

Code: pkg update -f Updating FreeBSD-ports repository catalogue... Fetching meta.conf: 100% 179 B 0.2 kB/s 00:01 Fetching data: 100% 10 MiB 2.2 MB/s 00:05 Processing entries: 100% FreeBSD-ports repository update completed. 34877 packages processed. Updating FreeBSD-ports-kmods repository catalogue... Fetching meta.conf: 100% 179 B 0.2 kB/s 00:01 Fetching data: 100% 17 KiB 17.1 kB/s 00:01 Processing entries: 100% FreeBSD-ports-kmods repository update completed. 79 packages processed. Updating…

Can't rotate fail2ban log with newsyslog in FreeBSD 15

I'm having trouble rotating security/py-fail2ban log with newsyslog, no more logging after turning over. Anyone rotating fail2ban sucessfully with newsyslog? All these fails in /usr/local/etc/newsyslog.conf.d/daemons.conf: Code: /var/log/fail2ban.log root:wheel 600 14 * $D04 J /var/log/fail2ban.log root:wheel 600 14 * $D04 JC /var/run/fail2ban/fail2ban.pid 30 /var/log/fail2ban.log root:wheel 600 14 * $D04 JR /usr/local/etc/scripts/fail2ban-logrotate.sh fail2ban-logrotate.sh (also fails): Code:…

showing fail2ban tables

I've been having a battle confirming fail2ban was actually working, as I couldn't see anything in the pf showing it was there. After much research and testing, I discovered it was just hiding from view rather well. The man page, and online references suggest that you can recursively list tables in an anchor with pfctl -a "f2b/*" -sr For my install (14.5p2), this returns nothing. Specifying it fully, e.g. pfctl -a f2b/nginx-bad-request -t f2b-nginx-bad-request -T show will return an ip address…

Bhyve virtual CPU use

Another question about bhyve. I have a host with four cores on it, and I am running two bhyve VMs presently. One of these VMs has two CPUs assigned to it, and the other has one. Now I find myself wishing to add a third VM to this host, but by way of poor planning I may not be able to do this. Reading the bhyve man page, there is a section that leads me to believe that a core assigned to a VM is not otherwise available to be used by the host: Code: -H Yield the virtual CPU thread when a HLT…

Nvidia 595.99.02 is better !

Status-Report : Nvidia driver 595:99.02.150102 appears to be more stable than its predessesor 595.91 . With 595.91 I had kernel panics when trying to use DRM-612. With 595.99 DRM-612 starts and works again. ( using a desktop based on i7-11700K with freebsd 15.1-Stable , FreeBSD 15.1-STABLE stable/15-n285404-d8c4785e1e41 ) now having these versions installed. # pkg info |egrep "nvidia|drm" drm-612-kmod-6.12.85.1501502_1 Direct Rendering Manager (DRM) GPU drivers drm-kmod-20260508 Direct…

Orange Pi 5 Max (Rockchip 3588) Support?

Hey I am just wondering if the Orange Pi 5 Max is currently supported in FreeBSD yet? It seems like it has been a while. I have read some older posts about the Rockchip 3588 issues that people were having so I just wanted to ask what the current status of this SBC is at right now? I have seen alot of workarounds and patches you can do but I was hoping most things might be resolved since it has been a while since these 3588 rockchip versions have been available. I would like to know what works…

Optimisations for eg make / ports building / llama

Here is some tuning i did on Redcore linux, its rather self explaining. Purpose I want to do same on FreeBSD. Please advice actions to take redcorelinux /etc/portage/make.conf # cat 09custom Code: LC_MESSAGES="C.UTF-8" VIDEO_CARDS="nvidia" MAKEOPTS="-j10 -l10" NINJAOPTS="-j10" CFLAGS="${CFLAGS} -mtune=native" CXXFLAGS="${CXXFLAGS} -mtune=native" redcorelinux /etc/portage/make.conf # cat 00-cpuflags Code: # This file has been automatically generated, do not edit. CPU_FLAGS_X86="mmx mmxext sse…

Thinkpad T14s AMD Gen6 boot hangs

As the title says, I've got a T14s AMD Gen6 (211-000GMX). It boots Windows and Linux fine, but FreeBSD 13.5, 14.2, 14.3 and a 15 nightly from 2025-07-08 all fail at exactly the same place. The screenshot is from the nightly in verbose mode, but as far as I can tell it's extremely similar in all the releases. Looking at lspci on the linux side, 0x151f and 0x151a are: Code: c5:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 151f (prog-if 30 [XHCI]) Subsystem: Lenovo Device 50f0…

Running a GPU-accelerated LLM on FreeBSD (2-line howto)

Code: pkg install llama-cpp llama-server \ --host `hostname` \ --port 8080 \ --ctx-size $((64 * 1024)) \ --temp 0.6 \ --top-p 0.95 \ --top-k 20 \ -hf bartowski/Qwen_Qwen3.5-27B-GGUF:Q6_K_L This is assuming you already have a working graphics card driver with Vulkan. You can test with `vulkaninfo --summary` from pkg vulkan-tools. Working Vulkan is in the binary NVidia drivers and the AMD drivers (including CPU-integrated GPU). Dunno about Intel GPUs. This will install the llama.cpp LLM runner,…