FreeBSD Ports

security/samhain 4.4.3_1

Samhain Intrusion Detection System

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
0ba9c45575
License
GPLv2
Categories
security
Package size
619.0 KiB, 1159.9 KiB installed

Description

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 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.

Install

As a binary package — by origin, or by package name:

pkg install security/samhain
pkg install samhain

From the ports tree:

cd /usr/ports/security/samhain/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	samhain>0:security/samhain

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest4.4.3_14.4.3_14.4.34.4.3_14.4.3_1
FreeBSD:14:quarterly4.4.3_14.4.3_1n/a4.4.3_14.4.3_1
FreeBSD:15:latest4.4.3_14.4.3_1n/a4.4.3_14.4.3_1
FreeBSD:15:quarterly4.4.3_14.4.3_1n/an/an/a
FreeBSD:16:latest4.4.3_14.4.3_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

Options name: security_samhain

OptionDefaultDescription
ASMonUse optimized assembly code
DB_RELOADoffEnable database reload on SIGHUP
DEBUGoffBuild with debugging support
DNMALLOConEnable dnmalloc
DOCSoffBuild and/or install documentation
ENCRYPTonEnable client/server encryption
GNUPGoffGNU Privacy Guard support
IPV6offIPv6 protocol support
LIBWRAPonTCP wrapper support
LOGFILE_MONITORoffEnable monitor logfiles
LOGIN_WATCHoffEnable watch for login/logout
MAILonEnable internal SMTP mailer
MOUNTS_CHECKoffEnable check mount options on filesystems
MYSQLoffMySQL database support
ODBCoffODBC database backend
PGSQLoffPostgreSQL database support
PORT_CHECKoffEnable check ports
POSIX_ACLoffEnable check posix acls
PROCESS_CHECKoffEnable check processes
PTRACEoffEnable use anti-debugger options
SRPonEnable SRP for authentication
STATICoffBuild static executables and/or libraries
SUIDCHECKoffEnable check for suid/sgid files
UDPoffEnable UDP server
USERFILESoffEnable check for users config files
XML_LOGSoffEnable XML-formatted logs
USES
shebangfix
Service scripts
none

Message after installing

To start the samhain daemon at system boot, add:

samhain_enable="YES"

and/or

yule_enable="YES"

to /etc/rc.conf.

Files

Manual pages 4
  • samhain(8)
  • samhainrc(5)
  • yule(8)
  • yulerc(5)
pkg-plist 32
  • @dir /var/lib
  • share/doc/samhain/BUGS
  • share/doc/samhain/FAQ.html
  • share/doc/samhain/HOWTO-client+server-troubleshooting.html
  • share/doc/samhain/HOWTO-client+server.html
  • share/doc/samhain/HOWTO-samhain+GnuPG.html
  • share/doc/samhain/HOWTO-write-modules.html
  • share/doc/samhain/MANUAL-2_4.pdf
  • share/doc/samhain/README
  • share/doc/samhain/README.UPGRADE
  • share/doc/samhain/sh_mounts.txt
  • share/doc/samhain/sh_userfiles.txt
  • @dir share/doc/samhain
  • @dir /var/lib/samhain
  • @sample etc/samhainrc.sample
  • etc/rc.d/samhain
  • share/man/man5/samhainrc.5.gz
  • share/man/man8/samhain.8.gz
  • sbin/samhain
  • sbin/samhain_setpwd
  • @dir /var/lib/yule
  • @dir /var/log/yule
  • @sample etc/yulerc.sample
  • @postunexec echo "To delete the yule user permanently, use 'pw userdel yule'"
  • etc/rc.d/yule
  • share/man/man5/yulerc.5.gz
  • share/man/man8/yule.8.gz
  • sbin/yule
  • sbin/yule_setpwd
  • sbin/yuleadmin-gpg.pl
  • sbin/yuleadmin-sig.pl
  • sbin/yulectl
distinfo 1
FileSizeSHA256
samhain_signed-4.4.3.tar.gz2.160977e+063e57574036d5055e9557ec5095818b419ea6c4365370fc2ccce1e9f87f9fad08
Master sites 1
  • http://la-samhna.de/archive/

Commit history 1

DateCommitCreditsLog message
0ba9c45575 Muhammad Moinur Rahman security/samhain: Remove non-default option PRELUDE
prelude has been defunct for some times and have been marked deprecated. This removes the non-default OPTION PRELUDE. PR: 296317 Approved by: [email protected] (maintainer-timeout)