public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* Configuration file monitoring - reporting content changes
@ 2015-07-20 11:53 Burn Alting
       [not found] ` <201507202109.GAJ05274.tSFOJFFVQMLOHO@I-love.SAKURA.ne.jp>
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Burn Alting @ 2015-07-20 11:53 UTC (permalink / raw)
  To: linux-audit

All,

I am interested in any Linux based capability that will monitor
identified files and report on actual changes to the monitored file. I
know there are methods of recording that the file has been changed (e.g.
aide and/or monitor writes via auditd), but I want to know what has
changed ... basically something that would provide a 'diff' like output.

Now there are tools like Samhain that will record the content changes of
a file that is <= 92000 bytes in size, but I am interested in a more
lightweight solution ... perhaps a simple inotify(7) based utility that
perhaps maintains a copy of the file(s) in core (in compressed format)
and based on inotify() returns checks for changes and reports (somehow
yet to be defined) the before/after changes.

Is there anything 'out there' that list members are aware of?

If not, would the following utility be of interest? On startup, load the
monitored file(s) (saving a compressed copy in memory). Then, using
inotify, monitor for changes and if so, emit some kind of record
defining the change and change the compressed in-memory copy. If so, is
our mailing list and the contributed portion of auditd an appropriate
repository for such a tool.

Naturally, such a tool would be supported by appropriate auditd
monitoring that will take care of changing file attributes etc and file
writes. That is, auditd tells me who and the utility tells me what.


Regards
Burn

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-07-21 21:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-20 11:53 Configuration file monitoring - reporting content changes Burn Alting
     [not found] ` <201507202109.GAJ05274.tSFOJFFVQMLOHO@I-love.SAKURA.ne.jp>
2015-07-20 13:03   ` Burn Alting
2015-07-20 17:53 ` Smith, Gary R
2015-07-20 22:12   ` Burn Alting
2015-07-20 23:08 ` Steve Grubb
2015-07-21 13:47   ` EXT :Re: " Boyce, Kevin P (AS)
2015-07-21 21:48     ` Burn Alting
2015-07-21 14:38   ` John Dennis
2015-07-21 17:59     ` Steve Grubb
2015-07-21 21:54       ` Burn Alting

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox