All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Cc: "MAUPERTUIS, PHILIPPE" <philippe.maupertuis@equensworldline.com>
Subject: Re: audisp-remote
Date: Fri, 07 Feb 2020 14:14:52 -0500	[thread overview]
Message-ID: <2537219.Lru4QqDhYW@x2> (raw)
In-Reply-To: <5F4EE10832231F4F921A255C1D95429829B091@DEERLM99EX7MSX.ww931.my-it-solutions.net>

On Friday, February 7, 2020 5:02:01 AM EST MAUPERTUIS, PHILIPPE wrote:
> Apart the man pages, I didn’t find anything useful relating to
> audisp-remote. I am searching information on how it scales ? Is there any
> performance issue ? How to use it in a large environment ?

It is really designed for smaller deployments. If you have 10 or so systems, 
it should do OK. I have not tested load handling of the daemon via network 
sources. But have tested the ability to write logs and its very fast. Fast 
enough to fill your hard drive in a minute or so.

> Most of what I found dated a long time ago and mainly said use rsyslog
> instead. It seems that centralizing the messages through rsyslog is far
> more popular. Is audisp-remote really used ?

For small deployments sure. If you really have a lot, then you probably 
should use some kind of subsystem designed to handle large amounts of data. 
ELK, graylog, splunk are all a couple that come to mind. I also suspect you 
want audit data correlated with other application information.

The main issues at scale are log management, searching, and alerting. These 
are all problems that one person hacking on spare time can't really achieve 
well. If we had a stronger community with more participants, we probably 
would have better and nicer tools.

> The man page read :
>        tcp_max_per_addr
>               This  is  a  numeric  value  which  indicates  how many
> concurrent connections from one IP address is allowed.  The default is 1
> and the maximum is 1024. Setting this too large may allow for a Denial of
> Service attack on  the  log‐ ging  server.  Also  note  that the kernel
> has an internal maximum that will eventually prevent this even if auditd
> allows it by config. The default should be adequate in most cases unless a
> custom written recovery script  runs  to forward unsent events. In this
> case you would increase the number only large enough to let it in too.
> Where could I find an example of recovery script ?
> Could it be a way to inject the audit message in auditd after having
> receiving them via rsyslog ? This might be useful just because, by default
> ausearch in all available logs and the -if parameter accepts only one
> file.

I think you can inject logs by 

ausearch --start XXX --raw | audisp-remote


> Maybe my lack of knowledge about auditd leads me to write rubbish.
> If so, please direct me to where I can find how to manage and use audit
> logs after centralizing them. Not only keeping them but  acutually using
> them.

There may be others in the community that can offer some insight here.

-Steve



--
Linux-audit mailing list
Linux-audit@redhat.com
https://www.redhat.com/mailman/listinfo/linux-audit

  reply	other threads:[~2020-02-07 19:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-07 10:02 audisp-remote MAUPERTUIS, PHILIPPE
2020-02-07 19:14 ` Steve Grubb [this message]
2020-02-07 19:27   ` audisp-remote warron.french

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2537219.Lru4QqDhYW@x2 \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@redhat.com \
    --cc=philippe.maupertuis@equensworldline.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.