From: Steve Grubb Subject: Re: Audit Subsystem Documentation Date: Thu, 28 Sep 2006 16:25:23 -0400 Message-ID: <200609281625.23172.sgrubb@redhat.com> References: <42929.129.64.8.95.1159390648.squirrel@mail.negativeblue.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <42929.129.64.8.95.1159390648.squirrel@mail.negativeblue.com> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com, azrael@negativeblue.com List-Id: linux-audit@redhat.com On Wednesday 27 September 2006 16:57, Azrael wrote: > Where can I find documentation regarding the underlying audit subsystem > within the Linux kernel? Not sure if there is much docs publicly available. Not because we don't want it, but very little developer time. > Specifically, the protocol docs for NETLINK_AUDIT, so that I may query the > subsystem from any sort of language that supports NETLINK socket > communication. There's not really a protocol per-se, you send a command and expect a response. But you always get something back. The commands are in linux/audit.h header file. Aside from that, you'd probably just want to look at libaudit source code. > Does such documentation even exist? Not really. > If not, could somebody provide me with samples or a basic idea/flow of how > it all works? auditctl.c + libaudit pretty much shows it. > I'd be willing to write it all down for public viewing if it hasn't yet been > done and if someone can get me started. That would be nice. We would like some docs available, but are short for time. -Steve