|
|
Subscribe / Log in / New account

Writing network flow dissectors in BPF

Writing network flow dissectors in BPF

[Kernel] Posted Sep 6, 2018 15:59 UTC (Thu) by mrybczyn

Network packet headers contain a great deal of information, but the kernel often only needs a subset of that information to be able to perform filtering or associate any given packet with a flow. The piece of code that follows the different layers of packet encapsulation to find the important data is called a flow dissector. In current Linux kernels, the flow dissector is written in C. A patch set has been proposed recently to implement it in BPF with the clear goal of improving security, flexibility, and maybe even performance.

Full Story (comments: 13)


Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds