by Matthias247 · 4y ago · 0 comments
Are they implementing a http2 capable proxy in native kernel C code and making APIs to that accessible via bpf?
We are doing both. Aspect 2) is currently done for HTTP visibility and we will be working on connection splicing and HTTP header mutation going forward.
HTTP is actually fine.
HTTP2 will be a bigger issue as it has HPACK, and Huffman coding, that would be very complicated to maintain inside BPF runtime. I haven't thought about it closely yet. But based on our experience at http://px.dev, I am not aware of any glaring technical obstacles.
I can imagine getting something to work for http/1.1 - but http/2 with multiplexing and stateful header compression is a completely different beast.
[0] https://github.com/nodejs/http-parser/blob/main/http_parser....