Upgrading from Ubuntu 20.04 focal to 22.04 jammy
A few weeks ago, I upgraded a few machines from Ubuntu 20.04 (focal) to 22.04 (jammy). Here are the things that needed fixing after the upgrade.Network problemsFirstly, I had to fix the resolution of...
View ArticleUsing iptables with systemd-networkd
I used to rely on ifupdown to bring up my iptables firewall automatically using a config like this in /etc/network/interfaces:allow-hotplug eno1 iface eno1 inet dhcp pre-up iptables-restore...
View ArticleThings I do after uploading a new package to Debian
There are a couple of things I tend to do after packaging a piece of software for Debian, filing an Intent To Package bug and uploading the package. This is both a checklist for me and (hopefully) a...
View ArticleEnabling AppArmor on a Linode VPS in enforcement mode
Enabling AppArmor on a Debian Linode VPS is not entirely straightforward. Here's what I had to do in order to make it work.Packages to installThe easy bit was to install a few packages:apt install...
View ArticleMonitoring browser network traffic on Android using mitmproxy
Using mitmproxy to intercept your packets is a convenient way to inspect a browser's network traffic.It's pretty straightforward to setup on a desktop computer:Install mitmproxy (apt install mitmproxy...
View ArticleUpgrading from Debian 11 bullseye to 12 bookworm
Over the last few months, I upgraded my Debian machines from bullseye to bookworm. The process was uneventful (besides the asterisk issue described below), but I ended up reconfiguring several things...
View ArticleAutomatically rebooting for kernel updates
I use reboot-notifier on most of my servers to let me know when I need to reboot them for kernel updates since I want to decide exactly when those machines go down. On the other hand, my home backup...
View ArticleFiltering your own spam using SpamAssassin
I know that people rave about GMail's spam filtering, but it didn't work for me: I was seeing too many false positives. I personally prefer to see some false negatives (i.e. letting some spam through),...
View ArticleProper Multicast DNS Handling with NetworkManager and systemd-resolved
Using NetworkManager and systemd-resolved together in Debian bookworm does not work out of the box. The first sign of trouble was these constant messages in my logs:avahi-daemon[pid]: Host name...
View ArticleUsing a GitHub Gist like a git repo
A GitHub gist is backed by a regular git repository, but it's not exposed explicitly via the user interface.For example, this "secret" gist can be cloned using this command:git clone...
View Article