Debugging flaky DNS on a Raspberry Pi bridge setup with nftables rules

Flaky DNS on a Raspberry Pi Bridge – A Quick Debug Guide

Running a Pi as a network bridge can feel like a walk‑through of a maze. The bridge interface (br0) sits right between your LAN and the Pi’s Wi‑Fi or Ethernet, and if DNS starts to act up, it’s usually the bridge’s handling of UDP or some nftables rule that’s tripping up. Below is a no‑frills, coffee‑talk style walk‑through to isolate and patch the problem while keeping the bridge tight.

[Read More]

Nftables log‑filter tricks to find hidden routing loops on a bridged LAN

Bridged LANs, Routing Loops, and Nftables Log‑Filtering

Bridged LANs are everywhere—from a tiny home lab to a mid‑size office. When a bridge gets a wrong port or a VLAN slips through, packets can start circling forever. The symptoms are subtle: a CPU spike on the bridge, packet loss, and a traffic burst that looks like a DoS. The problem is that the packets never hit a firewall rule that drops them—they just bounce, so you’re left staring at a wall of traffic with no obvious culprit.

[Read More]

Debugging nftables Dropping HTTP Traffic

A step-by-step port-filter investigation

HTTP is the backbone of most web services. When a client can’t reach a web server, the first instinct is to look at the application logs, DNS, or the network path. A silent drop by nftables is a common, yet often overlooked, culprit. This post walks through a systematic approach to uncovering why nftables is silently discarding HTTP packets, with a focus on the port‑filtering rules that most administrators set up for hardening.

[Read More]

Troubleshooting Common Issues with nftables Rules and Debian's ifupdown

Introduction to nftables and ifupdown

As a Linux admin, you’re probably no stranger to managing network traffic and configuring firewall rules. Two tools that can make your life easier are nftables and ifupdown. nftables is a packet filtering framework that’s meant to replace traditional iptables, while ifupdown is a Debian-specific tool for managing network interfaces. I’ve seen this go wrong when people don’t take the time to understand how these tools work together. In this article, we’ll dive into troubleshooting common issues with nftables rules and Debian’s ifupdown, focusing on practical solutions and real-world examples.

[Read More]