Re: [PATCH RFC 2/2] kproxy: Kernel proxy

2017-07-03 Thread David Miller
From: Tom Herbert Date: Thu, 29 Jun 2017 11:27:05 -0700 > A proc file (/prox/net/kproxy) is created to list all the running > kernel proxies and relevant statistics for them. proc is deprecated for dumping information like this, please use sock diag instead.

[PATCH RFC 2/2] kproxy: Kernel proxy

2017-06-29 Thread Tom Herbert
Implement an in-kernel proxy. This patch defines a new address family for create a kproxy socket (AF_KPROXY). Two IOCTL operations are defined SIOCKPROXYJOIN and SIOCKPROXYUNJOIN. The first takes two (TCP) sockets and creates a proxy between them, the latter destroys the proxy. When the proxy is e