source: trunk/docs/Changelog

Last change on this file was 582, checked in by katerina, 6 days ago

Fix for ticket #470 (incomplete distclean).

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