[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <5J_z4QNPMBAk4y0rGshI7mBykT1tivh3037CbQRYXTu_Ra6zuojEcI0RB04ghXQxgdtDbt3YFv6sA882mrFyTdzQePwHwvLoECnqFTnYNZI=@protonmail.com>
Date: Sun, 16 May 2021 23:20:40 +0000
From: louisrossberg <louisrossberg@...tonmail.com>
To: unlisted-recipients:; (no To-header on input)
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Listening on a TCP socket from a Kernel Module
Hello, can somebody point me in the right direction for what I would use to listen on a TCP socket from the kernel? I am working on a kernel module and have spent the past day looking through include/net and include/linux for something that would allow me to do so. I know TCP listening is typically done in userspace, but it should be possible at the kernel level right? tcp_diag looks promising, but it seems like that is mainly for monitoring sockets, and I'm not sure if I would be able to provide responses from it.
Louis Rossberg,
Warped Technologies
Powered by blists - more mailing lists