Securing Linux with a faster and scalable iptables
Authors:
- Sebastiano MianoSMSebastiano Miano
- Jianwen PiJPJianwen Pi
Open Access
- 8 November 2019
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM SIGCOMM Computer Communication Review
- Vol. 49 (3) , 2-17
Abstract
The sheer increase in network speed and the massive deployment of containerized applications in a Linux server has led to the consciousness that iptables, the current de-facto firewall in Linux, may not be able to cope with the current requirements particularly in terms of scalability in the number of rules. This paper presents an eBPF-based firewall, bpf-iptables, which emulates the iptables filtering semantic while guaranteeing higher throughput. We compare our implementation against the current version of iptables and other Linux firewalls, showing how it achieves a notable boost in terms of performance particularly when a high number of rules is involved. This result is achieved without requiring custom kernels or additional software frameworks (e.g., DPDK) that could not be allowed in some scenarios such as public data-centers.Keywords
This publication has 9 references indexed in Scilit:
- The eXpress data path2018
- Creating Complex Network Services with eBPF: Experience and Lessons Learned2018
- TupleMerge: Building Online Packet Classifiers by Omitting Bits2017
- EffiCutsACM SIGCOMM Computer Communication Review, 2010
- Packet Classification Algorithms: From Theory to Practice2009
- Packet classification using multidimensional cutting2003
- Packet classification using tuple space searchACM SIGCOMM Computer Communication Review, 1999
- High-speed policy-based packet forwarding using efficient multi-dimensional range matchingACM SIGCOMM Computer Communication Review, 1998
- Fast and scalable layer four switchingACM SIGCOMM Computer Communication Review, 1998