2023 · 19 citations · 31 references
ComputingComputer EngineeringComputer SystemsInterconnection NetworksNetwork SecuritySecurity ArchitectureInternet Protocol SuiteNetwork LayerNetwork Traffic AnalysisPacket FilteringPacket SwitchingSoftware-defined NetworkingApplication-layer FilteringDeep Packet InspectionFinite State Machine SpecificationFlow AnalysisPacket AnalysisPacket InspectionPacket ProcessingTraffic Inspection
Software-defined networks are useful for multiple tasks, including firewalling, telemetry, and flow analysis. In particular, the P4 language makes it possible to carry out some simple packet processing tasks in the data plane, i.e., on the switch itself (without real-time support from the SDN controller or a server). However, owing to the limitations of packet parsing in P4, these tasks involve only the packet headers. In this paper, we present a novel approach that allows Deep Packet Inspection (DPI) – i.e., inspection of the packet payload – in the data plane, using P4 alone. We make use of the fact that in P4, a switch can clone and recirculate packets. One copy (clone) can be recirculated, slicing off a byte in each round, and using a finite-state machine to check if a target string has yet been seen. If the target string is found, the other copy (original packet) is discarded; if not, it is passed through. Our approach allows us to build the first application-layer firewall (URL filter) in the data plane, and to achieve essentially line-rate performance while filtering thousands of URLs, on a commodity programmable switch. It may in future also be used for other DPI tasks.
31
Eddie Kohler, Robert Morris, Benjie Chen et al. · ACM Transactions on Computer Systems · 2000 · 2.4K citations · Full text
Optical Fiber Communication Conference
Josep M. Fàbrega, Michela Svaluto Moreolo, F. Javier Vílchez et al. · 2014 · 1.8K citations
Engineering, Communication, Physics +12
The 26th USENIX Security Symposium 2017
Aggelos Kiayias, Thomas Zacharias, Riivo Talviste · USENIX Security Symposium · 2017 · 1.2K citations
Adam Langley, Alistair Riddoch, Alyssa Wilk et al. · 2017 · 782 citations · Full text
Naga Praveen Kumar Katta, Mukesh Hira, Changhoon Kim et al. · 2016 · 381 citations · Full text