Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2000 15:21:00 +0930 (CST)
From:      Greg Lewis <glewis@trc.adelaide.edu.au>
To:        Robert Gash <gashalot@gashalot.com>
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: Recommendations for alternative tripwire options
Message-ID:  <200006010551.PAA24639@ares.trc.adelaide.edu.au>
In-Reply-To: <Pine.LNX.4.21.0005312208000.32087-100000@raq.tabernae.com> from Robert Gash at "May 31, 2000 10:15:08 pm"

next in thread | previous in thread | raw e-mail | index | archive | help

Robert Gash wrote:
> AIDE 0.7 Compile Errors:
> -----------------------------------------------------
> gcc -DHAVE_CONFIG_H -I. -I/root/aide/aide-0.7/src
> -I.. -I/usr/local/include -I/root/aide/aide-0.7/include
> -I/root/aide/aide-0.7 -I/root/aide/aide-0.7/src  -g -O2 -c db_file.c
> db_file.c: In function `db_readline_file':
> db_file.c:215: warning: dereferencing `void *' pointer
> db_file.c:215: request for member `_file' in something not a structure or
> union
> gmake[3]: *** [db_file.o] Error 1
> -----------------------------------------------------

Edit src/db_file.c and change line 215 to be:

conf->db_gzin=gzdopen(fileno((FILE *) (conf->db_in)),"rb");

and you should find that things compile.  I've had problems with the
compressed database support in aide-0.7, but uncompressed databases work
as normal.

In terms of alternatives, the recent commits regarding mtree(8) are
supposed to make it useable as a tripwire alternative, but I've no direct
experience with using it as such and I can't quite recall if the changes
made it back into 4.0-STABLE yet (I think so).  There was an article on
Daemon News <http://www.daemonnews.org>; about using mtree to perform
tripwire like functions a couple of issues ago I think.  HTH.

-- 
Greg Lewis 				glewis@trc.adelaide.edu.au
Computing Officer			+61 8 8303 5083
Teletraffic Research Centre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006010551.PAA24639>