Building a firewall on the formally verified seL4 microkernel
Z401 | Fri 22 Jan 1:30 p.m.–2:15 p.m.
Presented by
-
Courtney is a senior operating systems engineer at Trustworthy Systems research group at UNSW. She currently works on the seL4 device driver framework (with a focus on networking, serial, and inter-process communication protocols), as well as the LionsOS firewall.
Courtney is a senior operating systems engineer at Trustworthy Systems research group at UNSW. She currently works on the seL4 device driver framework (with a focus on networking, serial, and inter-process communication protocols), as well as the LionsOS firewall.
Abstract
In recent years, UNSW's Trustworthy Systems group has been developing the Lions
Operating Systems (LionsOS) targetting the domain of embedded and cyberphysical
systems. LionsOS builds on the formally verified seL4 microkernel and uses the
Microkit framework for static systems. As LionsOS has matured and demonstrated
exceptional networking performance, we have used it to develop a firewall.
The LionsOS firewall began as a simple network traffic filter between two
interfaces, capable of forwarding, rejecting or dropping packets received based
on a set of predefined rules. Subsequently, it has been extended to support
connection monitoring, routing between an arbitrary number of interfaces and
run-time configuration of filtering rules and routing table routes using a
webserver.
The firewall was designed to adhere to the principles of LionsOS - simple,
modular components performing one logical task. Each function performed by the
firewall is split into a separate process, or Microkit Protection domain.
Protection domains use single-producer, single-consumer lock-free queues to
transfer packet ownership without the need for copying data.
The LionsOS firewall has been released by Trustworthy Systems as a community
project along with a list of missing features and areas to contribute. It runs
both on hardware (Compulab IOT-GATE-IMX8PLUS) and QEMU and includes a testing
and developing environment to help new developers get started.
In recent years, UNSW's Trustworthy Systems group has been developing the Lions Operating Systems (LionsOS) targetting the domain of embedded and cyberphysical systems. LionsOS builds on the formally verified seL4 microkernel and uses the Microkit framework for static systems. As LionsOS has matured and demonstrated exceptional networking performance, we have used it to develop a firewall.
The LionsOS firewall began as a simple network traffic filter between two interfaces, capable of forwarding, rejecting or dropping packets received based on a set of predefined rules. Subsequently, it has been extended to support connection monitoring, routing between an arbitrary number of interfaces and run-time configuration of filtering rules and routing table routes using a webserver.
The firewall was designed to adhere to the principles of LionsOS - simple, modular components performing one logical task. Each function performed by the firewall is split into a separate process, or Microkit Protection domain. Protection domains use single-producer, single-consumer lock-free queues to transfer packet ownership without the need for copying data.
The LionsOS firewall has been released by Trustworthy Systems as a community project along with a list of missing features and areas to contribute. It runs both on hardware (Compulab IOT-GATE-IMX8PLUS) and QEMU and includes a testing and developing environment to help new developers get started.