Thread (8 messages) flat view 8 messages, 3 authors, 2017-03-21

Re: [PATCH net-next v6 3/3] A Sample of using socket cookie and uid for traffic monitoring

From: Alexei Starovoitov <hidden>
Date: 2017-03-21 05:48:34

On Mon, Mar 20, 2017 at 09:08:57PM -0700, Chenbo Feng wrote:
From: Chenbo Feng <redacted>

Add a sample program to demostrate the possible usage of
get_socket_cookie and get_socket_uid helper function. The program will
store bytes and packets counting of in/out traffic monitored by iptables
and store the stats in a bpf map in per socket base. The owner uid of
the socket will be stored as part of the data entry. A shell script for
running the program is also included.

Signed-off-by: Chenbo Feng <redacted>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help