Simulate Packet Loss with iptables

I work primarily with Linux servers during $dayjob and sometimes come across needs where I need to have packet loss. Of course, I can’t be sitting around waiting for it to happen. Turns out, there’s a pretty simple way to do this. iptables -A INPUT -s <SOURCE_IP_ADDRESS> -m statistic --mode random --probability 0.1 -j DROP You can find more info in the iptables-extensions(8) man page. There are some other settings beyond random and probability to make packets drop....

September 28, 2022 · 1 min

OpenBSD Cron Jobs and Borg: A Lesson in Learning to Read Slower

For the longest time I was running borg on my server to do backups. Then one day I changed my destination’s name to something different (different domain name). I know with borg, if the backup destination changes, borg will prompt you on the next run that the destination is different than before, and to confirm the change. I ran my borg backup script, confirmed the destination and all was good…​ until next run....

August 25, 2022 · 2 min

0 Dependency Websites with OpenBSD & AsciiDoc

Note I want to clearly state this is 0 dependencies on the server. The server does not need AsciiDoc installed to operate. AsciiDoc is for the client to use. The server operates with 0 `pkg_add`s I have fallen in love with a recent combination of software to make good looking websites, and having an easy to manage web server. I’m a minimalist in many ways. Really, I find that it makes my life easier....

June 27, 2022 · 10 min

MY OpenBSD Desktop: Move From FreeBSD

Just last week (as of the date on this post) I ordered an AMD RX 6700XT graphics card. I saw it at a great price, probably $20 above what it COULD have been if prices were normal for graphics cards. I couldn’t pass it up, I had been wanting a new card anyways, and I was wanting OpenCL on FreeBSD. Well bad news for me, FreeBSD only uses AMD drivers from Linux kernel 5....

May 6, 2022 · 11 min

FreeBSD 13.1 Release

According to the FreeBSD 13.1 release schedule, the team is close to putting out the 13.1-RELEASE. I found the page and have been looking through the notes that are there so far to see what is of interest to me. On my desktop and laptop I have been running 13 STABLE, albeit blindly to what has changed, so it is nice to see the team put together a document with what is upcoming for the release itself....

April 13, 2022 · 4 min