mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 15:36:35 -04:00
Samhain is an open source file integrity and host-based intrusion detection system for Linux and Unix. It can run as a daemon process, and and thus can remember file changes - contrary to a tool that runs from cron, if a file is modified you will get only one report, while subsequent checks of that file will ignore the modification as it is already reported (unless the file is modified again). Samhain can optionally be used as client/server system to provide centralized monitoring for multiple host. Logging to a (MySQL or PostgreSQL) database is supported. PR: 214623 Submitted by: Nikola Kolev <koue@chaosophia.net>
15 lines
357 B
C
15 lines
357 B
C
--- config.h.in.orig 2016-11-16 12:14:22 UTC
|
|
+++ config.h.in
|
|
@@ -349,7 +349,11 @@
|
|
#undef HAVE_UINT64_T
|
|
|
|
/* Define if you have utmpx.h. */
|
|
-#undef HAVE_UTMPX_H
|
|
+#define HAVE_UTMPX_H
|
|
+
|
|
+#define UTMPX_FILE "/var/log/utx.active"
|
|
+
|
|
+#define WTMPX_FILE "/var/log/utx.log"
|
|
|
|
/* Define if your struct utmpx has ut_xtime. */
|
|
#undef HAVE_UTXTIME
|