Lune

NDSS2021Top-tier venue

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

Diogo Barradas, Nuno Santos, Luís Rodrigues, Salvatore Signorello, Fernando M. V. Ramos, André Madeira

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

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

35 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Point Cloud Analysis for ML-Based Malicious Traffic Detection: Reducing Majorities of False Positive Alarms cites Re-architecting Traffic Analysis with Neural Network Interface Cards
  • Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networks cites MagNet: A Two-Pronged Defense against Adversarial Examples
  • Brain-on-Switch: Towards Advanced Intelligent Network Data Plane via NN-Driven Traffic Analysis at Line-Speed cites Re-architecting Traffic Analysis with Neural Network Interface Cards
  • Brain-on-Switch: Towards Advanced Intelligent Network Data Plane via NN-Driven Traffic Analysis at Line-Speed cites Mousika: Enable General In-Network Intelligence in Programmable Switches by Knowledge Distillation
  • NIC: Detecting Adversarial Samples with Neural Network Invariant Checking cites MagNet: A Two-Pronged Defense against Adversarial Examples
  • NIC: Detecting Adversarial Samples with Neural Network Invariant Checking cites Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers35

  1. Re-architecting Traffic Analysis with Neural Network Interface CardsGiuseppe Siracusano, Salvator Galea, Davide Sanvito, Mohammad Malekzadeh et al.NSDI 2022 · 99 citations
  2. Mousika: Enable General In-Network Intelligence in Programmable Switches by Knowledge DistillationGuorui Xie, Qing Li, Yutao Dong, Guanglin Duan et al.INFOCOM 2022 · 83 citations
  3. Brain-on-Switch: Towards Advanced Intelligent Network Data Plane via NN-Driven Traffic Analysis at Line-SpeedJinzhu Yan, Haotian Xu, Zhuotao Liu, Qi Li et al.NSDI 2024 · 60 citations
  4. Point Cloud Analysis for ML-Based Malicious Traffic Detection: Reducing Majorities of False Positive AlarmsChuanpu Fu, Qi Li, Ke Xu, Jianping WuCCS 2023 · 30 citations
  5. Homunculus: Auto-Generating Efficient Data-Plane ML Pipelines for Datacenter NetworksTushar Swamy, Annus Zulfiqar, Luigi Nardi, Muhammad Shahbaz et al.ASPLOS 2023 · 26 citations

Builds on10

  1. Feature Squeezing: Detecting Adversarial Examples in Deep Neural NetworksWeilin Xu, David Evans, Yanjun QiNDSS 2018 · 1,633 citations
  2. MagNet: A Two-Pronged Defense against Adversarial ExamplesDongyu Meng, Hao ChenCCS 2017 · 1,295 citations
  3. NIC: Detecting Adversarial Samples with Neural Network Invariant CheckingShiqing Ma, Yingqi Liu, Guanhong Tao, Wen-Chuan Lee et al.NDSS 2019 · 283 citations
  4. Beauty and the Burst: Remote Identification of Encrypted Video StreamsRoei Schuster, Vitaly Shmatikov, Eran TromerUSENIX Security 2017 · 205 citations
  5. NetHide: Secure and Practical Network Topology ObfuscationRoland Meier, Petar Tsankov, Vincent Lenders, Laurent Vanbever et al.USENIX Security 2018 · 84 citations

Related papers

  1. FENIX: Enabling In-Network DNN Inference with FPGA-Enhanced Programmable SwitchesXiangyu Gao, Tong Li, Yinchao Zhang, Ziqiang Wang et al.NSDI 2026 · 12 citations
  2. DUNE: Distributed Inference in the User PlaneBeyza Bütün, David De Andres Hernandez, Michele Gucciardo, Marco FioreINFOCOM 2025 · 7 citations
  3. Leo: Online ML-based Traffic Classification at Multi-Terabit Line RateSyed Usman Jafri, Sanjay G. Rao, Vishal Shrivastav, Mohit TawarmalaniNSDI 2024 · 46 citations
  4. Jewel: Resource-Efficient Joint Packet and Flow Level Inference in Programmable SwitchesAristide Tanyi-Jong Akem, Beyza Bütün, Michele Gucciardo, Marco FioreINFOCOM 2024 · 27 citations
  5. GGFAST: Automating Generation of Flexible Network Traffic ClassifiersJulien Piet, Dubem Nwoji, Vern PaxsonSIGCOMM 2023 · 32 citations
Dusk over the sea between two cliffs drawn in fine vertical lines