Testing firewalls Why vimage is awesome by Kristof Provost @BsdcanOrg
Testing firewalls Why vimage is awesome by Kristof Provost  @BsdcanOrg
Uploaded June 2019 | Updated September 2026, 41 minutes ago
Automatically testing the pf firewall, using network stack virtualisation. For fun and profit, or at least for the sake of fewer bugs.

We're all convinced that automated tests are a good idea. For some applications (e.g. grep, awk, cc, ...) this is very straightforward. Others are a lot harder to test, for example firewalls. Typically testing firewalls takes two to three hosts. One to send traffic, the firewall test host and one to receive traffic. This makes automated test orchestration complex and brittle. This in turn means that tests either don't get written, are difficult to write and/or suffer random failures unrelated to issues in the firewall itself. Virtualisation has made this all somewhat easier, but it's still fiddly and difficult to make robust. It's also slow.

FreeBSD 12 will ship with network stack virtualisation (known as VIMAGE or vnet). This is an important feature for many applications, one of which is automated network stack and firewall testing. As of FreeBSD 12 PF fully support VIMAGE, allowing users to configure a firewall for each jail.

This talk will introduce VIMAGE and show how it can be used to easily write firewall tests. If there's time a few interesting bugs and their test cases will also be discussed.

Moreinfo:
bsdcan.org/2019/schedule/events/1036.en.html
Testing firewalls Why vimage is awesome by Kristof ProvostUnveil in OpenBSD The Unveil system call, its use in Programs, and new semantics for it by Bob BeckSlava Shwartsman: RoCE as a performance accelerator   BSDCan 2018Hack the Puffy OpenBSD advocacy through CTF by  Jason TestartHow root on VirtFS can eliminate stacked block devices in virtual environments: Michael DexterEffective Bug Reports, Code Change Requests, and Conference Proposals by  Michael DexterHardenedBSD 2024 State of the Hardened Union: A Decade of Hardened Bits  By: Shawn WebbPortmgr behind the scenes René LadanImplementing Routing Domains on an OpenBSD workstation for use with WireGuard By: Josh GrosseUserland TCP Transport for NVME By: John BaldwinBSDCan Opening   Dan LangilleOpenBSD network booted Workstations How to fearlessly introduce OpenBSD on your company Workstations
BSDCan |

Testing firewalls Why vimage is awesome by Kristof Provost

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER