FlowLens: Enabling Efficient Flow Classification for ML-based Network Security Applications

Diogo Barradas,Luís Rodrigues,André Madeira,Nuno Santos,Fernando M. V. Ramos,S. Signorello
DOI: https://doi.org/10.14722/NDSS.2021.24067
Abstract:—An emerging trend in network security consists in the adoption of programmable switches for performing various security tasks in large-scale, high-speed networks. However, since existing solutions are tailored to specific tasks, they cannot accommodate a growing variety of ML-based security applications, i.e., security-focused tasks that perform targeted flow classification based on packet size or inter-packet frequency distributions with the help of supervised machine learning algorithms. We present FlowLens, a system that leverages programmable switches to efficiently support multi-purpose ML-based security applications. FlowLens collects features of packet distributions at line speed and classifies flows directly on the switches, enabling network operators to re-purpose this measurement primitive at run-time to serve a different flow classification task. To cope with the resource constraints of programmable switches, FlowLens computes for each flow a memory-efficient representation of relevant features, named “flow marker”. Despite its small size, a flow marker
Computer Science,Engineering
What problem does this paper attempt to address?