Re: [QUESTION] TCP connected socket selection

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

 



On Mon, 11 Jan 2021 at 11:19, Jakub Kicinski <kuba@xxxxxxxxxx> wrote:
>
> On Mon, 11 Jan 2021 10:33:49 -0800 Konstantinos Kaffes wrote:
> > Hi everyone,
> >
> > It is the first time I am posting to a kernel mailing list so please
> > let me know if this question needs to be directed elsewhere.
> >
> > I have been using BPF to programmatically steer UDP datagrams to
> > sockets using the "sk_reuseport" hook.
> >
> > Similarly, I would like to identify request boundaries within a TCP
> > stream/connection and programmably forward requests to different
> > sockets *after* a connection is established. Is there a way to do that
> > in the kernel using BPF?
>
> Sounds like what KCM does.

Thanks! KCM would work but it is unclear to me how I can specify the
policy used by the multiplexor to match messages to specific sockets.

The documentation has examples on how to do the delineation but
nothing on how to specify the matching policy.



[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