source: trunk/docs/Changelog@ 111

Last change on this file since 111 was 111, checked in by rainer, 17 years ago

Fix for ticket #69 (wrappers for name service routines not used everywhere).

File size: 73.7 KB
RevLine 
[111]12.3.6:
2 * sh_gpg.c, sh_userfiles.c: use sh_getpwnam et al. wrappers
3
[105]42.3.5:
[110]5 * sh_portcheck.c: try to tear down connections more gracefully
6 (request by S. Petersen)
[107]7 * fix incorrect handling of files with zero size in GrowingLogFiles
8 (problem reported by S. Petersen)
[105]9 * fix incorrect encoding of null checksums in stealth mode
10 * sh_hash.c: fix repeated printing of acl/attributes in database dump
11 * sh_unix.c: fix option useaclcheck ignored if both useaclcheck and
12 useselinuxcheck are supported
13
[110]142.3.4 (01-05-2007):
[103]15 * sh_processcheck.c: fix missing init of sh_prochk_res array before
16 check (leads to degrading functionality over time and 'fake pid'
17 warnings; reported by D. Ossenbrueggen and
18 soren dot petersen at musiker dot nu)
19 * sh_processcheck.c: fix memory leak
[102]20 * sh_kern.c: for 2.6.21+ don't check proc_root_lookup (not possible
21 anymore? proc_root_inode.lookup != proc_root_lookup)
22 * sh_extern.c: flush streams before forking (problem if [Prelink]
23 used together with prelude logging, reported by M. deJong)
24 * fixed compilation of kern_head (regression cause by cross-compiling
25 fix; problem reported by S. Clormann)
[101]26 * more typos fixed (reported by John Horne)
27
282.3.3 (27-03-2007):
[100]29 * fixed typos in configure.ac and manual (reported by John Horne)
30 * don't use mysql_options on x86_64, since libmysql is broken
[99]31 * fixed cross-compiling (patch by Joe MacDonald)
[94]32 * refactor sh_kern.c, sh_suidchk.c
33 * fix bug with leading slashes in linked path of symlinks within
[93]34 the root directory
35 * sh_kern.c: check PCI ROM (Linux), refactor code
[92]36 * move file descriptor closing more towards program startup
[93]37 * kernel check: support OpenBSD 4.0 (wishlist)
[92]38 * fix samhain_hide module (in-)compatibility with recent kernels
[93]39 (reported by Jonny Halfmoon)
40
[100]412.3.2 (29-01-2007):
[89]42 * fix regression in full stealth mode (incorrect comparison of
43 bytes read vs. maximum capacity), reported by B. Fleming
44
452.3.1a (21-01-2007):
[87]46 * fix incorrect use of sh_gpg_fill_startup if option --with-fp is used
47 (reported by zeroXten)
48
492.3.1 (21-01-2007):
[100]50 * fix bug that may cause accidental closure of yule TCP socket
[85]51 (problem reported by B. Masuda)
[83]52 * fix sh_kern.c for kernel 2.6.19 (reported by S. Clormann)
[79]53 * don't use sstrip in 'make deb', since dh_shlibdeps uses objdump
54 (reported by B. Masuda)
55 * rm report.pl from rules.deb.in (reported by B. Masuda)
56 * samhainctl(): longer timeout (bad status reporting at startup,
57 reported by Phil and by Dan Track)
[78]58 * sh_portcheck.c: make connect errors more descriptive
59 * sh_portcheck.c: fix ignored setting of PortCheckActive
60 * sh_processcheck.c: add statvfs, and wrap for EINTR
61 * sh_portcheck.c: add wrappers for EINTR
62 * report user and executable for hidden processes
63 * fix update failure if reportonlyonce = false (reported
64 by D. Strine)
[76]65 * fix compile error in sh_portcheck.c (problem on cygwin
66 reported by J. D. Fiori)
67 * check filenames ending in space (also for utf8 spaces)
68 * check and escape csv formatted db listing
69 * cache results of sl_trustfile_euid()
70 * trustfile: use 4096 for MAXFILENAME, switch to strncpy
71 * CL option -v|--version for info on version and compiled-in options
72
[78]732.3.0a (01-11-2006):
[75]74 * fix compile failure with portcheck + stealth (reported by lucas)
75
762.3.0 (01-11-2006):
[68]77 * fix concurrency for inserts in oracle db
78 * add acl_(new|old) to database schema
79 * check for selix attributes and/or posix acl
80 * new option UseSelinuxCheck (bool)
81 * new option UseAclCheck (bool)
82 * regression tests for above
83 * add module to check for open ports
84 * add module to check processes (hidden/fake/missing)
85 * use const char* for argument of module configuration callbacks
86
[73]872.2.6 (31-10-2006):
88 * fix missing support for MacOX X init script (reported
89 by Daniel Kowalewski)
[65]90 * fix error about non-readable file with no checksum required
91 * fix server warning about 'no server name known'
92 * fix 'make deb' makefile target
93 * fix default export severity for server
[68]94
[65]952.2.5 (05-10-2006):
[63]96 * fix broken Install.sh, reported by Alexander Kraemer
[61]97 * workaround for glob(3) sillyness on MacOS X (reported by David)
98 * fix for broken resorce fork check (reported by David)
99 * fix for broken compilation on cygwin (reported by Elias)
100
1012.2.4 (03-09-2006):
[60]102 * add regression test for the GrowingLogFiles issue to test suite
[59]103 * fixed sh_unix.c: bug in database init if GrowingLogFiles used
104 with signed database (reported by Timothy Stotts)
105 * bug in manual fixed (incorrect documentation of --enable-user,
106 noticed by M. Brown)
107 * rc.subr compatible init script for FreeBSD/NetBSD
[58]108 * improve routine to find rpm after build
[57]109 * add netbsd rc file from Brian Seklecki (taken from pkgsrc-wip)
110 * fix error in manual (location of lock file)
[55]111 * fix bug with SuidExclude (files in directory were still checked)
112
[59]1132.2.3 (31-07-2006):
[53]114 * fix samhainadmin.pl: check for gpg-agent running if use-agent is set
115 (ticket #28 by anonymous)
[52]116 * fix stealth mode (regression in parser), problem reported by
117 Joschi Kuphal
[54]118 * fix minor typo in sh_database.c (compile problem reported by
119 Joschi Kuphal)
[52]120
[51]1212.2.2 (17-07-2006)
122 * minor fixes for regression test scripts
123 * minor updates to the manual (suggested by Brian A. Seklecki)
124 * fix sh_kern.c, kern_head.c: kernel rootkit detection for 2.6.17+
125 (problem reported by Leonhard Maylein)
126 * fix samhain_hide.c for 2.6.17+: use module_param() if MODULE_PARM
127 is not defined
128
1292.2.1c (11-07-2006)
[49]130 * fix sh_extern.c: sh_ext_add_default() cast to (void) was too early
131 (Solaris 8 build failure reported by Jesse)
132 * fix sh_unix.c: wrong prototype for sh_unix_mlock()
133 if HAVE_BROKEN_MLOCK (AIX 5.2 build failure reported by
134 Jonathan Kaufman)
135
[48]1362.2.1b (20-06-2006):
137 * fix compile error on SuSE 10.1 (reported by Leonhard Maylein)
138
1392.2.1a (15-06-2006):
[47]140 * fix compile error on i686/MacOS X (reported by Andreas Neth)
141
[48]1422.2.1 (13-06-2006):
[46]143 * fix gcc 4 warnings and build failure on x86_64 (debian bug #370808)
144 * fix compiling with Oracle (noticed by Colapinto Giovanni)
145 * fix configure.ac for most recent autoconf version
146 (debian bug #369503)
[42]147 * fix a regression that would make impossible local updates w/clients
148 * fix a few missing '\n' in sh_getopt.c
[41]149 * sh_kern.c: fall back on mmap() if read() fails on /dev/kmem
[40]150 * fix Solaris package creation
151 * recognize Solaris doors and event ports
152 * fix the idmef_inode_t patch: provide required info to avoid stat()
153 * fix bug on database update: fill in dev and rdev fields
154 * fix get_file_infos() in sh_prelude.c: avoid premature return
155 * GCC_STACK_PROTECT_CC: AC_TRY_COMPILE -> AC_TRY_LINK
[38]156 * deploy.sh: allow to set a group for hosts upon installation
[36]157 * patch by Yoann: fix an issue when setting the idmef_inode_t object
158 * fix memory leaks in error paths in sh_prelude.c
159 * fix concurrent inserts with postgres in sh_database.c
160 * code cleanup
[47]161 * fix manual version in spec file, first noticed by Imre Gergely
[34]162
[48]1632.2.0 (01-05-2006):
[30]164 * patch by Jim Simmons for samhainadmin.pl.in
165 * fix testsuite portability problems
166 * fix md5 endianess problem detected on HP-UX 11i / PA-RISC 8700
167 * fix potential NULL dereference in sh_utmp_endutent()
[29]168 * patch by Neil Gorsuch for suidchk.c (do not scan lustre, afs, mmfs)
169 * fix sh_ext_popen (OpenBSD needs non-null argv[0] in execve)
170 * fix make_tests.sh portability (echo '"\n"' does not work on OpenBSD)
171 * fix bug in sh_utils_obscurename (check isascii)
172 * scan h_aliases for FQDN if h_name is not
[27]173 * add copyright/license info to test scripts
174 * add copyright/license info to deployment system scripts
175 * support server-to-server relay
[29]176 * new CL option --server-port
[27]177 * minor improvements in manual
[25]178 * patch by Yoann Vandoorselaere for sh_prelude.c
[22]179 * allow --longopt arg as well as --longopt=arg
[29]180 * verify checksum of growing log files (up to previous size)
[22]181 * rewrite of the test suite
[18]182 * added a bit of unit testing
183 * minor optimizations in various places
184 * optimized implementation of tiger checksum algorithm
185 * read in 64k blocks (faster than 4k)
186 * sh_unix.c, sh_hash.c: support file flags on *BSD, update Linux
187 file attribute code
188 * kern_head: fix compilation of kernel check module on OpenBSD
189 * updated samhainrc.linux, samhainrc.freebsd
190 * sh_unix.c: fix setrlimit (RLIMIT_NOFILE, ..)
191 * sh_files.c: fix missing use of flag_err_info
192 * sh_tiger0.c: remove repetitive use of mlock
193 * slib.c: remove fcntl's from sl_read_timeout (caller sets O_NONBLOCK),
194 add function sl_read_timeout_prep
[3]195
[25]1962.1.3 (13-03-2006):
197 * fix compile problem in slib.c (reported by Lawrence Bowie)
198 * fix bug with combination of one-shot update mode and file check
199 schedule (reportedby Dan Track)
200 * improved the windows howto according to suggestions by
201 Jorge Morgado
202 * fix samhain_hide kernel module for new linux kernel versions
203 * fix minor problem with dead client detection (problem reported
204 by Michal Kustosik)
205
[18]2062.1.2 (10-01-2006):
207 * fix startup error with combination of gpg+prelude
208
[5]2092.1.1a (22-12-2005):
210 * fixed a stupid bug in sh_files.c (break if file = dir)
211
2122.1.1 (21-12-2005):
[3]213 * sh_calls.c: protect sh_calls_set_bind_addr against overriding
214 * comINSTALL, updateDB: use locking
215 * samhainadmin.pl: use locking
[1]216 * fix typos in samhainrc.solaris (noticed by Robby Cauwerts)
217 * improve zAVLSearch (remove redundant strcmp)
[3]218 * use AVL tree in sh_files.c instead of linked list (better scaling)
[1]219 * fix bug with suidcheck (no update/check in one-shot mode with
220 schedule instead of check interval; noticed by R. Rati)
221 * fix for problem with '-t update -i' if daemon mode (problem report
222 by Peter van der Does)
223 * fix for bug in sh_util_ask_update (two returns were required ...)
224
2252.1.0 (31-10-2005):
226 * minor fix for cross-compiling with --with-kcheck
227 * sh_forward.c: handle bad fds in the select() fd sets
228 (reported by hmy)
229 * sh_extern.c: fix debugging code
230 * slib.c, sh_calls.c, sh_calls.h: improve handling of O_NOATIME
231 (reported by Gabor Kiss)
232 * makefile.in: fix for solaris package creation
233 * sh_mail.c, sh_readconf.c: mail filtering options
234 * sh_database.c: Oracle reconnect on connection failure
235 (bug report by Alexander A. Sobyanin)
236 * sh_unix.c: don't purge MYSQL_UNIX_PORT environment variable
237 (problem reported by Peter)
238 * sh_calls.c: fix for a HP-UX accept() problem caused by the gcc4 fix
239 * fixes for gcc 4.0.2 compiler warnings
240 * ability to use daemon mode together with update
241 (wishlist Yoan Vandoorselaere)
242 * fixes for debugging
243
2442.0.10a (22-08-2005):
245 * fix for overlapping directory check specification (reported by Bub)
246
2472.0.10 (21-08-2005):
248 * fix for segfault (free() on a constant string) with libprelude
249 (problem reported by Grae Noble)
250 * upgrade FreeBSD kernel check to 5.4, minor fixes
251 * useful script for users of Linux kernel check
252 (contributed by marc heisterkamp)
253 * documentation improvements (suggested by Brian Seklecki and Robby)
254
2552.0.9 (25-08-2005):
256 * samhain_erase.c: add #define for NULL
257 * sh_suidchk.c: fix incorrect use of escaped filename
258 * sh_prelude.[ch], sh_readconf.c: configurable mapping from
259 samhain severity to prelude severity
260 * sh_unix.h: second arg of gettimeofday should be NULL
261 * sh_files.c: fix checking of directory special file (use specified
262 policy, not that of parent dir, problem found by Brian A. Seklecki)
263 * sh_entropy.c: longer timeout for entropy collector
264 * sh_socket.c, sh_forward.c: allow probing of clients for
265 necessity of configuration reload
266 * yulectl: minor fixes, option -v (verbose), new command PROBE
267 * fix 'File not found' messages for files flagged with IgnoreMissing
268 * sh_database.c: strip newline from oracle error messages
269 * sh_files.c: fix rsrc fork issue with MacOS X Tiger
270 (reported by A. Koren)
271 * never compute checksum if not checked (problem report by D.Hughes)
272 * sh_prelude.c: cleanup and bugfix by Yoann
273 * sh_hash.c: for prelude, make sure mode is supplied with user/group
274 and vice versa
275 * sh_prelude.c: provide proper FileAccess objects (bug
276 report by Mihai Ilinca)
277
2782.0.8 (03-07-2005):
279 * configure.ac: use $LIBPRELUDE_PTHREAD_CFLAGS rather than
280 $LIBPRELUDE_CFLAGS (bugfix by Yoann)
281 * samhain.spec.in: remove support for chkconfig (it's too buggy).
282 Strangely, if invoked as install_initd it behaves sanely ...
283 * src/sh_err_log.c: fix key input (this time for real)
284 * fix --with-altlogserver (bug from 2.0.7b)
285 * remove server socket in start/stop script
286
2872.0.7e (not released):
288 * Makefile.in: introduce a total of 6 sec delay for 'make' utilities
289 that use 1 sec resolution, and consider target out-of-date if
290 timestamp(target) = timestamp(dependency) ...
291 * src/sh_err_log.c: fix key input
292 * another fix for yulectl (use pwent->pw_dir)
293 * dsys/comINSTALL, dsys/comUNINSTALL, dsys/comBUILD: fix PATH
294
2952.0.7d (not released):
296 * one more fix for the spec file (stupid rpm finds tags in comments!!!)
297
2982.0.7c (not released):
299 * test/testrun_1b.sh, test/testrun_2b.sh: use $GPG_PATH
300 * dsys/comINSTALL, dsys/funcDB, dsys/funcINSTALL: some bugfixes
301 * samhain-install.sh.in: fix test -z $verbose
302 * sh_hash.c: speedup database reading
303 * Makefile.in: fix the problem that BSD make would make too much
304 * deploy: yulerc.clients -> yulerc.install.db, provide
305 $defdatabase for backward compatibility
306 * deploy: allow for comma in client_install_date
307
3082.0.7b (not released):
309 * hp_ux.psf.in: fix psf file
310 * dsys/comINSTALL: fix $yule_date -> $yule_data
311 * Makefile.in: fix 'make depot'
312 * sh_tools.c, sh_unix.c: fix detection of open file limit
313 * sh_readconf.c: reset read_mode after reading conf file
314 * yulectl.c: better error messages, use homedir from getpwuid(geteuid)
315 * init/samhain.startLSB.in: fix misleading message in lsb init script
316 * sh_forward.c: better display for nonce u in debug mode
317 * sh_tiger*.c: fix checksum for HP-UX 64bit
318 * samhain.c: don't fetch database twice
319 * configure.ac: accept nodename for --with-logserver=...
320 * samhain_setpwd.c: return proper exit status for samhain_setpwd
321 * respond to SIGTERM on initializing
322 * fix problems with samhainadmin.pl
323 * sh_utils.c: fix bug with AddOKChars (found by Karol)
324
3252.0.7a (not released):
326 * remove 'df' from entropy gatherer (NFS may hang)
327 * modify va_copy check (doesn't work with HP-UX PA64 compiler)
328 * fix compile warnings in sh_database.c
329 * samhain-install.sh.in: check for /usr/bin/false in /etc/shells
330 * fix install-boot on HP-UX
331 * aclocal.m4: fix configure CL parsing to recognize VAR=VALUE
332
3332.0.7 (11-06-2005):
334 * yet another fix for the spec file (use internal dependency generator)
335 * sh_error.c, sh_prelude.c: init libprelude after open fds are closed
336 * error message if queue is full
337 * fix two compiler warnings on HP-UX
338 * fix sh_mail.c for Interix (no resolver routines)
339 * fix sh_unix_initgroups2() if no initgroups() function (bug reported
340 by Geries Handal)
341 * remove references to 'struct timezone' (Interix; problem
342 reported by Geries Handal)
343 * init/stop for prelude on SIGHUP
344 * sh_cat.h: fix a stupid bug with messages classes
345 * manual: new section on nagios (with help from kiarna),
346 more on prelude
347 * sh_prelude.c: cleanup and improvements (Yoann Vandorselaere)
348 * default prelude profile name now is 'samhain' (lowercase)
349 * sh_readconf.c: new option PreludeProfile (by Yoann Vandorselaere)
350 * remove obsolete check for linux/module.h, linux/unistd.h
351 * remove dependency on virtual/glibc in gentoo ebuild
352 (problem reported by Willis Sarka)
353
3542.0.6 (01-03-2005):
355 * sh_prelude.c, configure.ac, aclocal.m4: support for
356 libprelude 0.9 (Yoann Vandoorselaere)
357 * sh_html.c: fix bug with entry.html template (reported by
358 Stephane Sanchez)
359 * Install.sh: fix mandir option (reported by Rodney Smith)
360 * Fixed Linux/64bit bug in definition of EUIDSLOT
361 * New targets 'make depot', 'make depot-light' (HP-UX, untested)
362 * Use sstrip for RPMs and DEBs (automatic stripping disabled)
363 * Fix aclocal.m4 for autoconf 2.59 (missing $ac_cr_alnum et al.,
364 problem noticed by Yoann Vandoorselaere)
365 * Modify samhain.spec.in to disable automatic stripping upon install
366 * Fix deploy.sh + '--enable-gpg', and fix 'make rpm' and 'make deb'
367 for '--with-khide' (problems reported by Mark)
368 * Fix compile error in sh_tools.c on HP-UX 10.20
369 (problem reported by Dennis Boylan)
370 * Runtime configuration of server listening port (wishlist)
371 * Runtime configuration of server listening interface (wishlist)
372 * Ignore SIGTTIN (consistency)
373 * Use SIGTTOU to force file check (wishlist)
374
3752.0.5b (01-04-2005):
376 * Fix build problem b/o timestamp on stamp file
377
3782.0.5a (16-03-2005):
379 * Fix problem with 'make rpm' (reported by Dirk Brümmer)
380
3812.0.5 (02-03-2005):
382 * Fix bug with partial reads from clients in server
383 (bug report by Brian)
384 * Support gpg checksum bootstrap with yule
385 * Support mount option check on HP-UX
386 * For MAIL FROM, use 'example.com' as domain part if
387 hostname is numeric (problem reported by Eric Raymond)
388 * The HOWTO-write-modules has been updated.
389 * Convenience functions to insert data in database have been
390 added.
391 * Use int0x03 only on i386 in sh_derr() (portability problem
392 reported by John Mandeville)
393
3942.0.4 (09-02-2005):
395 * Fixed broken 'make deb' (problem report by olfi)
396 * Fixed minor bug in test scripts (detection of gmake vs. make)
397 * Fixed Tru64/OSF compile warnings (reported by B. Terp)
398 * Normalize list parsing to allow comma, space, and tab as separators
399 * Some more descriptive error messages in kern_head.c
400 * Absolute path to utilities in init/samhain.startLinux.in
401 * Fixed is_root variable in deploy.sh
402 * Fixed 'deploy.sh info'
403 * Fixed 'deploy.sh install' client startup
404 * Fixed 'make tbz': don't remove ebuild scripts in 'make dist'
405 (issue reported by W. Sarky)
406
4072.0.3 (14-12-2004):
408 * Fix CPPFLAGS with mysql/postgresql (repoted by P. Smith)
409 * Fix missing sys/time.h include in slib.c (reported by Jonas)
410 * Workaround for file closing problem with Prelude+GPG
411 * Fixed memory leak with Prelude.
412 * Fixed bug in samhain_stealth (PGP signature not correctly
413 retrieved from hidden configuration; report and patch by V. Tuska)
414 * Added Perl script to concatenate file signature database files
415 * Fix compile error with combination of --enable-nocl and
416 --enable-stealth (reported by Zdenek Polach)
417 * Fix bug in dsys/initscript with --enable-nocl
418 * Fix declaration of sh_kern_timer()
419 * Fix missing Mounts+Userfiles options in appendix of manual
420 * Updated the README (bug report by H. Franzke)
421 * Fix some compiler warnings
422
4232.0.2a (09-11-2004):
424 * Fixed OoM condition when client rc file not found (reported by Eilko)
425
4262.0.2 (08-11-2004):
427 * Fixed buffer overflow in sh_hash_compdata() (only in 'update' code)
428 * Fixed uninitialized variable in sh_mail_msg() (problem reported
429 by Michael Milvich)
430 * Fixed potential NULL pointer dereference in sh_hash_compdata()
431
4322.0.1 (01-11-2004):
433 * Fixed compilation bug reported by jue (--with-kcheck broken).
434 * Fixed start option (bug reported by sanek). Behaviour wrt.
435 environment variables depended on the way the daemon was started.
436
4372.0.0 (31-10-2004):
438 * The deployment system has been rewritten from scratch in
439 a cleaner and more modular and extensible way. Deployment
440 of native packages is supported now.
441 * The build system has been revised. Building outside the source
442 directory is supported now.
443 * Support for checksumming of prelinked executables / libraries
444 has been added.
445 * The configure script now checks for the SSP/ProPolice patch in GCC,
446 and enables it if present.
447 * The install-boot option in samhain-install.sh has been fixed
448 (use absolute paths for sbin utilities).
449 * A nagios plugin (scripts/check_samhain.pl) has been added.
450 * The LSB (Linux Standard Base) init script has been fixed (the output
451 was incorrect).
452 * Fetching of built binary packages has been
453 fixed ($(PACKAGE)->@install_name@).
454 * For files in proc, the timeout has been reduced, and no error
455 messages are issued upon timeout.
456 * A function has been added to print out full details for missing
457 files if encountered while in sh_files().
458 * The reporting for SuidCheck has been fixed (incorrect policy
459 noticed by JiM).
460 * On Linux, SuidCheck does not report on files marked as candidates
461 for mandatory locking (group-id bit set, group-execute bit cleared).
462 * Fix for oracle init script (by Matt Warner)
463
4641.8.12b (11-10-2004):
465 * fix bug in MSG_MSTAMP (%ld -> %lu)
466 * fix bugs in sh_suidchk.c (%ld -> %lu), check fopen for NULL,
467 mkdir mode for quarantine directory
468 * fix the fix for modlist_lock search in System.map
469
4701.8.12a (01-10-2004):
471 * fix bug in samhain-install.sh.in (only occurs on Solaris), reported
472 by J. Roland
473
4741.8.12 (27-09-2004):
475 * fix compile bug with --enable-static + --with-database=postgresql
476 * fix search for modlist_lock in System.map
477 * password auth for yule command socket (request by D. Kocic)
478 * more info about pending/sent commands to clients
479
4801.8.11 (30-08-2004):
481 * fix static linking on Linux by use of replacement routines from
482 uClib - however, this means, there is no NIS support anymore
483 * new option AddOKChars=... to modify the set of characters for
484 filenames considered 'obscure'
485 * new option HardlinkOffset=... to specify an offset from the canonical
486 hardlink count for a directory
487 * fix some warning with HP 11.23 native compiler
488 * fix minor OpenBSD portability problems (EIDRM, compiler warning)
489 * samhainrc.5, samhain.8: updated the man pages
490 * sh_unix.c, sh_files.c: ignore 'no user/group' and 'obscure name'
491 for AllIgnore
492 * sh_kern.c: fix 'update' to display modifications
493 * sh_kern.c: fix bug with IDT check (spurious alerts b/o uninitialized
494 fields)
495 * stealth kernel modules: fix for linux 2.6, fix
496 redefine of KERNEL_VERSION
497 * warn about stealth kernel module problem with 2.6 in manual
498 * sh_unix.c: remove some cruft
499 * fix a typo in the manual (noticed by J. Rubin)
500 * configure.ac: re-order output from libprelude-config (required
501 for static linking - problem reported by E. Neber)
502 * kern_head.h, kern_head.c: fixes for Linux 2.6 kernel
503
5041.8.10b (13-07-2004):
505 * fix incorrect usage of 'retry_msleep()' in sh_kern.c (reported
506 by Pat Smith)
507
5081.8.10a (13-07-2004):
509 * depend-gen.c: fix for FreeBSD 'make' which does not understand
510 the dependencies ... (problem reported by David Thiel)
511
5121.8.10 (13-07-2004):
513 * sh_unix.c/sh_unix.h: fix defaults for 'GrowingLogFiles' policy
514 (bug report by VZoubkov)
515 * fix some warnings (unreachable statement) with HP-UX native compiler
516 * kern_check.c: silence warning about 'sendfile' for 4.10
517 (noticed by Ryan Beasley)
518 * modify depend-gen.c to ignore sh_gpg_chksum.h
519 * add a non-plaintext version of GPG_HASH (sh_gpg_chksum.h)
520 * .. and for fingerprint
521 * sh_suidchk.c: fix some compiler warnings on solaris
522 * allow commas to separate multiple entries in a RedefXXX= directive
523 * replace sleep/usleep with nanosleep wrapper function
524 * replace alarm() for read timeout with select() in sl_read_timeout
525 (should fix bug reported by Scott Kelley)
526 * increase lstat/open timeout to 6 sec
527
5281.8.9 (16-06-2004):
529 * made 'no action specified' error message more informative
530 (suggested by Stephen Gill)
531 * fix memory leak in mysql sh_database_query() (bug report by Dejan)
532 * remove some cruft from the code
533 * sh_files.c: check MacOS X resource forks (idea from Osiris)
534 * sh_files.c: no hardlink check for MacOS X
535 * sh_util_ask_update: fix bug with no terminal in non-interactive mode
536 (report and debug data by Kris Dom)
537 * manual refactored
538 * fix redundant messages when updating with suidcheck
539 * allow interactive update for suid files
540 * don't remove the TZ environment variable to guard against
541 misconfigured hosts
542 * also use gethostname if uname returns possibly truncated name
543 * fix improper file descriptor handling in sh_mail.c (bug report
544 by Alex Weiss)
545 * cleanup MBLK cruft
546 * use SH_ALLOC/SH_FREE in sh_prelude.c
547 * update sstrip to Version 2.0
548
5491.8.8 (25-05-2004):
550 * fix compilation problem on AIX 5.2 (nameser_compat.h; report by
551 Tim Evans and Ian McCulloch)
552 * don't check for trusted paths on Cygwin
553 * add Windows HOWTO written by Kris Dom
554 * kern_check.h: extend FreeBSD syscall table for 5.x
555
5561.8.7a (03-05-2004):
557 * sh_mail.c: fix subject length
558 * sh_mail.c: fix the sh.mailNum.alarm_last fix (report by Kris Dom)
559 * sh_utils.c: sh_util_ask_update(): fix ISO C conformance bug
560 (compile problem reported by Kris Dom)
561
5621.8.7 (01-05-2004):
563 * sh_mail.c: fix incorrect count of sh.mailNum.alarm_last, causing
564 empty mails (introduced with segfault fix in 1.8.6, report
565 by Kris Dom)
566 * sh_utils.c: sh_util_ask_update(): check whether stdin is a terminal,
567 try to reopen on controlling terminal if not
568 * sh_utmp.c: fix order of options (problem report by Uri)
569 * sh_files.c: sh_files_chk(): set tmp = NULL at end of loop
570 (may cause segfault on null dereference for missing files)
571 * sh_unix.c: patch by Marc Schütz (order of sh_unix_getinfo_type,
572 sh_unix_getinfo_attr)
573 * don't use dh_installmanpages in 'make deb' (samhain/yule conflict
574 reported by xavier)
575 * on HP-UX, define _XOPEN_SOURCE_EXTENDED in sh_mail.c and sh_tools.c
576 (suggested by Kris)
577 * include nameser_compat.h in sh_mail.c (for MacOS X,
578 suggestion by jna)
579 * sh_utmp.c: fix time for logout events (reported by Erich
580 van der Velde)
581
5821.8.6 (15-04-2004):
583 * add CL option to set threshold for prelude and RDBMS
584 * sh_mail.c: fix bug with MailSubject option (segfault on NULL pointer
585 dereference; reported by Micha Silver)
586 * fix compiling with --disable-encrypt (reported by Pat Smith)
587 * fix minor problem in scheduler (don't return before all schedules
588 are tested, to set last_exec correctly)
589
5901.8.5 (05-04-2004):
591 * fix bugs in sh_utmp.c (unlinking of list head); may fix an OpenBSD
592 problem (endless loop; report and debugging aid by Joe MacDonald)
593 * fix hardlink check (null dereference in error message, segfaults
594 on solaris - noticed by Bob Bloom)
595 * sh_suidcheck: don't truncate quarantined file if nlink > 1
596 * fix Install.sh (no --seperate-output with --radiolist); patch by
597 Greg Kimberly
598
5991.8.4 (17-03-2004):
600 * add Prelude patch by Patrice Bourgin
601 * add license statement to sh_mounts.c, sh_userfiles.c after
602 receiving a clarifying e-mail from Cian Synnott
603 * support UsePersistent = no for Oracle (problem spotted and fix
604 tested by Michael Somers)
605 * fix bug in samhainadmin.pl
606 * sh_gpg.c: describe type of gpg error (if any)
607 * fix persistent connections with postgresql (reported by
608 Erwin Van de Velde)
609 * prelude: local 'meaning' shadows global in sh_prelude_alert
610 (spotted by David Maciejak)
611 * uname: workaround for cases where nodename would be a possibly
612 truncated FQDN (problem reported by Cian Synnott)
613 * re-write parts of sh_kern.c, store kernel info in baseline database
614 -> no need to recompile after kernel upgrade
615 * modify timeouts in sh_unix_getinfo, add timeout warning
616 * change handling of dangling symlinks (store in db)
617 * fix typo with MSG_FI_OBSC2 (double slash)
618 * remove redundant operation in sh_utils_safe_name
619 * fix occasional random start bytes of long messages in
620 sh_error_string (sl_strlcat -> sl_strlcpy)
621 * provide details for missing files (as for added files)
622 * remove duplicate message for no such group/user
623 * add fixes for samhain.oracle.init (supplied by Michael Somers)
624 * fix date insertion for Oracle (fix by Michael Somers)
625 * manual: fix incorrect statement about RPM (noticed by
626 Lars Kellogg-Stedman)
627
6281.8.3 (02-02-2004):
629 * add a HOWTO-client+server-troubleshooting document
630 * fix another bug with SIGUSR2 (suspend mode)
631 * new option SetBindAddress (--bind-address=...) to force
632 interface for outgoing connections on multi-interface box
633 * don't link against libgmp if not required (i.e. standalone)
634 * test for ext2fs/ext2_fs.h or linux/ext2_fs.h
635 * new make targets 'emerge' and 'tbz2' for gentoo
636 * update rules.deb.in based on the Debian package
637 by Javier Fernandez-Sanguino
638 * updated config.guess, config.sub to version 2002-09-05
639 * external command: report failure only once
640 * console: reset failure status after success
641 * README.UPGRADE: explain 1.7.x <-> 1.8.x client/server compatibility
642 * use persistent connection to database by default
643 * option UsePersistent=no to switch off persistent connection
644
6451.8.2 (19-01-2004):
646 * sh_userfiles.c: new option UserfilesCheckUids (requested)
647 * sh_error.c: server: don't log to logfile before dropping root
648 * new script scripts/samhainadmin.pl (administrative tasks for
649 signed config/database files)
650 * add changes code to log_msg for reports on modified files
651 * change default log threshold to 'mark', as 'none' tends
652 to confuse new users
653 * faster response time for SIGUSR2
654 * revised (mostly backward-compatible) message classes
655 * fix missing check of mailTime in server select loop
656 * add support for libprelude (version 0.8.10)
657 * fix format for MSG_E_GRNULL (reported by Stefan Hudson)
658 * fix Bourne shell incompatibility (export) in samhain-install.sh
659 (first reported by David Thiel)
660 * fix typo in spec file (first reported by Christian Vanguers)
661 * remove some cruft (signal handler, memory handling)
662 * return from sigterm handler, rather than exit directly
663 (re-entrancy problem causes more problems than it's worth)
664
6651.8.1 (03-12-2003):
666 * fix gmp detection (problem pointed out by Nix)
667 * fix/improve the error message if test compiling with mysql fails
668 * new CL option --interactive for interactive db update
669 * fix some compiler warnings from IRIX MIPS compiler
670 * kern_head.h, kern_head.c: option to disable IDT check
671 * kern_head.h, kern_head.c: update kernel syscall table (2.4.20,2.6)
672 * sh_utmp.c: count number of logins (request by Erwin Van De Velde)
673 * change username -> userid, remove (long) userid (bug noticed
674 by Erwin Van De Velde)
675 * emit ADDED message for new SUID/SGID files
676 * add trailing slash to excluded directory if there is none
677
6781.8.0a (04-11-2003):
679 * sh_error.c: remove two debug printf's
680
6811.8.0 (31-10-2003):
682 * manual: make ps file fit on both a4 and letter paper
683 * sh_socket.c, sh_socket.h, sh_forward.c: socket interface
684 to send (quit/reload) commands to clients
685 * sh_forward.c, configure.ac: enable build with libwrap
686 (Wietse Venema's TCP Wrappers library)
687 * sh_ignore.c, sh_ignore.h, sh_files.c, sh_hash.c, sh_readconf.c:
688 new option to suppress messages for new and/or deleted files
689 * samhainrc.aix5.2.0: contributed by Christoph Kiefer
690 * samhain.c: fix compile warning on solaris (noticed by Ian Hunt)
691 * sh_database.c: undef debug code for oracle
692 * samhain.oracle.init: contributed by Joern Michael Krueger
693 * configure.ac, sh_utils.ac, Makefile.in, sh_modules.c,
694 sh_cat.c, sh_cat.h, sh_mounts.c/h, sh_userfiles.c/h:
695 check-mounts and userfiles modules contributed by eircom.net
696 * sh_utils.c: fix off-by-one bug in sh_util_compress()
697 * sh_forward.c, sh_tools.c, configure.ac:
698 version 2 client/server protocol
699 * sh_mail.c: add %S to include severity in subject (user request)
700 * sh_suidchk.c, 1093: fix warning about unused var 'flags' on FreeBSD
701 * samhain.h, sh_unix.h, sh_unix.c: extern inline -> static inline
702 for --enable-ptrace
703 * samhain.c: lower priority for 'uninitialized module' message
704 * sh_entropy.c: lower priority for message if /dev/random blocks and
705 /dev/urandom is available
706 * improved error messages in sh_readconf.c
707 * print system error message for getpwuid, getgrgid
708 * fix missing module init after SIGHUP (noticed by Cian Synnott)
709
7101.7.12 (13-10-2003):
711 * sh_mail.c: fix buffer overflow in mail handler (introduced in 1.7.10)
712 thanks to bug reports by Jason Martin and Matthew P. Cox
713
7141.7.11 (01-09-2003):
715 * samhain.c, samhain.h, sh_unix.c, sh_forward.c, sh_html.h:
716 - change SIG_USR1 to switch between dbg on/off
717 - change SIG_USR2 to switch between suspend on/off
718 - fix CLT_ILLEGAL to actually work
719 - introduce new state CLT_SUSPEND
720 - force reauthentication after suspend
721 * slib.c: change MAXFD from FOPEN_MAX (16) -> 1024
722 * sh_suidchk.c: better AIX fs detection (Christoph)
723 * sh_entropy.c: increase buffer size for unix entropy gatherer
724 (problem reported by D. Danielson)
725 * default config files: add lots of comments, list more options
726 * sh_error.c: set default severities to 'crit'
727 * sh_readconf.c, sh_cat.c, sh_cat.h: stricter check on config
728 file syntax, issue warnings (triggered by C. Kiefer)
729 * Makefile.in: handle depend-gen errors more gracefully
730 * sh_err_console.c: fix bug in enable_msgq (reported by F. Behrens)
731 * configure.ac: workaround for mysql_config weird output
732 (reported by G. Faron)
733 * sh_unix.c, sh_tiger0.c: check IO limit during read of large files
734 * depend-gen.c: close streams before attempting to rename (Cygwin)
735 * Makefile.in: fail gracefully if depend-gen fails
736 * sh_database.c: sh_database_query(postgresql): fixed missing SL_ENTER
737
7381.7.10 (27-07-2003):
739 * FreeBSD init script: define $pidfile (reported by D. Thiel)
740 * sh_unix.c, sh_unix.h: fix compile error on AIX 4.2
741 * sh_schedule.c: fix bad array size
742 * samhain.c: fix pid_t <> int casts
743 * sh_kern.c: fix repetitive messages
744 * configure.ac: try to bootstrap if TIGER192 not supported by gpg,
745 provide a detailed error message
746 * configure.ac: try harder to locate mysql
747 * docs/Changelog: retroactively add release dates, if known
748 * sh_mail.c: fix potential message truncation in mailer
749 * sh_unix.c, samhain.c, samhain.h: make --enable-ptrace more portable
750 * sh_readconf.c: fix segfault (dereference of uninitialized pointer)
751 if --with-gpg and --enable-stealth are used together (reported
752 by Anthony Caetano)
753 * sh_unix.c, samhain.c, sh_calls.c: fix problems with descriptive
754 error messages (larger GLOB_LEN, stat fills aud_err_message)
755
7561.7.9 (30-06-2003):
757 * sh_err_log.c: fix segfault on SIGABRT (dereference of freed memory),
758 problems with SIGABRT noticed by Brian and Alf B Lervåg
759 * deploy.sh.in: fix some bugs (found by Alf B Lervåg)
760 * scripts/chroot.sh: fix typo (found by Alf B Lervåg)
761 * configure.ac (khide): search also for 'd sys_call_table' (noted by
762 cuek_saja)
763 * strip whitespace before checking gpg checksum (noted by D. Thiel)
764 * manual (faq section): explain how to stop console output
765 * Makefile.in: fix re-naming of yule with --enable-install-name
766 * HOWTO-client+server.html: fix typo (noted by xavier renaut)
767 * configure.ac: escape '-' in awk regex (required by GNU awk 3.1.1)
768
7691.7.8 (28-05-2003):
770 * sh_unix.c: new mlock implementation with reference count
771 and page alignment (fix for solaris problem)
772 * kern_head.c: search also for 'xxxxxxxx d sys_call_table'
773 * sh_html.c: write status comment (for Beltane 2)
774 * add CL option --delimited for comma-delimited signature database dump
775 * sh_mail.c: check exit status of push_list to fix counting bug
776 (bug reported by Alan Moore)
777 * configure.ac: add error message to --with-libs
778 * fix spelling of $DAEMON in init script (noted by C. Grigoriu)
779 * fix missing initgroups()
780
7811.7.7 (06-05-2003):
782 * sh_forward.c: fix bug if compiled with --enable-udp, but disabled
783 in config file (found by Andy OBrien)
784 * sh_database.c: sh_database_entry(): size -> c_size (two places)
785 to fix writing of '\0' to arbitrary places :(
786 (problem pointed out by Stefan Giesen)
787 * profiles/*/configopts: fix --with-base -> --enable-base
788
7891.7.6 (24-04-2003):
790 * sh_forward.c, entry.html, head.html: fix/additions by Stefan Giesen
791 * fix samhain_hide for the O(1) scheduler used by RedHat:
792 configure.ac, acconfig.h: check for next_task in struct task_struct
793 samhain_hide.c: use find_task_by_pid if no next_task in task_struct
794 * samhain_erase.c: add MODULE_LICENSE("GPL") to fix warning
795
7961.7.5 (15-04-2003):
797 * sh_cat.c, sh_forward.c, sh_hash.c: fix double 'msg' tag
798 * manual: point out the bmaxdata problem on AIX in faq section
799 * trustfile.c: don't check symlinks (permissions of directory count)
800 * sh_schedule.c: fix problem with daylight saving switchover
801 * sh_samhain.c: close all open fd's >2 before reading the conf file
802 * sh_unix.c: fix dereferenced NULL pointer when exiting on non-existing
803 user
804 * sh_forward.c: fix dereferenced NULL pointer when exiting on udp error
805 * sh_forward.c: place timestamp code before select() timeout handler
806 * fix incorrect class of timestamp messages (conflict with manual)
807 * sh_readconf.c, sh_forward.c: new config option SetStripDomain
808 * configure.ac: add warning if /lib/modules/`uname -r`/build/include
809 not found
810 * samhain_hide.c: adapt for RedHat 2.4 kernel (fetch sys_call_table
811 address from System.map)
812 * sh_err_syslog.c: fix for Solaris
813 * samhain.spec.in: strip REQ_FROM_SERVER from config file install path
814
8151.7.4 (21-03-2003):
816 * configure.ac: fix bug in defargs (--with-base > --enable-base)
817 * aclocal.ac: detect unsupported options
818 * kern_check: add syscalls, skip unused syscalls
819 * fix Manual (--enable.../--with... inconsistency)
820 * add two HOWTOs (signed files, server/client)
821 * moved manual into new subdirectory docs/
822 * add admin scripts by S.Bailey/M.Redinger
823 * option to have a version string in db file
824
8251.7.3 (23-02-2003):
826 * samhain-install.sh: use yule user key for signing on install
827 * fix a bug in sh_err_console.c (attempted write to const char)
828 * sh_gpg.c: if server, always use ~unprivileged_user/.gnupg
829 * Makefile.in: make target 'trustfile' depend on config.h
830 * configure.ac: don't use install_name before it is defined ...
831 * sh_tiger0.c: fix bug in checksum computation introduced in 1.7.2
832 * samhain.c: make sure daemon cannot be forced into 'update' mode
833 * sh_hash.c: remove AIX workaround (AIX has been fixed meanwhile)
834
8351.7.2 (04-02-2003):
836 * sh_kern.c: use sys_call_table address from System.map
837 * fix for reserved SQL keyword 'group'
838 * add AC_SYS_LARGEFILE to configure.ac
839 * allow separate client-specific log files for server
840 * sstrip.c: compile sstrip code only for i386
841 * sh_unix.c: closeall: don't close trace file
842 * slib.c: don't trace sl_is_suid (leads to recursion in trace handler)
843 * samhain-install.sh.in: fix detection of LSB compliant systems
844 * sh_tools.c: get_client_*_file: lstat -> stat to allow symlinks
845 * sh_forward.c: sh_forward_do_write: set O_NONBLOCK for fd
846 (may block otherwise, for no good reason apparently ...)
847 * samhain.spec.in: replace %configure with ./configure
848 * sh_unix.c: re-write signal handling (use __malloc_hook et al. to
849 check whether we are in the middle of a free/malloc/realloc/memalign)
850 * sh_unix.c: use new safe_logger() function to log from signal handler
851 * sh_err_log.c: fix xml
852 *
853 * fix Makefile.in to exit non-zero on compile failure
854 * database init: create index on log_host, entry_status
855 * sh_suidchk.c: fix path building
856 * sh_tiger0.c: read larger blocks
857 * sh_hash.c: cast inode to UINT32
858 * sh_tools.c: check that config/database files size fits in uint
859 * sh_error.c: export flag_err_debug to avoid unnecessary calls
860 * sh_unix.c: save the open() call in sh_unix_getinfo_attr()
861 * profiles/redhat_i386/bootscript: add # description field
862 * deploy.sh.in: set owner + permissions for files in yule_filedir
863 * profiles/debianlinux_i386: fix bootscript
864 * Makefile.in: fix deploy file lists and targets (include init+scripts)
865 * MLOCK GOOD/BAD -> SL_FALSE/SL_TRUE
866 * sh_mail.c: GOOD/BAD -> SL_FALSE/SL_TRUE (AIX sys/param.h)
867 * sh_err_syslog.c: split long messages rather than truncating
868 * sh_error.c: allocate msg to fix truncation limit
869 * sh_unix.c: closeall fd's >= 3 in non-daemon mode (inherited
870 filedescriptors may exceed FOPEN_MAX, causing problems in
871 sl_open_file)
872 * sh_err_console.c: avoid stdio
873 * trustfile: dirz: make swp[] static
874 * slib.c: speed up sl_strlcat
875 * clean up some bad heap allocation (PATH_MAX+(1|2) -> PATH_MAX)
876 * remove some unused code
877 * slib.c: support long long int in the snprintf replacement
878 * configure.ac: new configure macro to check whether sa_sigaction works
879 * Makefile.in: make sstrip, encode dependent on config.h
880
8811.7.1a (08-01-2003):
882 * fix a syntax error in samhain-install.sh.in
883
8841.7.1 (07-01-2003):
885 * search runlevel scripts in ./init or ./
886 * handle all distro-specific Linux runlevel script issues
887 within a single script
888 * support install-boot on Yellow Dog Linux and Slackware
889 * samhain-install.sh: fix a bug for unknown Linux
890 ('"' not closed, DVER not set)
891 * samhain-install.sh: check for /etc/yellowdog-release
892 * sh_database.c: fix missing entry for 'userid' in attr_tab[]
893 * fix debian.rules.in (disable sstrip)
894 * update make targets: 'srpm', 'srpm-dist', 'rpm'
895 * check for zlib if mysql is used
896 * workaround for NetBSD bug with libresolve
897 * fixed problems with spec files
898
8991.7.0 (22-12-2002):
900 * improved spec files (Andre Oliveira da Costa <brblueser@uol.com.br>)
901 * sh_unix.c: fix a dereferenced static pointer in tf_trust_check
902 * runlevel scripts: remove pid file after stop
903 * make the data directory read-only for the daemon
904 * treat 'localhost' specially in MX resolver
905 * sh_err_log.c: set sh.flag.log_start == TRUE after writing </trail>
906 * deploy.sh.in: fix quoting (fix by Simon Bailey)
907 * slib.c: make sl_get_euid et al. behave well if uids not stored
908 * trustfile.c: use euid = uid(SH_IDENT) if server
909 * sh_mail.c: include an MX resolver
910 * Makefile.in: install-user routine for user installation
911 * have yule drop root
912 * sh_tools.c: open_temp use logdir if server
913 * unified options for runlevel script
914 * HP-UX, IRIX runlevel scripts
915 * AIX inittab entry
916
9171.6.6 (13-12-2002):
918 * configure.ac: solaris cc -O2 -> -xO2
919 * sstrip.c: avoid alpha architecture
920 * profiles/solaris/configopts: no --enable-static
921 * sh_forward.c: sh_forward_req_file: copy argument to local array
922
9231.6.5 (04-12-2002):
924 * sh_utmp.c: set userlist = NULL in sh_utmp_end ()
925 * sh_unix.c: do not assume that environ is sane
926 * exit handler: write </trail>
927 * sh_log_file(NULL): test sh.flag.log_start != S_TRUE
928 * FreeBSD rc script does not blindly accept content of pid file
929 * configure.ac: allow 'localhost' for log server
930 * sh_calls.c: retry_connect: ntohs (port)
931 * testrun_2[abc].sh: --with-logserver=localhost for client
932
9331.6.4 (12-11-2002):
934 * sh_tools.c: fix error when escaping '=<'
935 * fix the 'make srpm' target
936 * deploy.sh.in: avoid that client is named 'yule'
937 * define memset to sl_memset
938 * fix type cast of uid_t, gid_t
939
9401.6.3 (31-10-2002):
941 * fix options for Sun/Solaris native compiler
942 * sh_unix.c: MSG_FI_LIST (line 2333): cast theFile->size to fix error
943 * test sstrip on freebsd
944 * default config file for freebsd
945 * make target to build .deb packages
946 * sh_readconf.c: fix bug in error message
947 * samhain.c, sh_suidchk.c: fix initialization of suidchk
948 * samhain-install.sh.in: don't remove config file by default
949 * samhain-install.sh.in: support complete de-installation
950 * samhain-install.sh.in: add support for Gentoo, FreeBSD, and Solaris
951 * samhain-install.sh.in: check more paths
952 * sh_unix.c: fix sys_siglist declaration [NetBSD portability issue]
953 * sh_calls.c: save error message in retry_lstat()
954
9551.6.2 (04-10-2002):
956 * make target to build rpms
957 * update samhain.spec.in, samhain.startRedHat
958 * support DESTDIR, as in 'make DESTDIR=/what/ever install'
959 * explicitely set -fno-omit-frame-pointer b/o gcc bug
960 * mv configure.in to configure.ac to benefit from autoconf wrapper
961 * sh_modules.c, sh_modules.h: add mod_reconf() to run at SIGHUP
962 * slib.c: fix debug messages (no msgs for dlogActive <= 1)
963 * sh_schedule.c, samhain.c, sh_suidchk.c:
964 scheduler may accept multiple schedules
965
9661.6.1 (04-09-2002):
967 * sh_schedule.c: bugfix (executes only after first day)
968 * rm obsolete WITH_TRACE stuff
969 * new dlog() function for debug logging
970 * some more descriptive error messages
971
9721.6.0 (27-08-2002):
973 * omit the -fomit-frame-pointer option (bugs in some gcc versions ?)
974 * sh_error.c: fix escape mode when logging to database
975 * sh_forward.c: fix error (twice escape) in recv_syslog_socket
976 * sh_tools.c: change escape mode for server-received data
977 * sh_mem.c: change ulong -> size_t in sh_mem_malloc()
978 * configure.in: fix localstatedir if --prefix=USR
979 * sh_hash.c: snprintf() -> sl_snprintf()
980
9811.5.5 (07-08-2002):
982 * sh_err_log.c: fix incorrect xml syntax for client messages
983 logged by server
984 * sh_err_log.c: fix incorrect '</trail>' entries on client EXIT
985 * sh_files.c: introduce file_class_next
986 this fixes the problem that a policy for the directory
987 inode erroneously becomes a policy for the directory itself.
988
9891.5.4 (17-07-2002):
990 * sh_hash.c: fix buffer overflow with (micro-)stealth
991 * sh_database.c: set path[] 1024 -> 12288
992 * sh_database.c: set query[] 2048 -> 16383
993 * sh_database.c: set values[] 1024 -> 16383
994 * sh_forward.c: larger limit for message size (16 kB)
995 * trustfile.c: set MAXFILENAME 2048 -> 4096
996 * fixed a bug in the handling of filenames with embedded newlines
997 * sh_files.c: fix missing sh_util_safe_name() in debug output
998 * --with-sender can specify a full address
999 * fix xml log in a backwards compatible way
1000
10011.5.3 (03-07-2002):
1002 * fix combination of stealth and sql logging
1003 * fix some more places where invalid UIDs/GIDs trigger errors
1004
10051.5.2 (01-07-2002):
1006 * include solaris config file from (sean [at] boran d.o.t com)
1007 * test for files/dirz defined twice in the configuration file
1008 * option to disable reverse lookup on outbound connections
1009 * option to use socket peer as client name (with name resolving)
1010 * sh_html.c: fix an HTML bug (twice </head><body>)
1011 * sh_suidchk.c: fix warning on AIX b/o dirname()
1012 * allow logging server -> syslog if yule is NOT configured to
1013 receive syslog messages
1014 * define PRIi64 to "lld" if undefined
1015 * invalid UIDs: use gid/uid as name, error level SeverityNames
1016 * minor fixes for connect_port
1017 * sh_hash.c: flush output of db listing before _exit()
1018 * configure.in: fix incorrect default ${install_name} for server
1019 * configure.in: try harder to find mysql.h / libpq-fe.h
1020 * sh_files.c: sh_files_checkdir:
1021 closedir() early to not exhaust OPEN_MAX
1022
10231.5.1a (30-05-2002):
1024 * fix missing LSB init script
1025
10261.5.1 (27-05-2002):
1027 * fix '-t update' option
1028
10291.5.0a (23-05-2002):
1030 * fix configure.in
1031
10321.5.0 (22-05-2002):
1033 * include solaris nosuid patch from (nathoo [at] co d.o.t ru)
1034 * similar fix for bsd nosuid
1035 * speed up -t update
1036 * convert manual to DocBook, distribute html and ps
1037 * fix some more problems with configure.in, Makefile.in
1038 * fix testsuite, add tests for udp, mysql
1039 * MSG_TCP_MSG: host -> remote_host
1040 * convert to autoconf 2.53
1041 * make c_bits.sh exit with status 0
1042 * sh_database.c #include "mysql.h" --> <mysql.h>, ditto libpq-fe.h
1043 to avoid dependency tracking problems
1044 * samhain.c remove *YULE* #ifdefs
1045 * acconfig.h remove *YULE* #undefs
1046 * samhain.c: procdirSamhain: lstat --> stat (allow symlink)
1047 * configure.in: add checks for correct user input
1048 * Makefile.in: add automatic dependency tracking
1049 * depend-gen: tool to figure out dependencies
1050 * chkconfig comments in redhat start scripts
1051
10521.4.8:
1053 * sh_database.c: fix missing attr_old, attr_new, (from)host columns
1054 * configure.in, Makefile.in: fix an error in the configfile
1055 definition with REQ_FROM_SERVER
1056 * sh_err_console, sh_err_log: avoid recurrent failure messages
1057 * timeout on read from files (/proc)
1058 * fix errrors with setjmp/longjmp/alarm
1059 * fix memory leak in server (~20 byte/file download in sh_tools, 930)
1060 * check gpg signature for files downloaded from server, add a
1061 regression test
1062 * fix chown in solaris bootscript
1063 * provide second scheduler for file check
1064 * provide scheduler for file check
1065 * provide scheduler for SUID check
1066
10671.4.7 (08-04-2002):
1068 * make daemon control LSB-compliant (arguments, exit status)
1069 * set log_ref = 0 for server messages
1070 * boolean option SetDBServerTstamp to disable entering server
1071 timestamps for received client messages into database
1072 * sh_suidcheck: check for "nosuid" mount option if getmntent is used
1073 * fix logrotate script in manual (reported by Scott Worthington)
1074 * don't strip numerical IP addresses
1075 * check item->status_now != CLT_TOOLONG in client_time_check()
1076 * set log_host to client in db client message
1077
10781.4.6a (20-03-2002):
1079 * define prefix in deploy.sh
1080
10811.4.6 (19-03-2002):
1082 * modify samhain_hide.c to hide processes on new Linux kernels
1083 * better error diagnostics in kern_head.c
1084 * fix compile error in all_items ()
1085 * check length of install-name in enable-khide (max is 15)
1086 * define exec_prefix in deploy.sh.in
1087 * make configure a bit more cross-compiler friendly
1088
10891.4.5 (07-03-2002):
1090 * Make sure missing file is reported even if ptr->reported == S_TRUE
1091 because the file has been added.
1092 * propagate 'reported' flag from sh_files_checkdir() into file list
1093 * close checkfd in sh_gpg_check_file_sign()
1094 * sh_derr(): kill(parent, SIGCONT) after ptrace(PT_DETACH,...)
1095 * use sh.srvcons.name in dbg() to get debugging info from daemon
1096 * option to log file timestamps with localtime instead of GMT
1097 * comment out MSG_FI_ADD in sh_dirs_chk () - obsoleted by mandatory
1098 sh_files_filecheck(directory) that triggers MSG_FI_ADD in sh_hash.c
1099 * set ptr->reported = S_FALSE; for reappeared files in sh_files_chk()
1100 to make sure re-disappearing will get reported
1101 * new function sh_hash_set_missing() to remove file record
1102 without (duplicate) 'missing' message
1103 * make sure all items are reported for added files
1104 * fix stealth mode with sh_kern (encode sh_ks.h -> sh_ks_xor.h)
1105 * clarify in the documentation which gpg options to use for signing
1106
11071.4.4 (11-02-2002):
1108 * check that parent process has exited before writing PID file
1109 * promote MGG_W_CHDIR to SH_ERR_ERR
1110 * add error message to sh_unix_testlock
1111 * fix missing _() macro in sh_aud_set_functions
1112
11131.4.3 (05-02-2002):
1114 * don't check attributes for symlinks (may cause device access)
1115 * add USE mysql; USE samhain; to samhain.mysql.init
1116 * point out the MessageHeader/mysql problem in manual
1117 * add -lz to LIBS for mysql
1118 * strip after install, avoid double strip
1119
11201.4.2 (27-01-2002):
1121 * support for EGD
1122 * fix some more problems with install-deploy / deploy.sh
1123 * fix a bug in profiles/suselinux_i386/bootscript (INSTALL_NAME_)
1124 * fixed the 'external logging' test (init rather than none in rc file)
1125
11261.4.1:
1127 * SuSE: include run level 4+5
1128 * install location of hiding kernel modules changed - some insmod
1129 variants do not test for /lib/modules/$(uname -r)/module_name.o
1130 * new make targets 'install-deploy', 'uninstall-deploy'
1131 * fixed make targets 'deploydir', 'deploydirfast'
1132 * bail on unsupported CL option in deploy.sh
1133 * fix various bugs in deploy.sh
1134
11351.4.0 (16-01-2002):
1136 * fixed missing 'dirname' on Mac OS X
1137 * fixed && tested for/with postgres
1138 * 'user=' -> 'userid=' (reserved word in sql)
1139 * fix the endianess + size of file database; this changes db format
1140 for any non-Linux OS
1141 * --enable-old-format for old (V1.3) database format
1142 * getopt, samhain.c, samhain.h: option -f to loop if not daemon
1143 * sh_hash: list numeric + char data to allow file db update on
1144 server side
1145 * sh_database: modify handling of integer (long) data
1146 * sh_database: datetime in database
1147 * sh_database: hash field in database
1148 * sh_database: rewrite database insert string construction
1149 [use INSERT INTO log (fields) VALUES (values);]
1150 * makefile suse 7.x runlevel entries
1151
11521.3.7 (06-01-2002):
1153 * fix incorrect escape in sh_tools_safe_name
1154 * fix sh_error_handle (4. argument) in sh_extern.c
1155
11561.3.6c:
1157 * fix segfault in sh_database (mysql logging) on solaris
1158
11591.3.6b (03-01-2002):
1160 * fix syntax error ('==') in Makefile.in
1161 * fix configure.in (path for /lib/modules/$(uname -r)/build/include)
1162 * fix sh_kern.c (redeclaration of 'j')
1163
11641.3.6 (03-01-2002):
1165 * sh_kern.c: check integrity of int 80h vector
1166 (SucKIT rootkit - Phrack 58)
1167 * make sure childs in sh_kern are wait()'ed for
1168 * provide start/stop/restart/reload/status interface
1169 * fix a potential segfault (dereferenced NULL pointer) in the server
1170 * use sh_util_flagval for sh_unix_setdaemon
1171 * documentation for logging to SQL database
1172 * configure.in: check for -I/lib/modules/$(uname -r)/build/include
1173 * fix trustfile.c to ignore invalid users
1174 * separate 'make install-samhain' and 'make install-yule'
1175 * separate default log/pid/config files for server/client
1176 - less problems running server and client on same host
1177 * rewrite deploy.sh(.in):
1178 - don't use (make|install) if deploying
1179 - use command line options
1180 - better integrate into server environment
1181 - write install db
1182 * always write a pidfile if daemon
1183 * don't use server's config file as fallback for downloading client
1184 * don't overwrite config file when doing 'make install'
1185
11861.3.5 (28-12-2001):
1187 * fix --enable-message-queue for newer glibc versions
1188 * log to SQL database: implemented, but undocumented yet,
1189 needs to be tested further
1190 * xml: escape received syslog messages
1191 * xml: rename 'time' to 'tstamp'
1192 * make targets: make [un]install-[boot-]yule
1193 (for server-only installation)
1194 * fix samhain_hide.c for 2.4 kernel
1195 * fix sh_kern for updated samhain_hide.c
1196 * new option -j to just list the logfile
1197 * sh_getopt.c: recognize -Dt check for -D -t check
1198 * sh_tiger0.c: fix compiler warning (memmove) on Solaris
1199
12001.3.4 (12-12-2001):
1201 * sh_suidchk.c: option to limit files per second
1202 * sh_unix.c: option to limit (kilo)bytes per second
1203 * sh_hash.c: fix potential problem with '\n' in filename
1204 (not backward compatible if there are filenames with '=')
1205
12061.3.3 (03-12-2001):
1207 * sh_readconf.c, samhain.h, samhain.c, sh_suidchk.c:
1208 option SetNiceLevel to set scheduling priority
1209 * sh_hash.c: bugfix for database listing on Solaris
1210 * taus_seed: bugfix for emergency backup rng seed
1211 * sh_util_safe_name: fix for XML
1212 * sh_utmp_set_login_activate: use sh_util_flagval
1213 * sh_utils.c: sh_util_obscurename: rm 'space' from list
1214 * more backtrace macros
1215 * sh_util_flagval: fix bug to recognize 1/0
1216 * fix test scripts testtimesrv.sh, testext.sh (test.sh 6/5)
1217 * rm stray debug fprintf in sh_srp.c
1218
12191.3.2 (27-11-2001):
1220 * sh_hash.c: fix an error introduced in 1.3.1
1221 * set RLIMIT_CORE to RLIM_INFINITY if --enable-debug
1222
12231.3.1 (25-11-2001):
1224 * slib.c: get backtrace with --enable-debug
1225 * sh_unix.c: allow core dumps when --enable-debug
1226 * configure.in: fix default message queue permissions
1227 * sh_suidchk.c: automatically include suid/sgid files in database
1228 * sh_suidchk.c: check all suid/sgid files
1229 * sh_hash.c: don't insert duplicates when reading the database
1230 * sh_utmp, sh_kern, samhain: fix 1sec offset in timer
1231 * sh_unix.c: don't require /dev/random to be non-world-writeable
1232 * server: fix segfault in zAVLTree.c if avltree == NULL (no clients)
1233 * client: fix segfault on Solaris if path_conf == NULL
1234 * testrun_1b.sh: \(^/.*\) -> \(/.*\) for Solaris sed
1235
12361.3.0 (31-10-2001):
1237 * support compiling with GNU gmp library
1238 * set 3 sec timer on client_time_check to avoid excessive (and
1239 unnecessary) calls under heavy load
1240 * replace sl_strlen with a macro
1241 * store client_t structure in AVL tree
1242 * database format incompatible with previous format, up the magic#
1243 * sh_html.c: cache entry template for speedup
1244 * slib.c: reset islong(double) in sl_printf_count
1245 * sh_hash.c: report on rdev change
1246 * sh_hash.c: print size in 64 bit
1247 * sh_hash.c: save in absolute size types
1248 * sh_unix.c: get values as appropriate type (time_t, dev_t, ...)
1249
12501.2.10:
1251 * update MANUAL
1252 * sh_unix.c: tiger_hash -> tiger_generic_hash
1253 * sh_readcon.c: DigestAlgo option
1254 * sh_tiger0.c: add MD5 and SHA1
1255 * sh_unix.c: fix minor problem with win2k/cygwin
1256
12571.2.9 (17-10-2001):
1258 * fix problem with entry template/empty hostname
1259 * fix MASK_USER_ (MTM -> ATM)
1260 * typo fixed in configure.in (${install_name} -> {install_name})
1261 * bugfix group_old -> size_old in XML code
1262 * skip armor header in signed files
1263
12641.2.8 (29-09-2001):
1265 * Mac OS X: in sh_getopt.c, rename table[] to op_table[] to avoid
1266 obscure compiler warning
1267 * Mac OS X: fix test scripts
1268 * Mac OS X: import newest config.guess, config.sub from ftp.gnu.org
1269 * implement deadtime in syslog recv code to protect against flooding
1270 * sh_err_log: sl_close(fd) if lock|forward fails
1271 * compliance with Filesystem Hierarchy Standard -- Version 2.2 final
1272 * add policies User0, User1
1273 * fix compile problem (FreeBSD) in sh_suidchk.c
1274 * macro to check for debugger breakpoints (linux/i386)
1275 * check for solaris (does not work) in sh_derr (--enable-ptrace)
1276 * option to listen on 514/udp for syslog, drop root
1277 irrevocably if compiled thus
1278 * use (check_mask & MODI_ATM) to decide whether to reset utime
1279 * reset the policy masks on sighup
1280 * option to write XML log messages
1281 * cleanup of message catalog
1282 * modified error messages for BADCONN
1283 * error messages for Rijndael
1284 * block recursive error messages within sh_error_handler()
1285 - would hang the machine ... -
1286
12871.2.7:
1288 * sh_files, sh_utils: check top level directory
1289 * sh_kern, sh_cat, kern_head: check syscall code, fork subprocess
1290 for reading from /dev/kmem
1291 * include /boot in default samhainrc
1292 * change source distribution signing/packaging system
1293 * Makefile, README, MANUAL: adhere to file system standard,
1294 document new locations
1295 * fix a bug in samhain_hide.c
1296
12971.2.6:
1298 * reset list of trusted users before config file re-read
1299 * TrustedUser=... can be a list
1300 * fix severity for files missing from IgnoreAll
1301
13021.2.5:
1303 * include example_pager.pl, example_sms.pl scripts
1304 * explain paging/sms setup in docs
1305 * allow manual exclusion of a directory in suidcheck
1306 * automatically track all file changes
1307 * remove missing files from in-memory database
1308 * add $(KERN) to DEPLOYFILES
1309
13101.2.4:
1311 * log IP address for login/logout events, if supported by the OS
1312 * release block in globerr (callback)
1313
1314-------------
1315
13161.2.3:
1317 * fix problem with reading stealth configuration
1318 * fix a few formats in sh_cat.c
1319 * always use strncmp for file system type check in sh_suidchk.c
1320 (trailing 'fs' may be system specific for some types)
1321 * no bare LF in messages (RFC 2822)
1322 * no lines longer than 998 chars (RFC 2822)
1323 * fix error in testrc_1
1324
13251.2.2:
1326 * make tmp file directory a compile time option
1327 * fix minor bugs in tmp file allocator (potential memory leak,
1328 double slash if root directory)
1329 * obsolete testpipe script removed
1330
13311.2.1:
1332 * fix memory alignment in rijndael-api-fst.c: blockEncrypt()
1333 * fix byte order in HMAC code (compatibility fix for Linux/HP-UX)
1334 * removed a debug fprintf()
1335
13361.2.0:
1337 * fix a bug in the HMAC implementation (thanks to Cesar Tascon
1338 for help in tracking down this one)
1339 * module to check the file system for SUID/SGID files
1340
13411.1.16 (never released):
1342 * fix the recursion depth -1 option as described in the manual
1343 * optional database reload on SIGHUP
1344 * fix a race condition when checking that /dev/random is a charakter
1345 device
1346 * redirect stderr to /dev/null for c_random
1347 (AIX may segfault in netstat...)
1348 * check whether /dev/random is a charakter device in c_random.sh
1349 (we know at least one sysadmin who has set up a fake /dev/random ...)
1350 * don't give NULL as 2. and 3. arg to execve if not Linux - some
1351 Unices (notably Solaris) don't like it
1352 * init ptr = NULL in my_malloc (compiler warning)
1353 * make the bitmask for tests configureable (suggestion by A. Dunkel)
1354 * make the bitmask for tests a static variable
1355 * make (database/logfile/lockfile) path configurable
1356 (to run multiple instances of samhain from an NFS share - on the
1357 wishlist of J. Patton)
1358
13591.1.15 (never released):
1360 * fix minor error in testcompile.sh (rm test_log only at start)
1361 * return from subroutines on sig_terminate == 1
1362 (faster exit on SIGTERM)
1363 * fix re-configuration of addresses
1364 * use sh_util_flagval() in sh_mail_setFlag and sh_kern_set_activate
1365 * SysV message queue as compile option
1366 * config file option to set console device
1367 * removed the pre 1.1.9 code bloat
1368 * don't print the LOGKEY to the console
1369
13701.1.14:
1371 * fix an error in the setup consistency check
1372 * make target to uninstall runtime files
1373 * trustfile.c: check return code of readlink(), fix off-by-one error
1374 * sh_files.c: fix placement of terminator after readlink() call
1375 * sh_files.c: fix a missing set_suid()/unset_suid()
1376 - suid should work, but is not recommended -
1377 * more debug statements in c/s code
1378 * avoid re-entry in sh_unix_sigexit
1379 * put a block around free() and malloc() in wrapper functions
1380 * ditto for glob()/globfree(), regcomp()/regfree(), fdopen()/fclose()
1381 - i.e. avoid corrupting the heap from a signal handler -
1382
13831.1.13:
1384 * optimized the size of the configure script somewhat
1385 * modify the compile and hash test scripts
1386 * read '\0's in sh_unix_getline
1387 * exponential schedule for connection attempts
1388 * make stealth working properly with signed files
1389 - config file should be signed now before embedding in picture -
1390 * fix a race in using signed files
1391 * updated err messages for PWNULL, GRNULL
1392 * add missing shell script for test 11
1393 * add mandatory source file/line info with -p debug
1394 * add mandatory source line info with BADCONN
1395 * fix a latex error in the manual
1396
13971.1.12:
1398 * debug output to console if compiled with --enable-debug and
1399 running as daemon
1400 * make reportonlyonce=true the default
1401 * make sure state changes of a file are always reported, even
1402 with reportonlyonce=true
1403 * Linux kernel modules (samhain_hide, samhain_erase)
1404 * fixed incorrect return value of sh_util_flagval
1405 * fixed an error in sh_files.c: happens with -t init and first
1406 file that is checked does not exist
1407 * revised install/uninstall targets in the Makefile
1408 * module to check for clobbered kernel syscalls (tested on Linux 2.2)
1409 * more diagnostic error messages in sh_gpg.c
1410 * more diagnostic error messages in sh_mail.c
1411 * error in mail.c fixed
1412 (address -> address_list[i] for multiple recipients)
1413 * docs updated, better(?) explanation of signed files
1414 * skip over path in gpg checksum output
1415 * check client name against IP address and FQDN
1416 * fix for --disable-* in config file
1417 * fixed a server crash (MSG_TCP_OKMSG without arg)
1418 if the server is run with debug level output threshold
1419 * catch EAGAIN in sh_gpg.c pipe reader
1420 * fix the 'external logging' test to make it work on BSD
1421 * error message if no local path to init DB
1422 * check for i86/Solaris in configure (vsnprintf prototype)
1423 * make SRP the default
1424
14251.1.11:
1426 * make log file verification more convenient
1427 * fix problem with message classes in stealth mode
1428 * linux: do not try to read file attributes for devices
1429 * handle the root directory correctly (avoid "//" in listing)
1430 * fix problems with blockin on FIFOs/char dev
1431 pointed out by I. Rogalsky (rog@iis.fhg.de)
1432 - open in nonblocking mode for read, then set to blocking
1433 - open file only if regular
1434 * fix alignment in memory profiler
1435
14361.1.10:
1437 * minor code cleanup
1438 * fix an error in trustfile.c (handling of empty/incomplete
1439 group entries in /etc/group, bug report by A. Capriotti )
1440
14411.1.9:
1442 * compatibility option for old behaviour (plain hash instead
1443 of HMAC, ECB instead of CBC mode)
1444 * use CBC rather than ECB mode for encryption
1445 * use HMAC-TIGER for message authentication codes
1446 * handle NULL data in sh_tiger_hash
1447 * option to set syslog facility (default is LOG_AUTHPRIV)
1448 * longer timeout (300 sec) on /dev/random if no /dev/urandom
1449 * fix minor output error with stealth option
1450 * option not to log names of config/database files on startup
1451
14521.1.8:
1453 * fix error in syslog routine
1454 * fix missing 'test' in configure.in
1455 * fix error in replace_tab() in sh_html.c
1456 * fix minor memory leak in sh_util_regcmp()
1457
14581.1.7:
1459 * timeout on read_mbytes (from /dev/random; fallback to /dev/urandom)
1460 * fix for FreeBSD: ut_user -> ut_name in sh_utmp.c
1461 * fix for Alpha: consider $ac_cv_sizeof_unsigned_int_ in configure.in
1462 * fix for Alpha: format string in sh_tiger0.sh
1463 * on Linux, now compiles cleanly with
1464 -Wall -W -Wstrict-prototypes -Wcast-align
1465 * fix problem with recursion depth
1466 (pointed out by Vic <hvicha@mail.ru>)
1467 * #include "sh_tools.h" in sh_unix.c and fix the
1468 --with-timeserver option (reported by Vic <hvicha@mail.ru>)
1469 * place read_port(), MSG_TCP_NETRP outside ifdefs
1470 * close fd/zero skey before execve
1471 * verify client name against socket peer
1472 * ... with configureable error priority
1473 * use strcmp() rather than strncmp() in search_register()
1474 * fix race between lstat() and open() for checksum
1475 (reported by dynamo <dynamo@ime.net>,
1476 JJohnson <JJohnson@penguincomputing.com>)
1477 * enable globbing for filenames
1478 * fix Solaris problem: siginfo_t may be NULL
1479 * fix missing SL_EBADGID in tf_trust_check
1480 * test case for external scripts, fix flushing pipe
1481 * fix a typo in sh_ext_type
1482 * do an fdexec w/checksum on Linux if calling external program
1483 * even safer tmp file creation
1484 * allow db update
1485 * fix compile options for --enable-debug
1486 * fixed a spelling error in the output
1487 * test program for full CS support (config/database download)
1488 * tell which file is searched for cs download
1489
14901.1.6:
1491 * fix bug in sh_readconf_line (segfault on erroneous config lines)
1492
14931.1.5:
1494 * sh_unix.c: sh_unix_getinfo_attr: f -> flags
1495 * use gettimeofday as last resort
14961.1.4:
1497 * fix AIX compiler warning in sh_forward (cast arg1 of sh_tiger_hash
1498 to (char *)
1499 * configure: add static link flags for some more os (from tar)
1500 * don't strip twice (some stupid systems abort)
1501 * fix for reading from /dev/random on non-Linux systems (untested)
1502 * sh_mail.c: end all message lines with \r\n
1503 * stealth: ignore \r, \"
1504 * take out tracing from --enable-debug (presently useless anyway)
1505 * fix some remaining cleartext with debug && stealth combined
1506 * fixed a small memory leak in sh_err_log.c
1507
15081.1.3:
1509 * fixed circular logic in taus_seed() (fallback method only)
1510 * fix for missing _SC_OPEN_MAX (runaway close())
1511
15121.1.2:
1513 * implement message classes
1514 * let server recognize client message severity and class
1515 * secondary log server
1516 * keep database in memory (allows to close file
1517 if retrieved from server)
1518 * encrypt client/server communication
1519
15201.1.1:
1521 * Compilation problems with native Solaris compiler fixed
1522 * fill in euid/ruid variable
1523 * manual.pdf --> MANUAL.pdf
1524 * debug sh_util_formatted()
1525 * http refresh 120sec for server stat page
1526 * trace/debug options
1527 * fixed problem with utmp.c options
1528 * fixed problem with sh_mail_setaddress
1529 * option for custom message header
1530 * fixed problem in compdata
1531 * fixed problem in mail verification
1532 * remove eventual trailing '/' in file names
1533 * fixed problem with report string for modified files
1534 * option to report in full detail
1535
15361.1.0:
1537 * Move error messages to catalog
1538 * Make error message format more uniform
1539 * Wrap sytem calls that could be interrupted by signals
1540 * Warn on append to database
1541 * Option for full details on mod. files
1542 * Option to report only once on mod. files
1543 * Generally speaking, major modifications with potential new bugs
1544
15450.9.5:
1546 * sh_hash.c: fixed erroneous checksum for config file
1547 * sh_html.c: fixed erroneous timestamp (last)
1548 * sh_tools.c: fixed connect_port (set port for cached address)
1549 * sh_srp.c: fix for '00' (='\0') in pw
1550 (last two fixes by Andreas Piesk)
1551
15520.9.4:
1553 * samhain.c: fcntl(1, ..) -> fcntl(2, ..)
1554 * sh_hash.c: copy 12 instead of 10 byte for c_attributes
1555 * 'empty directory' WARN -> INFO
1556
15570.9.3:
1558 * FreeBSD fixes:
1559 - c_random.sh: make sure /dev/random provides something
1560 rather than nothing
1561 - check for <netinet/in.h> and include it
1562 - include <sys/types.h> early
1563 - sh_utmp.c: fixed an occurence of ut_user
1564 - sh_utmp.c: #ifdef HAVE_UTTYPE static char terminated_line #endif
1565 - sh_forward.c: EBADMSG -> ENOMSG
1566 * sh_unix.c: check return value of gethostbyname
1567 * sh_entropy.c: fallback on /dev/urandom if /dev/random blocks for
1568 more than 30 sec
1569 * ... and fix the timestamp format ...
1570
15710.9.2:
1572 * ISO 8601 timestamps
1573 * Bugfix in sh_utmp (timestring overwrite)
1574 * don't use siginfo_t on Linux (garbage as of 2.2.14)
1575 * check for Linux capabilities bug when dropping root
1576 * include README for gcc compiler bug (pointed out by A. Piesk)
1577 * explicitely set -fno-strength-reduce with gcc
1578 * fixed ignoring missing files with the IgnoreAll policy
1579
15800.9.1:
1581 * more ext2flags (breaks backward database compatibility on Linux)
1582 * IgnoreAll policy modified - missing/added files reported with
1583 SeverityIgnoreAll (to handle files that may or may not be present)
1584 * Check all files, not only regular ones
1585 (bug in sh_files, originally introduced because checksum of
1586 regular files only is computed)
1587
15880.9:
1589 * use O_NOATIME if supported
1590 * --with-nocl takes argument (PW to re-enable CL parsing)
1591 * no daemon mode if initializing database
1592 * fixed segfault in yule with 'unknown file type' request
1593 * enlarged MAX_GLOBS 24 -> 32 and made the array linear
1594 * server uses last registry entry for any given client now
1595 * deploy.sh script to deploy clients to remote hosts
1596 * enhanced signal handling: SIGUSR1/SIGUSR2/SIGABRT/SIGQUIT/SIGHUP
1597 * allow y/Y/n/N for login monitoring (in addition to 0/1)
1598 * external logging scripts/programs
1599 * trustfile.c: define STICKY on Linux
1600 * reset signal mask when initializing
1601 * EINTR_RETRY wrapper
1602 * slib: sl_read, sl_write EINTR update
1603 * use sstrip when installing
1604 * more compact database format (breaks backward database compatibility)
1605 * larger download packets
1606 * TcpFlags unsigned char
1607 * cast to (char *) head in write_port
1608 * m(un)lock cast to (char *)
1609 * (1 << 31) --> (1UL << 31)
1610 * support e2fs attributes on Linux
1611 * fixes for AIX and Solaris native compilers
1612 * fixed Makefile for non-GNU make (pattern rule --> suffix rule)
1613
16140.8.1:
1615 * fixed 'is_numeric()' return value
1616
16170.8:
1618 * added option for static compilation
1619 * added option for stealth with non-hidden config file
1620 * added option for disabling command line parsing
1621 * all options can be set in the configuration file now
1622 * stealth: xor strings in database file
1623 * fixed bug in mailer code ([] in HELO)
1624 * print timestamp when asking for key
1625 * 'micro' stealth mode (no hidden configuration file)
1626 * simplified slib
1627 * int->long for uids/gids in trustfile
1628 * moved mailkey from data to code
1629 * shell script for entropy (stronger default key)
1630 * general code cleanup
1631 * better error checking in client/server code
1632 * detect out-of-sync messages
1633 * check state across protocol passes in server
1634 * make sure authentication is mutual
1635 * file download to client
1636 * reserve six file descriptors in server
1637 * mlock queue buffer if LOG_KEY
1638 * improved robustness in bignum (don't fail on free())
1639 * per-directory recursion depths
1640 * RFC821 compliance: empty line at end of header, To field, Date field
1641 * RFC821 compliance: make e-mail transfer relieable
1642 * fix detection of hardlink changes
1643 * checksum verification for calling gpg/pgp
1644 * CL option '-S' not required for server-only binary
1645 * eliminate CL options that may leak privileged information
1646 if the program is SUID
1647 * skip leading white space in configuration file
1648 * allow nested conditionals in configuration file
1649 * allow whitespace before and after '=' in configuration file
1650 * don't leak file descriptors to child processes
1651 * make message transfer relieable
1652 * always report error on abnormal termination of connection
1653
16540.7:
1655 * support for alpha machines
1656 * stop TCP logging after exit message
1657 * limit connections in server (DoS attacks)
1658 * move string handling to slib
1659 * move file handling to slib
1660 * timestring without space
1661 * changed report format
1662 * SUID bugfix - use euid when checking logfile ownership
1663 * SUID bugfix - get root for lstat()
1664 * SUID bugfix - get root for opendir()
1665 * store number of hardlinks
1666 * send no message if polling empty queue
1667 * include tiger 64-bit implementation (portability)
1668 * codes for error conditions
1669 * mail check: handle multiple, overlapping audit trails
1670 * security fix: no append to database if SUID
1671 * fix sh_entropy.c (BUFSIZ -> BUF_ENT)
1672 * read command line before config file
1673 * PGP signing of config/database files
1674 * checksum of config file reported
1675 * checking for attributes only
1676
16770.6:
1678 * more syslogish priority specification
1679 * fixed segfault in sh_mem_check, apparently this was also
1680 the reason for the segfault in atexit()
1681 * allow for compilation with SRP authentication
1682 * fixed tiger checksum computation
1683 * fixed broken logfile verification for second and further audit trails
1684 * test program added
1685 * documentation improved
1686 * sh_forward_make_client: bug fixed in[8]->in[i]
1687 * sh_error.h: fixed missing #include <errno.h>
1688 * configure.in: fixed missing strerror() test
1689 * sh_utmp.c: check logins/logouts
1690 * check for missing files
1691 * only reset access time if necessary
1692 * O_EXCL in open()
1693 * limit environment to TZ in execve (sh_entropy.c, not used on Linux)
1694 * use trustfile() to determine whether logfile dir is trustworthy
1695 * strip head instead of tail for numerical address
1696 * store messages in fifo during log server outage
1697 * re-init session key after server outage
1698
16990.5 (21-12-1999):
1700 * added option for mail relay server
1701 * own popen() implementation in sh_entropy() (portability)
1702 * fixed error in sh_util_basename() (returned NULL for base == "/")
1703 * fixed segfault in strlcpy/strlcat (check for src == NULL)
1704 * FILENAME_MAX -> PATH_MAX (HP-UX 10.20)
1705 * use TIGER for 32-byte compilers (portability)
1706 * fixed hash function (do not include stdlib.h)
1707 * flush buffer before write in mailer code (IBM AIX 4.1)
1708 * make mailer code non-forking
1709 * cast argument of is...() to int (portability)
1710 * return() after _exit() for braindead compilers (portability)
1711 * optionally use inet_addr (portability)
1712 * check for broken mlock() (HP-UX 10.20)
1713 * minor code cleanups
1714 * fixed incorrect size of munlock()'ed memory in sh_error_string()
1715 * fixed a buffer overflow in the error printing routine
1716 * fixed a buffer overflow in sh_util_safe_name ()
1717 * implement SRP session key exchange
1718 * implement client/server facility
1719 * implement @host/@end construct in configuration file
1720 * preferably use uname(), and do gethostbyname() for FQDN
1721 * make vernam cipher base numeric
1722 * make OnlyStderr private in sh_error
1723 * test -e "/dev/random" --> test -r "/dev/random" (portability)
1724 * check for libsocket (portability)
1725 * add #defines for IPPORT_SMTP, IPPORT_TIMESERVER (portability)
1726 * eliminate superfluous /proc test
1727 * some unreachable code removed
1728 * cast to (byte*) replaced by cast to (word64*) in sh_tiger_hash()
1729 * check for setresuid() if no seteuid() (HP-UX 10.20)
1730
17310.4 (09-11-1999):
1732 * make sure output from /dev/random has no NULL's
1733 * one-time pad encryption for emailed keys
1734 (better than nothing ...)
1735
17360.3 (04-11-1999):
1737 * logfile readable for group
1738 * verify signatures for any file
1739 * signature block in tarball
1740 * use select() in time server routine
1741 * better protection for session keys (mlock)
1742
17430.2:
1744 * fixed incorrect man page
1745 * fixed incorrect example rc file
1746 * recursive error logging should work now
1747
17480.1:
1749 * initial release -- on Samhain 1999, of course
1750
1751development start:
1752 * probably 29-06-1999
1753
Note: See TracBrowser for help on using the repository browser.