Thanks to a recent posting and a reference to the vfaq
ftp://rtfm.mit.edu/pub/faqs/computer-security/most-common-qs
I've managed to compile Tripwire and pass all the tests.
Now when I run tripwire -initialize, however, I get a segmentation fault:
root: /mnt/floppy/bin% ./tripwire -initialize
### Phase 1: Reading configuration file
### Phase 2: Generating file list
### Phase 3: Creating file information database
Segmentation fault
I'm running Linux RH5.0. I'm not sure if this is related, but Tripwire also
does not seem to be following by DATABASE_PATH. I edited my include/config.h
to have these two lines:
#define CONFIG_PATH "/mnt/floppy/tcheck"
#define DATABASE_PATH "/mnt/floppy/tcheck/databases"
yet Tripwire seems to be creating the directory and file
/mnt/floppy/bin/databases/tw.db_alanho.student.princeton.edu
(I compiled tripwire to place the binary in /mnt/floppy/bin). On the other
hand, Tripwire does seem to be finding my tw.config, which is in
/mnt/floppy/tcheck.
Below is my tw.config; Any help or suggestions would be greatly appreciated.
Thanks very much.
Alan
----------------------------------------------------------------------
# $Id: tw.conf.linux,v 1.1 1994/04/04 00:34:03 gkim Exp $
#
# tripwire.config for linux machines
# (minimal version)
#
#
# Define a variable for searching /dev
#
# All Files
#
/ R
#
# Except /proc
#
=/proc E
#
# And /dev
#
#
# just /tmp
#
=/tmp
#
#/mnt/floppy/ R
# End
#