From: "Alan Stead" Subject: RE: getting PID and task name from sk_buff Date: Thu, 24 Feb 2005 07:55:28 -0800 Message-ID: References: <20050224133027.GB5056@oknodo.bof.de> Reply-To: alan@stead.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: codeslinger@gmail.com, netfilter-devel@lists.netfilter.org To: "Patrick Schaaf" In-Reply-To: <20050224133027.GB5056@oknodo.bof.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org > When you need per-process accounting of network traffic, the correct layer > would be in the socket I/O syscalls themselves. I think the LSM framework > could provide the right hooks to do that. If the accounting of network traffic is done in the socket I/O syscalls, would this "count" traffic that might get filtered out by ip_tables? I am new to all this, but am finding it very exciting to learn so much! Thanks for the responses! Alan