Re: More flexible BPF socket inet_lookup hooking after listening sockets are dispatched

2021-01-21 Thread Martin KaFai Lau
On Thu, Jan 21, 2021 at 09:40:19PM +0100, Shanti Lombard wrote: > Le 2021-01-21 12:14, Jakub Sitnicki a écrit : > > On Wed, Jan 20, 2021 at 10:06 PM CET, Alexei Starovoitov wrote: > > > > There is also documentation in the kernel: > > > > https://www.kernel.org/doc/html/latest/bpf/prog_sk_lookup.

Re: More flexible BPF socket inet_lookup hooking after listening sockets are dispatched

2021-01-21 Thread Shanti Lombard
Le 2021-01-21 12:14, Jakub Sitnicki a écrit : On Wed, Jan 20, 2021 at 10:06 PM CET, Alexei Starovoitov wrote: There is also documentation in the kernel: https://www.kernel.org/doc/html/latest/bpf/prog_sk_lookup.html Thank you, I saw it, it's well written and very much explains it all. Exi

Re: More flexible BPF socket inet_lookup hooking after listening sockets are dispatched

2021-01-21 Thread Jakub Sitnicki
On Wed, Jan 20, 2021 at 10:06 PM CET, Alexei Starovoitov wrote: > cc-ing the right folks > > On Wed, Jan 20, 2021 at 12:30 PM Shanti Lombard née Bouchez-Mongardé > wrote: >> >> Hello, >> >> I believe this is my first time here, so please excuse me for mistakes. >> Also, please Cc me on answers. >>

Re: More flexible BPF socket inet_lookup hooking after listening sockets are dispatched

2021-01-20 Thread Alexei Starovoitov
cc-ing the right folks On Wed, Jan 20, 2021 at 12:30 PM Shanti Lombard née Bouchez-Mongardé wrote: > > Hello, > > I believe this is my first time here, so please excuse me for mistakes. > Also, please Cc me on answers. > > Background : I am currently investigating putting network services on a >