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

2017-03-20 Thread Daniel Borkmann
On 03/20/2017 07:41 PM, Chenbo Feng wrote: From: Chenbo Feng 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

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

2017-03-20 Thread Chenbo Feng
From: Chenbo Feng 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