BPF List
 help / color / mirror / Atom feed
* eBPF sockhash datastructure and stream_parser/stream_verdict programs
@ 2022-01-03 12:53 His Shadow
  2022-01-04  0:44 ` Cong Wang
  0 siblings, 1 reply; 6+ messages in thread
From: His Shadow @ 2022-01-03 12:53 UTC (permalink / raw)
  To: bpf

Greeetings. Here's the problem. I've written a simple program, that,
when a connection is established, it establishes a connection to a
predetermined target and starts routing traffic between a user
connection and a new connection.
I've tried to use ebpf stream_parser/verdict programs for this,
however there's a problem: when a connection to my program is
established, client sends the data immediately, however there's a
delay, while I establish a connection to the target. So stream_verdict
never gets called, because the data is already in the socket receive
queue(or maybe I'm misunderstanding something). Is there a way around
this? Should I use something else, like skb_msg verdict?

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-01-10 16:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-03 12:53 eBPF sockhash datastructure and stream_parser/stream_verdict programs His Shadow
2022-01-04  0:44 ` Cong Wang
     [not found]   ` <CAK7W0xezGaA1TZcsxkt_hf+b0LU+396CmetejFBEXjqtvbmDkA@mail.gmail.com>
2022-01-04 10:24     ` Fwd: " His Shadow
2022-01-04 21:09       ` John Fastabend
2022-01-06  7:47         ` His Shadow
2022-01-10 16:20           ` His Shadow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox