From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: Getting events on unix socket Date: Thu, 30 Jul 2015 11:51:15 -0400 Message-ID: <5598992.dAmjx71Ayh@x2> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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 List-Id: linux-audit@redhat.com On Wednesday, July 29, 2015 02:29:23 PM Satish Chandra Kilaru wrote: > I would like to receive events on unix socket in binary format. > There is already another program that is reading events from unix socket in > string format. I created another config file as below... > > active = yes > direction = out > path = builtin_af_unix > type = builtin > args = 0640 /var/run/satish_events > format = binary > > In my test program I am reading events from the socket > /var/run/satish_events > Surprisingly I see events in string format as well as binary format. > > Is it by design or a bug? I'd have to check. I don't think it was intended to run more than one instance. What is better, though, is to write the plugin to just read stdin. -Steve