source: trunk/docs/Changelog@ 516

Last change on this file since 516 was 516, checked in by katerina, 8 years ago

Fix for ticket #409 and #410 (unprivileged suidcheck and gcc 6.2 compiler warnings).

File size: 107.6 KB
RevLine 
[514]14.2.0:
[516]2 * fix handle tracefs (permission for stat denied) when running
3 suidcheck without root privilege (for testing)
4 * fix compiler warnings on gcc 6.2
[515]5 * fix incorrect mandir option in Install.sh (reported by David)
[514]6 * add option 'SetAuditdFlags = r|w|x|a' to (re-)define flags supplied
7 to auditd (request by David)
[513]8 * fix minor bug in error message (tf_trust_errfile needs copy to
9 keep relevant value).
[512]10 * fix SH_DEADFILE (too big, some architectures have nlink_t
11 as uint16, e.g. FreeBSD).
[511]12 * add portcheck option 'PortCheckDevice = device' to monitor a
13 device regardless of address assigned to it (patch by Anton H., plus
14 some additions)
15 * fix case sensitivity of severity/class options (issue raised by
16 Anton H.).
17 * clarify restrictions for ProcessCheckPSArg (user manual)
18
[515]194.1.5 (09-08-2016):
[509]20 * fix memory leak in server (reported by C. Doerr).
21
224.1.4 (02-06-2016):
[507]23 * fix problems with wildcard pattern re-evaluation (reported by
24 A. Ansari):
25 - not stored if no match at startup
26 - only one (the first) stored if same pattern for file and dir
27 * fix problems with directory creation in inotify watched tree
28 (reported by A. Ansari):
29 - recursive depth not decreased
30 - watched as directory even when recursion depth should drop below zero
31
324.1.3 (19-04-2016):
[503]33 * on Cygwin, the AvoidBlock function is now off by default
34 (problem reported by Fred C)
[502]35 * tighter sanity checks in sh_static.c
[501]36 * fix regression with '--enable-static' in sh_static.c
[502]37 (reported by amaiket).
38
[507]394.1.2 (21-12-2015):
[499]40 * add options --enable-selinux and --enable-posix-acl for "hard fail"
41 if libraries aren't found (requested feature)
42 * fix wrong policy assignment when inotify is active and change occurs
43 during a reload (reported by Bond)
[502]44 * fix failure to detect open UDP port for some daemons
45 (reported by James)
[495]46 * fix broken 'rpm' and 'rpm-light' makefile targets
47 (reported by Bond)
[499]48 * fix message for self-check
[495]49
[507]504.1.1 (01-11-2015):
[493]51 * fix problem with timezone calculation on month rollover for
52 negative timezones (west of GMT; reported by Bond)
[492]53 * fix problem with rotated logfiles when content is always constant,
54 i.e. checksum does not change (reported by Bond).
[491]55 * fix problem with baseline update on FreeBSD and probably other
56 non-GNU/Linux systems (reported by L.Vasiliev)
57 * fix bad check_libwrap() call in sh_xfer_server.c
58 (reported by L.Vasiliev)
59
[507]604.1.0 (24-09-2015):
[488]61 * fix quirks with Linux audit support
62 * implement 'silent check' (requested feature)
[487]63 * fix call of self_check for exit on sigterm
64 * fix safe_logger() - uses the logger utility with a non-posix option
[485]65 * fix missing reporting on shell expansion capability in --version
66 * fix missing error message on invalid list for skipchecksum
67 (reported by Bond)
[483]68 * fix missing definition for a sh_dummy_ var on BSD et al.
69 (reported by Andrew)
70
[507]714.0.0 (20-07-2015):
[483]72 * fix and document default settings for mounts check
[481]73 * new -w CL option to wait on scan completion
74 * new option ReportCheckflags
75 * enhance testsuite to cover new functionality
76 * implement draft for change control integration:
77 * new database format to store change flags
78 * refactoring of db I/O and client/server code
79 * option StartupLoadDelay
80 * --create-database CL option
81 * --outfile CL option
82 * --binary, --list-filter CL options
83 * --verify-database CL option
84 * yulectl -c DELTA:<uuid> command
85 * option SetDeltaRetryCount
86 * option SetDeltaRetryInterval
87 * update documentation
88 * remove old/unused code
89 * fix compiler warnings with gcc 5.1.0
90 * update config.sub, config.guess
91
923.1.6 (08-06-2015):
[474]93 * Modify testcompile.sh to remove 'smatch' and use 'clang'
94 instead.
95 * Fix compile problems with clang.
[473]96 * Modify testcompile.sh to remove 'uno' and use 'cppcheck'
97 for static checking
[472]98 * Move AC_CHECK_FUNCS( getnameinfo getaddrinfo ) behind
99 the check for libsocket to have them found on Solaris
100 * Fix IPv4-only bug in bind_addr use in retry_connect()
101 * Add more debug code in connect_port()
102
[475]1033.1.5 (26-03-2015):
[469]104 * Fix IPv6 issue with portcheck (need to be able to specify
105 IPv6 interfaces).
106 * Fix minor issues with bugs in testing code
107 * Add command line option '--server-host' to set the log server
108 * In samhain.startLinux.in start script template, add code to read
109 options from /etc/sysconfig/${NAME} for RedHat
110
1113.1.4 (17-02-2015):
[463]112 * Add non-existent file to the regression test config
113 * Fix erroneous call to sh_hash_init when a missing file
114 is specified in the configuration
115 * Fix buffer allocation for getgrnam_r for large groups
[462]116 (problem reported by Sergio B)
[463]117 * Search RPM in $HOME/rpmbuild if test -d _topdir fails (CentOS
[461]118 recommends '%(echo $HOME)/topdir', reported by E. Taft)
119
[462]1203.1.3 (01-11-2014):
[463]121 * Remove initgroups() from the popen call in unix entropy gatherer
[460]122 * Add error message for update mode if local baseline cannot be found
123
[462]1243.1.2 (07-08-2014):
[454]125 * Fixed incorrect memset in sh_checksum.c (sha256)
126 * Circumvent a gcc compiler bug with inline asm (gcc 4.8)
127 * Allow multiple exclusions for SUID check
128 * Use calloc instead of malloc
[456]129 * Add overflow check in minilzo.c (but the potential integer
130 overflow [CVE-2014-4607,LMS-2014-06-16-1] is irrelevant anyway
131 because the function is never used on external data).
132 * Fixed a minor bug in exepack_fill.c that was unearthed by the minilzo
133 overflow check (the required buffer length information for the check
134 wasn't provided)
[457]135 * Fixed incorrect logic in setting the ALLIGNORE flag (more specific
136 directory / file directives were ignored)
[459]137 * Fix for tickets #358 (repetitive lstat warning about deleted
[458]138 directory) and #359 (reporting of deleted/added top level directory)
[459]139 * Fix a free() on NULL (harmless but avoids spurious warning)
[454]140
[462]1413.1.1 (01-05-2014):
[447]142 * Disable inline asm on Cygwin (issue reported by Erik)
[448]143 * Fix sh_ipvx_is_ipv4 such that numeric hostnames are not
144 incorrectly recognised as IP address (reported by A. Hofland)
[449]145 * Fix sh_ipvx_is_ipv6
[447]146
1473.1.0 (31-10-2013):
[444]148 * Add support for SHA2-256 checksum function
[443]149 * Drop support for --enable-khide on kernel version 3.x and above
[442]150 * Fix IgnoreAdded to anchor regex at beginning of path (reported by
[441]151 R.Lindner)
[442]152 * Add check to detect availability of pmap_getmaps() (missing in
[441]153 static library on recent Linux systems as reported by Ian Baldwin)
[440]154 * Fixes for Ubuntu 13.4:
[442]155 - no error msg for failing stat on /run/user/Username/gvfs in
[441]156 suidcheck
157 - no error message for failing hardlink check on /run/user/Username
158 - eliminate compiler warnings
159 * Add option '--disable-asm' to work around a gcc issue in Debian
160 unstable (reported by micah)
[442]161 * Remove option '-i' from mkitab in samhain-install.sh.in (reported
162 by N. Kerski)
[439]163
[447]1643.0.13 (11-06-2013):
[437]165 * Fix detection of nonfunctional /dev/kmem
[436]166 * Fix race condition in GrowingLogfiles policy that
167 causes spurious reports (problem noticed by J. Daubert)
168
[447]1693.0.12 (16-05-2013):
[435]170 * Fix compiler warning in bignum.c (unused parameter)
171 * Detect if /var/run is a symlink and /run exists
[434]172 * Fix for broken support for audit subsystem (reported
173 by isquish)
[433]174 * Fix for incorrect use of sh_inotify_add_watch_later
175 which causes a steady increase in memory usage
176 (issue reported by Maxime V)
177 * Fix for potential minor memory leak
[432]178 * Fix for bug in negated conditionals for config file
179 (reported by M. Ward)
180
[447]1813.0.11 (08-04-2013):
[429]182 * Fix for compile error on HP-UX (reported by P. Alves)
[428]183 * Propagate ERANGE error from getgrxxx_r (issue raised by C. Feikes)
[431]184 * Fix reconnecting to database for Oracle
[425]185 * Add better logrotate handling for the GrowingLogs policy (search
186 rotated log and verify it, don't report if this succeeds)
187 * Add ability to create debian packages with preset password (use
188 env var PASSWORD)
189 * Add option KernelCheckProc (bool) to suppress kernel /proc test
190 * Add option IgnoreModified to cover transient files that
191 not only get added/deleted but also modified
192
[447]1933.0.10 (13-01-2013):
[424]194 * Revert to previous logic in samhain.c because it will block
195 otherwise (reported by Alexandr Sabitov)
196
[447]1973.0.9 (21-12-2012):
[422]198 * Fixed a Cygwin compile warning
199 * Change logic in samhain.c to make sure inotify doesn't cause
200 excessive full scans
201 * Add option IgnoreTimestampsOnly in Windows registry check (ignore
202 changes if only timestamp has changed)
[421]203 * Fix the probe command (misses clients if their startup message
204 has been missed)
[418]205 * Fix the RPM spec file for --enable-network=client and no password
206 (reported by Mitch St Martin)
[419]207 * Fix build error with Linux audit (reported by Andy Jack)
[420]208 * Fix detection of utmpx.h (reported by D. Thiel)
[418]209
[447]2103.0.8 (01-11-2012):
[415]211 * rename to 3.0.8 for release
212 * useful exit status for samhainadmin.pl --examine
213
[447]2143.0.7a (25-12-2012):
[415]215 * add ability to create RPM with preset password (use
216 env var PASSWORD)
217 * fix the rpm-light makefile target
218 * fix minor bug in samhain_setpwd.c (incorrect error message)
219
[447]2203.0.7 (25-10-2012):
[415]221 * update documentation for prelude
222 * fix configure to properly search for Oracle Instantclient SDK
223 * pass through TNS_ADMIN environment variable for Oracle
224 * optimize audit rules automatically
225 * zero out the html status file at server exit
226 * don't check for assembly optimization unless linux or *BSD
227
[447]2283.0.6 (01-09-2012):
[414]229 * install logrotate script if /etc/logrotate.d is detected
230 * new option --enable-suid for nagios
[408]231 * fix for --enable-ptrace: make the save_tv variable thread specific
[405]232 * fix bug in inotify code which made it follow symlinks (by [anonymous])
233 * fix two missing SH_MUTEX_LOCK(mutex_thread_nolog) (by [anonymous])
234 * fix for 'no such process' message from sh_fInotify_init_internal()
235 (by [anonymous])
236 * fix for --enable-ptrace with threads (by [anonymous])
237 * option SetReportFile for writing out summary after file check
238
[447]2393.0.5 (11-07-2012):
[403]240 * fix xml format templates for registry check
241 * fix database download on registry check init (reported by ldieu)
242
[447]2433.0.4 (01-05-2012):
[402]244 * fix verbosity of message for alerts on already deleted watches
245 (set it to debug - suggested by xrx)
246 * fix extraneous error messages about file not found from
247 sh_fInotify_init_internal() (bug reports by xrx and aj)
248
2493.0.3 (28-03-2012):
[400]250 * fix potential deadlock in sh_ext_popen()
[399]251 * make sure sh_processes_readps cannot hang forever
[398]252 * fix for deadlock if sh_processes_readps hangs
[397]253 * fix for deadlock if suid check and inotify are used together
[399]254 (reported by A. Jack)
[396]255 * fixed problem with samhain_stealth.c (handle input config
256 files that don't end with a newline)
257 * fixed compiler warnings for yulectl.c with stealth
[395]258 * fixed lacking support for O_NOATIME on 64bit linux
259
[402]2603.0.2a (23-02-2012):
[394]261 * Fix compile error on Solaris 10
262
[402]2633.0.2 (16-02-2012):
[392]264 * change sql init scripts to make bigint fields unsigned (problem
265 reported by A. Sabitov)
[403]266 * patch by Andy Jack for issue with the --with-gpg option (hangs with
[392]267 high cpu load at startup)
[390]268 * call ./samhain-install.sh as /bin/sh ./samhain-install.sh in the
269 RPM spec file, because /var might be mounted noexec (reported by GC)
[389]270 * fixed configure.ac for the case that --with-gpg and --enable-nocl are
271 used (./samhain for gpg checksum; problem report by Andy Jack)
[388]272 * fixed a potential NULL pointer dereference in sh_inotify.c on
273 systems where inotify is not available (reported by <anonymous>)
274 * fixed: the config file template mentions (in a comment) the
[387]275 non-existent directive SetLockPath instead of the correct
276 SetLockfilePath (reported by Curtis).
277 * fixed: the definition of O_NOATIME isn't seen in sh_files.c.
278
[392]2793.0.1 (07-12-2011):
[382]280 * fix a memory leak (reported by C. Westlake)
[381]281 * fix an uninitialized variable in the suidcheck code (problem
282 reports by T- Luettgert and Kai)
[387]283 * fix a bug in the port check with --disable-ipv6 (reported
[382]284 by C. Westlake)
[378]285 * fix potential deadlock in sh_files.c (reported by S. Mirolo)
286 * change Makefile.in to stop on compile error rather than at link stage
287 (suggested by S. Mirolo)
288 * fix compile errors caused by missing #define (pthread disabled) and
289 wrong function call (OSX specific code), reported by S. Mirolo
[385]290 * fix warning by the llvm/clang static checker
291 * fix compile issues on freebsd
292 * handle (ignore) SIGPIPE more thoroughly
293 * update config.guess, config.sub
[378]294
[384]2953.0.0a (06-10-2011):
[377]296 * Fix compile-time issues on RHEL5 (reported by Thomas)
297
[384]2983.0.0 (01-11-2011):
[373]299 * Add support for the inotify API
[375]300 * If --disable-shellexpand is used, also disable setting
301 the prelink/ps paths
[367]302 * Fix missing check_mask storage for glob pattern
303 * Add support for integer keys in zAVL
304 * Fix compiler warnings with gcc 4.6.1 (variables that get set
305 but then remain unused)
306 * Add more server-side debugging for IPv6
307 * Make kern_head compile with 3.x kernels
308
3092.8.6 (20-09-2011):
[359]310 * Manual updated.
311 * Added an option LogmonDeadtime to avoid repetitive reporting
312 on correlated events.
[357]313 * Fix problems with timestamp handling in logfile correlation
314 (problem reported by D. Dearmore)
[356]315 * List the policy under which a directory/file is checked
[355]316 * Option to use a textfile with a list of files for update
[354]317 * Fix --enable-db-reload option (reported by David L.)
318 * Fix samhain_kmem compilation, need to compile under chosen
319 name if --enable-install-name is used (reported by David L.)
[352]320 * Fix uninitialized string in error message (reported by mimox)
321
[359]3222.8.5a (16-06-2011):
[350]323 * Fix autolocal.m4 for new configure option
324
[359]3252.8.5 (15-06-2011):
[350]326 * Detect non-working /dev/kmem in configure script, and fix
327 a bug in the samhain_kmem kernel module.
[349]328 * Fix wrong handler for LogmonMarkSeverity (reported by S. Chittenden)
[347]329 * Better protection against the 'intruder on server' scenario
330 pointed out by xrx. Add option to disable shell expansion in
331 configuration files, and check gpg signature earlier.
332 * Support /opt/local/bin in the Unix entropy gatherer (suggestion
333 by Sean Chittenden)
334 * Cache timeserver response for one second (suggestion by
335 Sean Chittenden)
336
[349]3372.8.4a (11-05-2011):
[342]338 * Fix for compile error with --with-prelude
339 (reported by Sean Chittenden), missing regression test added
340 * Fix for compile error with --enable-udp (reported by Sean Chittenden),
341 missing regression test added
[341]342
[349]3432.8.4 (30-04-2011):
[341]344 * Fix another reload bug in the log monitoring module
[333]345 * Add unit tests for IgnoreAdded/IgnoreDeleted configuration directives
346 * Fix deadlock after reload when compiled with --enable-login-watch
347 (reported by M. Teege and O. Cobanoglu)
348 * Fix compile error for samhain_hide.ko with recent kernel
349 * Include patch by J. Graumann to specify the location of the
350 secret keyring with samhainadmin.pl
[326]351 * Fix potential timeout problem in sh_sub_stat_int() and propagate the
352 error (issue reported by mtg)
353 * Add support for X-Forwarded-For in apache logfile parser, add
354 option 'RE{regex}' to insert arbitrary regex
[328]355 * New options PortcheckMinPort, PortcheckMaxPort for the open ports
356 check
[326]357
[333]3582.8.3a (23-03-2011):
[323]359 * Fix two 'label at end of compound statement' errors on FreeBSD
360 (reported by David E. Thiel)
361
[333]3622.8.3 (22-03-2011):
[321]363 * init scripts: load samhain_kmem.ko before samhain starts
364 * slib.c: eliminate mutex from sl_create_ticket()
365 * sh_entropy.c: move pthread usage out of child
366 * sh_hash.c, sh_pthread.c, sh_pthread.h: sh_hash_hashdelete()
[328]367 needs deadlock detection, may be called from within sh_hash_init()
[321]368 via atexit handler on error condition
369 * sh_suidchk.c, sh_calls.c, sh_calls.h: need a nosub version of lstat()
370 to use with relative path after chdir()
371 * samhain.c, sh_calls.c, sh_calls.h: only run (l)stat() in subprocess
372 after reading config file (to allow disabling)
373 * sh_unix.c: run sh_sub_kill() in parent after forking the daemon
[315]374 * fix zeroing of result from getnameinfo() (problem reported by Richard)
375 * fix spurious warnings about unsupported address family (reported
376 by N Silverman)
[328]377 * option to run lstat/stat in subprocess to avoid hanging on NFS mounts
[315]378 (off by default)
[312]379 * fix Windows/Cygwin compile error (reported by A. Schmidt)
380
[333]3812.8.2 (16-02-2011):
[310]382 * add function to skip checksumming
383 * Fix missing check for recursion depth >= 0 if not IgnoreAll
384 * Fix hardcoded path for temp directory in deployment scripts
[309]385 * Fix bad compile on CentOS 4.8 with gcc 4.1.2
[310]386 * Fix minor bug in check_samhain.pl (pointed out by J.-S. Eon long ago)
[309]387
[333]3882.8.1 (17-11-2010):
[307]389 * Document handling of missing files with secondary schedule
[305]390 * Fix incorrect handling of missing files when secondary schedule
391 is used (reported by Sergey)
[304]392 * Fix null pointer dereference in config parse handler for SetMailAlias
393 (reported by Sergey)
[303]394 * Fix incorrect memset() in sh_kern.c (passed struct by value...),
395 reported by Roman and Stefan
396 * Fix 'make install' to create user-defined directory
[300]397 * fix minor issues noticed by T. Luettgert (test code assumes port
398 0/tcp is unused, wrong ifdef order (without impact on compilation))
[299]399 * fix compile error on AIX 5.3 with --enable-login-watch,
400 reported by M. El Nahass (time.h missing in src/sh_login_track.c)
401
[307]4022.8.0 (01-11-2010):
[295]403 * Support IPv6
[294]404 * Add registry checking
405 * Use auditd records to find out who did it
406
[307]4072.7.2c (23-09-2010):
[294]408 * Fix uppercase hostname problem in client/server communication
[293]409
[294]410
[307]4112.7.2b (05-09-2010):
[292]412 * Fix compile errors on Solaris 10 (reported by A. Saheba)
413
[307]4142.7.2a (23-08-2010):
[291]415 * rewrote rijndaelKeySched() in a more conservative way to fix
416 compile problem on SLES 11.
417
[307]4182.7.2 (16-08-2010):
[290]419 * sh_utils.c: fixed an endianess issue that prevented cross-verification
420 of email signatures (reported by A. Zangerl)
[294]421 * sh_login_track.c: fix compiler warning (ignored return value
422 of fwrite)
423 * sh_readconf.c: fix comparison of SeverityUserX string
[290]424 (reported by max__)
425 * sh_processcheck.c: sh_prochk_set_maxpid: set retval on success
426 (reported by max__)
427 * fixed some compiler warnings on cygwin
[289]428 * sh_extern.c: As reported by T. Luettgert, gcc 4.4.4 on Fedora 13
429 will throw a warning if execve is called with a NULL argv pointer.
430 Need to provide a dummy argp[].
431
[307]4322.7.1 (07-06-2010):
[286]433 * samhain_kmem.c: fix compile problems
434 * fix problems with config file parser: increase max. line length,
435 support quoting/escaping of filenames (as in 'ls --quoting-style=c')
[285]436 * check for pcre_dfa_exec (not available in old versions
437 of libpcre, reported by Shinoj)
438 * patch to allow server to log client reports to prelude
439 (by J. Ventura)
440
[284]4412.7.0a (09-05-2010):
442 * fix /dev/kmem detection (reported by S. Clormann)
443
[282]4442.7.0 (01-05-2010):
[279]445 * sh_utmp.c, sh_login_track.c: additional login checks
446 * sh_unix.c: use SIGTTIN as alternative for SIGABRT
447 (SIGABRT seems not to work on AIX, reported by Peter)
448 * sh_utmp.c: fix compile error without pthreads (inotify_watch used)
449 * sh_kern.c, kern_head.c: fix some 64bit issues
450 * dnmalloc.c: fix compiler warning (ignored ret value)
451 * Fix LSB init script for kernel module
452 * samhain_kmem kernel module for /proc/kmem added
453
[282]4542.6.4 (22-03-2010):
[279]455 * Don't read proc_root_iops in sh_kern.c (Problem report
456 by H. R.)
457 * Logfile check can check output of shell commands
458 * Use data directory as default for logfile checkpoints
459 * Fix broken checkpoint save/restore for logfiles
[276]460
[282]4612.6.3 (10-03-2010):
[275]462 * Fix bug in mail module, recipients incorrectly flagged
463 as aliases, which breaks immediate mail for 'alert'
464 (reported by Jesse)
465
[282]4662.6.2 (28-01-2010):
[272]467 * Makefile.in: fix problem in deploy system caused
468 by adding build number for debs in 2.5.9 (reported
469 by roman)
470 * add option for per-rule email alias in log monitoring
471 module
472 * sh_readconf.c: make keywords case-independent
473 * sh_mail.c: on error, report full reply of mail server
474 * sh_mail.c: report smtp transcript at debug level
475 * make sure mail aliases are not emailed twice, and
476 recipients cannot be defined after aliasing them
[271]477 * handle named pipes in log monitoring module
478 (open in nonblocking mode, ignore read error if empty)
[270]479 * fix bug in the server function to probe for necessity
480 of configuration reload for client
481
[269]4822.6.1b (23-12-2009):
483 * fix missing include for sh_inotify.h in sh_inotify.c
484 (reported by Ack)
485
[268]4862.6.1a (22-12-2009):
487 * fix typo in code for older inotify versions without
488 inotify_init1(), reported by Forll
489
[265]4902.6.1 (21-12-2009):
491 * add a routine to log monitoring module to guess the proper year
492 for timestamps without year (standard syslog)
493 * add feature to automatically detect and report bursts of
494 similar messages in log monitoring module
495 * add feature to check for missing heartbeat messages in
496 log monitoring module
497 * cache UIDs/GIDs to reduce the number of lookups
[259]498 * use inotify to track login/logout (sh_inotify.c, sh_utmp.c)
[262]499 * support event correlation in log monitoring module
500 * make sure host matching is done in a case insensitive way
[263]501 (reported by Tracy)
502 * fix invalid use of mutex_mlock in src/sh_unix.c, function
503 sh_unix_count_mlock() (reported by Remco Landegge).
[262]504
[265]5052.6.0 (01-11-2009):
[258]506 * don't use statvfs() for process checking on FreeBSD
[257]507 * fix bug with parallel compilation of cutest in Makefile
508 * sh_mem.c: fix deadlock in debug-only code
[256]509 * Evaluate glob patterns for each run of file check
510 * Add compile option to disable compiling with SSP
511 * Run SUID check in seperate thread
512 * By default disable scanning ..namedfork/rsrc (deprecated by Apple)
513
[259]5142.5.10 (12-10-2009):
[252]515 * sh_suidchk.c: handle $HOME/.gvfs mount gracefully
516 * slib.c: fix race condition caused by closing a stream and the fd
517
[259]5182.5.9c (01-10-2009):
[251]519 * move stale file record error message closer to problem zone
520 * sh_port2proc.c: fix flawed logic for interpreting /proc/net/udp,tcp
521
[259]5222.5.9b (22-09-2009):
[248]523 * remove stale file record when creating handle, and raise diagnostic
524 error to find origin of stale record
[250]525 * sh_port2proc.c: check /proc/net/upd6 for IPv6-only UDP sockets
[248]526
[259]5272.5.9a (17-09-2009):
[247]528 * fixed a race condition in closing of file handles
529
5302.5.9 (11-09-2009):
[246]531 * added code to generate directory for pid file, since it
532 would get cleaned if /var/run is a tmpfs mount (problem
533 reported by M. Athanasiou)
[244]534 * fixed a bug that prevented reporting of user/executable path
535 for open UDP ports (issue reported by N. Rath)
[247]536 * added more debugging code
[244]537
[247]5382.5.8a (18-08-2009):
[242]539 * fixed a bug in sh_files.c that would prevent samhain from
540 running on MacOS X (reported by David)
541
[247]5422.5.8 (06-08-2009):
[240]543 * fixed a bug in the MX resolver routine which causes it to fail
544 sometimes (issue reported by N. Rath).
545 * fixed deadlock with mutex_listall in sh_nmail_test_recipients() if
546 error occurs within sh_nmail_flush (problem reported by N. Rath)
547
5482.5.7 (21-07-2009):
[239]549 * sh_userfiles.c: set userUids = NULL at reconfiguration (issue
550 reported by U. Melzer)
551 * if available, use %z to print timezone as hour offset from GMT
[238]552 in email date headers (problem reported by NP, solution suggested
553 by TimB).
[237]554 * eliminate C99-style comments (problem reported by
555 venkat)
556 * fix bad variable name for AC_CACHE_CHECK
[235]557 * fix potential deadlock when external programm is called
558 (problem reported by A. Dunkel)
559
[239]5602.5.6 (09-06-2009):
[231]561 * recognize fdesc filesystem on MacOS X for suid check (Problem
562 reported by David)
563
[234]5642.5.5 (01-05-2009):
[230]565 * fix some warnings from gcc 4.4 (strict aliasing)
566 * fix minor memory leak in process check
[229]567 * t-test1.c: change function names because of clashes with an
568 AIX system header file
[227]569 * fix warnings with -fstack-check (too large stack frames)
[226]570 * fix for incorrect handling of hostnames in database insertion
571 (reported by byron)
572
5732.5.4 (04-03-2009):
[225]574 * fix for incorrect input check in SRP implementation (discovered
575 by Thomas Ptacek)
[223]576 * option KernelCheckPCI to switch off check of PCI expansion ROMs
577
5782.5.3 (25-02-2009):
[221]579 * disable dnmalloc on MacOS X, doesn't work properly
580 * stat -> lstat in sh_unix_file_exists (OS X nameforks, report
581 by David)
[220]582 * Fix problem in standalone trustfile, does not work correctly on
583 group-writeable files (reported by David).
[219]584 * Option SetThrottle to throttle throughput for db download
585 * Option SetConnectionTimeout to configure the client connection
586 timeout configurable
[218]587 * Provide getrpcbynumber, getservbyname implementations
588 to avoid dependencies with static linkage
589 * Fix missing sh.host.(system|release|machine) on FreeBSD,
590 reported by D.Lowry
591 * New option SetMailPort to allow setting of SMTP port (patch
592 by lucas sizzo org)
[215]593 * allow POSIX regexes for filters
594 * consolidate filtering code from sh_extern.c, sh_(n)mail.c
[214]595 * rewrite mail subsystem to allow individual filtering
596 for recipients
[211]597 * allow shell expansion for values of config file options
[212]598 * allow list as value for option PortCheckInterface
[211]599 * fix bug in trustfile.c (with slapping on "/../" for symlinks)
[212]600 * lock baseline database upon writing
[211]601
[210]6022.5.2b (29-01-2009):
603 * turn warnings into errors in the compile test suite
604 * fix missing define in sh_portcheck.c to eliminate compiler warning
605 (reported by joerg)
606
[209]6072.5.2a (26-01-2009):
608 * fix problem building deb package (bit rot; reported by joerg)
609
[208]6102.5.2 (22-01-2009):
[207]611 * samhain.c: report module failure with positive offset
612 * sh_database.c: parse numerical fields into ulong
613 * fix regression test script for postgresql
614 * fix regression test script for SELinux/ACL test
[206]615 * fix reporting of user for open ports to prelude
616 * report process pid for open ports
[205]617 * replace _exit() by raise(SIGKILL) b/o pthread problem
618 * new option LooseDirCheck ([false]/true), request by
619 Alexander
620 * improved help output of samhain_stealth (as suggested
621 by Michael Athanasiou)
[207]622 * new option ProcessCheckIsOpenVZ ([false]/true)
[205]623
[208]6242.5.1 (07-12-2008):
[203]625 * workaround for freebsd7 amd64 lossage (compiler toolchain,
626 no mmap to 32bit address space)
627 * samhain-install.sh: check for presence of stealth_template.ps
628 before trying to create it
[202]629 * use -Wno-empty-body if supported to suppress warnings about
630 glibc pthread_cleanup_pop implementation
631 * fix text relocations for i386 in src/sh_tiger1.s
[200]632 * implement server->client SCAN command to initiate file check
633 * implement @if / @else conditionals with more tests in config file
[196]634 * new option SetDropCache to drop checksummed files from cache
[195]635 * report process/user for open ports on FreeBSD (code
636 lifted from FreeBSD sockstat.c)
[194]637 * fix for config reload issue with stealth mode (reported by
638 siim)
[192]639 * add -fstack-protector flags to LDFLAGS
640 * cygwin fix: don't use dnmalloc, doesn't work with pthreads
641 * cygwin fix: make trust check in samhain-install.sh return zero
642 * improved diagnostics for file read errors
643 * fixed script permissions (754 -> 755), reported by Christoph
[190]644 * constness patch by Joe MacDonald
[191]645 * GnuPG key ID patch by Jim Dutton
[192]646 * sh_kern.c: more error checking for reads from kernel
[190]647
6482.5.0 (01-11-2008):
[188]649 * dnmalloc.c: fix inconsistent chunksize on 64bit systems
[185]650 * fix improved error reporting for failed fstat in checksumming
651 * report process/user for open ports (Linux only currently)
652 * fix deadlock on exit in sh_hash_init()
[184]653 * fix --enable-mounts-check for FreeBSD 7.0 (no MNT_NODEV anymore)
654 * log monitoring support
[183]655 * fixed constness in trustfile interface
[181]656 * remove libprelude 0.8 support (obsolete)
[180]657 * sh_forward.c: increase TIME_OUT_DEF to 900 secs
658 * dnmalloc.c: initialize rc in dnmalloc_fork_child(),
659 reported by B. Podlipnik
660
6612.4.6a (09-10-2008):
[177]662 * fix compile problem on Fedora 9 (reported by pierpaolo),
663 'struct ucred' in sh_socket.c requires _GNU_SOURCE
664
6652.4.6 (27-08-2008):
[176]666 * fix compile failure on win2k/cygwin (sh_unix_mlock prototype),
667 reported by jhamilton
[174]668 * fix potential deadlock with dnmalloc upon fork()
669 * fix non-portable use of 'hostname -f' in regression test suite
670 (reported by Borut Podlipnik)
671
6722.4.5a (18-08-2008):
[173]673 * fix compile problem in dnmalloc.c (remove prototypes for
674 memset/memcpy), problem reported by Juergen Daubert
675
6762.4.5 (07-08-2008):
[172]677 * testscripts: 'chmod -R' -> 'chmod -f -R', since Solaris 10
678 bails out on a chmod on a dangling link
679 * fix bug in check_samhain.pl nagios script (J.-S. Eon)
680 * use the UNO static checker
681 * compile as position independent executable (PIE)
[171]682 * handle EINPROGRESS error (Windows/cygwin issue)
683 * make sure every function uses less than one page of stack
684 (proactive security against gap jumping, Gael Delalleau)
685 * use dnmalloc instead of system malloc
[172]686 (proactive security against heap buffer overflows)
[171]687 * fix dnmalloc bugs and portability problems
688 * check for compressBound, since older zlibs don't have it
689
6902.4.4 (30-04-2008):
[170]691 * sh_database.c: fix maximum size of sql query string, maximum
692 size of strings in struct dbins_
693 * sh_hash.c: fix maximum size of message string
694 * fix typo in the base64 decoder
695 * fix 'make cutest' for parallel compiling
696 * fix compile warnings with -Wstrict-prototypes
697 * sh_static.c: override getgrgid, getpwuid for libacl
698 * fix more warnings about variables clobbered by 'longjmp'
699 or 'vfork' (due to library internal handling of mutexes)
700 * fix configure warning about unused datarootdir
[169]701 * configure.ac: warn, but accept nonexistent tmp dir
702 (Problem reported by Brian)
703 * sh_unix.c: undef P_ALL, P_PID, P_PGID before including
704 sys/wait.h (compile problem reported by Reputation)
705 * syslog function tested ok with Syslog Fuzzer v0.1
706 by Jaime Blasco (c) 2008
707 * slib.c: call fflush when writing trace to file
708 * sh_readconf.c: don't set OnlyStderr to false if gpg (problem
709 reported by Irene Reed)
710 * fix unconditional removal of pid file in atexit handler (bug
711 reported by Brian)
712 * fix invalid free() in sh_unix_checksum_size()
713 * sh_processcheck.c: workaround for stupid OpenBSD bug (returns
714 ENODEV instead of EAGAIN, because fgetc does
715 fcntl(0,F_SETFL,O_NONBLOCK) [ENODEV] internally), problem
716 reported by Roman R.
717 * fix buf that cause incomplete reporting of modified symlink if
718 symlink has changed and both old and new paths are >48 bytes
719 * fix bug that prevented mount check from running in one-shot mode
720 * enable mount check for openbsd
721 * fix processcheck default options and test script for openbsd
722 * option --list-file to list content of file (if saved)
723 * sh_tools.c: use strcasecmp in reverse lookup since DNS is case
724 insensitive (bug reported by Phil)
725 * fill content if MODI_TXT, zlib compress, base64 encode and add
726 as link_path in sh_unix.c; add to report in sh_hash.c
[164]727 * testsuite: add test for gpg fingerprint option
728 * sh_extern.c: add 'CloseCommand' for syntactic sugar,
729 add in testsuite
730
[169]7312.4.3a (12-02-2008):
732 * fix compile error caused by open() with O_CREAT and no third argument
[167]733 (reported by J.-S. Eon)
734
[169]7352.4.3 (31-01-2008):
[162]736 * sh_kern.c: don't require asm/segment.h for kernel check module
737 * use global var with pid of initial thread instead of getpid(),
738 since LinuxThreads returns different value in each thread (problem
739 reported by Steffen Mueller)
740 * sh_kern.c: no inode check for pci rom (creates spurious messages)
741 * slib.c: eliminate prototype for vsnprintf (compile problem reported
742 by eddy_cs)
[161]743 * Makefile.in: fix missing dependency on 'encode' for $(OBJECTS)
744 (reported by Matthias Ehrmann)
745
[162]7462.4.2 (17-01-2008):
[160]747 * fix broken option --with-checksum (reported by halosfan),
748 regression test added
749 * change HP-UX default optimization to +O2 since +O3 breaks
750 cutest unit testing framework
[156]751 * put result vector of rng in skey struct
[154]752 * fix more compiler warnings, and a potential (compiler-dependent)
753 NULL dereference in the unix entropy collector
[153]754 * fix some compiler warnings
755 * use -D_FORTIFY_SOURCE=1 -fstack-protector-all instead
756 of -fstack-protector
757 * always add PTHREAD_CFLAGS to LDFLAGS
[151]758 * sh_tiger0.c: checksum functions return length of file hashed,
759 needed to fix GrowingLogfile bug (researched by
760 siim at p6drad dash teel dot net)
[150]761 * sh_static.c: fix more 'label at end of compound statement'
762 (SH_MUTEX_UNLOCK closing brace; reported anonymously)
[149]763 * make sh_hash.c thread-safe
764 * remove plenty of tiny allocations
765 * improve sh_mem_dump
766 * modify port check to run as thread
[152]767 * new option PortCheckSkip to skip ports
[149]768 * fix unsetting of sh_thread_pause_flag (was too early)
769
[160]7702.4.1a (28-11-2007):
[149]771 * fix overwrite of ErrFlags (functionality bug)
772
[160]7732.4.1 (26-11-2007):
[147]774 * security fix: regression in the seeding routine for the PRNG
775 (detected by C. Mueller)
776 * regression test added for PRNG seeding routine
[146]777 * fix problem with PCI ROM check (spurious messages about modified
778 timestamps, reported by S. Clormann)
779
[160]7802.4.0a (08-11-2007):
[145]781 * fix compile failure with --enable-static (reported by S. Clormann)
782 * fix potential deadlock if SIGHUP is received while suspended
783
[160]7842.4.0 (01-11-2007):
[131]785 * eliminate alarm() for I/O timeout (replaced by select)
786 * use getgrgid_r, getpwnam_r, getpwuid_r, gmtime_r, localtime_r,
787 rand_r, strtok_r if available
[134]788 * protect readdir(), getpwent(), gethostname() with mutexes
789 (readdir_r considered harmful)
[138]790 * make checksum/hash, entropy, rng functions reentrant
[134]791 * use thread-specific conversion buffer for globber()
[138]792 * fixed compile problems and problems with test suite
[144]793 * modify login watch to run as thread
794 * modify process check to run as thread
[131]795
[144]7962.3.8 (03-10-2007):
[127]797 * new option PortCheckIgnore = interface:portlist
798
[128]7992.3.7 (13-09-2007):
[125]800 * Makefile.in: fix 'make deb' target, wrong name of config file
801 written to debian/conffiles (reported by marc)
[124]802 * configure.ac: fix incorrect order of with-prelude, enable-static
803 (libprelude test was always without -static)
804
8052.3.6 (06-09-2007):
[123]806 * added yuleadmin.pl script contributed by Riccardo Murri
807 * fix compile error with -f-stack-protector on some systems (reported
808 by marc); we now check for libssp
[118]809 * fix local DoS attack on BSD systems lacking getpeereid() (reported
810 by Rob Holland).
[117]811 * fix yulectl password reading from $HOME/.yulectl_cred, erroneously
812 rejected passwords with exactly 14 chars (reported by Jerry Brown)
813 * introduce 'fflags' flag for suid files to detect new files already
814 found in regular file check (problem reported by J. Crutchfield);
815 also add regression test to ascertain that files in baseline
816 database are not quarantined erroneously
[114]817 * sh_hash.c: replace check for prefix 'K' with check for not prefix'/'
818 to allow for arbitrary module-specific store/lookup in db
819 * replace 'visited', 'reported', 'allignore' with generic 'fflags' field
[113]820 * sh_cat.c: reduce priority of MSG_TCP_RESET to avoid spamming if
821 port checking is used on same host as server (reported by kadafax)
822 * Install.sh: don't use --separate-output with non-checklist
823 widgets (problem discovered by D. Denton)
[111]824 * sh_gpg.c, sh_userfiles.c: use sh_getpwnam et al. wrappers
825
[124]8262.3.5 (20-06-2007):
[110]827 * sh_portcheck.c: try to tear down connections more gracefully
828 (request by S. Petersen)
[107]829 * fix incorrect handling of files with zero size in GrowingLogFiles
830 (problem reported by S. Petersen)
[105]831 * fix incorrect encoding of null checksums in stealth mode
832 * sh_hash.c: fix repeated printing of acl/attributes in database dump
833 * sh_unix.c: fix option useaclcheck ignored if both useaclcheck and
834 useselinuxcheck are supported
835
[110]8362.3.4 (01-05-2007):
[103]837 * sh_processcheck.c: fix missing init of sh_prochk_res array before
838 check (leads to degrading functionality over time and 'fake pid'
839 warnings; reported by D. Ossenbrueggen and
840 soren dot petersen at musiker dot nu)
841 * sh_processcheck.c: fix memory leak
[102]842 * sh_kern.c: for 2.6.21+ don't check proc_root_lookup (not possible
843 anymore? proc_root_inode.lookup != proc_root_lookup)
844 * sh_extern.c: flush streams before forking (problem if [Prelink]
845 used together with prelude logging, reported by M. deJong)
846 * fixed compilation of kern_head (regression cause by cross-compiling
847 fix; problem reported by S. Clormann)
[101]848 * more typos fixed (reported by John Horne)
849
8502.3.3 (27-03-2007):
[100]851 * fixed typos in configure.ac and manual (reported by John Horne)
852 * don't use mysql_options on x86_64, since libmysql is broken
[99]853 * fixed cross-compiling (patch by Joe MacDonald)
[94]854 * refactor sh_kern.c, sh_suidchk.c
855 * fix bug with leading slashes in linked path of symlinks within
[93]856 the root directory
857 * sh_kern.c: check PCI ROM (Linux), refactor code
[92]858 * move file descriptor closing more towards program startup
[93]859 * kernel check: support OpenBSD 4.0 (wishlist)
[92]860 * fix samhain_hide module (in-)compatibility with recent kernels
[93]861 (reported by Jonny Halfmoon)
862
[100]8632.3.2 (29-01-2007):
[89]864 * fix regression in full stealth mode (incorrect comparison of
865 bytes read vs. maximum capacity), reported by B. Fleming
866
8672.3.1a (21-01-2007):
[87]868 * fix incorrect use of sh_gpg_fill_startup if option --with-fp is used
869 (reported by zeroXten)
870
8712.3.1 (21-01-2007):
[100]872 * fix bug that may cause accidental closure of yule TCP socket
[85]873 (problem reported by B. Masuda)
[83]874 * fix sh_kern.c for kernel 2.6.19 (reported by S. Clormann)
[79]875 * don't use sstrip in 'make deb', since dh_shlibdeps uses objdump
876 (reported by B. Masuda)
877 * rm report.pl from rules.deb.in (reported by B. Masuda)
878 * samhainctl(): longer timeout (bad status reporting at startup,
879 reported by Phil and by Dan Track)
[78]880 * sh_portcheck.c: make connect errors more descriptive
881 * sh_portcheck.c: fix ignored setting of PortCheckActive
882 * sh_processcheck.c: add statvfs, and wrap for EINTR
883 * sh_portcheck.c: add wrappers for EINTR
884 * report user and executable for hidden processes
885 * fix update failure if reportonlyonce = false (reported
886 by D. Strine)
[76]887 * fix compile error in sh_portcheck.c (problem on cygwin
888 reported by J. D. Fiori)
889 * check filenames ending in space (also for utf8 spaces)
890 * check and escape csv formatted db listing
891 * cache results of sl_trustfile_euid()
892 * trustfile: use 4096 for MAXFILENAME, switch to strncpy
893 * CL option -v|--version for info on version and compiled-in options
894
[78]8952.3.0a (01-11-2006):
[75]896 * fix compile failure with portcheck + stealth (reported by lucas)
897
8982.3.0 (01-11-2006):
[68]899 * fix concurrency for inserts in oracle db
900 * add acl_(new|old) to database schema
901 * check for selix attributes and/or posix acl
902 * new option UseSelinuxCheck (bool)
903 * new option UseAclCheck (bool)
904 * regression tests for above
905 * add module to check for open ports
906 * add module to check processes (hidden/fake/missing)
907 * use const char* for argument of module configuration callbacks
908
[73]9092.2.6 (31-10-2006):
910 * fix missing support for MacOX X init script (reported
911 by Daniel Kowalewski)
[65]912 * fix error about non-readable file with no checksum required
913 * fix server warning about 'no server name known'
914 * fix 'make deb' makefile target
915 * fix default export severity for server
[68]916
[65]9172.2.5 (05-10-2006):
[63]918 * fix broken Install.sh, reported by Alexander Kraemer
[61]919 * workaround for glob(3) sillyness on MacOS X (reported by David)
920 * fix for broken resorce fork check (reported by David)
921 * fix for broken compilation on cygwin (reported by Elias)
922
9232.2.4 (03-09-2006):
[60]924 * add regression test for the GrowingLogFiles issue to test suite
[59]925 * fixed sh_unix.c: bug in database init if GrowingLogFiles used
926 with signed database (reported by Timothy Stotts)
927 * bug in manual fixed (incorrect documentation of --enable-user,
928 noticed by M. Brown)
929 * rc.subr compatible init script for FreeBSD/NetBSD
[58]930 * improve routine to find rpm after build
[57]931 * add netbsd rc file from Brian Seklecki (taken from pkgsrc-wip)
932 * fix error in manual (location of lock file)
[55]933 * fix bug with SuidExclude (files in directory were still checked)
934
[59]9352.2.3 (31-07-2006):
[53]936 * fix samhainadmin.pl: check for gpg-agent running if use-agent is set
937 (ticket #28 by anonymous)
[52]938 * fix stealth mode (regression in parser), problem reported by
939 Joschi Kuphal
[54]940 * fix minor typo in sh_database.c (compile problem reported by
941 Joschi Kuphal)
[52]942
[51]9432.2.2 (17-07-2006)
944 * minor fixes for regression test scripts
945 * minor updates to the manual (suggested by Brian A. Seklecki)
946 * fix sh_kern.c, kern_head.c: kernel rootkit detection for 2.6.17+
947 (problem reported by Leonhard Maylein)
948 * fix samhain_hide.c for 2.6.17+: use module_param() if MODULE_PARM
949 is not defined
950
9512.2.1c (11-07-2006)
[49]952 * fix sh_extern.c: sh_ext_add_default() cast to (void) was too early
953 (Solaris 8 build failure reported by Jesse)
954 * fix sh_unix.c: wrong prototype for sh_unix_mlock()
955 if HAVE_BROKEN_MLOCK (AIX 5.2 build failure reported by
956 Jonathan Kaufman)
957
[48]9582.2.1b (20-06-2006):
959 * fix compile error on SuSE 10.1 (reported by Leonhard Maylein)
960
9612.2.1a (15-06-2006):
[47]962 * fix compile error on i686/MacOS X (reported by Andreas Neth)
963
[48]9642.2.1 (13-06-2006):
[46]965 * fix gcc 4 warnings and build failure on x86_64 (debian bug #370808)
966 * fix compiling with Oracle (noticed by Colapinto Giovanni)
967 * fix configure.ac for most recent autoconf version
968 (debian bug #369503)
[42]969 * fix a regression that would make impossible local updates w/clients
970 * fix a few missing '\n' in sh_getopt.c
[41]971 * sh_kern.c: fall back on mmap() if read() fails on /dev/kmem
[40]972 * fix Solaris package creation
973 * recognize Solaris doors and event ports
974 * fix the idmef_inode_t patch: provide required info to avoid stat()
975 * fix bug on database update: fill in dev and rdev fields
976 * fix get_file_infos() in sh_prelude.c: avoid premature return
977 * GCC_STACK_PROTECT_CC: AC_TRY_COMPILE -> AC_TRY_LINK
[38]978 * deploy.sh: allow to set a group for hosts upon installation
[36]979 * patch by Yoann: fix an issue when setting the idmef_inode_t object
980 * fix memory leaks in error paths in sh_prelude.c
981 * fix concurrent inserts with postgres in sh_database.c
982 * code cleanup
[47]983 * fix manual version in spec file, first noticed by Imre Gergely
[34]984
[48]9852.2.0 (01-05-2006):
[30]986 * patch by Jim Simmons for samhainadmin.pl.in
987 * fix testsuite portability problems
988 * fix md5 endianess problem detected on HP-UX 11i / PA-RISC 8700
989 * fix potential NULL dereference in sh_utmp_endutent()
[29]990 * patch by Neil Gorsuch for suidchk.c (do not scan lustre, afs, mmfs)
991 * fix sh_ext_popen (OpenBSD needs non-null argv[0] in execve)
992 * fix make_tests.sh portability (echo '"\n"' does not work on OpenBSD)
993 * fix bug in sh_utils_obscurename (check isascii)
994 * scan h_aliases for FQDN if h_name is not
[27]995 * add copyright/license info to test scripts
996 * add copyright/license info to deployment system scripts
997 * support server-to-server relay
[29]998 * new CL option --server-port
[27]999 * minor improvements in manual
[25]1000 * patch by Yoann Vandoorselaere for sh_prelude.c
[22]1001 * allow --longopt arg as well as --longopt=arg
[29]1002 * verify checksum of growing log files (up to previous size)
[22]1003 * rewrite of the test suite
[18]1004 * added a bit of unit testing
1005 * minor optimizations in various places
1006 * optimized implementation of tiger checksum algorithm
1007 * read in 64k blocks (faster than 4k)
1008 * sh_unix.c, sh_hash.c: support file flags on *BSD, update Linux
1009 file attribute code
1010 * kern_head: fix compilation of kernel check module on OpenBSD
1011 * updated samhainrc.linux, samhainrc.freebsd
1012 * sh_unix.c: fix setrlimit (RLIMIT_NOFILE, ..)
1013 * sh_files.c: fix missing use of flag_err_info
1014 * sh_tiger0.c: remove repetitive use of mlock
1015 * slib.c: remove fcntl's from sl_read_timeout (caller sets O_NONBLOCK),
1016 add function sl_read_timeout_prep
[3]1017
[25]10182.1.3 (13-03-2006):
1019 * fix compile problem in slib.c (reported by Lawrence Bowie)
1020 * fix bug with combination of one-shot update mode and file check
1021 schedule (reportedby Dan Track)
1022 * improved the windows howto according to suggestions by
1023 Jorge Morgado
1024 * fix samhain_hide kernel module for new linux kernel versions
1025 * fix minor problem with dead client detection (problem reported
1026 by Michal Kustosik)
1027
[18]10282.1.2 (10-01-2006):
1029 * fix startup error with combination of gpg+prelude
1030
[5]10312.1.1a (22-12-2005):
1032 * fixed a stupid bug in sh_files.c (break if file = dir)
1033
10342.1.1 (21-12-2005):
[3]1035 * sh_calls.c: protect sh_calls_set_bind_addr against overriding
1036 * comINSTALL, updateDB: use locking
1037 * samhainadmin.pl: use locking
[1]1038 * fix typos in samhainrc.solaris (noticed by Robby Cauwerts)
1039 * improve zAVLSearch (remove redundant strcmp)
[3]1040 * use AVL tree in sh_files.c instead of linked list (better scaling)
[1]1041 * fix bug with suidcheck (no update/check in one-shot mode with
1042 schedule instead of check interval; noticed by R. Rati)
1043 * fix for problem with '-t update -i' if daemon mode (problem report
1044 by Peter van der Does)
1045 * fix for bug in sh_util_ask_update (two returns were required ...)
1046
10472.1.0 (31-10-2005):
1048 * minor fix for cross-compiling with --with-kcheck
1049 * sh_forward.c: handle bad fds in the select() fd sets
1050 (reported by hmy)
1051 * sh_extern.c: fix debugging code
1052 * slib.c, sh_calls.c, sh_calls.h: improve handling of O_NOATIME
1053 (reported by Gabor Kiss)
1054 * makefile.in: fix for solaris package creation
1055 * sh_mail.c, sh_readconf.c: mail filtering options
1056 * sh_database.c: Oracle reconnect on connection failure
1057 (bug report by Alexander A. Sobyanin)
1058 * sh_unix.c: don't purge MYSQL_UNIX_PORT environment variable
1059 (problem reported by Peter)
1060 * sh_calls.c: fix for a HP-UX accept() problem caused by the gcc4 fix
1061 * fixes for gcc 4.0.2 compiler warnings
1062 * ability to use daemon mode together with update
1063 (wishlist Yoan Vandoorselaere)
1064 * fixes for debugging
1065
10662.0.10a (22-08-2005):
1067 * fix for overlapping directory check specification (reported by Bub)
1068
10692.0.10 (21-08-2005):
1070 * fix for segfault (free() on a constant string) with libprelude
1071 (problem reported by Grae Noble)
1072 * upgrade FreeBSD kernel check to 5.4, minor fixes
1073 * useful script for users of Linux kernel check
1074 (contributed by marc heisterkamp)
1075 * documentation improvements (suggested by Brian Seklecki and Robby)
1076
10772.0.9 (25-08-2005):
1078 * samhain_erase.c: add #define for NULL
1079 * sh_suidchk.c: fix incorrect use of escaped filename
1080 * sh_prelude.[ch], sh_readconf.c: configurable mapping from
1081 samhain severity to prelude severity
1082 * sh_unix.h: second arg of gettimeofday should be NULL
1083 * sh_files.c: fix checking of directory special file (use specified
1084 policy, not that of parent dir, problem found by Brian A. Seklecki)
1085 * sh_entropy.c: longer timeout for entropy collector
1086 * sh_socket.c, sh_forward.c: allow probing of clients for
1087 necessity of configuration reload
1088 * yulectl: minor fixes, option -v (verbose), new command PROBE
1089 * fix 'File not found' messages for files flagged with IgnoreMissing
1090 * sh_database.c: strip newline from oracle error messages
1091 * sh_files.c: fix rsrc fork issue with MacOS X Tiger
1092 (reported by A. Koren)
1093 * never compute checksum if not checked (problem report by D.Hughes)
1094 * sh_prelude.c: cleanup and bugfix by Yoann
1095 * sh_hash.c: for prelude, make sure mode is supplied with user/group
1096 and vice versa
1097 * sh_prelude.c: provide proper FileAccess objects (bug
1098 report by Mihai Ilinca)
1099
11002.0.8 (03-07-2005):
1101 * configure.ac: use $LIBPRELUDE_PTHREAD_CFLAGS rather than
1102 $LIBPRELUDE_CFLAGS (bugfix by Yoann)
1103 * samhain.spec.in: remove support for chkconfig (it's too buggy).
1104 Strangely, if invoked as install_initd it behaves sanely ...
1105 * src/sh_err_log.c: fix key input (this time for real)
1106 * fix --with-altlogserver (bug from 2.0.7b)
1107 * remove server socket in start/stop script
1108
11092.0.7e (not released):
1110 * Makefile.in: introduce a total of 6 sec delay for 'make' utilities
1111 that use 1 sec resolution, and consider target out-of-date if
1112 timestamp(target) = timestamp(dependency) ...
1113 * src/sh_err_log.c: fix key input
1114 * another fix for yulectl (use pwent->pw_dir)
1115 * dsys/comINSTALL, dsys/comUNINSTALL, dsys/comBUILD: fix PATH
1116
11172.0.7d (not released):
1118 * one more fix for the spec file (stupid rpm finds tags in comments!!!)
1119
11202.0.7c (not released):
1121 * test/testrun_1b.sh, test/testrun_2b.sh: use $GPG_PATH
1122 * dsys/comINSTALL, dsys/funcDB, dsys/funcINSTALL: some bugfixes
1123 * samhain-install.sh.in: fix test -z $verbose
1124 * sh_hash.c: speedup database reading
1125 * Makefile.in: fix the problem that BSD make would make too much
1126 * deploy: yulerc.clients -> yulerc.install.db, provide
1127 $defdatabase for backward compatibility
1128 * deploy: allow for comma in client_install_date
1129
11302.0.7b (not released):
1131 * hp_ux.psf.in: fix psf file
1132 * dsys/comINSTALL: fix $yule_date -> $yule_data
1133 * Makefile.in: fix 'make depot'
1134 * sh_tools.c, sh_unix.c: fix detection of open file limit
1135 * sh_readconf.c: reset read_mode after reading conf file
1136 * yulectl.c: better error messages, use homedir from getpwuid(geteuid)
1137 * init/samhain.startLSB.in: fix misleading message in lsb init script
1138 * sh_forward.c: better display for nonce u in debug mode
1139 * sh_tiger*.c: fix checksum for HP-UX 64bit
1140 * samhain.c: don't fetch database twice
1141 * configure.ac: accept nodename for --with-logserver=...
1142 * samhain_setpwd.c: return proper exit status for samhain_setpwd
1143 * respond to SIGTERM on initializing
1144 * fix problems with samhainadmin.pl
1145 * sh_utils.c: fix bug with AddOKChars (found by Karol)
1146
11472.0.7a (not released):
1148 * remove 'df' from entropy gatherer (NFS may hang)
1149 * modify va_copy check (doesn't work with HP-UX PA64 compiler)
1150 * fix compile warnings in sh_database.c
1151 * samhain-install.sh.in: check for /usr/bin/false in /etc/shells
1152 * fix install-boot on HP-UX
1153 * aclocal.m4: fix configure CL parsing to recognize VAR=VALUE
1154
11552.0.7 (11-06-2005):
1156 * yet another fix for the spec file (use internal dependency generator)
1157 * sh_error.c, sh_prelude.c: init libprelude after open fds are closed
1158 * error message if queue is full
1159 * fix two compiler warnings on HP-UX
1160 * fix sh_mail.c for Interix (no resolver routines)
1161 * fix sh_unix_initgroups2() if no initgroups() function (bug reported
1162 by Geries Handal)
1163 * remove references to 'struct timezone' (Interix; problem
1164 reported by Geries Handal)
1165 * init/stop for prelude on SIGHUP
1166 * sh_cat.h: fix a stupid bug with messages classes
1167 * manual: new section on nagios (with help from kiarna),
1168 more on prelude
1169 * sh_prelude.c: cleanup and improvements (Yoann Vandorselaere)
1170 * default prelude profile name now is 'samhain' (lowercase)
1171 * sh_readconf.c: new option PreludeProfile (by Yoann Vandorselaere)
1172 * remove obsolete check for linux/module.h, linux/unistd.h
1173 * remove dependency on virtual/glibc in gentoo ebuild
1174 (problem reported by Willis Sarka)
1175
11762.0.6 (01-03-2005):
1177 * sh_prelude.c, configure.ac, aclocal.m4: support for
1178 libprelude 0.9 (Yoann Vandoorselaere)
1179 * sh_html.c: fix bug with entry.html template (reported by
1180 Stephane Sanchez)
1181 * Install.sh: fix mandir option (reported by Rodney Smith)
1182 * Fixed Linux/64bit bug in definition of EUIDSLOT
1183 * New targets 'make depot', 'make depot-light' (HP-UX, untested)
1184 * Use sstrip for RPMs and DEBs (automatic stripping disabled)
1185 * Fix aclocal.m4 for autoconf 2.59 (missing $ac_cr_alnum et al.,
1186 problem noticed by Yoann Vandoorselaere)
1187 * Modify samhain.spec.in to disable automatic stripping upon install
1188 * Fix deploy.sh + '--enable-gpg', and fix 'make rpm' and 'make deb'
1189 for '--with-khide' (problems reported by Mark)
1190 * Fix compile error in sh_tools.c on HP-UX 10.20
1191 (problem reported by Dennis Boylan)
1192 * Runtime configuration of server listening port (wishlist)
1193 * Runtime configuration of server listening interface (wishlist)
1194 * Ignore SIGTTIN (consistency)
1195 * Use SIGTTOU to force file check (wishlist)
1196
11972.0.5b (01-04-2005):
1198 * Fix build problem b/o timestamp on stamp file
1199
12002.0.5a (16-03-2005):
1201 * Fix problem with 'make rpm' (reported by Dirk Brümmer)
1202
12032.0.5 (02-03-2005):
1204 * Fix bug with partial reads from clients in server
1205 (bug report by Brian)
1206 * Support gpg checksum bootstrap with yule
1207 * Support mount option check on HP-UX
1208 * For MAIL FROM, use 'example.com' as domain part if
1209 hostname is numeric (problem reported by Eric Raymond)
1210 * The HOWTO-write-modules has been updated.
1211 * Convenience functions to insert data in database have been
1212 added.
1213 * Use int0x03 only on i386 in sh_derr() (portability problem
1214 reported by John Mandeville)
1215
12162.0.4 (09-02-2005):
1217 * Fixed broken 'make deb' (problem report by olfi)
1218 * Fixed minor bug in test scripts (detection of gmake vs. make)
1219 * Fixed Tru64/OSF compile warnings (reported by B. Terp)
1220 * Normalize list parsing to allow comma, space, and tab as separators
1221 * Some more descriptive error messages in kern_head.c
1222 * Absolute path to utilities in init/samhain.startLinux.in
1223 * Fixed is_root variable in deploy.sh
1224 * Fixed 'deploy.sh info'
1225 * Fixed 'deploy.sh install' client startup
1226 * Fixed 'make tbz': don't remove ebuild scripts in 'make dist'
1227 (issue reported by W. Sarky)
1228
12292.0.3 (14-12-2004):
1230 * Fix CPPFLAGS with mysql/postgresql (repoted by P. Smith)
1231 * Fix missing sys/time.h include in slib.c (reported by Jonas)
1232 * Workaround for file closing problem with Prelude+GPG
1233 * Fixed memory leak with Prelude.
1234 * Fixed bug in samhain_stealth (PGP signature not correctly
1235 retrieved from hidden configuration; report and patch by V. Tuska)
1236 * Added Perl script to concatenate file signature database files
1237 * Fix compile error with combination of --enable-nocl and
1238 --enable-stealth (reported by Zdenek Polach)
1239 * Fix bug in dsys/initscript with --enable-nocl
1240 * Fix declaration of sh_kern_timer()
1241 * Fix missing Mounts+Userfiles options in appendix of manual
1242 * Updated the README (bug report by H. Franzke)
1243 * Fix some compiler warnings
1244
12452.0.2a (09-11-2004):
1246 * Fixed OoM condition when client rc file not found (reported by Eilko)
1247
12482.0.2 (08-11-2004):
1249 * Fixed buffer overflow in sh_hash_compdata() (only in 'update' code)
1250 * Fixed uninitialized variable in sh_mail_msg() (problem reported
1251 by Michael Milvich)
1252 * Fixed potential NULL pointer dereference in sh_hash_compdata()
1253
12542.0.1 (01-11-2004):
1255 * Fixed compilation bug reported by jue (--with-kcheck broken).
1256 * Fixed start option (bug reported by sanek). Behaviour wrt.
1257 environment variables depended on the way the daemon was started.
1258
12592.0.0 (31-10-2004):
1260 * The deployment system has been rewritten from scratch in
1261 a cleaner and more modular and extensible way. Deployment
1262 of native packages is supported now.
1263 * The build system has been revised. Building outside the source
1264 directory is supported now.
1265 * Support for checksumming of prelinked executables / libraries
1266 has been added.
1267 * The configure script now checks for the SSP/ProPolice patch in GCC,
1268 and enables it if present.
1269 * The install-boot option in samhain-install.sh has been fixed
1270 (use absolute paths for sbin utilities).
1271 * A nagios plugin (scripts/check_samhain.pl) has been added.
1272 * The LSB (Linux Standard Base) init script has been fixed (the output
1273 was incorrect).
1274 * Fetching of built binary packages has been
1275 fixed ($(PACKAGE)->@install_name@).
1276 * For files in proc, the timeout has been reduced, and no error
1277 messages are issued upon timeout.
1278 * A function has been added to print out full details for missing
1279 files if encountered while in sh_files().
1280 * The reporting for SuidCheck has been fixed (incorrect policy
1281 noticed by JiM).
1282 * On Linux, SuidCheck does not report on files marked as candidates
1283 for mandatory locking (group-id bit set, group-execute bit cleared).
1284 * Fix for oracle init script (by Matt Warner)
1285
12861.8.12b (11-10-2004):
1287 * fix bug in MSG_MSTAMP (%ld -> %lu)
1288 * fix bugs in sh_suidchk.c (%ld -> %lu), check fopen for NULL,
1289 mkdir mode for quarantine directory
1290 * fix the fix for modlist_lock search in System.map
1291
12921.8.12a (01-10-2004):
1293 * fix bug in samhain-install.sh.in (only occurs on Solaris), reported
1294 by J. Roland
1295
12961.8.12 (27-09-2004):
1297 * fix compile bug with --enable-static + --with-database=postgresql
1298 * fix search for modlist_lock in System.map
1299 * password auth for yule command socket (request by D. Kocic)
1300 * more info about pending/sent commands to clients
1301
13021.8.11 (30-08-2004):
1303 * fix static linking on Linux by use of replacement routines from
1304 uClib - however, this means, there is no NIS support anymore
1305 * new option AddOKChars=... to modify the set of characters for
1306 filenames considered 'obscure'
1307 * new option HardlinkOffset=... to specify an offset from the canonical
1308 hardlink count for a directory
1309 * fix some warning with HP 11.23 native compiler
1310 * fix minor OpenBSD portability problems (EIDRM, compiler warning)
1311 * samhainrc.5, samhain.8: updated the man pages
1312 * sh_unix.c, sh_files.c: ignore 'no user/group' and 'obscure name'
1313 for AllIgnore
1314 * sh_kern.c: fix 'update' to display modifications
1315 * sh_kern.c: fix bug with IDT check (spurious alerts b/o uninitialized
1316 fields)
1317 * stealth kernel modules: fix for linux 2.6, fix
1318 redefine of KERNEL_VERSION
1319 * warn about stealth kernel module problem with 2.6 in manual
1320 * sh_unix.c: remove some cruft
1321 * fix a typo in the manual (noticed by J. Rubin)
1322 * configure.ac: re-order output from libprelude-config (required
1323 for static linking - problem reported by E. Neber)
1324 * kern_head.h, kern_head.c: fixes for Linux 2.6 kernel
1325
13261.8.10b (13-07-2004):
1327 * fix incorrect usage of 'retry_msleep()' in sh_kern.c (reported
1328 by Pat Smith)
1329
13301.8.10a (13-07-2004):
1331 * depend-gen.c: fix for FreeBSD 'make' which does not understand
1332 the dependencies ... (problem reported by David Thiel)
1333
13341.8.10 (13-07-2004):
1335 * sh_unix.c/sh_unix.h: fix defaults for 'GrowingLogFiles' policy
1336 (bug report by VZoubkov)
1337 * fix some warnings (unreachable statement) with HP-UX native compiler
1338 * kern_check.c: silence warning about 'sendfile' for 4.10
1339 (noticed by Ryan Beasley)
1340 * modify depend-gen.c to ignore sh_gpg_chksum.h
1341 * add a non-plaintext version of GPG_HASH (sh_gpg_chksum.h)
1342 * .. and for fingerprint
1343 * sh_suidchk.c: fix some compiler warnings on solaris
1344 * allow commas to separate multiple entries in a RedefXXX= directive
1345 * replace sleep/usleep with nanosleep wrapper function
1346 * replace alarm() for read timeout with select() in sl_read_timeout
1347 (should fix bug reported by Scott Kelley)
1348 * increase lstat/open timeout to 6 sec
1349
13501.8.9 (16-06-2004):
1351 * made 'no action specified' error message more informative
1352 (suggested by Stephen Gill)
1353 * fix memory leak in mysql sh_database_query() (bug report by Dejan)
1354 * remove some cruft from the code
1355 * sh_files.c: check MacOS X resource forks (idea from Osiris)
1356 * sh_files.c: no hardlink check for MacOS X
1357 * sh_util_ask_update: fix bug with no terminal in non-interactive mode
1358 (report and debug data by Kris Dom)
1359 * manual refactored
1360 * fix redundant messages when updating with suidcheck
1361 * allow interactive update for suid files
1362 * don't remove the TZ environment variable to guard against
1363 misconfigured hosts
1364 * also use gethostname if uname returns possibly truncated name
1365 * fix improper file descriptor handling in sh_mail.c (bug report
1366 by Alex Weiss)
1367 * cleanup MBLK cruft
1368 * use SH_ALLOC/SH_FREE in sh_prelude.c
1369 * update sstrip to Version 2.0
1370
13711.8.8 (25-05-2004):
1372 * fix compilation problem on AIX 5.2 (nameser_compat.h; report by
1373 Tim Evans and Ian McCulloch)
1374 * don't check for trusted paths on Cygwin
1375 * add Windows HOWTO written by Kris Dom
1376 * kern_check.h: extend FreeBSD syscall table for 5.x
1377
13781.8.7a (03-05-2004):
1379 * sh_mail.c: fix subject length
1380 * sh_mail.c: fix the sh.mailNum.alarm_last fix (report by Kris Dom)
1381 * sh_utils.c: sh_util_ask_update(): fix ISO C conformance bug
1382 (compile problem reported by Kris Dom)
1383
13841.8.7 (01-05-2004):
1385 * sh_mail.c: fix incorrect count of sh.mailNum.alarm_last, causing
1386 empty mails (introduced with segfault fix in 1.8.6, report
1387 by Kris Dom)
1388 * sh_utils.c: sh_util_ask_update(): check whether stdin is a terminal,
1389 try to reopen on controlling terminal if not
1390 * sh_utmp.c: fix order of options (problem report by Uri)
1391 * sh_files.c: sh_files_chk(): set tmp = NULL at end of loop
1392 (may cause segfault on null dereference for missing files)
1393 * sh_unix.c: patch by Marc Schütz (order of sh_unix_getinfo_type,
1394 sh_unix_getinfo_attr)
1395 * don't use dh_installmanpages in 'make deb' (samhain/yule conflict
1396 reported by xavier)
1397 * on HP-UX, define _XOPEN_SOURCE_EXTENDED in sh_mail.c and sh_tools.c
1398 (suggested by Kris)
1399 * include nameser_compat.h in sh_mail.c (for MacOS X,
1400 suggestion by jna)
1401 * sh_utmp.c: fix time for logout events (reported by Erich
1402 van der Velde)
1403
14041.8.6 (15-04-2004):
1405 * add CL option to set threshold for prelude and RDBMS
1406 * sh_mail.c: fix bug with MailSubject option (segfault on NULL pointer
1407 dereference; reported by Micha Silver)
1408 * fix compiling with --disable-encrypt (reported by Pat Smith)
1409 * fix minor problem in scheduler (don't return before all schedules
1410 are tested, to set last_exec correctly)
1411
14121.8.5 (05-04-2004):
1413 * fix bugs in sh_utmp.c (unlinking of list head); may fix an OpenBSD
1414 problem (endless loop; report and debugging aid by Joe MacDonald)
1415 * fix hardlink check (null dereference in error message, segfaults
1416 on solaris - noticed by Bob Bloom)
1417 * sh_suidcheck: don't truncate quarantined file if nlink > 1
1418 * fix Install.sh (no --seperate-output with --radiolist); patch by
1419 Greg Kimberly
1420
14211.8.4 (17-03-2004):
1422 * add Prelude patch by Patrice Bourgin
1423 * add license statement to sh_mounts.c, sh_userfiles.c after
1424 receiving a clarifying e-mail from Cian Synnott
1425 * support UsePersistent = no for Oracle (problem spotted and fix
1426 tested by Michael Somers)
1427 * fix bug in samhainadmin.pl
1428 * sh_gpg.c: describe type of gpg error (if any)
1429 * fix persistent connections with postgresql (reported by
1430 Erwin Van de Velde)
1431 * prelude: local 'meaning' shadows global in sh_prelude_alert
1432 (spotted by David Maciejak)
1433 * uname: workaround for cases where nodename would be a possibly
1434 truncated FQDN (problem reported by Cian Synnott)
1435 * re-write parts of sh_kern.c, store kernel info in baseline database
1436 -> no need to recompile after kernel upgrade
1437 * modify timeouts in sh_unix_getinfo, add timeout warning
1438 * change handling of dangling symlinks (store in db)
1439 * fix typo with MSG_FI_OBSC2 (double slash)
1440 * remove redundant operation in sh_utils_safe_name
1441 * fix occasional random start bytes of long messages in
1442 sh_error_string (sl_strlcat -> sl_strlcpy)
1443 * provide details for missing files (as for added files)
1444 * remove duplicate message for no such group/user
1445 * add fixes for samhain.oracle.init (supplied by Michael Somers)
1446 * fix date insertion for Oracle (fix by Michael Somers)
1447 * manual: fix incorrect statement about RPM (noticed by
1448 Lars Kellogg-Stedman)
1449
14501.8.3 (02-02-2004):
1451 * add a HOWTO-client+server-troubleshooting document
1452 * fix another bug with SIGUSR2 (suspend mode)
1453 * new option SetBindAddress (--bind-address=...) to force
1454 interface for outgoing connections on multi-interface box
1455 * don't link against libgmp if not required (i.e. standalone)
1456 * test for ext2fs/ext2_fs.h or linux/ext2_fs.h
1457 * new make targets 'emerge' and 'tbz2' for gentoo
1458 * update rules.deb.in based on the Debian package
1459 by Javier Fernandez-Sanguino
1460 * updated config.guess, config.sub to version 2002-09-05
1461 * external command: report failure only once
1462 * console: reset failure status after success
1463 * README.UPGRADE: explain 1.7.x <-> 1.8.x client/server compatibility
1464 * use persistent connection to database by default
1465 * option UsePersistent=no to switch off persistent connection
1466
14671.8.2 (19-01-2004):
1468 * sh_userfiles.c: new option UserfilesCheckUids (requested)
1469 * sh_error.c: server: don't log to logfile before dropping root
1470 * new script scripts/samhainadmin.pl (administrative tasks for
1471 signed config/database files)
1472 * add changes code to log_msg for reports on modified files
1473 * change default log threshold to 'mark', as 'none' tends
1474 to confuse new users
1475 * faster response time for SIGUSR2
1476 * revised (mostly backward-compatible) message classes
1477 * fix missing check of mailTime in server select loop
1478 * add support for libprelude (version 0.8.10)
1479 * fix format for MSG_E_GRNULL (reported by Stefan Hudson)
1480 * fix Bourne shell incompatibility (export) in samhain-install.sh
1481 (first reported by David Thiel)
1482 * fix typo in spec file (first reported by Christian Vanguers)
1483 * remove some cruft (signal handler, memory handling)
1484 * return from sigterm handler, rather than exit directly
1485 (re-entrancy problem causes more problems than it's worth)
1486
14871.8.1 (03-12-2003):
1488 * fix gmp detection (problem pointed out by Nix)
1489 * fix/improve the error message if test compiling with mysql fails
1490 * new CL option --interactive for interactive db update
1491 * fix some compiler warnings from IRIX MIPS compiler
1492 * kern_head.h, kern_head.c: option to disable IDT check
1493 * kern_head.h, kern_head.c: update kernel syscall table (2.4.20,2.6)
1494 * sh_utmp.c: count number of logins (request by Erwin Van De Velde)
1495 * change username -> userid, remove (long) userid (bug noticed
1496 by Erwin Van De Velde)
1497 * emit ADDED message for new SUID/SGID files
1498 * add trailing slash to excluded directory if there is none
1499
15001.8.0a (04-11-2003):
1501 * sh_error.c: remove two debug printf's
1502
15031.8.0 (31-10-2003):
1504 * manual: make ps file fit on both a4 and letter paper
1505 * sh_socket.c, sh_socket.h, sh_forward.c: socket interface
1506 to send (quit/reload) commands to clients
1507 * sh_forward.c, configure.ac: enable build with libwrap
1508 (Wietse Venema's TCP Wrappers library)
1509 * sh_ignore.c, sh_ignore.h, sh_files.c, sh_hash.c, sh_readconf.c:
1510 new option to suppress messages for new and/or deleted files
1511 * samhainrc.aix5.2.0: contributed by Christoph Kiefer
1512 * samhain.c: fix compile warning on solaris (noticed by Ian Hunt)
1513 * sh_database.c: undef debug code for oracle
1514 * samhain.oracle.init: contributed by Joern Michael Krueger
1515 * configure.ac, sh_utils.ac, Makefile.in, sh_modules.c,
1516 sh_cat.c, sh_cat.h, sh_mounts.c/h, sh_userfiles.c/h:
1517 check-mounts and userfiles modules contributed by eircom.net
1518 * sh_utils.c: fix off-by-one bug in sh_util_compress()
1519 * sh_forward.c, sh_tools.c, configure.ac:
1520 version 2 client/server protocol
1521 * sh_mail.c: add %S to include severity in subject (user request)
1522 * sh_suidchk.c, 1093: fix warning about unused var 'flags' on FreeBSD
1523 * samhain.h, sh_unix.h, sh_unix.c: extern inline -> static inline
1524 for --enable-ptrace
1525 * samhain.c: lower priority for 'uninitialized module' message
1526 * sh_entropy.c: lower priority for message if /dev/random blocks and
1527 /dev/urandom is available
1528 * improved error messages in sh_readconf.c
1529 * print system error message for getpwuid, getgrgid
1530 * fix missing module init after SIGHUP (noticed by Cian Synnott)
1531
15321.7.12 (13-10-2003):
1533 * sh_mail.c: fix buffer overflow in mail handler (introduced in 1.7.10)
1534 thanks to bug reports by Jason Martin and Matthew P. Cox
1535
15361.7.11 (01-09-2003):
1537 * samhain.c, samhain.h, sh_unix.c, sh_forward.c, sh_html.h:
1538 - change SIG_USR1 to switch between dbg on/off
1539 - change SIG_USR2 to switch between suspend on/off
1540 - fix CLT_ILLEGAL to actually work
1541 - introduce new state CLT_SUSPEND
1542 - force reauthentication after suspend
1543 * slib.c: change MAXFD from FOPEN_MAX (16) -> 1024
1544 * sh_suidchk.c: better AIX fs detection (Christoph)
1545 * sh_entropy.c: increase buffer size for unix entropy gatherer
1546 (problem reported by D. Danielson)
1547 * default config files: add lots of comments, list more options
1548 * sh_error.c: set default severities to 'crit'
1549 * sh_readconf.c, sh_cat.c, sh_cat.h: stricter check on config
1550 file syntax, issue warnings (triggered by C. Kiefer)
1551 * Makefile.in: handle depend-gen errors more gracefully
1552 * sh_err_console.c: fix bug in enable_msgq (reported by F. Behrens)
1553 * configure.ac: workaround for mysql_config weird output
1554 (reported by G. Faron)
1555 * sh_unix.c, sh_tiger0.c: check IO limit during read of large files
1556 * depend-gen.c: close streams before attempting to rename (Cygwin)
1557 * Makefile.in: fail gracefully if depend-gen fails
1558 * sh_database.c: sh_database_query(postgresql): fixed missing SL_ENTER
1559
15601.7.10 (27-07-2003):
1561 * FreeBSD init script: define $pidfile (reported by D. Thiel)
1562 * sh_unix.c, sh_unix.h: fix compile error on AIX 4.2
1563 * sh_schedule.c: fix bad array size
1564 * samhain.c: fix pid_t <> int casts
1565 * sh_kern.c: fix repetitive messages
1566 * configure.ac: try to bootstrap if TIGER192 not supported by gpg,
1567 provide a detailed error message
1568 * configure.ac: try harder to locate mysql
1569 * docs/Changelog: retroactively add release dates, if known
1570 * sh_mail.c: fix potential message truncation in mailer
1571 * sh_unix.c, samhain.c, samhain.h: make --enable-ptrace more portable
1572 * sh_readconf.c: fix segfault (dereference of uninitialized pointer)
1573 if --with-gpg and --enable-stealth are used together (reported
1574 by Anthony Caetano)
1575 * sh_unix.c, samhain.c, sh_calls.c: fix problems with descriptive
1576 error messages (larger GLOB_LEN, stat fills aud_err_message)
1577
15781.7.9 (30-06-2003):
1579 * sh_err_log.c: fix segfault on SIGABRT (dereference of freed memory),
1580 problems with SIGABRT noticed by Brian and Alf B Lervåg
1581 * deploy.sh.in: fix some bugs (found by Alf B Lervåg)
1582 * scripts/chroot.sh: fix typo (found by Alf B Lervåg)
1583 * configure.ac (khide): search also for 'd sys_call_table' (noted by
1584 cuek_saja)
1585 * strip whitespace before checking gpg checksum (noted by D. Thiel)
1586 * manual (faq section): explain how to stop console output
1587 * Makefile.in: fix re-naming of yule with --enable-install-name
1588 * HOWTO-client+server.html: fix typo (noted by xavier renaut)
1589 * configure.ac: escape '-' in awk regex (required by GNU awk 3.1.1)
1590
15911.7.8 (28-05-2003):
1592 * sh_unix.c: new mlock implementation with reference count
1593 and page alignment (fix for solaris problem)
1594 * kern_head.c: search also for 'xxxxxxxx d sys_call_table'
1595 * sh_html.c: write status comment (for Beltane 2)
1596 * add CL option --delimited for comma-delimited signature database dump
1597 * sh_mail.c: check exit status of push_list to fix counting bug
1598 (bug reported by Alan Moore)
1599 * configure.ac: add error message to --with-libs
1600 * fix spelling of $DAEMON in init script (noted by C. Grigoriu)
1601 * fix missing initgroups()
1602
16031.7.7 (06-05-2003):
1604 * sh_forward.c: fix bug if compiled with --enable-udp, but disabled
1605 in config file (found by Andy OBrien)
1606 * sh_database.c: sh_database_entry(): size -> c_size (two places)
1607 to fix writing of '\0' to arbitrary places :(
1608 (problem pointed out by Stefan Giesen)
1609 * profiles/*/configopts: fix --with-base -> --enable-base
1610
16111.7.6 (24-04-2003):
1612 * sh_forward.c, entry.html, head.html: fix/additions by Stefan Giesen
1613 * fix samhain_hide for the O(1) scheduler used by RedHat:
1614 configure.ac, acconfig.h: check for next_task in struct task_struct
1615 samhain_hide.c: use find_task_by_pid if no next_task in task_struct
1616 * samhain_erase.c: add MODULE_LICENSE("GPL") to fix warning
1617
16181.7.5 (15-04-2003):
1619 * sh_cat.c, sh_forward.c, sh_hash.c: fix double 'msg' tag
1620 * manual: point out the bmaxdata problem on AIX in faq section
1621 * trustfile.c: don't check symlinks (permissions of directory count)
1622 * sh_schedule.c: fix problem with daylight saving switchover
1623 * sh_samhain.c: close all open fd's >2 before reading the conf file
1624 * sh_unix.c: fix dereferenced NULL pointer when exiting on non-existing
1625 user
1626 * sh_forward.c: fix dereferenced NULL pointer when exiting on udp error
1627 * sh_forward.c: place timestamp code before select() timeout handler
1628 * fix incorrect class of timestamp messages (conflict with manual)
1629 * sh_readconf.c, sh_forward.c: new config option SetStripDomain
1630 * configure.ac: add warning if /lib/modules/`uname -r`/build/include
1631 not found
1632 * samhain_hide.c: adapt for RedHat 2.4 kernel (fetch sys_call_table
1633 address from System.map)
1634 * sh_err_syslog.c: fix for Solaris
1635 * samhain.spec.in: strip REQ_FROM_SERVER from config file install path
1636
16371.7.4 (21-03-2003):
1638 * configure.ac: fix bug in defargs (--with-base > --enable-base)
1639 * aclocal.ac: detect unsupported options
1640 * kern_check: add syscalls, skip unused syscalls
1641 * fix Manual (--enable.../--with... inconsistency)
1642 * add two HOWTOs (signed files, server/client)
1643 * moved manual into new subdirectory docs/
1644 * add admin scripts by S.Bailey/M.Redinger
1645 * option to have a version string in db file
1646
16471.7.3 (23-02-2003):
1648 * samhain-install.sh: use yule user key for signing on install
1649 * fix a bug in sh_err_console.c (attempted write to const char)
1650 * sh_gpg.c: if server, always use ~unprivileged_user/.gnupg
1651 * Makefile.in: make target 'trustfile' depend on config.h
1652 * configure.ac: don't use install_name before it is defined ...
1653 * sh_tiger0.c: fix bug in checksum computation introduced in 1.7.2
1654 * samhain.c: make sure daemon cannot be forced into 'update' mode
1655 * sh_hash.c: remove AIX workaround (AIX has been fixed meanwhile)
1656
16571.7.2 (04-02-2003):
1658 * sh_kern.c: use sys_call_table address from System.map
1659 * fix for reserved SQL keyword 'group'
1660 * add AC_SYS_LARGEFILE to configure.ac
1661 * allow separate client-specific log files for server
1662 * sstrip.c: compile sstrip code only for i386
1663 * sh_unix.c: closeall: don't close trace file
1664 * slib.c: don't trace sl_is_suid (leads to recursion in trace handler)
1665 * samhain-install.sh.in: fix detection of LSB compliant systems
1666 * sh_tools.c: get_client_*_file: lstat -> stat to allow symlinks
1667 * sh_forward.c: sh_forward_do_write: set O_NONBLOCK for fd
1668 (may block otherwise, for no good reason apparently ...)
1669 * samhain.spec.in: replace %configure with ./configure
1670 * sh_unix.c: re-write signal handling (use __malloc_hook et al. to
1671 check whether we are in the middle of a free/malloc/realloc/memalign)
1672 * sh_unix.c: use new safe_logger() function to log from signal handler
1673 * sh_err_log.c: fix xml
1674 *
1675 * fix Makefile.in to exit non-zero on compile failure
1676 * database init: create index on log_host, entry_status
1677 * sh_suidchk.c: fix path building
1678 * sh_tiger0.c: read larger blocks
1679 * sh_hash.c: cast inode to UINT32
1680 * sh_tools.c: check that config/database files size fits in uint
1681 * sh_error.c: export flag_err_debug to avoid unnecessary calls
1682 * sh_unix.c: save the open() call in sh_unix_getinfo_attr()
1683 * profiles/redhat_i386/bootscript: add # description field
1684 * deploy.sh.in: set owner + permissions for files in yule_filedir
1685 * profiles/debianlinux_i386: fix bootscript
1686 * Makefile.in: fix deploy file lists and targets (include init+scripts)
1687 * MLOCK GOOD/BAD -> SL_FALSE/SL_TRUE
1688 * sh_mail.c: GOOD/BAD -> SL_FALSE/SL_TRUE (AIX sys/param.h)
1689 * sh_err_syslog.c: split long messages rather than truncating
1690 * sh_error.c: allocate msg to fix truncation limit
1691 * sh_unix.c: closeall fd's >= 3 in non-daemon mode (inherited
1692 filedescriptors may exceed FOPEN_MAX, causing problems in
1693 sl_open_file)
1694 * sh_err_console.c: avoid stdio
1695 * trustfile: dirz: make swp[] static
1696 * slib.c: speed up sl_strlcat
1697 * clean up some bad heap allocation (PATH_MAX+(1|2) -> PATH_MAX)
1698 * remove some unused code
1699 * slib.c: support long long int in the snprintf replacement
1700 * configure.ac: new configure macro to check whether sa_sigaction works
1701 * Makefile.in: make sstrip, encode dependent on config.h
1702
17031.7.1a (08-01-2003):
1704 * fix a syntax error in samhain-install.sh.in
1705
17061.7.1 (07-01-2003):
1707 * search runlevel scripts in ./init or ./
1708 * handle all distro-specific Linux runlevel script issues
1709 within a single script
1710 * support install-boot on Yellow Dog Linux and Slackware
1711 * samhain-install.sh: fix a bug for unknown Linux
1712 ('"' not closed, DVER not set)
1713 * samhain-install.sh: check for /etc/yellowdog-release
1714 * sh_database.c: fix missing entry for 'userid' in attr_tab[]
1715 * fix debian.rules.in (disable sstrip)
1716 * update make targets: 'srpm', 'srpm-dist', 'rpm'
1717 * check for zlib if mysql is used
1718 * workaround for NetBSD bug with libresolve
1719 * fixed problems with spec files
1720
17211.7.0 (22-12-2002):
1722 * improved spec files (Andre Oliveira da Costa <brblueser@uol.com.br>)
1723 * sh_unix.c: fix a dereferenced static pointer in tf_trust_check
1724 * runlevel scripts: remove pid file after stop
1725 * make the data directory read-only for the daemon
1726 * treat 'localhost' specially in MX resolver
1727 * sh_err_log.c: set sh.flag.log_start == TRUE after writing </trail>
1728 * deploy.sh.in: fix quoting (fix by Simon Bailey)
1729 * slib.c: make sl_get_euid et al. behave well if uids not stored
1730 * trustfile.c: use euid = uid(SH_IDENT) if server
1731 * sh_mail.c: include an MX resolver
1732 * Makefile.in: install-user routine for user installation
1733 * have yule drop root
1734 * sh_tools.c: open_temp use logdir if server
1735 * unified options for runlevel script
1736 * HP-UX, IRIX runlevel scripts
1737 * AIX inittab entry
1738
17391.6.6 (13-12-2002):
1740 * configure.ac: solaris cc -O2 -> -xO2
1741 * sstrip.c: avoid alpha architecture
1742 * profiles/solaris/configopts: no --enable-static
1743 * sh_forward.c: sh_forward_req_file: copy argument to local array
1744
17451.6.5 (04-12-2002):
1746 * sh_utmp.c: set userlist = NULL in sh_utmp_end ()
1747 * sh_unix.c: do not assume that environ is sane
1748 * exit handler: write </trail>
1749 * sh_log_file(NULL): test sh.flag.log_start != S_TRUE
1750 * FreeBSD rc script does not blindly accept content of pid file
1751 * configure.ac: allow 'localhost' for log server
1752 * sh_calls.c: retry_connect: ntohs (port)
1753 * testrun_2[abc].sh: --with-logserver=localhost for client
1754
17551.6.4 (12-11-2002):
1756 * sh_tools.c: fix error when escaping '=<'
1757 * fix the 'make srpm' target
1758 * deploy.sh.in: avoid that client is named 'yule'
1759 * define memset to sl_memset
1760 * fix type cast of uid_t, gid_t
1761
17621.6.3 (31-10-2002):
1763 * fix options for Sun/Solaris native compiler
1764 * sh_unix.c: MSG_FI_LIST (line 2333): cast theFile->size to fix error
1765 * test sstrip on freebsd
1766 * default config file for freebsd
1767 * make target to build .deb packages
1768 * sh_readconf.c: fix bug in error message
1769 * samhain.c, sh_suidchk.c: fix initialization of suidchk
1770 * samhain-install.sh.in: don't remove config file by default
1771 * samhain-install.sh.in: support complete de-installation
1772 * samhain-install.sh.in: add support for Gentoo, FreeBSD, and Solaris
1773 * samhain-install.sh.in: check more paths
1774 * sh_unix.c: fix sys_siglist declaration [NetBSD portability issue]
1775 * sh_calls.c: save error message in retry_lstat()
1776
17771.6.2 (04-10-2002):
1778 * make target to build rpms
1779 * update samhain.spec.in, samhain.startRedHat
1780 * support DESTDIR, as in 'make DESTDIR=/what/ever install'
1781 * explicitely set -fno-omit-frame-pointer b/o gcc bug
1782 * mv configure.in to configure.ac to benefit from autoconf wrapper
1783 * sh_modules.c, sh_modules.h: add mod_reconf() to run at SIGHUP
1784 * slib.c: fix debug messages (no msgs for dlogActive <= 1)
1785 * sh_schedule.c, samhain.c, sh_suidchk.c:
1786 scheduler may accept multiple schedules
1787
17881.6.1 (04-09-2002):
1789 * sh_schedule.c: bugfix (executes only after first day)
1790 * rm obsolete WITH_TRACE stuff
1791 * new dlog() function for debug logging
1792 * some more descriptive error messages
1793
17941.6.0 (27-08-2002):
1795 * omit the -fomit-frame-pointer option (bugs in some gcc versions ?)
1796 * sh_error.c: fix escape mode when logging to database
1797 * sh_forward.c: fix error (twice escape) in recv_syslog_socket
1798 * sh_tools.c: change escape mode for server-received data
1799 * sh_mem.c: change ulong -> size_t in sh_mem_malloc()
1800 * configure.in: fix localstatedir if --prefix=USR
1801 * sh_hash.c: snprintf() -> sl_snprintf()
1802
18031.5.5 (07-08-2002):
1804 * sh_err_log.c: fix incorrect xml syntax for client messages
1805 logged by server
1806 * sh_err_log.c: fix incorrect '</trail>' entries on client EXIT
1807 * sh_files.c: introduce file_class_next
1808 this fixes the problem that a policy for the directory
1809 inode erroneously becomes a policy for the directory itself.
1810
18111.5.4 (17-07-2002):
1812 * sh_hash.c: fix buffer overflow with (micro-)stealth
1813 * sh_database.c: set path[] 1024 -> 12288
1814 * sh_database.c: set query[] 2048 -> 16383
1815 * sh_database.c: set values[] 1024 -> 16383
1816 * sh_forward.c: larger limit for message size (16 kB)
1817 * trustfile.c: set MAXFILENAME 2048 -> 4096
1818 * fixed a bug in the handling of filenames with embedded newlines
1819 * sh_files.c: fix missing sh_util_safe_name() in debug output
1820 * --with-sender can specify a full address
1821 * fix xml log in a backwards compatible way
1822
18231.5.3 (03-07-2002):
1824 * fix combination of stealth and sql logging
1825 * fix some more places where invalid UIDs/GIDs trigger errors
1826
18271.5.2 (01-07-2002):
1828 * include solaris config file from (sean [at] boran d.o.t com)
1829 * test for files/dirz defined twice in the configuration file
1830 * option to disable reverse lookup on outbound connections
1831 * option to use socket peer as client name (with name resolving)
1832 * sh_html.c: fix an HTML bug (twice </head><body>)
1833 * sh_suidchk.c: fix warning on AIX b/o dirname()
1834 * allow logging server -> syslog if yule is NOT configured to
1835 receive syslog messages
1836 * define PRIi64 to "lld" if undefined
1837 * invalid UIDs: use gid/uid as name, error level SeverityNames
1838 * minor fixes for connect_port
1839 * sh_hash.c: flush output of db listing before _exit()
1840 * configure.in: fix incorrect default ${install_name} for server
1841 * configure.in: try harder to find mysql.h / libpq-fe.h
1842 * sh_files.c: sh_files_checkdir:
1843 closedir() early to not exhaust OPEN_MAX
1844
18451.5.1a (30-05-2002):
1846 * fix missing LSB init script
1847
18481.5.1 (27-05-2002):
1849 * fix '-t update' option
1850
18511.5.0a (23-05-2002):
1852 * fix configure.in
1853
18541.5.0 (22-05-2002):
1855 * include solaris nosuid patch from (nathoo [at] co d.o.t ru)
1856 * similar fix for bsd nosuid
1857 * speed up -t update
1858 * convert manual to DocBook, distribute html and ps
1859 * fix some more problems with configure.in, Makefile.in
1860 * fix testsuite, add tests for udp, mysql
1861 * MSG_TCP_MSG: host -> remote_host
1862 * convert to autoconf 2.53
1863 * make c_bits.sh exit with status 0
1864 * sh_database.c #include "mysql.h" --> <mysql.h>, ditto libpq-fe.h
1865 to avoid dependency tracking problems
1866 * samhain.c remove *YULE* #ifdefs
1867 * acconfig.h remove *YULE* #undefs
1868 * samhain.c: procdirSamhain: lstat --> stat (allow symlink)
1869 * configure.in: add checks for correct user input
1870 * Makefile.in: add automatic dependency tracking
1871 * depend-gen: tool to figure out dependencies
1872 * chkconfig comments in redhat start scripts
1873
18741.4.8:
1875 * sh_database.c: fix missing attr_old, attr_new, (from)host columns
1876 * configure.in, Makefile.in: fix an error in the configfile
1877 definition with REQ_FROM_SERVER
1878 * sh_err_console, sh_err_log: avoid recurrent failure messages
1879 * timeout on read from files (/proc)
1880 * fix errrors with setjmp/longjmp/alarm
1881 * fix memory leak in server (~20 byte/file download in sh_tools, 930)
1882 * check gpg signature for files downloaded from server, add a
1883 regression test
1884 * fix chown in solaris bootscript
1885 * provide second scheduler for file check
1886 * provide scheduler for file check
1887 * provide scheduler for SUID check
1888
18891.4.7 (08-04-2002):
1890 * make daemon control LSB-compliant (arguments, exit status)
1891 * set log_ref = 0 for server messages
1892 * boolean option SetDBServerTstamp to disable entering server
1893 timestamps for received client messages into database
1894 * sh_suidcheck: check for "nosuid" mount option if getmntent is used
1895 * fix logrotate script in manual (reported by Scott Worthington)
1896 * don't strip numerical IP addresses
1897 * check item->status_now != CLT_TOOLONG in client_time_check()
1898 * set log_host to client in db client message
1899
19001.4.6a (20-03-2002):
1901 * define prefix in deploy.sh
1902
19031.4.6 (19-03-2002):
1904 * modify samhain_hide.c to hide processes on new Linux kernels
1905 * better error diagnostics in kern_head.c
1906 * fix compile error in all_items ()
1907 * check length of install-name in enable-khide (max is 15)
1908 * define exec_prefix in deploy.sh.in
1909 * make configure a bit more cross-compiler friendly
1910
19111.4.5 (07-03-2002):
1912 * Make sure missing file is reported even if ptr->reported == S_TRUE
1913 because the file has been added.
1914 * propagate 'reported' flag from sh_files_checkdir() into file list
1915 * close checkfd in sh_gpg_check_file_sign()
1916 * sh_derr(): kill(parent, SIGCONT) after ptrace(PT_DETACH,...)
1917 * use sh.srvcons.name in dbg() to get debugging info from daemon
1918 * option to log file timestamps with localtime instead of GMT
1919 * comment out MSG_FI_ADD in sh_dirs_chk () - obsoleted by mandatory
1920 sh_files_filecheck(directory) that triggers MSG_FI_ADD in sh_hash.c
1921 * set ptr->reported = S_FALSE; for reappeared files in sh_files_chk()
1922 to make sure re-disappearing will get reported
1923 * new function sh_hash_set_missing() to remove file record
1924 without (duplicate) 'missing' message
1925 * make sure all items are reported for added files
1926 * fix stealth mode with sh_kern (encode sh_ks.h -> sh_ks_xor.h)
1927 * clarify in the documentation which gpg options to use for signing
1928
19291.4.4 (11-02-2002):
1930 * check that parent process has exited before writing PID file
1931 * promote MGG_W_CHDIR to SH_ERR_ERR
1932 * add error message to sh_unix_testlock
1933 * fix missing _() macro in sh_aud_set_functions
1934
19351.4.3 (05-02-2002):
1936 * don't check attributes for symlinks (may cause device access)
1937 * add USE mysql; USE samhain; to samhain.mysql.init
1938 * point out the MessageHeader/mysql problem in manual
1939 * add -lz to LIBS for mysql
1940 * strip after install, avoid double strip
1941
19421.4.2 (27-01-2002):
1943 * support for EGD
1944 * fix some more problems with install-deploy / deploy.sh
1945 * fix a bug in profiles/suselinux_i386/bootscript (INSTALL_NAME_)
1946 * fixed the 'external logging' test (init rather than none in rc file)
1947
19481.4.1:
1949 * SuSE: include run level 4+5
1950 * install location of hiding kernel modules changed - some insmod
1951 variants do not test for /lib/modules/$(uname -r)/module_name.o
1952 * new make targets 'install-deploy', 'uninstall-deploy'
1953 * fixed make targets 'deploydir', 'deploydirfast'
1954 * bail on unsupported CL option in deploy.sh
1955 * fix various bugs in deploy.sh
1956
19571.4.0 (16-01-2002):
1958 * fixed missing 'dirname' on Mac OS X
1959 * fixed && tested for/with postgres
1960 * 'user=' -> 'userid=' (reserved word in sql)
1961 * fix the endianess + size of file database; this changes db format
1962 for any non-Linux OS
1963 * --enable-old-format for old (V1.3) database format
1964 * getopt, samhain.c, samhain.h: option -f to loop if not daemon
1965 * sh_hash: list numeric + char data to allow file db update on
1966 server side
1967 * sh_database: modify handling of integer (long) data
1968 * sh_database: datetime in database
1969 * sh_database: hash field in database
1970 * sh_database: rewrite database insert string construction
1971 [use INSERT INTO log (fields) VALUES (values);]
1972 * makefile suse 7.x runlevel entries
1973
19741.3.7 (06-01-2002):
1975 * fix incorrect escape in sh_tools_safe_name
1976 * fix sh_error_handle (4. argument) in sh_extern.c
1977
19781.3.6c:
1979 * fix segfault in sh_database (mysql logging) on solaris
1980
19811.3.6b (03-01-2002):
1982 * fix syntax error ('==') in Makefile.in
1983 * fix configure.in (path for /lib/modules/$(uname -r)/build/include)
1984 * fix sh_kern.c (redeclaration of 'j')
1985
19861.3.6 (03-01-2002):
1987 * sh_kern.c: check integrity of int 80h vector
1988 (SucKIT rootkit - Phrack 58)
1989 * make sure childs in sh_kern are wait()'ed for
1990 * provide start/stop/restart/reload/status interface
1991 * fix a potential segfault (dereferenced NULL pointer) in the server
1992 * use sh_util_flagval for sh_unix_setdaemon
1993 * documentation for logging to SQL database
1994 * configure.in: check for -I/lib/modules/$(uname -r)/build/include
1995 * fix trustfile.c to ignore invalid users
1996 * separate 'make install-samhain' and 'make install-yule'
1997 * separate default log/pid/config files for server/client
1998 - less problems running server and client on same host
1999 * rewrite deploy.sh(.in):
2000 - don't use (make|install) if deploying
2001 - use command line options
2002 - better integrate into server environment
2003 - write install db
2004 * always write a pidfile if daemon
2005 * don't use server's config file as fallback for downloading client
2006 * don't overwrite config file when doing 'make install'
2007
20081.3.5 (28-12-2001):
2009 * fix --enable-message-queue for newer glibc versions
2010 * log to SQL database: implemented, but undocumented yet,
2011 needs to be tested further
2012 * xml: escape received syslog messages
2013 * xml: rename 'time' to 'tstamp'
2014 * make targets: make [un]install-[boot-]yule
2015 (for server-only installation)
2016 * fix samhain_hide.c for 2.4 kernel
2017 * fix sh_kern for updated samhain_hide.c
2018 * new option -j to just list the logfile
2019 * sh_getopt.c: recognize -Dt check for -D -t check
2020 * sh_tiger0.c: fix compiler warning (memmove) on Solaris
2021
20221.3.4 (12-12-2001):
2023 * sh_suidchk.c: option to limit files per second
2024 * sh_unix.c: option to limit (kilo)bytes per second
2025 * sh_hash.c: fix potential problem with '\n' in filename
2026 (not backward compatible if there are filenames with '=')
2027
20281.3.3 (03-12-2001):
2029 * sh_readconf.c, samhain.h, samhain.c, sh_suidchk.c:
2030 option SetNiceLevel to set scheduling priority
2031 * sh_hash.c: bugfix for database listing on Solaris
2032 * taus_seed: bugfix for emergency backup rng seed
2033 * sh_util_safe_name: fix for XML
2034 * sh_utmp_set_login_activate: use sh_util_flagval
2035 * sh_utils.c: sh_util_obscurename: rm 'space' from list
2036 * more backtrace macros
2037 * sh_util_flagval: fix bug to recognize 1/0
2038 * fix test scripts testtimesrv.sh, testext.sh (test.sh 6/5)
2039 * rm stray debug fprintf in sh_srp.c
2040
20411.3.2 (27-11-2001):
2042 * sh_hash.c: fix an error introduced in 1.3.1
2043 * set RLIMIT_CORE to RLIM_INFINITY if --enable-debug
2044
20451.3.1 (25-11-2001):
2046 * slib.c: get backtrace with --enable-debug
2047 * sh_unix.c: allow core dumps when --enable-debug
2048 * configure.in: fix default message queue permissions
2049 * sh_suidchk.c: automatically include suid/sgid files in database
2050 * sh_suidchk.c: check all suid/sgid files
2051 * sh_hash.c: don't insert duplicates when reading the database
2052 * sh_utmp, sh_kern, samhain: fix 1sec offset in timer
2053 * sh_unix.c: don't require /dev/random to be non-world-writeable
2054 * server: fix segfault in zAVLTree.c if avltree == NULL (no clients)
2055 * client: fix segfault on Solaris if path_conf == NULL
2056 * testrun_1b.sh: \(^/.*\) -> \(/.*\) for Solaris sed
2057
20581.3.0 (31-10-2001):
2059 * support compiling with GNU gmp library
2060 * set 3 sec timer on client_time_check to avoid excessive (and
2061 unnecessary) calls under heavy load
2062 * replace sl_strlen with a macro
2063 * store client_t structure in AVL tree
2064 * database format incompatible with previous format, up the magic#
2065 * sh_html.c: cache entry template for speedup
2066 * slib.c: reset islong(double) in sl_printf_count
2067 * sh_hash.c: report on rdev change
2068 * sh_hash.c: print size in 64 bit
2069 * sh_hash.c: save in absolute size types
2070 * sh_unix.c: get values as appropriate type (time_t, dev_t, ...)
2071
20721.2.10:
2073 * update MANUAL
2074 * sh_unix.c: tiger_hash -> tiger_generic_hash
2075 * sh_readcon.c: DigestAlgo option
2076 * sh_tiger0.c: add MD5 and SHA1
2077 * sh_unix.c: fix minor problem with win2k/cygwin
2078
20791.2.9 (17-10-2001):
2080 * fix problem with entry template/empty hostname
2081 * fix MASK_USER_ (MTM -> ATM)
2082 * typo fixed in configure.in (${install_name} -> {install_name})
2083 * bugfix group_old -> size_old in XML code
2084 * skip armor header in signed files
2085
20861.2.8 (29-09-2001):
2087 * Mac OS X: in sh_getopt.c, rename table[] to op_table[] to avoid
2088 obscure compiler warning
2089 * Mac OS X: fix test scripts
2090 * Mac OS X: import newest config.guess, config.sub from ftp.gnu.org
2091 * implement deadtime in syslog recv code to protect against flooding
2092 * sh_err_log: sl_close(fd) if lock|forward fails
2093 * compliance with Filesystem Hierarchy Standard -- Version 2.2 final
2094 * add policies User0, User1
2095 * fix compile problem (FreeBSD) in sh_suidchk.c
2096 * macro to check for debugger breakpoints (linux/i386)
2097 * check for solaris (does not work) in sh_derr (--enable-ptrace)
2098 * option to listen on 514/udp for syslog, drop root
2099 irrevocably if compiled thus
2100 * use (check_mask & MODI_ATM) to decide whether to reset utime
2101 * reset the policy masks on sighup
2102 * option to write XML log messages
2103 * cleanup of message catalog
2104 * modified error messages for BADCONN
2105 * error messages for Rijndael
2106 * block recursive error messages within sh_error_handler()
2107 - would hang the machine ... -
2108
21091.2.7:
2110 * sh_files, sh_utils: check top level directory
2111 * sh_kern, sh_cat, kern_head: check syscall code, fork subprocess
2112 for reading from /dev/kmem
2113 * include /boot in default samhainrc
2114 * change source distribution signing/packaging system
2115 * Makefile, README, MANUAL: adhere to file system standard,
2116 document new locations
2117 * fix a bug in samhain_hide.c
2118
21191.2.6:
2120 * reset list of trusted users before config file re-read
2121 * TrustedUser=... can be a list
2122 * fix severity for files missing from IgnoreAll
2123
21241.2.5:
2125 * include example_pager.pl, example_sms.pl scripts
2126 * explain paging/sms setup in docs
2127 * allow manual exclusion of a directory in suidcheck
2128 * automatically track all file changes
2129 * remove missing files from in-memory database
2130 * add $(KERN) to DEPLOYFILES
2131
21321.2.4:
2133 * log IP address for login/logout events, if supported by the OS
2134 * release block in globerr (callback)
2135
2136-------------
2137
21381.2.3:
2139 * fix problem with reading stealth configuration
2140 * fix a few formats in sh_cat.c
2141 * always use strncmp for file system type check in sh_suidchk.c
2142 (trailing 'fs' may be system specific for some types)
2143 * no bare LF in messages (RFC 2822)
2144 * no lines longer than 998 chars (RFC 2822)
2145 * fix error in testrc_1
2146
21471.2.2:
2148 * make tmp file directory a compile time option
2149 * fix minor bugs in tmp file allocator (potential memory leak,
2150 double slash if root directory)
2151 * obsolete testpipe script removed
2152
21531.2.1:
2154 * fix memory alignment in rijndael-api-fst.c: blockEncrypt()
2155 * fix byte order in HMAC code (compatibility fix for Linux/HP-UX)
2156 * removed a debug fprintf()
2157
21581.2.0:
2159 * fix a bug in the HMAC implementation (thanks to Cesar Tascon
2160 for help in tracking down this one)
2161 * module to check the file system for SUID/SGID files
2162
21631.1.16 (never released):
2164 * fix the recursion depth -1 option as described in the manual
2165 * optional database reload on SIGHUP
2166 * fix a race condition when checking that /dev/random is a charakter
2167 device
2168 * redirect stderr to /dev/null for c_random
2169 (AIX may segfault in netstat...)
2170 * check whether /dev/random is a charakter device in c_random.sh
2171 (we know at least one sysadmin who has set up a fake /dev/random ...)
2172 * don't give NULL as 2. and 3. arg to execve if not Linux - some
2173 Unices (notably Solaris) don't like it
2174 * init ptr = NULL in my_malloc (compiler warning)
2175 * make the bitmask for tests configureable (suggestion by A. Dunkel)
2176 * make the bitmask for tests a static variable
2177 * make (database/logfile/lockfile) path configurable
2178 (to run multiple instances of samhain from an NFS share - on the
2179 wishlist of J. Patton)
2180
21811.1.15 (never released):
2182 * fix minor error in testcompile.sh (rm test_log only at start)
2183 * return from subroutines on sig_terminate == 1
2184 (faster exit on SIGTERM)
2185 * fix re-configuration of addresses
2186 * use sh_util_flagval() in sh_mail_setFlag and sh_kern_set_activate
2187 * SysV message queue as compile option
2188 * config file option to set console device
2189 * removed the pre 1.1.9 code bloat
2190 * don't print the LOGKEY to the console
2191
21921.1.14:
2193 * fix an error in the setup consistency check
2194 * make target to uninstall runtime files
2195 * trustfile.c: check return code of readlink(), fix off-by-one error
2196 * sh_files.c: fix placement of terminator after readlink() call
2197 * sh_files.c: fix a missing set_suid()/unset_suid()
2198 - suid should work, but is not recommended -
2199 * more debug statements in c/s code
2200 * avoid re-entry in sh_unix_sigexit
2201 * put a block around free() and malloc() in wrapper functions
2202 * ditto for glob()/globfree(), regcomp()/regfree(), fdopen()/fclose()
2203 - i.e. avoid corrupting the heap from a signal handler -
2204
22051.1.13:
2206 * optimized the size of the configure script somewhat
2207 * modify the compile and hash test scripts
2208 * read '\0's in sh_unix_getline
2209 * exponential schedule for connection attempts
2210 * make stealth working properly with signed files
2211 - config file should be signed now before embedding in picture -
2212 * fix a race in using signed files
2213 * updated err messages for PWNULL, GRNULL
2214 * add missing shell script for test 11
2215 * add mandatory source file/line info with -p debug
2216 * add mandatory source line info with BADCONN
2217 * fix a latex error in the manual
2218
22191.1.12:
2220 * debug output to console if compiled with --enable-debug and
2221 running as daemon
2222 * make reportonlyonce=true the default
2223 * make sure state changes of a file are always reported, even
2224 with reportonlyonce=true
2225 * Linux kernel modules (samhain_hide, samhain_erase)
2226 * fixed incorrect return value of sh_util_flagval
2227 * fixed an error in sh_files.c: happens with -t init and first
2228 file that is checked does not exist
2229 * revised install/uninstall targets in the Makefile
2230 * module to check for clobbered kernel syscalls (tested on Linux 2.2)
2231 * more diagnostic error messages in sh_gpg.c
2232 * more diagnostic error messages in sh_mail.c
2233 * error in mail.c fixed
2234 (address -> address_list[i] for multiple recipients)
2235 * docs updated, better(?) explanation of signed files
2236 * skip over path in gpg checksum output
2237 * check client name against IP address and FQDN
2238 * fix for --disable-* in config file
2239 * fixed a server crash (MSG_TCP_OKMSG without arg)
2240 if the server is run with debug level output threshold
2241 * catch EAGAIN in sh_gpg.c pipe reader
2242 * fix the 'external logging' test to make it work on BSD
2243 * error message if no local path to init DB
2244 * check for i86/Solaris in configure (vsnprintf prototype)
2245 * make SRP the default
2246
22471.1.11:
2248 * make log file verification more convenient
2249 * fix problem with message classes in stealth mode
2250 * linux: do not try to read file attributes for devices
2251 * handle the root directory correctly (avoid "//" in listing)
2252 * fix problems with blockin on FIFOs/char dev
2253 pointed out by I. Rogalsky (rog@iis.fhg.de)
2254 - open in nonblocking mode for read, then set to blocking
2255 - open file only if regular
2256 * fix alignment in memory profiler
2257
22581.1.10:
2259 * minor code cleanup
2260 * fix an error in trustfile.c (handling of empty/incomplete
2261 group entries in /etc/group, bug report by A. Capriotti )
2262
22631.1.9:
2264 * compatibility option for old behaviour (plain hash instead
2265 of HMAC, ECB instead of CBC mode)
2266 * use CBC rather than ECB mode for encryption
2267 * use HMAC-TIGER for message authentication codes
2268 * handle NULL data in sh_tiger_hash
2269 * option to set syslog facility (default is LOG_AUTHPRIV)
2270 * longer timeout (300 sec) on /dev/random if no /dev/urandom
2271 * fix minor output error with stealth option
2272 * option not to log names of config/database files on startup
2273
22741.1.8:
2275 * fix error in syslog routine
2276 * fix missing 'test' in configure.in
2277 * fix error in replace_tab() in sh_html.c
2278 * fix minor memory leak in sh_util_regcmp()
2279
22801.1.7:
2281 * timeout on read_mbytes (from /dev/random; fallback to /dev/urandom)
2282 * fix for FreeBSD: ut_user -> ut_name in sh_utmp.c
2283 * fix for Alpha: consider $ac_cv_sizeof_unsigned_int_ in configure.in
2284 * fix for Alpha: format string in sh_tiger0.sh
2285 * on Linux, now compiles cleanly with
2286 -Wall -W -Wstrict-prototypes -Wcast-align
2287 * fix problem with recursion depth
2288 (pointed out by Vic <hvicha@mail.ru>)
2289 * #include "sh_tools.h" in sh_unix.c and fix the
2290 --with-timeserver option (reported by Vic <hvicha@mail.ru>)
2291 * place read_port(), MSG_TCP_NETRP outside ifdefs
2292 * close fd/zero skey before execve
2293 * verify client name against socket peer
2294 * ... with configureable error priority
2295 * use strcmp() rather than strncmp() in search_register()
2296 * fix race between lstat() and open() for checksum
2297 (reported by dynamo <dynamo@ime.net>,
2298 JJohnson <JJohnson@penguincomputing.com>)
2299 * enable globbing for filenames
2300 * fix Solaris problem: siginfo_t may be NULL
2301 * fix missing SL_EBADGID in tf_trust_check
2302 * test case for external scripts, fix flushing pipe
2303 * fix a typo in sh_ext_type
2304 * do an fdexec w/checksum on Linux if calling external program
2305 * even safer tmp file creation
2306 * allow db update
2307 * fix compile options for --enable-debug
2308 * fixed a spelling error in the output
2309 * test program for full CS support (config/database download)
2310 * tell which file is searched for cs download
2311
23121.1.6:
2313 * fix bug in sh_readconf_line (segfault on erroneous config lines)
2314
23151.1.5:
2316 * sh_unix.c: sh_unix_getinfo_attr: f -> flags
2317 * use gettimeofday as last resort
23181.1.4:
2319 * fix AIX compiler warning in sh_forward (cast arg1 of sh_tiger_hash
2320 to (char *)
2321 * configure: add static link flags for some more os (from tar)
2322 * don't strip twice (some stupid systems abort)
2323 * fix for reading from /dev/random on non-Linux systems (untested)
2324 * sh_mail.c: end all message lines with \r\n
2325 * stealth: ignore \r, \"
2326 * take out tracing from --enable-debug (presently useless anyway)
2327 * fix some remaining cleartext with debug && stealth combined
2328 * fixed a small memory leak in sh_err_log.c
2329
23301.1.3:
2331 * fixed circular logic in taus_seed() (fallback method only)
2332 * fix for missing _SC_OPEN_MAX (runaway close())
2333
23341.1.2:
2335 * implement message classes
2336 * let server recognize client message severity and class
2337 * secondary log server
2338 * keep database in memory (allows to close file
2339 if retrieved from server)
2340 * encrypt client/server communication
2341
23421.1.1:
2343 * Compilation problems with native Solaris compiler fixed
2344 * fill in euid/ruid variable
2345 * manual.pdf --> MANUAL.pdf
2346 * debug sh_util_formatted()
2347 * http refresh 120sec for server stat page
2348 * trace/debug options
2349 * fixed problem with utmp.c options
2350 * fixed problem with sh_mail_setaddress
2351 * option for custom message header
2352 * fixed problem in compdata
2353 * fixed problem in mail verification
2354 * remove eventual trailing '/' in file names
2355 * fixed problem with report string for modified files
2356 * option to report in full detail
2357
23581.1.0:
2359 * Move error messages to catalog
2360 * Make error message format more uniform
2361 * Wrap sytem calls that could be interrupted by signals
2362 * Warn on append to database
2363 * Option for full details on mod. files
2364 * Option to report only once on mod. files
2365 * Generally speaking, major modifications with potential new bugs
2366
23670.9.5:
2368 * sh_hash.c: fixed erroneous checksum for config file
2369 * sh_html.c: fixed erroneous timestamp (last)
2370 * sh_tools.c: fixed connect_port (set port for cached address)
2371 * sh_srp.c: fix for '00' (='\0') in pw
2372 (last two fixes by Andreas Piesk)
2373
23740.9.4:
2375 * samhain.c: fcntl(1, ..) -> fcntl(2, ..)
2376 * sh_hash.c: copy 12 instead of 10 byte for c_attributes
2377 * 'empty directory' WARN -> INFO
2378
23790.9.3:
2380 * FreeBSD fixes:
2381 - c_random.sh: make sure /dev/random provides something
2382 rather than nothing
2383 - check for <netinet/in.h> and include it
2384 - include <sys/types.h> early
2385 - sh_utmp.c: fixed an occurence of ut_user
2386 - sh_utmp.c: #ifdef HAVE_UTTYPE static char terminated_line #endif
2387 - sh_forward.c: EBADMSG -> ENOMSG
2388 * sh_unix.c: check return value of gethostbyname
2389 * sh_entropy.c: fallback on /dev/urandom if /dev/random blocks for
2390 more than 30 sec
2391 * ... and fix the timestamp format ...
2392
23930.9.2:
2394 * ISO 8601 timestamps
2395 * Bugfix in sh_utmp (timestring overwrite)
2396 * don't use siginfo_t on Linux (garbage as of 2.2.14)
2397 * check for Linux capabilities bug when dropping root
2398 * include README for gcc compiler bug (pointed out by A. Piesk)
2399 * explicitely set -fno-strength-reduce with gcc
2400 * fixed ignoring missing files with the IgnoreAll policy
2401
24020.9.1:
2403 * more ext2flags (breaks backward database compatibility on Linux)
2404 * IgnoreAll policy modified - missing/added files reported with
2405 SeverityIgnoreAll (to handle files that may or may not be present)
2406 * Check all files, not only regular ones
2407 (bug in sh_files, originally introduced because checksum of
2408 regular files only is computed)
2409
24100.9:
2411 * use O_NOATIME if supported
2412 * --with-nocl takes argument (PW to re-enable CL parsing)
2413 * no daemon mode if initializing database
2414 * fixed segfault in yule with 'unknown file type' request
2415 * enlarged MAX_GLOBS 24 -> 32 and made the array linear
2416 * server uses last registry entry for any given client now
2417 * deploy.sh script to deploy clients to remote hosts
2418 * enhanced signal handling: SIGUSR1/SIGUSR2/SIGABRT/SIGQUIT/SIGHUP
2419 * allow y/Y/n/N for login monitoring (in addition to 0/1)
2420 * external logging scripts/programs
2421 * trustfile.c: define STICKY on Linux
2422 * reset signal mask when initializing
2423 * EINTR_RETRY wrapper
2424 * slib: sl_read, sl_write EINTR update
2425 * use sstrip when installing
2426 * more compact database format (breaks backward database compatibility)
2427 * larger download packets
2428 * TcpFlags unsigned char
2429 * cast to (char *) head in write_port
2430 * m(un)lock cast to (char *)
2431 * (1 << 31) --> (1UL << 31)
2432 * support e2fs attributes on Linux
2433 * fixes for AIX and Solaris native compilers
2434 * fixed Makefile for non-GNU make (pattern rule --> suffix rule)
2435
24360.8.1:
2437 * fixed 'is_numeric()' return value
2438
24390.8:
2440 * added option for static compilation
2441 * added option for stealth with non-hidden config file
2442 * added option for disabling command line parsing
2443 * all options can be set in the configuration file now
2444 * stealth: xor strings in database file
2445 * fixed bug in mailer code ([] in HELO)
2446 * print timestamp when asking for key
2447 * 'micro' stealth mode (no hidden configuration file)
2448 * simplified slib
2449 * int->long for uids/gids in trustfile
2450 * moved mailkey from data to code
2451 * shell script for entropy (stronger default key)
2452 * general code cleanup
2453 * better error checking in client/server code
2454 * detect out-of-sync messages
2455 * check state across protocol passes in server
2456 * make sure authentication is mutual
2457 * file download to client
2458 * reserve six file descriptors in server
2459 * mlock queue buffer if LOG_KEY
2460 * improved robustness in bignum (don't fail on free())
2461 * per-directory recursion depths
2462 * RFC821 compliance: empty line at end of header, To field, Date field
2463 * RFC821 compliance: make e-mail transfer relieable
2464 * fix detection of hardlink changes
2465 * checksum verification for calling gpg/pgp
2466 * CL option '-S' not required for server-only binary
2467 * eliminate CL options that may leak privileged information
2468 if the program is SUID
2469 * skip leading white space in configuration file
2470 * allow nested conditionals in configuration file
2471 * allow whitespace before and after '=' in configuration file
2472 * don't leak file descriptors to child processes
2473 * make message transfer relieable
2474 * always report error on abnormal termination of connection
2475
24760.7:
2477 * support for alpha machines
2478 * stop TCP logging after exit message
2479 * limit connections in server (DoS attacks)
2480 * move string handling to slib
2481 * move file handling to slib
2482 * timestring without space
2483 * changed report format
2484 * SUID bugfix - use euid when checking logfile ownership
2485 * SUID bugfix - get root for lstat()
2486 * SUID bugfix - get root for opendir()
2487 * store number of hardlinks
2488 * send no message if polling empty queue
2489 * include tiger 64-bit implementation (portability)
2490 * codes for error conditions
2491 * mail check: handle multiple, overlapping audit trails
2492 * security fix: no append to database if SUID
2493 * fix sh_entropy.c (BUFSIZ -> BUF_ENT)
2494 * read command line before config file
2495 * PGP signing of config/database files
2496 * checksum of config file reported
2497 * checking for attributes only
2498
24990.6:
2500 * more syslogish priority specification
2501 * fixed segfault in sh_mem_check, apparently this was also
2502 the reason for the segfault in atexit()
2503 * allow for compilation with SRP authentication
2504 * fixed tiger checksum computation
2505 * fixed broken logfile verification for second and further audit trails
2506 * test program added
2507 * documentation improved
2508 * sh_forward_make_client: bug fixed in[8]->in[i]
2509 * sh_error.h: fixed missing #include <errno.h>
2510 * configure.in: fixed missing strerror() test
2511 * sh_utmp.c: check logins/logouts
2512 * check for missing files
2513 * only reset access time if necessary
2514 * O_EXCL in open()
2515 * limit environment to TZ in execve (sh_entropy.c, not used on Linux)
2516 * use trustfile() to determine whether logfile dir is trustworthy
2517 * strip head instead of tail for numerical address
2518 * store messages in fifo during log server outage
2519 * re-init session key after server outage
2520
25210.5 (21-12-1999):
2522 * added option for mail relay server
2523 * own popen() implementation in sh_entropy() (portability)
2524 * fixed error in sh_util_basename() (returned NULL for base == "/")
2525 * fixed segfault in strlcpy/strlcat (check for src == NULL)
2526 * FILENAME_MAX -> PATH_MAX (HP-UX 10.20)
2527 * use TIGER for 32-byte compilers (portability)
2528 * fixed hash function (do not include stdlib.h)
2529 * flush buffer before write in mailer code (IBM AIX 4.1)
2530 * make mailer code non-forking
2531 * cast argument of is...() to int (portability)
2532 * return() after _exit() for braindead compilers (portability)
2533 * optionally use inet_addr (portability)
2534 * check for broken mlock() (HP-UX 10.20)
2535 * minor code cleanups
2536 * fixed incorrect size of munlock()'ed memory in sh_error_string()
2537 * fixed a buffer overflow in the error printing routine
2538 * fixed a buffer overflow in sh_util_safe_name ()
2539 * implement SRP session key exchange
2540 * implement client/server facility
2541 * implement @host/@end construct in configuration file
2542 * preferably use uname(), and do gethostbyname() for FQDN
2543 * make vernam cipher base numeric
2544 * make OnlyStderr private in sh_error
2545 * test -e "/dev/random" --> test -r "/dev/random" (portability)
2546 * check for libsocket (portability)
2547 * add #defines for IPPORT_SMTP, IPPORT_TIMESERVER (portability)
2548 * eliminate superfluous /proc test
2549 * some unreachable code removed
2550 * cast to (byte*) replaced by cast to (word64*) in sh_tiger_hash()
2551 * check for setresuid() if no seteuid() (HP-UX 10.20)
2552
25530.4 (09-11-1999):
2554 * make sure output from /dev/random has no NULL's
2555 * one-time pad encryption for emailed keys
2556 (better than nothing ...)
2557
25580.3 (04-11-1999):
2559 * logfile readable for group
2560 * verify signatures for any file
2561 * signature block in tarball
2562 * use select() in time server routine
2563 * better protection for session keys (mlock)
2564
25650.2:
2566 * fixed incorrect man page
2567 * fixed incorrect example rc file
2568 * recursive error logging should work now
2569
25700.1:
2571 * initial release -- on Samhain 1999, of course
2572
2573development start:
2574 * probably 29-06-1999
2575
Note: See TracBrowser for help on using the repository browser.