[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAF=yD-+zAWzM1DcQm1qc9paikHJRJB+oK7_w=xiexw9zmXNw5w@mail.gmail.com>
Date: Wed, 22 Mar 2017 11:13:07 +0000
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
To: Chenbo Feng <chenbofeng.kernel@...il.com>
Cc: Network Development <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>,
Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>,
Lorenzo Colitti <lorenzo@...gle.com>,
Willem de Bruijn <willemb@...gle.com>,
Chenbo Feng <fengc@...gle.com>
Subject: Re: [PATCH net-next v7 3/3] A Sample of using socket cookie and uid
for traffic monitoring
On Tue, Mar 21, 2017 at 10:05 PM, Chenbo Feng
<chenbofeng.kernel@...il.com> wrote:
> From: Chenbo Feng <fengc@...gle.com>
>
> 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.
>
> Acked-by: Alexei Starovoitov <ast@...nel.org>
> Signed-off-by: Chenbo Feng <fengc@...gle.com>
Acked-by: Willem de Bruijn <willemb@...gle.com>
Powered by blists - more mailing lists