ebpf strparser socket redirection #809
-
Cloudflare blog has a nice overview of this feature, where the kernel handles splicing 2 sockets into each other. Unfortunately, their example implements a simple echo server. I'm trying to apply this to a reverse proxy: parse incoming http request, send it to target, then splice. Unfortunately, the response from target can come before I add the socket fd to the sockmap, and nothing gets sent and everything freezes. I'm wondering if someone has come up with a solution to that problem, since I can't figure out what to do. Can somebody help me? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Hi @DuratarskeyK, I'm afraid this question exceeds the scope of ebpf-go. The user base of this forum is also quite limited. Perhaps asking in #ebpf on Cilium Slack or on StackOverflow is more appropriate. |
Beta Was this translation helpful? Give feedback.
-
Tried asking in Slack, no response received. I'll try stackoverflow then, thanks! |
Beta Was this translation helpful? Give feedback.
-
Hello, Did you had your answer to this question, because i am in the same situation 😅 |
Beta Was this translation helpful? Give feedback.
Hi @DuratarskeyK, I'm afraid this question exceeds the scope of ebpf-go. The user base of this forum is also quite limited. Perhaps asking in #ebpf on Cilium Slack or on StackOverflow is more appropriate.