LinkedIn Sourceforge

Vincent's Blog

Pleasure in the job puts perfection in the work (Aristote)

Category: OpenBSD

Keeping two OpenBSD CARP firewalls in sync with fwcompare

Posted on 2026-11-19 20:42:00 by Vincent in Firewall OpenBSD

Give a shoutout to Juan Davila on unsplash.com Running two OpenBSD firewalls in a CARP pair gives you high availability: when the master fails, the backup takes over the shared addresses within seconds. But this protection is only real if both machines are configured the same way. A rule added to pf.conf on one box, a DHCP reservation forgotten on the other, a daemon enabled on only one side: nothing shows until the day of the failover, when the backup suddenly behaves differently. To catch these drifts early, I wrote fwcompare, a small shell script that compares a list of configuration files between both firewalls and shows a readable diff. This post explains how it works and how to configure it.

Read more

Tuning log2table rules with real logs, and with an AI looking over my shoulder

Posted on 2026-10-24 17:43:00 by Vincent in OpenBSD Log2Table

Give a shoutout to Zach M on unsplash.com log2table is a small daemon I wrote: it watches log files, recognizes attack patterns with regular expressions, and puts the offending IP addresses in a PF table so the firewall blocks them. The whole behavior is driven by one file: parameters.py.

Writing rules is easy. Knowing whether they are good rules is harder: do they catch what is really hitting my server today? Do they ban innocent visitors? Do two rules count the same attack twice?

This post explains the new version of parameters.py in the repository, its built-in checker that runs against your real log files, and how I used an AI (Claude, through Claude Code) to read the checker's output and propose improvements.

Read more

My redundant DHCPD on 2 OpenBSD servers

Posted on 2026-10-06 22:47:00 by Vincent in OpenBSD

Give a shoutout to  Gregoire Jeanneau on unsplash.com

I've changed my dhcpd daemon from a Actif/passif system managed via ifstated, to an Actif/Actif system without ifstated. I decided to change mainly because this is a builtin feature. A bit complex to setup, but once I've found the correct setup, it's in act easy. My biggest problem was coming from the -Y and -y parameters of dhcpd.

Read more

What I did at EuroBSD Brussels

Posted on 2026-09-22 22:34:00 by Vincent in OpenBSD FreeBSD

Artwork by: Bartel Bruneel Three days in Brussels with the people who build BSD. A training with Kirk McKusick, talks on FreeBSD's future, a museum visit by tram, and long conversations with names I'd only known from mailing lists. I went in wondering how many people actually make a living from BSD. I came back with an answer, a few new friends, and a lot of respect for a community that mostly does this for love, not money.

Read more

Blogging since a decade

Posted on 2026-08-16 21:47:00 by Vincent in OpenBSD FreeBSD

Give a shoutout to Natakie Kinnear on unsplash.com

This month, this blog turns 10 years old.

I want to use this anniversary post to look back at everything I've written over the last decade: what has stayed the same, what has evolved, and what I've replaced along the way.

Read more

Thanks to OpenBSD and Wireguard it's easy to setup a permanent connection with a remote machine behind a NAT

Posted on 2026-08-15 19:49:00 by Vincent in OpenBSD Tunnel

Give a shoutout to Yohei Shimomae on unsplash.com

Increasingly, new ISP boxes bundling fiber, TV, and all the bells and whistles no longer allow inbound connections from the outside. Unfortunately, that's exactly what I need — I want to reach my home server from anywhere. Thanks to WireGuard as set up on OpenBSD, there's a very simple solution to this. This post explains how to do it.

Read more

UTF8 email with DMA: DragonFly Mail Agent

Posted on 2026-05-30 20:40:00 by Vincent in OpenBSD FreeBSD

Give a shoutout to Brett Jordan on unsplash.com

In the context of the DMA developped in this post, this blog post improve it so to have accents and all nice icons in emails delivered by DMA

Read more

Create a local email server with strong spam filter

Posted on 2026-04-05 17:52:00 by Vincent in OpenBSD

Give a shoutout to Andrey Matveevi on unsplash.com

This blog provides the precise configuration required to build a localized, self-learning mail server on OpenBSD. We assume your mail is hosted on a remote IMAP service and you want to filter it locally before your best email client (K-9 Mail in my case) ever rings.

This is an intermediary setup where I keep my provider as MX records, but I'm allowed to perform my own spam filtering.

Then by using imap server, I can publish cleaned inbox.

Read more

Thanks to log2table I'm able to secure my servers

Posted on 2026-03-08 18:11:00 by Vincent in OpenBSD Log2Table Firewall

Generated by AI As for each server on internet, I receive lot of bad requests. Thanks to a continuous check on different log files, I'm able to automatically add bad IPs in the pf firewall (OpenBSD). This blog will explain how I've setup log2table and how I treat those bad IPs

Read more

For just my memory here is how I've configure OpenBSD and FreeBSD for a IPv6 Wifi at Fosdem

Posted on 2026-01-31 21:14:00 by Vincent in OpenBSD FreeBSD

Last year I've took notes about the way to connect to FOSDEM's wifi from my laptop doing dual boot OpenBSD and FreeBSD. But this year those commands, were not working. So, here the new method.

Read more
Sooner - Older