eBPF sockhash datastructure and stream_parser/stream_verdict programs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux