Flow classification for network security using P4-based Programmable Data Plane switches | IEEE Conference Publication | IEEE Xplore

Flow classification for network security using P4-based Programmable Data Plane switches


Abstract:

This paper deals with programmable data plane switches that perform flow classification using machine learning (ML) algorithms. This paper describes the implementation-ba...Show More

Abstract:

This paper deals with programmable data plane switches that perform flow classification using machine learning (ML) algorithms. This paper describes the implementation-based study of an existing ML-based packet marking scheme called FlowLens. The core algorithm, written in the P4 language, generates features, called flow markers, while processing packets. These flow markers are an efficient formulation of the packet length distribution of a particular flow. Secondly, a controller responsible for configuring the switch, extracting the features periodically, and applying machine learning algorithms for flow classification, is implemented in Python. The generation of flow markers is evaluated using flows in a tree-based topology in Mininet using the P4-enab1ed BMv2 packet switch on the mininet emulator. Classification is performed for the detection of two different types of network attacks: Active Wiretap and Mirai Botnet. In both cases, we obtain a 30-fold reduction in memory footprint with no loss in accuracy demonstrating the potential of running P4-based ML algorithms in packet switches.
Date of Conference: 19-23 June 2023
Date Added to IEEE Xplore: 13 July 2023
ISBN Information:

ISSN Information:

Conference Location: Madrid, Spain

I. Introduction

Programmable data plane switches are the product of some of the latest developments in software-defined networking (SDN) [1]. High-level programming languages can be used to describe the functionality that a switch or router can support to implement. This gives significant flexibility compared to erstwhile fixed-function switches. One such popular data plane programming language is called P4 [2].

Contact IEEE to Subscribe

References

References is not available for this document.