source: trunk/docs/Changelog@ 562

Last change on this file since 562 was 562, checked in by katerina, 3 years ago

Fix for ticket #450 (compiler warnings) and fixes for tests.

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