source: trunk/docs/Changelog@ 105

Last change on this file since 105 was 105, checked in by rainer, 18 years ago

Fixes for tickets #64, #65, #66 (null checksum encoding, acl double print, UseACLCheck/UseSELinuxCheck bug).

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