source: trunk/docs/Changelog@ 257

Last change on this file since 257 was 257, checked in by katerina, 15 years ago

Fix for issues with debug code and testsuite (tickets #174, #175).

File size: 87.0 KB
Line 
12.6.0:
2 * fix bug with parallel compilation of cutest in Makefile
3 * sh_mem.c: fix deadlock in debug-only code
4 * Evaluate glob patterns for each run of file check
5 * Add compile option to disable compiling with SSP
6 * Run SUID check in seperate thread
7 * By default disable scanning ..namedfork/rsrc (deprecated by Apple)
8
92.5.10:
10 * sh_suidchk.c: handle $HOME/.gvfs mount gracefully
11 * slib.c: fix race condition caused by closing a stream and the fd
12
132.5.9c:
14 * move stale file record error message closer to problem zone
15 * sh_port2proc.c: fix flawed logic for interpreting /proc/net/udp,tcp
16
172.5.9b:
18 * remove stale file record when creating handle, and raise diagnostic
19 error to find origin of stale record
20 * sh_port2proc.c: check /proc/net/upd6 for IPv6-only UDP sockets
21
222.5.9a:
23 * fixed a race condition in closing of file handles
24
252.5.9 (11-09-2009):
26 * added code to generate directory for pid file, since it
27 would get cleaned if /var/run is a tmpfs mount (problem
28 reported by M. Athanasiou)
29 * fixed a bug that prevented reporting of user/executable path
30 for open UDP ports (issue reported by N. Rath)
31 * added more debugging code
32
332.5.8a (18-08-2009):
34 * fixed a bug in sh_files.c that would prevent samhain from
35 running on MacOS X (reported by David)
36
372.5.8 (06-08-2009):
38 * fixed a bug in the MX resolver routine which causes it to fail
39 sometimes (issue reported by N. Rath).
40 * fixed deadlock with mutex_listall in sh_nmail_test_recipients() if
41 error occurs within sh_nmail_flush (problem reported by N. Rath)
42
432.5.7 (21-07-2009):
44 * sh_userfiles.c: set userUids = NULL at reconfiguration (issue
45 reported by U. Melzer)
46 * if available, use %z to print timezone as hour offset from GMT
47 in email date headers (problem reported by NP, solution suggested
48 by TimB).
49 * eliminate C99-style comments (problem reported by
50 venkat)
51 * fix bad variable name for AC_CACHE_CHECK
52 * fix potential deadlock when external programm is called
53 (problem reported by A. Dunkel)
54
552.5.6 (09-06-2009):
56 * recognize fdesc filesystem on MacOS X for suid check (Problem
57 reported by David)
58
592.5.5 (01-05-2009):
60 * fix some warnings from gcc 4.4 (strict aliasing)
61 * fix minor memory leak in process check
62 * t-test1.c: change function names because of clashes with an
63 AIX system header file
64 * fix warnings with -fstack-check (too large stack frames)
65 * fix for incorrect handling of hostnames in database insertion
66 (reported by byron)
67
682.5.4 (04-03-2009):
69 * fix for incorrect input check in SRP implementation (discovered
70 by Thomas Ptacek)
71 * option KernelCheckPCI to switch off check of PCI expansion ROMs
72
732.5.3 (25-02-2009):
74 * disable dnmalloc on MacOS X, doesn't work properly
75 * stat -> lstat in sh_unix_file_exists (OS X nameforks, report
76 by David)
77 * Fix problem in standalone trustfile, does not work correctly on
78 group-writeable files (reported by David).
79 * Option SetThrottle to throttle throughput for db download
80 * Option SetConnectionTimeout to configure the client connection
81 timeout configurable
82 * Provide getrpcbynumber, getservbyname implementations
83 to avoid dependencies with static linkage
84 * Fix missing sh.host.(system|release|machine) on FreeBSD,
85 reported by D.Lowry
86 * New option SetMailPort to allow setting of SMTP port (patch
87 by lucas sizzo org)
88 * allow POSIX regexes for filters
89 * consolidate filtering code from sh_extern.c, sh_(n)mail.c
90 * rewrite mail subsystem to allow individual filtering
91 for recipients
92 * allow shell expansion for values of config file options
93 * allow list as value for option PortCheckInterface
94 * fix bug in trustfile.c (with slapping on "/../" for symlinks)
95 * lock baseline database upon writing
96
972.5.2b (29-01-2009):
98 * turn warnings into errors in the compile test suite
99 * fix missing define in sh_portcheck.c to eliminate compiler warning
100 (reported by joerg)
101
1022.5.2a (26-01-2009):
103 * fix problem building deb package (bit rot; reported by joerg)
104
1052.5.2 (22-01-2009):
106 * samhain.c: report module failure with positive offset
107 * sh_database.c: parse numerical fields into ulong
108 * fix regression test script for postgresql
109 * fix regression test script for SELinux/ACL test
110 * fix reporting of user for open ports to prelude
111 * report process pid for open ports
112 * replace _exit() by raise(SIGKILL) b/o pthread problem
113 * new option LooseDirCheck ([false]/true), request by
114 Alexander
115 * improved help output of samhain_stealth (as suggested
116 by Michael Athanasiou)
117 * new option ProcessCheckIsOpenVZ ([false]/true)
118
1192.5.1 (07-12-2008):
120 * workaround for freebsd7 amd64 lossage (compiler toolchain,
121 no mmap to 32bit address space)
122 * samhain-install.sh: check for presence of stealth_template.ps
123 before trying to create it
124 * use -Wno-empty-body if supported to suppress warnings about
125 glibc pthread_cleanup_pop implementation
126 * fix text relocations for i386 in src/sh_tiger1.s
127 * implement server->client SCAN command to initiate file check
128 * implement @if / @else conditionals with more tests in config file
129 * new option SetDropCache to drop checksummed files from cache
130 * report process/user for open ports on FreeBSD (code
131 lifted from FreeBSD sockstat.c)
132 * fix for config reload issue with stealth mode (reported by
133 siim)
134 * add -fstack-protector flags to LDFLAGS
135 * cygwin fix: don't use dnmalloc, doesn't work with pthreads
136 * cygwin fix: make trust check in samhain-install.sh return zero
137 * improved diagnostics for file read errors
138 * fixed script permissions (754 -> 755), reported by Christoph
139 * constness patch by Joe MacDonald
140 * GnuPG key ID patch by Jim Dutton
141 * sh_kern.c: more error checking for reads from kernel
142
1432.5.0 (01-11-2008):
144 * dnmalloc.c: fix inconsistent chunksize on 64bit systems
145 * fix improved error reporting for failed fstat in checksumming
146 * report process/user for open ports (Linux only currently)
147 * fix deadlock on exit in sh_hash_init()
148 * fix --enable-mounts-check for FreeBSD 7.0 (no MNT_NODEV anymore)
149 * log monitoring support
150 * fixed constness in trustfile interface
151 * remove libprelude 0.8 support (obsolete)
152 * sh_forward.c: increase TIME_OUT_DEF to 900 secs
153 * dnmalloc.c: initialize rc in dnmalloc_fork_child(),
154 reported by B. Podlipnik
155
1562.4.6a (09-10-2008):
157 * fix compile problem on Fedora 9 (reported by pierpaolo),
158 'struct ucred' in sh_socket.c requires _GNU_SOURCE
159
1602.4.6 (27-08-2008):
161 * fix compile failure on win2k/cygwin (sh_unix_mlock prototype),
162 reported by jhamilton
163 * fix potential deadlock with dnmalloc upon fork()
164 * fix non-portable use of 'hostname -f' in regression test suite
165 (reported by Borut Podlipnik)
166
1672.4.5a (18-08-2008):
168 * fix compile problem in dnmalloc.c (remove prototypes for
169 memset/memcpy), problem reported by Juergen Daubert
170
1712.4.5 (07-08-2008):
172 * testscripts: 'chmod -R' -> 'chmod -f -R', since Solaris 10
173 bails out on a chmod on a dangling link
174 * fix bug in check_samhain.pl nagios script (J.-S. Eon)
175 * use the UNO static checker
176 * compile as position independent executable (PIE)
177 * handle EINPROGRESS error (Windows/cygwin issue)
178 * make sure every function uses less than one page of stack
179 (proactive security against gap jumping, Gael Delalleau)
180 * use dnmalloc instead of system malloc
181 (proactive security against heap buffer overflows)
182 * fix dnmalloc bugs and portability problems
183 * check for compressBound, since older zlibs don't have it
184
1852.4.4 (30-04-2008):
186 * sh_database.c: fix maximum size of sql query string, maximum
187 size of strings in struct dbins_
188 * sh_hash.c: fix maximum size of message string
189 * fix typo in the base64 decoder
190 * fix 'make cutest' for parallel compiling
191 * fix compile warnings with -Wstrict-prototypes
192 * sh_static.c: override getgrgid, getpwuid for libacl
193 * fix more warnings about variables clobbered by 'longjmp'
194 or 'vfork' (due to library internal handling of mutexes)
195 * fix configure warning about unused datarootdir
196 * configure.ac: warn, but accept nonexistent tmp dir
197 (Problem reported by Brian)
198 * sh_unix.c: undef P_ALL, P_PID, P_PGID before including
199 sys/wait.h (compile problem reported by Reputation)
200 * syslog function tested ok with Syslog Fuzzer v0.1
201 by Jaime Blasco (c) 2008
202 * slib.c: call fflush when writing trace to file
203 * sh_readconf.c: don't set OnlyStderr to false if gpg (problem
204 reported by Irene Reed)
205 * fix unconditional removal of pid file in atexit handler (bug
206 reported by Brian)
207 * fix invalid free() in sh_unix_checksum_size()
208 * sh_processcheck.c: workaround for stupid OpenBSD bug (returns
209 ENODEV instead of EAGAIN, because fgetc does
210 fcntl(0,F_SETFL,O_NONBLOCK) [ENODEV] internally), problem
211 reported by Roman R.
212 * fix buf that cause incomplete reporting of modified symlink if
213 symlink has changed and both old and new paths are >48 bytes
214 * fix bug that prevented mount check from running in one-shot mode
215 * enable mount check for openbsd
216 * fix processcheck default options and test script for openbsd
217 * option --list-file to list content of file (if saved)
218 * sh_tools.c: use strcasecmp in reverse lookup since DNS is case
219 insensitive (bug reported by Phil)
220 * fill content if MODI_TXT, zlib compress, base64 encode and add
221 as link_path in sh_unix.c; add to report in sh_hash.c
222 * testsuite: add test for gpg fingerprint option
223 * sh_extern.c: add 'CloseCommand' for syntactic sugar,
224 add in testsuite
225
2262.4.3a (12-02-2008):
227 * fix compile error caused by open() with O_CREAT and no third argument
228 (reported by J.-S. Eon)
229
2302.4.3 (31-01-2008):
231 * sh_kern.c: don't require asm/segment.h for kernel check module
232 * use global var with pid of initial thread instead of getpid(),
233 since LinuxThreads returns different value in each thread (problem
234 reported by Steffen Mueller)
235 * sh_kern.c: no inode check for pci rom (creates spurious messages)
236 * slib.c: eliminate prototype for vsnprintf (compile problem reported
237 by eddy_cs)
238 * Makefile.in: fix missing dependency on 'encode' for $(OBJECTS)
239 (reported by Matthias Ehrmann)
240
2412.4.2 (17-01-2008):
242 * fix broken option --with-checksum (reported by halosfan),
243 regression test added
244 * change HP-UX default optimization to +O2 since +O3 breaks
245 cutest unit testing framework
246 * put result vector of rng in skey struct
247 * fix more compiler warnings, and a potential (compiler-dependent)
248 NULL dereference in the unix entropy collector
249 * fix some compiler warnings
250 * use -D_FORTIFY_SOURCE=1 -fstack-protector-all instead
251 of -fstack-protector
252 * always add PTHREAD_CFLAGS to LDFLAGS
253 * sh_tiger0.c: checksum functions return length of file hashed,
254 needed to fix GrowingLogfile bug (researched by
255 siim at p6drad dash teel dot net)
256 * sh_static.c: fix more 'label at end of compound statement'
257 (SH_MUTEX_UNLOCK closing brace; reported anonymously)
258 * make sh_hash.c thread-safe
259 * remove plenty of tiny allocations
260 * improve sh_mem_dump
261 * modify port check to run as thread
262 * new option PortCheckSkip to skip ports
263 * fix unsetting of sh_thread_pause_flag (was too early)
264
2652.4.1a (28-11-2007):
266 * fix overwrite of ErrFlags (functionality bug)
267
2682.4.1 (26-11-2007):
269 * security fix: regression in the seeding routine for the PRNG
270 (detected by C. Mueller)
271 * regression test added for PRNG seeding routine
272 * fix problem with PCI ROM check (spurious messages about modified
273 timestamps, reported by S. Clormann)
274
2752.4.0a (08-11-2007):
276 * fix compile failure with --enable-static (reported by S. Clormann)
277 * fix potential deadlock if SIGHUP is received while suspended
278
2792.4.0 (01-11-2007):
280 * eliminate alarm() for I/O timeout (replaced by select)
281 * use getgrgid_r, getpwnam_r, getpwuid_r, gmtime_r, localtime_r,
282 rand_r, strtok_r if available
283 * protect readdir(), getpwent(), gethostname() with mutexes
284 (readdir_r considered harmful)
285 * make checksum/hash, entropy, rng functions reentrant
286 * use thread-specific conversion buffer for globber()
287 * fixed compile problems and problems with test suite
288 * modify login watch to run as thread
289 * modify process check to run as thread
290
2912.3.8 (03-10-2007):
292 * new option PortCheckIgnore = interface:portlist
293
2942.3.7 (13-09-2007):
295 * Makefile.in: fix 'make deb' target, wrong name of config file
296 written to debian/conffiles (reported by marc)
297 * configure.ac: fix incorrect order of with-prelude, enable-static
298 (libprelude test was always without -static)
299
3002.3.6 (06-09-2007):
301 * added yuleadmin.pl script contributed by Riccardo Murri
302 * fix compile error with -f-stack-protector on some systems (reported
303 by marc); we now check for libssp
304 * fix local DoS attack on BSD systems lacking getpeereid() (reported
305 by Rob Holland).
306 * fix yulectl password reading from $HOME/.yulectl_cred, erroneously
307 rejected passwords with exactly 14 chars (reported by Jerry Brown)
308 * introduce 'fflags' flag for suid files to detect new files already
309 found in regular file check (problem reported by J. Crutchfield);
310 also add regression test to ascertain that files in baseline
311 database are not quarantined erroneously
312 * sh_hash.c: replace check for prefix 'K' with check for not prefix'/'
313 to allow for arbitrary module-specific store/lookup in db
314 * replace 'visited', 'reported', 'allignore' with generic 'fflags' field
315 * sh_cat.c: reduce priority of MSG_TCP_RESET to avoid spamming if
316 port checking is used on same host as server (reported by kadafax)
317 * Install.sh: don't use --separate-output with non-checklist
318 widgets (problem discovered by D. Denton)
319 * sh_gpg.c, sh_userfiles.c: use sh_getpwnam et al. wrappers
320
3212.3.5 (20-06-2007):
322 * sh_portcheck.c: try to tear down connections more gracefully
323 (request by S. Petersen)
324 * fix incorrect handling of files with zero size in GrowingLogFiles
325 (problem reported by S. Petersen)
326 * fix incorrect encoding of null checksums in stealth mode
327 * sh_hash.c: fix repeated printing of acl/attributes in database dump
328 * sh_unix.c: fix option useaclcheck ignored if both useaclcheck and
329 useselinuxcheck are supported
330
3312.3.4 (01-05-2007):
332 * sh_processcheck.c: fix missing init of sh_prochk_res array before
333 check (leads to degrading functionality over time and 'fake pid'
334 warnings; reported by D. Ossenbrueggen and
335 soren dot petersen at musiker dot nu)
336 * sh_processcheck.c: fix memory leak
337 * sh_kern.c: for 2.6.21+ don't check proc_root_lookup (not possible
338 anymore? proc_root_inode.lookup != proc_root_lookup)
339 * sh_extern.c: flush streams before forking (problem if [Prelink]
340 used together with prelude logging, reported by M. deJong)
341 * fixed compilation of kern_head (regression cause by cross-compiling
342 fix; problem reported by S. Clormann)
343 * more typos fixed (reported by John Horne)
344
3452.3.3 (27-03-2007):
346 * fixed typos in configure.ac and manual (reported by John Horne)
347 * don't use mysql_options on x86_64, since libmysql is broken
348 * fixed cross-compiling (patch by Joe MacDonald)
349 * refactor sh_kern.c, sh_suidchk.c
350 * fix bug with leading slashes in linked path of symlinks within
351 the root directory
352 * sh_kern.c: check PCI ROM (Linux), refactor code
353 * move file descriptor closing more towards program startup
354 * kernel check: support OpenBSD 4.0 (wishlist)
355 * fix samhain_hide module (in-)compatibility with recent kernels
356 (reported by Jonny Halfmoon)
357
3582.3.2 (29-01-2007):
359 * fix regression in full stealth mode (incorrect comparison of
360 bytes read vs. maximum capacity), reported by B. Fleming
361
3622.3.1a (21-01-2007):
363 * fix incorrect use of sh_gpg_fill_startup if option --with-fp is used
364 (reported by zeroXten)
365
3662.3.1 (21-01-2007):
367 * fix bug that may cause accidental closure of yule TCP socket
368 (problem reported by B. Masuda)
369 * fix sh_kern.c for kernel 2.6.19 (reported by S. Clormann)
370 * don't use sstrip in 'make deb', since dh_shlibdeps uses objdump
371 (reported by B. Masuda)
372 * rm report.pl from rules.deb.in (reported by B. Masuda)
373 * samhainctl(): longer timeout (bad status reporting at startup,
374 reported by Phil and by Dan Track)
375 * sh_portcheck.c: make connect errors more descriptive
376 * sh_portcheck.c: fix ignored setting of PortCheckActive
377 * sh_processcheck.c: add statvfs, and wrap for EINTR
378 * sh_portcheck.c: add wrappers for EINTR
379 * report user and executable for hidden processes
380 * fix update failure if reportonlyonce = false (reported
381 by D. Strine)
382 * fix compile error in sh_portcheck.c (problem on cygwin
383 reported by J. D. Fiori)
384 * check filenames ending in space (also for utf8 spaces)
385 * check and escape csv formatted db listing
386 * cache results of sl_trustfile_euid()
387 * trustfile: use 4096 for MAXFILENAME, switch to strncpy
388 * CL option -v|--version for info on version and compiled-in options
389
3902.3.0a (01-11-2006):
391 * fix compile failure with portcheck + stealth (reported by lucas)
392
3932.3.0 (01-11-2006):
394 * fix concurrency for inserts in oracle db
395 * add acl_(new|old) to database schema
396 * check for selix attributes and/or posix acl
397 * new option UseSelinuxCheck (bool)
398 * new option UseAclCheck (bool)
399 * regression tests for above
400 * add module to check for open ports
401 * add module to check processes (hidden/fake/missing)
402 * use const char* for argument of module configuration callbacks
403
4042.2.6 (31-10-2006):
405 * fix missing support for MacOX X init script (reported
406 by Daniel Kowalewski)
407 * fix error about non-readable file with no checksum required
408 * fix server warning about 'no server name known'
409 * fix 'make deb' makefile target
410 * fix default export severity for server
411
4122.2.5 (05-10-2006):
413 * fix broken Install.sh, reported by Alexander Kraemer
414 * workaround for glob(3) sillyness on MacOS X (reported by David)
415 * fix for broken resorce fork check (reported by David)
416 * fix for broken compilation on cygwin (reported by Elias)
417
4182.2.4 (03-09-2006):
419 * add regression test for the GrowingLogFiles issue to test suite
420 * fixed sh_unix.c: bug in database init if GrowingLogFiles used
421 with signed database (reported by Timothy Stotts)
422 * bug in manual fixed (incorrect documentation of --enable-user,
423 noticed by M. Brown)
424 * rc.subr compatible init script for FreeBSD/NetBSD
425 * improve routine to find rpm after build
426 * add netbsd rc file from Brian Seklecki (taken from pkgsrc-wip)
427 * fix error in manual (location of lock file)
428 * fix bug with SuidExclude (files in directory were still checked)
429
4302.2.3 (31-07-2006):
431 * fix samhainadmin.pl: check for gpg-agent running if use-agent is set
432 (ticket #28 by anonymous)
433 * fix stealth mode (regression in parser), problem reported by
434 Joschi Kuphal
435 * fix minor typo in sh_database.c (compile problem reported by
436 Joschi Kuphal)
437
4382.2.2 (17-07-2006)
439 * minor fixes for regression test scripts
440 * minor updates to the manual (suggested by Brian A. Seklecki)
441 * fix sh_kern.c, kern_head.c: kernel rootkit detection for 2.6.17+
442 (problem reported by Leonhard Maylein)
443 * fix samhain_hide.c for 2.6.17+: use module_param() if MODULE_PARM
444 is not defined
445
4462.2.1c (11-07-2006)
447 * fix sh_extern.c: sh_ext_add_default() cast to (void) was too early
448 (Solaris 8 build failure reported by Jesse)
449 * fix sh_unix.c: wrong prototype for sh_unix_mlock()
450 if HAVE_BROKEN_MLOCK (AIX 5.2 build failure reported by
451 Jonathan Kaufman)
452
4532.2.1b (20-06-2006):
454 * fix compile error on SuSE 10.1 (reported by Leonhard Maylein)
455
4562.2.1a (15-06-2006):
457 * fix compile error on i686/MacOS X (reported by Andreas Neth)
458
4592.2.1 (13-06-2006):
460 * fix gcc 4 warnings and build failure on x86_64 (debian bug #370808)
461 * fix compiling with Oracle (noticed by Colapinto Giovanni)
462 * fix configure.ac for most recent autoconf version
463 (debian bug #369503)
464 * fix a regression that would make impossible local updates w/clients
465 * fix a few missing '\n' in sh_getopt.c
466 * sh_kern.c: fall back on mmap() if read() fails on /dev/kmem
467 * fix Solaris package creation
468 * recognize Solaris doors and event ports
469 * fix the idmef_inode_t patch: provide required info to avoid stat()
470 * fix bug on database update: fill in dev and rdev fields
471 * fix get_file_infos() in sh_prelude.c: avoid premature return
472 * GCC_STACK_PROTECT_CC: AC_TRY_COMPILE -> AC_TRY_LINK
473 * deploy.sh: allow to set a group for hosts upon installation
474 * patch by Yoann: fix an issue when setting the idmef_inode_t object
475 * fix memory leaks in error paths in sh_prelude.c
476 * fix concurrent inserts with postgres in sh_database.c
477 * code cleanup
478 * fix manual version in spec file, first noticed by Imre Gergely
479
4802.2.0 (01-05-2006):
481 * patch by Jim Simmons for samhainadmin.pl.in
482 * fix testsuite portability problems
483 * fix md5 endianess problem detected on HP-UX 11i / PA-RISC 8700
484 * fix potential NULL dereference in sh_utmp_endutent()
485 * patch by Neil Gorsuch for suidchk.c (do not scan lustre, afs, mmfs)
486 * fix sh_ext_popen (OpenBSD needs non-null argv[0] in execve)
487 * fix make_tests.sh portability (echo '"\n"' does not work on OpenBSD)
488 * fix bug in sh_utils_obscurename (check isascii)
489 * scan h_aliases for FQDN if h_name is not
490 * add copyright/license info to test scripts
491 * add copyright/license info to deployment system scripts
492 * support server-to-server relay
493 * new CL option --server-port
494 * minor improvements in manual
495 * patch by Yoann Vandoorselaere for sh_prelude.c
496 * allow --longopt arg as well as --longopt=arg
497 * verify checksum of growing log files (up to previous size)
498 * rewrite of the test suite
499 * added a bit of unit testing
500 * minor optimizations in various places
501 * optimized implementation of tiger checksum algorithm
502 * read in 64k blocks (faster than 4k)
503 * sh_unix.c, sh_hash.c: support file flags on *BSD, update Linux
504 file attribute code
505 * kern_head: fix compilation of kernel check module on OpenBSD
506 * updated samhainrc.linux, samhainrc.freebsd
507 * sh_unix.c: fix setrlimit (RLIMIT_NOFILE, ..)
508 * sh_files.c: fix missing use of flag_err_info
509 * sh_tiger0.c: remove repetitive use of mlock
510 * slib.c: remove fcntl's from sl_read_timeout (caller sets O_NONBLOCK),
511 add function sl_read_timeout_prep
512
5132.1.3 (13-03-2006):
514 * fix compile problem in slib.c (reported by Lawrence Bowie)
515 * fix bug with combination of one-shot update mode and file check
516 schedule (reportedby Dan Track)
517 * improved the windows howto according to suggestions by
518 Jorge Morgado
519 * fix samhain_hide kernel module for new linux kernel versions
520 * fix minor problem with dead client detection (problem reported
521 by Michal Kustosik)
522
5232.1.2 (10-01-2006):
524 * fix startup error with combination of gpg+prelude
525
5262.1.1a (22-12-2005):
527 * fixed a stupid bug in sh_files.c (break if file = dir)
528
5292.1.1 (21-12-2005):
530 * sh_calls.c: protect sh_calls_set_bind_addr against overriding
531 * comINSTALL, updateDB: use locking
532 * samhainadmin.pl: use locking
533 * fix typos in samhainrc.solaris (noticed by Robby Cauwerts)
534 * improve zAVLSearch (remove redundant strcmp)
535 * use AVL tree in sh_files.c instead of linked list (better scaling)
536 * fix bug with suidcheck (no update/check in one-shot mode with
537 schedule instead of check interval; noticed by R. Rati)
538 * fix for problem with '-t update -i' if daemon mode (problem report
539 by Peter van der Does)
540 * fix for bug in sh_util_ask_update (two returns were required ...)
541
5422.1.0 (31-10-2005):
543 * minor fix for cross-compiling with --with-kcheck
544 * sh_forward.c: handle bad fds in the select() fd sets
545 (reported by hmy)
546 * sh_extern.c: fix debugging code
547 * slib.c, sh_calls.c, sh_calls.h: improve handling of O_NOATIME
548 (reported by Gabor Kiss)
549 * makefile.in: fix for solaris package creation
550 * sh_mail.c, sh_readconf.c: mail filtering options
551 * sh_database.c: Oracle reconnect on connection failure
552 (bug report by Alexander A. Sobyanin)
553 * sh_unix.c: don't purge MYSQL_UNIX_PORT environment variable
554 (problem reported by Peter)
555 * sh_calls.c: fix for a HP-UX accept() problem caused by the gcc4 fix
556 * fixes for gcc 4.0.2 compiler warnings
557 * ability to use daemon mode together with update
558 (wishlist Yoan Vandoorselaere)
559 * fixes for debugging
560
5612.0.10a (22-08-2005):
562 * fix for overlapping directory check specification (reported by Bub)
563
5642.0.10 (21-08-2005):
565 * fix for segfault (free() on a constant string) with libprelude
566 (problem reported by Grae Noble)
567 * upgrade FreeBSD kernel check to 5.4, minor fixes
568 * useful script for users of Linux kernel check
569 (contributed by marc heisterkamp)
570 * documentation improvements (suggested by Brian Seklecki and Robby)
571
5722.0.9 (25-08-2005):
573 * samhain_erase.c: add #define for NULL
574 * sh_suidchk.c: fix incorrect use of escaped filename
575 * sh_prelude.[ch], sh_readconf.c: configurable mapping from
576 samhain severity to prelude severity
577 * sh_unix.h: second arg of gettimeofday should be NULL
578 * sh_files.c: fix checking of directory special file (use specified
579 policy, not that of parent dir, problem found by Brian A. Seklecki)
580 * sh_entropy.c: longer timeout for entropy collector
581 * sh_socket.c, sh_forward.c: allow probing of clients for
582 necessity of configuration reload
583 * yulectl: minor fixes, option -v (verbose), new command PROBE
584 * fix 'File not found' messages for files flagged with IgnoreMissing
585 * sh_database.c: strip newline from oracle error messages
586 * sh_files.c: fix rsrc fork issue with MacOS X Tiger
587 (reported by A. Koren)
588 * never compute checksum if not checked (problem report by D.Hughes)
589 * sh_prelude.c: cleanup and bugfix by Yoann
590 * sh_hash.c: for prelude, make sure mode is supplied with user/group
591 and vice versa
592 * sh_prelude.c: provide proper FileAccess objects (bug
593 report by Mihai Ilinca)
594
5952.0.8 (03-07-2005):
596 * configure.ac: use $LIBPRELUDE_PTHREAD_CFLAGS rather than
597 $LIBPRELUDE_CFLAGS (bugfix by Yoann)
598 * samhain.spec.in: remove support for chkconfig (it's too buggy).
599 Strangely, if invoked as install_initd it behaves sanely ...
600 * src/sh_err_log.c: fix key input (this time for real)
601 * fix --with-altlogserver (bug from 2.0.7b)
602 * remove server socket in start/stop script
603
6042.0.7e (not released):
605 * Makefile.in: introduce a total of 6 sec delay for 'make' utilities
606 that use 1 sec resolution, and consider target out-of-date if
607 timestamp(target) = timestamp(dependency) ...
608 * src/sh_err_log.c: fix key input
609 * another fix for yulectl (use pwent->pw_dir)
610 * dsys/comINSTALL, dsys/comUNINSTALL, dsys/comBUILD: fix PATH
611
6122.0.7d (not released):
613 * one more fix for the spec file (stupid rpm finds tags in comments!!!)
614
6152.0.7c (not released):
616 * test/testrun_1b.sh, test/testrun_2b.sh: use $GPG_PATH
617 * dsys/comINSTALL, dsys/funcDB, dsys/funcINSTALL: some bugfixes
618 * samhain-install.sh.in: fix test -z $verbose
619 * sh_hash.c: speedup database reading
620 * Makefile.in: fix the problem that BSD make would make too much
621 * deploy: yulerc.clients -> yulerc.install.db, provide
622 $defdatabase for backward compatibility
623 * deploy: allow for comma in client_install_date
624
6252.0.7b (not released):
626 * hp_ux.psf.in: fix psf file
627 * dsys/comINSTALL: fix $yule_date -> $yule_data
628 * Makefile.in: fix 'make depot'
629 * sh_tools.c, sh_unix.c: fix detection of open file limit
630 * sh_readconf.c: reset read_mode after reading conf file
631 * yulectl.c: better error messages, use homedir from getpwuid(geteuid)
632 * init/samhain.startLSB.in: fix misleading message in lsb init script
633 * sh_forward.c: better display for nonce u in debug mode
634 * sh_tiger*.c: fix checksum for HP-UX 64bit
635 * samhain.c: don't fetch database twice
636 * configure.ac: accept nodename for --with-logserver=...
637 * samhain_setpwd.c: return proper exit status for samhain_setpwd
638 * respond to SIGTERM on initializing
639 * fix problems with samhainadmin.pl
640 * sh_utils.c: fix bug with AddOKChars (found by Karol)
641
6422.0.7a (not released):
643 * remove 'df' from entropy gatherer (NFS may hang)
644 * modify va_copy check (doesn't work with HP-UX PA64 compiler)
645 * fix compile warnings in sh_database.c
646 * samhain-install.sh.in: check for /usr/bin/false in /etc/shells
647 * fix install-boot on HP-UX
648 * aclocal.m4: fix configure CL parsing to recognize VAR=VALUE
649
6502.0.7 (11-06-2005):
651 * yet another fix for the spec file (use internal dependency generator)
652 * sh_error.c, sh_prelude.c: init libprelude after open fds are closed
653 * error message if queue is full
654 * fix two compiler warnings on HP-UX
655 * fix sh_mail.c for Interix (no resolver routines)
656 * fix sh_unix_initgroups2() if no initgroups() function (bug reported
657 by Geries Handal)
658 * remove references to 'struct timezone' (Interix; problem
659 reported by Geries Handal)
660 * init/stop for prelude on SIGHUP
661 * sh_cat.h: fix a stupid bug with messages classes
662 * manual: new section on nagios (with help from kiarna),
663 more on prelude
664 * sh_prelude.c: cleanup and improvements (Yoann Vandorselaere)
665 * default prelude profile name now is 'samhain' (lowercase)
666 * sh_readconf.c: new option PreludeProfile (by Yoann Vandorselaere)
667 * remove obsolete check for linux/module.h, linux/unistd.h
668 * remove dependency on virtual/glibc in gentoo ebuild
669 (problem reported by Willis Sarka)
670
6712.0.6 (01-03-2005):
672 * sh_prelude.c, configure.ac, aclocal.m4: support for
673 libprelude 0.9 (Yoann Vandoorselaere)
674 * sh_html.c: fix bug with entry.html template (reported by
675 Stephane Sanchez)
676 * Install.sh: fix mandir option (reported by Rodney Smith)
677 * Fixed Linux/64bit bug in definition of EUIDSLOT
678 * New targets 'make depot', 'make depot-light' (HP-UX, untested)
679 * Use sstrip for RPMs and DEBs (automatic stripping disabled)
680 * Fix aclocal.m4 for autoconf 2.59 (missing $ac_cr_alnum et al.,
681 problem noticed by Yoann Vandoorselaere)
682 * Modify samhain.spec.in to disable automatic stripping upon install
683 * Fix deploy.sh + '--enable-gpg', and fix 'make rpm' and 'make deb'
684 for '--with-khide' (problems reported by Mark)
685 * Fix compile error in sh_tools.c on HP-UX 10.20
686 (problem reported by Dennis Boylan)
687 * Runtime configuration of server listening port (wishlist)
688 * Runtime configuration of server listening interface (wishlist)
689 * Ignore SIGTTIN (consistency)
690 * Use SIGTTOU to force file check (wishlist)
691
6922.0.5b (01-04-2005):
693 * Fix build problem b/o timestamp on stamp file
694
6952.0.5a (16-03-2005):
696 * Fix problem with 'make rpm' (reported by Dirk Brümmer)
697
6982.0.5 (02-03-2005):
699 * Fix bug with partial reads from clients in server
700 (bug report by Brian)
701 * Support gpg checksum bootstrap with yule
702 * Support mount option check on HP-UX
703 * For MAIL FROM, use 'example.com' as domain part if
704 hostname is numeric (problem reported by Eric Raymond)
705 * The HOWTO-write-modules has been updated.
706 * Convenience functions to insert data in database have been
707 added.
708 * Use int0x03 only on i386 in sh_derr() (portability problem
709 reported by John Mandeville)
710
7112.0.4 (09-02-2005):
712 * Fixed broken 'make deb' (problem report by olfi)
713 * Fixed minor bug in test scripts (detection of gmake vs. make)
714 * Fixed Tru64/OSF compile warnings (reported by B. Terp)
715 * Normalize list parsing to allow comma, space, and tab as separators
716 * Some more descriptive error messages in kern_head.c
717 * Absolute path to utilities in init/samhain.startLinux.in
718 * Fixed is_root variable in deploy.sh
719 * Fixed 'deploy.sh info'
720 * Fixed 'deploy.sh install' client startup
721 * Fixed 'make tbz': don't remove ebuild scripts in 'make dist'
722 (issue reported by W. Sarky)
723
7242.0.3 (14-12-2004):
725 * Fix CPPFLAGS with mysql/postgresql (repoted by P. Smith)
726 * Fix missing sys/time.h include in slib.c (reported by Jonas)
727 * Workaround for file closing problem with Prelude+GPG
728 * Fixed memory leak with Prelude.
729 * Fixed bug in samhain_stealth (PGP signature not correctly
730 retrieved from hidden configuration; report and patch by V. Tuska)
731 * Added Perl script to concatenate file signature database files
732 * Fix compile error with combination of --enable-nocl and
733 --enable-stealth (reported by Zdenek Polach)
734 * Fix bug in dsys/initscript with --enable-nocl
735 * Fix declaration of sh_kern_timer()
736 * Fix missing Mounts+Userfiles options in appendix of manual
737 * Updated the README (bug report by H. Franzke)
738 * Fix some compiler warnings
739
7402.0.2a (09-11-2004):
741 * Fixed OoM condition when client rc file not found (reported by Eilko)
742
7432.0.2 (08-11-2004):
744 * Fixed buffer overflow in sh_hash_compdata() (only in 'update' code)
745 * Fixed uninitialized variable in sh_mail_msg() (problem reported
746 by Michael Milvich)
747 * Fixed potential NULL pointer dereference in sh_hash_compdata()
748
7492.0.1 (01-11-2004):
750 * Fixed compilation bug reported by jue (--with-kcheck broken).
751 * Fixed start option (bug reported by sanek). Behaviour wrt.
752 environment variables depended on the way the daemon was started.
753
7542.0.0 (31-10-2004):
755 * The deployment system has been rewritten from scratch in
756 a cleaner and more modular and extensible way. Deployment
757 of native packages is supported now.
758 * The build system has been revised. Building outside the source
759 directory is supported now.
760 * Support for checksumming of prelinked executables / libraries
761 has been added.
762 * The configure script now checks for the SSP/ProPolice patch in GCC,
763 and enables it if present.
764 * The install-boot option in samhain-install.sh has been fixed
765 (use absolute paths for sbin utilities).
766 * A nagios plugin (scripts/check_samhain.pl) has been added.
767 * The LSB (Linux Standard Base) init script has been fixed (the output
768 was incorrect).
769 * Fetching of built binary packages has been
770 fixed ($(PACKAGE)->@install_name@).
771 * For files in proc, the timeout has been reduced, and no error
772 messages are issued upon timeout.
773 * A function has been added to print out full details for missing
774 files if encountered while in sh_files().
775 * The reporting for SuidCheck has been fixed (incorrect policy
776 noticed by JiM).
777 * On Linux, SuidCheck does not report on files marked as candidates
778 for mandatory locking (group-id bit set, group-execute bit cleared).
779 * Fix for oracle init script (by Matt Warner)
780
7811.8.12b (11-10-2004):
782 * fix bug in MSG_MSTAMP (%ld -> %lu)
783 * fix bugs in sh_suidchk.c (%ld -> %lu), check fopen for NULL,
784 mkdir mode for quarantine directory
785 * fix the fix for modlist_lock search in System.map
786
7871.8.12a (01-10-2004):
788 * fix bug in samhain-install.sh.in (only occurs on Solaris), reported
789 by J. Roland
790
7911.8.12 (27-09-2004):
792 * fix compile bug with --enable-static + --with-database=postgresql
793 * fix search for modlist_lock in System.map
794 * password auth for yule command socket (request by D. Kocic)
795 * more info about pending/sent commands to clients
796
7971.8.11 (30-08-2004):
798 * fix static linking on Linux by use of replacement routines from
799 uClib - however, this means, there is no NIS support anymore
800 * new option AddOKChars=... to modify the set of characters for
801 filenames considered 'obscure'
802 * new option HardlinkOffset=... to specify an offset from the canonical
803 hardlink count for a directory
804 * fix some warning with HP 11.23 native compiler
805 * fix minor OpenBSD portability problems (EIDRM, compiler warning)
806 * samhainrc.5, samhain.8: updated the man pages
807 * sh_unix.c, sh_files.c: ignore 'no user/group' and 'obscure name'
808 for AllIgnore
809 * sh_kern.c: fix 'update' to display modifications
810 * sh_kern.c: fix bug with IDT check (spurious alerts b/o uninitialized
811 fields)
812 * stealth kernel modules: fix for linux 2.6, fix
813 redefine of KERNEL_VERSION
814 * warn about stealth kernel module problem with 2.6 in manual
815 * sh_unix.c: remove some cruft
816 * fix a typo in the manual (noticed by J. Rubin)
817 * configure.ac: re-order output from libprelude-config (required
818 for static linking - problem reported by E. Neber)
819 * kern_head.h, kern_head.c: fixes for Linux 2.6 kernel
820
8211.8.10b (13-07-2004):
822 * fix incorrect usage of 'retry_msleep()' in sh_kern.c (reported
823 by Pat Smith)
824
8251.8.10a (13-07-2004):
826 * depend-gen.c: fix for FreeBSD 'make' which does not understand
827 the dependencies ... (problem reported by David Thiel)
828
8291.8.10 (13-07-2004):
830 * sh_unix.c/sh_unix.h: fix defaults for 'GrowingLogFiles' policy
831 (bug report by VZoubkov)
832 * fix some warnings (unreachable statement) with HP-UX native compiler
833 * kern_check.c: silence warning about 'sendfile' for 4.10
834 (noticed by Ryan Beasley)
835 * modify depend-gen.c to ignore sh_gpg_chksum.h
836 * add a non-plaintext version of GPG_HASH (sh_gpg_chksum.h)
837 * .. and for fingerprint
838 * sh_suidchk.c: fix some compiler warnings on solaris
839 * allow commas to separate multiple entries in a RedefXXX= directive
840 * replace sleep/usleep with nanosleep wrapper function
841 * replace alarm() for read timeout with select() in sl_read_timeout
842 (should fix bug reported by Scott Kelley)
843 * increase lstat/open timeout to 6 sec
844
8451.8.9 (16-06-2004):
846 * made 'no action specified' error message more informative
847 (suggested by Stephen Gill)
848 * fix memory leak in mysql sh_database_query() (bug report by Dejan)
849 * remove some cruft from the code
850 * sh_files.c: check MacOS X resource forks (idea from Osiris)
851 * sh_files.c: no hardlink check for MacOS X
852 * sh_util_ask_update: fix bug with no terminal in non-interactive mode
853 (report and debug data by Kris Dom)
854 * manual refactored
855 * fix redundant messages when updating with suidcheck
856 * allow interactive update for suid files
857 * don't remove the TZ environment variable to guard against
858 misconfigured hosts
859 * also use gethostname if uname returns possibly truncated name
860 * fix improper file descriptor handling in sh_mail.c (bug report
861 by Alex Weiss)
862 * cleanup MBLK cruft
863 * use SH_ALLOC/SH_FREE in sh_prelude.c
864 * update sstrip to Version 2.0
865
8661.8.8 (25-05-2004):
867 * fix compilation problem on AIX 5.2 (nameser_compat.h; report by
868 Tim Evans and Ian McCulloch)
869 * don't check for trusted paths on Cygwin
870 * add Windows HOWTO written by Kris Dom
871 * kern_check.h: extend FreeBSD syscall table for 5.x
872
8731.8.7a (03-05-2004):
874 * sh_mail.c: fix subject length
875 * sh_mail.c: fix the sh.mailNum.alarm_last fix (report by Kris Dom)
876 * sh_utils.c: sh_util_ask_update(): fix ISO C conformance bug
877 (compile problem reported by Kris Dom)
878
8791.8.7 (01-05-2004):
880 * sh_mail.c: fix incorrect count of sh.mailNum.alarm_last, causing
881 empty mails (introduced with segfault fix in 1.8.6, report
882 by Kris Dom)
883 * sh_utils.c: sh_util_ask_update(): check whether stdin is a terminal,
884 try to reopen on controlling terminal if not
885 * sh_utmp.c: fix order of options (problem report by Uri)
886 * sh_files.c: sh_files_chk(): set tmp = NULL at end of loop
887 (may cause segfault on null dereference for missing files)
888 * sh_unix.c: patch by Marc Schütz (order of sh_unix_getinfo_type,
889 sh_unix_getinfo_attr)
890 * don't use dh_installmanpages in 'make deb' (samhain/yule conflict
891 reported by xavier)
892 * on HP-UX, define _XOPEN_SOURCE_EXTENDED in sh_mail.c and sh_tools.c
893 (suggested by Kris)
894 * include nameser_compat.h in sh_mail.c (for MacOS X,
895 suggestion by jna)
896 * sh_utmp.c: fix time for logout events (reported by Erich
897 van der Velde)
898
8991.8.6 (15-04-2004):
900 * add CL option to set threshold for prelude and RDBMS
901 * sh_mail.c: fix bug with MailSubject option (segfault on NULL pointer
902 dereference; reported by Micha Silver)
903 * fix compiling with --disable-encrypt (reported by Pat Smith)
904 * fix minor problem in scheduler (don't return before all schedules
905 are tested, to set last_exec correctly)
906
9071.8.5 (05-04-2004):
908 * fix bugs in sh_utmp.c (unlinking of list head); may fix an OpenBSD
909 problem (endless loop; report and debugging aid by Joe MacDonald)
910 * fix hardlink check (null dereference in error message, segfaults
911 on solaris - noticed by Bob Bloom)
912 * sh_suidcheck: don't truncate quarantined file if nlink > 1
913 * fix Install.sh (no --seperate-output with --radiolist); patch by
914 Greg Kimberly
915
9161.8.4 (17-03-2004):
917 * add Prelude patch by Patrice Bourgin
918 * add license statement to sh_mounts.c, sh_userfiles.c after
919 receiving a clarifying e-mail from Cian Synnott
920 * support UsePersistent = no for Oracle (problem spotted and fix
921 tested by Michael Somers)
922 * fix bug in samhainadmin.pl
923 * sh_gpg.c: describe type of gpg error (if any)
924 * fix persistent connections with postgresql (reported by
925 Erwin Van de Velde)
926 * prelude: local 'meaning' shadows global in sh_prelude_alert
927 (spotted by David Maciejak)
928 * uname: workaround for cases where nodename would be a possibly
929 truncated FQDN (problem reported by Cian Synnott)
930 * re-write parts of sh_kern.c, store kernel info in baseline database
931 -> no need to recompile after kernel upgrade
932 * modify timeouts in sh_unix_getinfo, add timeout warning
933 * change handling of dangling symlinks (store in db)
934 * fix typo with MSG_FI_OBSC2 (double slash)
935 * remove redundant operation in sh_utils_safe_name
936 * fix occasional random start bytes of long messages in
937 sh_error_string (sl_strlcat -> sl_strlcpy)
938 * provide details for missing files (as for added files)
939 * remove duplicate message for no such group/user
940 * add fixes for samhain.oracle.init (supplied by Michael Somers)
941 * fix date insertion for Oracle (fix by Michael Somers)
942 * manual: fix incorrect statement about RPM (noticed by
943 Lars Kellogg-Stedman)
944
9451.8.3 (02-02-2004):
946 * add a HOWTO-client+server-troubleshooting document
947 * fix another bug with SIGUSR2 (suspend mode)
948 * new option SetBindAddress (--bind-address=...) to force
949 interface for outgoing connections on multi-interface box
950 * don't link against libgmp if not required (i.e. standalone)
951 * test for ext2fs/ext2_fs.h or linux/ext2_fs.h
952 * new make targets 'emerge' and 'tbz2' for gentoo
953 * update rules.deb.in based on the Debian package
954 by Javier Fernandez-Sanguino
955 * updated config.guess, config.sub to version 2002-09-05
956 * external command: report failure only once
957 * console: reset failure status after success
958 * README.UPGRADE: explain 1.7.x <-> 1.8.x client/server compatibility
959 * use persistent connection to database by default
960 * option UsePersistent=no to switch off persistent connection
961
9621.8.2 (19-01-2004):
963 * sh_userfiles.c: new option UserfilesCheckUids (requested)
964 * sh_error.c: server: don't log to logfile before dropping root
965 * new script scripts/samhainadmin.pl (administrative tasks for
966 signed config/database files)
967 * add changes code to log_msg for reports on modified files
968 * change default log threshold to 'mark', as 'none' tends
969 to confuse new users
970 * faster response time for SIGUSR2
971 * revised (mostly backward-compatible) message classes
972 * fix missing check of mailTime in server select loop
973 * add support for libprelude (version 0.8.10)
974 * fix format for MSG_E_GRNULL (reported by Stefan Hudson)
975 * fix Bourne shell incompatibility (export) in samhain-install.sh
976 (first reported by David Thiel)
977 * fix typo in spec file (first reported by Christian Vanguers)
978 * remove some cruft (signal handler, memory handling)
979 * return from sigterm handler, rather than exit directly
980 (re-entrancy problem causes more problems than it's worth)
981
9821.8.1 (03-12-2003):
983 * fix gmp detection (problem pointed out by Nix)
984 * fix/improve the error message if test compiling with mysql fails
985 * new CL option --interactive for interactive db update
986 * fix some compiler warnings from IRIX MIPS compiler
987 * kern_head.h, kern_head.c: option to disable IDT check
988 * kern_head.h, kern_head.c: update kernel syscall table (2.4.20,2.6)
989 * sh_utmp.c: count number of logins (request by Erwin Van De Velde)
990 * change username -> userid, remove (long) userid (bug noticed
991 by Erwin Van De Velde)
992 * emit ADDED message for new SUID/SGID files
993 * add trailing slash to excluded directory if there is none
994
9951.8.0a (04-11-2003):
996 * sh_error.c: remove two debug printf's
997
9981.8.0 (31-10-2003):
999 * manual: make ps file fit on both a4 and letter paper
1000 * sh_socket.c, sh_socket.h, sh_forward.c: socket interface
1001 to send (quit/reload) commands to clients
1002 * sh_forward.c, configure.ac: enable build with libwrap
1003 (Wietse Venema's TCP Wrappers library)
1004 * sh_ignore.c, sh_ignore.h, sh_files.c, sh_hash.c, sh_readconf.c:
1005 new option to suppress messages for new and/or deleted files
1006 * samhainrc.aix5.2.0: contributed by Christoph Kiefer
1007 * samhain.c: fix compile warning on solaris (noticed by Ian Hunt)
1008 * sh_database.c: undef debug code for oracle
1009 * samhain.oracle.init: contributed by Joern Michael Krueger
1010 * configure.ac, sh_utils.ac, Makefile.in, sh_modules.c,
1011 sh_cat.c, sh_cat.h, sh_mounts.c/h, sh_userfiles.c/h:
1012 check-mounts and userfiles modules contributed by eircom.net
1013 * sh_utils.c: fix off-by-one bug in sh_util_compress()
1014 * sh_forward.c, sh_tools.c, configure.ac:
1015 version 2 client/server protocol
1016 * sh_mail.c: add %S to include severity in subject (user request)
1017 * sh_suidchk.c, 1093: fix warning about unused var 'flags' on FreeBSD
1018 * samhain.h, sh_unix.h, sh_unix.c: extern inline -> static inline
1019 for --enable-ptrace
1020 * samhain.c: lower priority for 'uninitialized module' message
1021 * sh_entropy.c: lower priority for message if /dev/random blocks and
1022 /dev/urandom is available
1023 * improved error messages in sh_readconf.c
1024 * print system error message for getpwuid, getgrgid
1025 * fix missing module init after SIGHUP (noticed by Cian Synnott)
1026
10271.7.12 (13-10-2003):
1028 * sh_mail.c: fix buffer overflow in mail handler (introduced in 1.7.10)
1029 thanks to bug reports by Jason Martin and Matthew P. Cox
1030
10311.7.11 (01-09-2003):
1032 * samhain.c, samhain.h, sh_unix.c, sh_forward.c, sh_html.h:
1033 - change SIG_USR1 to switch between dbg on/off
1034 - change SIG_USR2 to switch between suspend on/off
1035 - fix CLT_ILLEGAL to actually work
1036 - introduce new state CLT_SUSPEND
1037 - force reauthentication after suspend
1038 * slib.c: change MAXFD from FOPEN_MAX (16) -> 1024
1039 * sh_suidchk.c: better AIX fs detection (Christoph)
1040 * sh_entropy.c: increase buffer size for unix entropy gatherer
1041 (problem reported by D. Danielson)
1042 * default config files: add lots of comments, list more options
1043 * sh_error.c: set default severities to 'crit'
1044 * sh_readconf.c, sh_cat.c, sh_cat.h: stricter check on config
1045 file syntax, issue warnings (triggered by C. Kiefer)
1046 * Makefile.in: handle depend-gen errors more gracefully
1047 * sh_err_console.c: fix bug in enable_msgq (reported by F. Behrens)
1048 * configure.ac: workaround for mysql_config weird output
1049 (reported by G. Faron)
1050 * sh_unix.c, sh_tiger0.c: check IO limit during read of large files
1051 * depend-gen.c: close streams before attempting to rename (Cygwin)
1052 * Makefile.in: fail gracefully if depend-gen fails
1053 * sh_database.c: sh_database_query(postgresql): fixed missing SL_ENTER
1054
10551.7.10 (27-07-2003):
1056 * FreeBSD init script: define $pidfile (reported by D. Thiel)
1057 * sh_unix.c, sh_unix.h: fix compile error on AIX 4.2
1058 * sh_schedule.c: fix bad array size
1059 * samhain.c: fix pid_t <> int casts
1060 * sh_kern.c: fix repetitive messages
1061 * configure.ac: try to bootstrap if TIGER192 not supported by gpg,
1062 provide a detailed error message
1063 * configure.ac: try harder to locate mysql
1064 * docs/Changelog: retroactively add release dates, if known
1065 * sh_mail.c: fix potential message truncation in mailer
1066 * sh_unix.c, samhain.c, samhain.h: make --enable-ptrace more portable
1067 * sh_readconf.c: fix segfault (dereference of uninitialized pointer)
1068 if --with-gpg and --enable-stealth are used together (reported
1069 by Anthony Caetano)
1070 * sh_unix.c, samhain.c, sh_calls.c: fix problems with descriptive
1071 error messages (larger GLOB_LEN, stat fills aud_err_message)
1072
10731.7.9 (30-06-2003):
1074 * sh_err_log.c: fix segfault on SIGABRT (dereference of freed memory),
1075 problems with SIGABRT noticed by Brian and Alf B Lervåg
1076 * deploy.sh.in: fix some bugs (found by Alf B Lervåg)
1077 * scripts/chroot.sh: fix typo (found by Alf B Lervåg)
1078 * configure.ac (khide): search also for 'd sys_call_table' (noted by
1079 cuek_saja)
1080 * strip whitespace before checking gpg checksum (noted by D. Thiel)
1081 * manual (faq section): explain how to stop console output
1082 * Makefile.in: fix re-naming of yule with --enable-install-name
1083 * HOWTO-client+server.html: fix typo (noted by xavier renaut)
1084 * configure.ac: escape '-' in awk regex (required by GNU awk 3.1.1)
1085
10861.7.8 (28-05-2003):
1087 * sh_unix.c: new mlock implementation with reference count
1088 and page alignment (fix for solaris problem)
1089 * kern_head.c: search also for 'xxxxxxxx d sys_call_table'
1090 * sh_html.c: write status comment (for Beltane 2)
1091 * add CL option --delimited for comma-delimited signature database dump
1092 * sh_mail.c: check exit status of push_list to fix counting bug
1093 (bug reported by Alan Moore)
1094 * configure.ac: add error message to --with-libs
1095 * fix spelling of $DAEMON in init script (noted by C. Grigoriu)
1096 * fix missing initgroups()
1097
10981.7.7 (06-05-2003):
1099 * sh_forward.c: fix bug if compiled with --enable-udp, but disabled
1100 in config file (found by Andy OBrien)
1101 * sh_database.c: sh_database_entry(): size -> c_size (two places)
1102 to fix writing of '\0' to arbitrary places :(
1103 (problem pointed out by Stefan Giesen)
1104 * profiles/*/configopts: fix --with-base -> --enable-base
1105
11061.7.6 (24-04-2003):
1107 * sh_forward.c, entry.html, head.html: fix/additions by Stefan Giesen
1108 * fix samhain_hide for the O(1) scheduler used by RedHat:
1109 configure.ac, acconfig.h: check for next_task in struct task_struct
1110 samhain_hide.c: use find_task_by_pid if no next_task in task_struct
1111 * samhain_erase.c: add MODULE_LICENSE("GPL") to fix warning
1112
11131.7.5 (15-04-2003):
1114 * sh_cat.c, sh_forward.c, sh_hash.c: fix double 'msg' tag
1115 * manual: point out the bmaxdata problem on AIX in faq section
1116 * trustfile.c: don't check symlinks (permissions of directory count)
1117 * sh_schedule.c: fix problem with daylight saving switchover
1118 * sh_samhain.c: close all open fd's >2 before reading the conf file
1119 * sh_unix.c: fix dereferenced NULL pointer when exiting on non-existing
1120 user
1121 * sh_forward.c: fix dereferenced NULL pointer when exiting on udp error
1122 * sh_forward.c: place timestamp code before select() timeout handler
1123 * fix incorrect class of timestamp messages (conflict with manual)
1124 * sh_readconf.c, sh_forward.c: new config option SetStripDomain
1125 * configure.ac: add warning if /lib/modules/`uname -r`/build/include
1126 not found
1127 * samhain_hide.c: adapt for RedHat 2.4 kernel (fetch sys_call_table
1128 address from System.map)
1129 * sh_err_syslog.c: fix for Solaris
1130 * samhain.spec.in: strip REQ_FROM_SERVER from config file install path
1131
11321.7.4 (21-03-2003):
1133 * configure.ac: fix bug in defargs (--with-base > --enable-base)
1134 * aclocal.ac: detect unsupported options
1135 * kern_check: add syscalls, skip unused syscalls
1136 * fix Manual (--enable.../--with... inconsistency)
1137 * add two HOWTOs (signed files, server/client)
1138 * moved manual into new subdirectory docs/
1139 * add admin scripts by S.Bailey/M.Redinger
1140 * option to have a version string in db file
1141
11421.7.3 (23-02-2003):
1143 * samhain-install.sh: use yule user key for signing on install
1144 * fix a bug in sh_err_console.c (attempted write to const char)
1145 * sh_gpg.c: if server, always use ~unprivileged_user/.gnupg
1146 * Makefile.in: make target 'trustfile' depend on config.h
1147 * configure.ac: don't use install_name before it is defined ...
1148 * sh_tiger0.c: fix bug in checksum computation introduced in 1.7.2
1149 * samhain.c: make sure daemon cannot be forced into 'update' mode
1150 * sh_hash.c: remove AIX workaround (AIX has been fixed meanwhile)
1151
11521.7.2 (04-02-2003):
1153 * sh_kern.c: use sys_call_table address from System.map
1154 * fix for reserved SQL keyword 'group'
1155 * add AC_SYS_LARGEFILE to configure.ac
1156 * allow separate client-specific log files for server
1157 * sstrip.c: compile sstrip code only for i386
1158 * sh_unix.c: closeall: don't close trace file
1159 * slib.c: don't trace sl_is_suid (leads to recursion in trace handler)
1160 * samhain-install.sh.in: fix detection of LSB compliant systems
1161 * sh_tools.c: get_client_*_file: lstat -> stat to allow symlinks
1162 * sh_forward.c: sh_forward_do_write: set O_NONBLOCK for fd
1163 (may block otherwise, for no good reason apparently ...)
1164 * samhain.spec.in: replace %configure with ./configure
1165 * sh_unix.c: re-write signal handling (use __malloc_hook et al. to
1166 check whether we are in the middle of a free/malloc/realloc/memalign)
1167 * sh_unix.c: use new safe_logger() function to log from signal handler
1168 * sh_err_log.c: fix xml
1169 *
1170 * fix Makefile.in to exit non-zero on compile failure
1171 * database init: create index on log_host, entry_status
1172 * sh_suidchk.c: fix path building
1173 * sh_tiger0.c: read larger blocks
1174 * sh_hash.c: cast inode to UINT32
1175 * sh_tools.c: check that config/database files size fits in uint
1176 * sh_error.c: export flag_err_debug to avoid unnecessary calls
1177 * sh_unix.c: save the open() call in sh_unix_getinfo_attr()
1178 * profiles/redhat_i386/bootscript: add # description field
1179 * deploy.sh.in: set owner + permissions for files in yule_filedir
1180 * profiles/debianlinux_i386: fix bootscript
1181 * Makefile.in: fix deploy file lists and targets (include init+scripts)
1182 * MLOCK GOOD/BAD -> SL_FALSE/SL_TRUE
1183 * sh_mail.c: GOOD/BAD -> SL_FALSE/SL_TRUE (AIX sys/param.h)
1184 * sh_err_syslog.c: split long messages rather than truncating
1185 * sh_error.c: allocate msg to fix truncation limit
1186 * sh_unix.c: closeall fd's >= 3 in non-daemon mode (inherited
1187 filedescriptors may exceed FOPEN_MAX, causing problems in
1188 sl_open_file)
1189 * sh_err_console.c: avoid stdio
1190 * trustfile: dirz: make swp[] static
1191 * slib.c: speed up sl_strlcat
1192 * clean up some bad heap allocation (PATH_MAX+(1|2) -> PATH_MAX)
1193 * remove some unused code
1194 * slib.c: support long long int in the snprintf replacement
1195 * configure.ac: new configure macro to check whether sa_sigaction works
1196 * Makefile.in: make sstrip, encode dependent on config.h
1197
11981.7.1a (08-01-2003):
1199 * fix a syntax error in samhain-install.sh.in
1200
12011.7.1 (07-01-2003):
1202 * search runlevel scripts in ./init or ./
1203 * handle all distro-specific Linux runlevel script issues
1204 within a single script
1205 * support install-boot on Yellow Dog Linux and Slackware
1206 * samhain-install.sh: fix a bug for unknown Linux
1207 ('"' not closed, DVER not set)
1208 * samhain-install.sh: check for /etc/yellowdog-release
1209 * sh_database.c: fix missing entry for 'userid' in attr_tab[]
1210 * fix debian.rules.in (disable sstrip)
1211 * update make targets: 'srpm', 'srpm-dist', 'rpm'
1212 * check for zlib if mysql is used
1213 * workaround for NetBSD bug with libresolve
1214 * fixed problems with spec files
1215
12161.7.0 (22-12-2002):
1217 * improved spec files (Andre Oliveira da Costa <brblueser@uol.com.br>)
1218 * sh_unix.c: fix a dereferenced static pointer in tf_trust_check
1219 * runlevel scripts: remove pid file after stop
1220 * make the data directory read-only for the daemon
1221 * treat 'localhost' specially in MX resolver
1222 * sh_err_log.c: set sh.flag.log_start == TRUE after writing </trail>
1223 * deploy.sh.in: fix quoting (fix by Simon Bailey)
1224 * slib.c: make sl_get_euid et al. behave well if uids not stored
1225 * trustfile.c: use euid = uid(SH_IDENT) if server
1226 * sh_mail.c: include an MX resolver
1227 * Makefile.in: install-user routine for user installation
1228 * have yule drop root
1229 * sh_tools.c: open_temp use logdir if server
1230 * unified options for runlevel script
1231 * HP-UX, IRIX runlevel scripts
1232 * AIX inittab entry
1233
12341.6.6 (13-12-2002):
1235 * configure.ac: solaris cc -O2 -> -xO2
1236 * sstrip.c: avoid alpha architecture
1237 * profiles/solaris/configopts: no --enable-static
1238 * sh_forward.c: sh_forward_req_file: copy argument to local array
1239
12401.6.5 (04-12-2002):
1241 * sh_utmp.c: set userlist = NULL in sh_utmp_end ()
1242 * sh_unix.c: do not assume that environ is sane
1243 * exit handler: write </trail>
1244 * sh_log_file(NULL): test sh.flag.log_start != S_TRUE
1245 * FreeBSD rc script does not blindly accept content of pid file
1246 * configure.ac: allow 'localhost' for log server
1247 * sh_calls.c: retry_connect: ntohs (port)
1248 * testrun_2[abc].sh: --with-logserver=localhost for client
1249
12501.6.4 (12-11-2002):
1251 * sh_tools.c: fix error when escaping '=<'
1252 * fix the 'make srpm' target
1253 * deploy.sh.in: avoid that client is named 'yule'
1254 * define memset to sl_memset
1255 * fix type cast of uid_t, gid_t
1256
12571.6.3 (31-10-2002):
1258 * fix options for Sun/Solaris native compiler
1259 * sh_unix.c: MSG_FI_LIST (line 2333): cast theFile->size to fix error
1260 * test sstrip on freebsd
1261 * default config file for freebsd
1262 * make target to build .deb packages
1263 * sh_readconf.c: fix bug in error message
1264 * samhain.c, sh_suidchk.c: fix initialization of suidchk
1265 * samhain-install.sh.in: don't remove config file by default
1266 * samhain-install.sh.in: support complete de-installation
1267 * samhain-install.sh.in: add support for Gentoo, FreeBSD, and Solaris
1268 * samhain-install.sh.in: check more paths
1269 * sh_unix.c: fix sys_siglist declaration [NetBSD portability issue]
1270 * sh_calls.c: save error message in retry_lstat()
1271
12721.6.2 (04-10-2002):
1273 * make target to build rpms
1274 * update samhain.spec.in, samhain.startRedHat
1275 * support DESTDIR, as in 'make DESTDIR=/what/ever install'
1276 * explicitely set -fno-omit-frame-pointer b/o gcc bug
1277 * mv configure.in to configure.ac to benefit from autoconf wrapper
1278 * sh_modules.c, sh_modules.h: add mod_reconf() to run at SIGHUP
1279 * slib.c: fix debug messages (no msgs for dlogActive <= 1)
1280 * sh_schedule.c, samhain.c, sh_suidchk.c:
1281 scheduler may accept multiple schedules
1282
12831.6.1 (04-09-2002):
1284 * sh_schedule.c: bugfix (executes only after first day)
1285 * rm obsolete WITH_TRACE stuff
1286 * new dlog() function for debug logging
1287 * some more descriptive error messages
1288
12891.6.0 (27-08-2002):
1290 * omit the -fomit-frame-pointer option (bugs in some gcc versions ?)
1291 * sh_error.c: fix escape mode when logging to database
1292 * sh_forward.c: fix error (twice escape) in recv_syslog_socket
1293 * sh_tools.c: change escape mode for server-received data
1294 * sh_mem.c: change ulong -> size_t in sh_mem_malloc()
1295 * configure.in: fix localstatedir if --prefix=USR
1296 * sh_hash.c: snprintf() -> sl_snprintf()
1297
12981.5.5 (07-08-2002):
1299 * sh_err_log.c: fix incorrect xml syntax for client messages
1300 logged by server
1301 * sh_err_log.c: fix incorrect '</trail>' entries on client EXIT
1302 * sh_files.c: introduce file_class_next
1303 this fixes the problem that a policy for the directory
1304 inode erroneously becomes a policy for the directory itself.
1305
13061.5.4 (17-07-2002):
1307 * sh_hash.c: fix buffer overflow with (micro-)stealth
1308 * sh_database.c: set path[] 1024 -> 12288
1309 * sh_database.c: set query[] 2048 -> 16383
1310 * sh_database.c: set values[] 1024 -> 16383
1311 * sh_forward.c: larger limit for message size (16 kB)
1312 * trustfile.c: set MAXFILENAME 2048 -> 4096
1313 * fixed a bug in the handling of filenames with embedded newlines
1314 * sh_files.c: fix missing sh_util_safe_name() in debug output
1315 * --with-sender can specify a full address
1316 * fix xml log in a backwards compatible way
1317
13181.5.3 (03-07-2002):
1319 * fix combination of stealth and sql logging
1320 * fix some more places where invalid UIDs/GIDs trigger errors
1321
13221.5.2 (01-07-2002):
1323 * include solaris config file from (sean [at] boran d.o.t com)
1324 * test for files/dirz defined twice in the configuration file
1325 * option to disable reverse lookup on outbound connections
1326 * option to use socket peer as client name (with name resolving)
1327 * sh_html.c: fix an HTML bug (twice </head><body>)
1328 * sh_suidchk.c: fix warning on AIX b/o dirname()
1329 * allow logging server -> syslog if yule is NOT configured to
1330 receive syslog messages
1331 * define PRIi64 to "lld" if undefined
1332 * invalid UIDs: use gid/uid as name, error level SeverityNames
1333 * minor fixes for connect_port
1334 * sh_hash.c: flush output of db listing before _exit()
1335 * configure.in: fix incorrect default ${install_name} for server
1336 * configure.in: try harder to find mysql.h / libpq-fe.h
1337 * sh_files.c: sh_files_checkdir:
1338 closedir() early to not exhaust OPEN_MAX
1339
13401.5.1a (30-05-2002):
1341 * fix missing LSB init script
1342
13431.5.1 (27-05-2002):
1344 * fix '-t update' option
1345
13461.5.0a (23-05-2002):
1347 * fix configure.in
1348
13491.5.0 (22-05-2002):
1350 * include solaris nosuid patch from (nathoo [at] co d.o.t ru)
1351 * similar fix for bsd nosuid
1352 * speed up -t update
1353 * convert manual to DocBook, distribute html and ps
1354 * fix some more problems with configure.in, Makefile.in
1355 * fix testsuite, add tests for udp, mysql
1356 * MSG_TCP_MSG: host -> remote_host
1357 * convert to autoconf 2.53
1358 * make c_bits.sh exit with status 0
1359 * sh_database.c #include "mysql.h" --> <mysql.h>, ditto libpq-fe.h
1360 to avoid dependency tracking problems
1361 * samhain.c remove *YULE* #ifdefs
1362 * acconfig.h remove *YULE* #undefs
1363 * samhain.c: procdirSamhain: lstat --> stat (allow symlink)
1364 * configure.in: add checks for correct user input
1365 * Makefile.in: add automatic dependency tracking
1366 * depend-gen: tool to figure out dependencies
1367 * chkconfig comments in redhat start scripts
1368
13691.4.8:
1370 * sh_database.c: fix missing attr_old, attr_new, (from)host columns
1371 * configure.in, Makefile.in: fix an error in the configfile
1372 definition with REQ_FROM_SERVER
1373 * sh_err_console, sh_err_log: avoid recurrent failure messages
1374 * timeout on read from files (/proc)
1375 * fix errrors with setjmp/longjmp/alarm
1376 * fix memory leak in server (~20 byte/file download in sh_tools, 930)
1377 * check gpg signature for files downloaded from server, add a
1378 regression test
1379 * fix chown in solaris bootscript
1380 * provide second scheduler for file check
1381 * provide scheduler for file check
1382 * provide scheduler for SUID check
1383
13841.4.7 (08-04-2002):
1385 * make daemon control LSB-compliant (arguments, exit status)
1386 * set log_ref = 0 for server messages
1387 * boolean option SetDBServerTstamp to disable entering server
1388 timestamps for received client messages into database
1389 * sh_suidcheck: check for "nosuid" mount option if getmntent is used
1390 * fix logrotate script in manual (reported by Scott Worthington)
1391 * don't strip numerical IP addresses
1392 * check item->status_now != CLT_TOOLONG in client_time_check()
1393 * set log_host to client in db client message
1394
13951.4.6a (20-03-2002):
1396 * define prefix in deploy.sh
1397
13981.4.6 (19-03-2002):
1399 * modify samhain_hide.c to hide processes on new Linux kernels
1400 * better error diagnostics in kern_head.c
1401 * fix compile error in all_items ()
1402 * check length of install-name in enable-khide (max is 15)
1403 * define exec_prefix in deploy.sh.in
1404 * make configure a bit more cross-compiler friendly
1405
14061.4.5 (07-03-2002):
1407 * Make sure missing file is reported even if ptr->reported == S_TRUE
1408 because the file has been added.
1409 * propagate 'reported' flag from sh_files_checkdir() into file list
1410 * close checkfd in sh_gpg_check_file_sign()
1411 * sh_derr(): kill(parent, SIGCONT) after ptrace(PT_DETACH,...)
1412 * use sh.srvcons.name in dbg() to get debugging info from daemon
1413 * option to log file timestamps with localtime instead of GMT
1414 * comment out MSG_FI_ADD in sh_dirs_chk () - obsoleted by mandatory
1415 sh_files_filecheck(directory) that triggers MSG_FI_ADD in sh_hash.c
1416 * set ptr->reported = S_FALSE; for reappeared files in sh_files_chk()
1417 to make sure re-disappearing will get reported
1418 * new function sh_hash_set_missing() to remove file record
1419 without (duplicate) 'missing' message
1420 * make sure all items are reported for added files
1421 * fix stealth mode with sh_kern (encode sh_ks.h -> sh_ks_xor.h)
1422 * clarify in the documentation which gpg options to use for signing
1423
14241.4.4 (11-02-2002):
1425 * check that parent process has exited before writing PID file
1426 * promote MGG_W_CHDIR to SH_ERR_ERR
1427 * add error message to sh_unix_testlock
1428 * fix missing _() macro in sh_aud_set_functions
1429
14301.4.3 (05-02-2002):
1431 * don't check attributes for symlinks (may cause device access)
1432 * add USE mysql; USE samhain; to samhain.mysql.init
1433 * point out the MessageHeader/mysql problem in manual
1434 * add -lz to LIBS for mysql
1435 * strip after install, avoid double strip
1436
14371.4.2 (27-01-2002):
1438 * support for EGD
1439 * fix some more problems with install-deploy / deploy.sh
1440 * fix a bug in profiles/suselinux_i386/bootscript (INSTALL_NAME_)
1441 * fixed the 'external logging' test (init rather than none in rc file)
1442
14431.4.1:
1444 * SuSE: include run level 4+5
1445 * install location of hiding kernel modules changed - some insmod
1446 variants do not test for /lib/modules/$(uname -r)/module_name.o
1447 * new make targets 'install-deploy', 'uninstall-deploy'
1448 * fixed make targets 'deploydir', 'deploydirfast'
1449 * bail on unsupported CL option in deploy.sh
1450 * fix various bugs in deploy.sh
1451
14521.4.0 (16-01-2002):
1453 * fixed missing 'dirname' on Mac OS X
1454 * fixed && tested for/with postgres
1455 * 'user=' -> 'userid=' (reserved word in sql)
1456 * fix the endianess + size of file database; this changes db format
1457 for any non-Linux OS
1458 * --enable-old-format for old (V1.3) database format
1459 * getopt, samhain.c, samhain.h: option -f to loop if not daemon
1460 * sh_hash: list numeric + char data to allow file db update on
1461 server side
1462 * sh_database: modify handling of integer (long) data
1463 * sh_database: datetime in database
1464 * sh_database: hash field in database
1465 * sh_database: rewrite database insert string construction
1466 [use INSERT INTO log (fields) VALUES (values);]
1467 * makefile suse 7.x runlevel entries
1468
14691.3.7 (06-01-2002):
1470 * fix incorrect escape in sh_tools_safe_name
1471 * fix sh_error_handle (4. argument) in sh_extern.c
1472
14731.3.6c:
1474 * fix segfault in sh_database (mysql logging) on solaris
1475
14761.3.6b (03-01-2002):
1477 * fix syntax error ('==') in Makefile.in
1478 * fix configure.in (path for /lib/modules/$(uname -r)/build/include)
1479 * fix sh_kern.c (redeclaration of 'j')
1480
14811.3.6 (03-01-2002):
1482 * sh_kern.c: check integrity of int 80h vector
1483 (SucKIT rootkit - Phrack 58)
1484 * make sure childs in sh_kern are wait()'ed for
1485 * provide start/stop/restart/reload/status interface
1486 * fix a potential segfault (dereferenced NULL pointer) in the server
1487 * use sh_util_flagval for sh_unix_setdaemon
1488 * documentation for logging to SQL database
1489 * configure.in: check for -I/lib/modules/$(uname -r)/build/include
1490 * fix trustfile.c to ignore invalid users
1491 * separate 'make install-samhain' and 'make install-yule'
1492 * separate default log/pid/config files for server/client
1493 - less problems running server and client on same host
1494 * rewrite deploy.sh(.in):
1495 - don't use (make|install) if deploying
1496 - use command line options
1497 - better integrate into server environment
1498 - write install db
1499 * always write a pidfile if daemon
1500 * don't use server's config file as fallback for downloading client
1501 * don't overwrite config file when doing 'make install'
1502
15031.3.5 (28-12-2001):
1504 * fix --enable-message-queue for newer glibc versions
1505 * log to SQL database: implemented, but undocumented yet,
1506 needs to be tested further
1507 * xml: escape received syslog messages
1508 * xml: rename 'time' to 'tstamp'
1509 * make targets: make [un]install-[boot-]yule
1510 (for server-only installation)
1511 * fix samhain_hide.c for 2.4 kernel
1512 * fix sh_kern for updated samhain_hide.c
1513 * new option -j to just list the logfile
1514 * sh_getopt.c: recognize -Dt check for -D -t check
1515 * sh_tiger0.c: fix compiler warning (memmove) on Solaris
1516
15171.3.4 (12-12-2001):
1518 * sh_suidchk.c: option to limit files per second
1519 * sh_unix.c: option to limit (kilo)bytes per second
1520 * sh_hash.c: fix potential problem with '\n' in filename
1521 (not backward compatible if there are filenames with '=')
1522
15231.3.3 (03-12-2001):
1524 * sh_readconf.c, samhain.h, samhain.c, sh_suidchk.c:
1525 option SetNiceLevel to set scheduling priority
1526 * sh_hash.c: bugfix for database listing on Solaris
1527 * taus_seed: bugfix for emergency backup rng seed
1528 * sh_util_safe_name: fix for XML
1529 * sh_utmp_set_login_activate: use sh_util_flagval
1530 * sh_utils.c: sh_util_obscurename: rm 'space' from list
1531 * more backtrace macros
1532 * sh_util_flagval: fix bug to recognize 1/0
1533 * fix test scripts testtimesrv.sh, testext.sh (test.sh 6/5)
1534 * rm stray debug fprintf in sh_srp.c
1535
15361.3.2 (27-11-2001):
1537 * sh_hash.c: fix an error introduced in 1.3.1
1538 * set RLIMIT_CORE to RLIM_INFINITY if --enable-debug
1539
15401.3.1 (25-11-2001):
1541 * slib.c: get backtrace with --enable-debug
1542 * sh_unix.c: allow core dumps when --enable-debug
1543 * configure.in: fix default message queue permissions
1544 * sh_suidchk.c: automatically include suid/sgid files in database
1545 * sh_suidchk.c: check all suid/sgid files
1546 * sh_hash.c: don't insert duplicates when reading the database
1547 * sh_utmp, sh_kern, samhain: fix 1sec offset in timer
1548 * sh_unix.c: don't require /dev/random to be non-world-writeable
1549 * server: fix segfault in zAVLTree.c if avltree == NULL (no clients)
1550 * client: fix segfault on Solaris if path_conf == NULL
1551 * testrun_1b.sh: \(^/.*\) -> \(/.*\) for Solaris sed
1552
15531.3.0 (31-10-2001):
1554 * support compiling with GNU gmp library
1555 * set 3 sec timer on client_time_check to avoid excessive (and
1556 unnecessary) calls under heavy load
1557 * replace sl_strlen with a macro
1558 * store client_t structure in AVL tree
1559 * database format incompatible with previous format, up the magic#
1560 * sh_html.c: cache entry template for speedup
1561 * slib.c: reset islong(double) in sl_printf_count
1562 * sh_hash.c: report on rdev change
1563 * sh_hash.c: print size in 64 bit
1564 * sh_hash.c: save in absolute size types
1565 * sh_unix.c: get values as appropriate type (time_t, dev_t, ...)
1566
15671.2.10:
1568 * update MANUAL
1569 * sh_unix.c: tiger_hash -> tiger_generic_hash
1570 * sh_readcon.c: DigestAlgo option
1571 * sh_tiger0.c: add MD5 and SHA1
1572 * sh_unix.c: fix minor problem with win2k/cygwin
1573
15741.2.9 (17-10-2001):
1575 * fix problem with entry template/empty hostname
1576 * fix MASK_USER_ (MTM -> ATM)
1577 * typo fixed in configure.in (${install_name} -> {install_name})
1578 * bugfix group_old -> size_old in XML code
1579 * skip armor header in signed files
1580
15811.2.8 (29-09-2001):
1582 * Mac OS X: in sh_getopt.c, rename table[] to op_table[] to avoid
1583 obscure compiler warning
1584 * Mac OS X: fix test scripts
1585 * Mac OS X: import newest config.guess, config.sub from ftp.gnu.org
1586 * implement deadtime in syslog recv code to protect against flooding
1587 * sh_err_log: sl_close(fd) if lock|forward fails
1588 * compliance with Filesystem Hierarchy Standard -- Version 2.2 final
1589 * add policies User0, User1
1590 * fix compile problem (FreeBSD) in sh_suidchk.c
1591 * macro to check for debugger breakpoints (linux/i386)
1592 * check for solaris (does not work) in sh_derr (--enable-ptrace)
1593 * option to listen on 514/udp for syslog, drop root
1594 irrevocably if compiled thus
1595 * use (check_mask & MODI_ATM) to decide whether to reset utime
1596 * reset the policy masks on sighup
1597 * option to write XML log messages
1598 * cleanup of message catalog
1599 * modified error messages for BADCONN
1600 * error messages for Rijndael
1601 * block recursive error messages within sh_error_handler()
1602 - would hang the machine ... -
1603
16041.2.7:
1605 * sh_files, sh_utils: check top level directory
1606 * sh_kern, sh_cat, kern_head: check syscall code, fork subprocess
1607 for reading from /dev/kmem
1608 * include /boot in default samhainrc
1609 * change source distribution signing/packaging system
1610 * Makefile, README, MANUAL: adhere to file system standard,
1611 document new locations
1612 * fix a bug in samhain_hide.c
1613
16141.2.6:
1615 * reset list of trusted users before config file re-read
1616 * TrustedUser=... can be a list
1617 * fix severity for files missing from IgnoreAll
1618
16191.2.5:
1620 * include example_pager.pl, example_sms.pl scripts
1621 * explain paging/sms setup in docs
1622 * allow manual exclusion of a directory in suidcheck
1623 * automatically track all file changes
1624 * remove missing files from in-memory database
1625 * add $(KERN) to DEPLOYFILES
1626
16271.2.4:
1628 * log IP address for login/logout events, if supported by the OS
1629 * release block in globerr (callback)
1630
1631-------------
1632
16331.2.3:
1634 * fix problem with reading stealth configuration
1635 * fix a few formats in sh_cat.c
1636 * always use strncmp for file system type check in sh_suidchk.c
1637 (trailing 'fs' may be system specific for some types)
1638 * no bare LF in messages (RFC 2822)
1639 * no lines longer than 998 chars (RFC 2822)
1640 * fix error in testrc_1
1641
16421.2.2:
1643 * make tmp file directory a compile time option
1644 * fix minor bugs in tmp file allocator (potential memory leak,
1645 double slash if root directory)
1646 * obsolete testpipe script removed
1647
16481.2.1:
1649 * fix memory alignment in rijndael-api-fst.c: blockEncrypt()
1650 * fix byte order in HMAC code (compatibility fix for Linux/HP-UX)
1651 * removed a debug fprintf()
1652
16531.2.0:
1654 * fix a bug in the HMAC implementation (thanks to Cesar Tascon
1655 for help in tracking down this one)
1656 * module to check the file system for SUID/SGID files
1657
16581.1.16 (never released):
1659 * fix the recursion depth -1 option as described in the manual
1660 * optional database reload on SIGHUP
1661 * fix a race condition when checking that /dev/random is a charakter
1662 device
1663 * redirect stderr to /dev/null for c_random
1664 (AIX may segfault in netstat...)
1665 * check whether /dev/random is a charakter device in c_random.sh
1666 (we know at least one sysadmin who has set up a fake /dev/random ...)
1667 * don't give NULL as 2. and 3. arg to execve if not Linux - some
1668 Unices (notably Solaris) don't like it
1669 * init ptr = NULL in my_malloc (compiler warning)
1670 * make the bitmask for tests configureable (suggestion by A. Dunkel)
1671 * make the bitmask for tests a static variable
1672 * make (database/logfile/lockfile) path configurable
1673 (to run multiple instances of samhain from an NFS share - on the
1674 wishlist of J. Patton)
1675
16761.1.15 (never released):
1677 * fix minor error in testcompile.sh (rm test_log only at start)
1678 * return from subroutines on sig_terminate == 1
1679 (faster exit on SIGTERM)
1680 * fix re-configuration of addresses
1681 * use sh_util_flagval() in sh_mail_setFlag and sh_kern_set_activate
1682 * SysV message queue as compile option
1683 * config file option to set console device
1684 * removed the pre 1.1.9 code bloat
1685 * don't print the LOGKEY to the console
1686
16871.1.14:
1688 * fix an error in the setup consistency check
1689 * make target to uninstall runtime files
1690 * trustfile.c: check return code of readlink(), fix off-by-one error
1691 * sh_files.c: fix placement of terminator after readlink() call
1692 * sh_files.c: fix a missing set_suid()/unset_suid()
1693 - suid should work, but is not recommended -
1694 * more debug statements in c/s code
1695 * avoid re-entry in sh_unix_sigexit
1696 * put a block around free() and malloc() in wrapper functions
1697 * ditto for glob()/globfree(), regcomp()/regfree(), fdopen()/fclose()
1698 - i.e. avoid corrupting the heap from a signal handler -
1699
17001.1.13:
1701 * optimized the size of the configure script somewhat
1702 * modify the compile and hash test scripts
1703 * read '\0's in sh_unix_getline
1704 * exponential schedule for connection attempts
1705 * make stealth working properly with signed files
1706 - config file should be signed now before embedding in picture -
1707 * fix a race in using signed files
1708 * updated err messages for PWNULL, GRNULL
1709 * add missing shell script for test 11
1710 * add mandatory source file/line info with -p debug
1711 * add mandatory source line info with BADCONN
1712 * fix a latex error in the manual
1713
17141.1.12:
1715 * debug output to console if compiled with --enable-debug and
1716 running as daemon
1717 * make reportonlyonce=true the default
1718 * make sure state changes of a file are always reported, even
1719 with reportonlyonce=true
1720 * Linux kernel modules (samhain_hide, samhain_erase)
1721 * fixed incorrect return value of sh_util_flagval
1722 * fixed an error in sh_files.c: happens with -t init and first
1723 file that is checked does not exist
1724 * revised install/uninstall targets in the Makefile
1725 * module to check for clobbered kernel syscalls (tested on Linux 2.2)
1726 * more diagnostic error messages in sh_gpg.c
1727 * more diagnostic error messages in sh_mail.c
1728 * error in mail.c fixed
1729 (address -> address_list[i] for multiple recipients)
1730 * docs updated, better(?) explanation of signed files
1731 * skip over path in gpg checksum output
1732 * check client name against IP address and FQDN
1733 * fix for --disable-* in config file
1734 * fixed a server crash (MSG_TCP_OKMSG without arg)
1735 if the server is run with debug level output threshold
1736 * catch EAGAIN in sh_gpg.c pipe reader
1737 * fix the 'external logging' test to make it work on BSD
1738 * error message if no local path to init DB
1739 * check for i86/Solaris in configure (vsnprintf prototype)
1740 * make SRP the default
1741
17421.1.11:
1743 * make log file verification more convenient
1744 * fix problem with message classes in stealth mode
1745 * linux: do not try to read file attributes for devices
1746 * handle the root directory correctly (avoid "//" in listing)
1747 * fix problems with blockin on FIFOs/char dev
1748 pointed out by I. Rogalsky (rog@iis.fhg.de)
1749 - open in nonblocking mode for read, then set to blocking
1750 - open file only if regular
1751 * fix alignment in memory profiler
1752
17531.1.10:
1754 * minor code cleanup
1755 * fix an error in trustfile.c (handling of empty/incomplete
1756 group entries in /etc/group, bug report by A. Capriotti )
1757
17581.1.9:
1759 * compatibility option for old behaviour (plain hash instead
1760 of HMAC, ECB instead of CBC mode)
1761 * use CBC rather than ECB mode for encryption
1762 * use HMAC-TIGER for message authentication codes
1763 * handle NULL data in sh_tiger_hash
1764 * option to set syslog facility (default is LOG_AUTHPRIV)
1765 * longer timeout (300 sec) on /dev/random if no /dev/urandom
1766 * fix minor output error with stealth option
1767 * option not to log names of config/database files on startup
1768
17691.1.8:
1770 * fix error in syslog routine
1771 * fix missing 'test' in configure.in
1772 * fix error in replace_tab() in sh_html.c
1773 * fix minor memory leak in sh_util_regcmp()
1774
17751.1.7:
1776 * timeout on read_mbytes (from /dev/random; fallback to /dev/urandom)
1777 * fix for FreeBSD: ut_user -> ut_name in sh_utmp.c
1778 * fix for Alpha: consider $ac_cv_sizeof_unsigned_int_ in configure.in
1779 * fix for Alpha: format string in sh_tiger0.sh
1780 * on Linux, now compiles cleanly with
1781 -Wall -W -Wstrict-prototypes -Wcast-align
1782 * fix problem with recursion depth
1783 (pointed out by Vic <hvicha@mail.ru>)
1784 * #include "sh_tools.h" in sh_unix.c and fix the
1785 --with-timeserver option (reported by Vic <hvicha@mail.ru>)
1786 * place read_port(), MSG_TCP_NETRP outside ifdefs
1787 * close fd/zero skey before execve
1788 * verify client name against socket peer
1789 * ... with configureable error priority
1790 * use strcmp() rather than strncmp() in search_register()
1791 * fix race between lstat() and open() for checksum
1792 (reported by dynamo <dynamo@ime.net>,
1793 JJohnson <JJohnson@penguincomputing.com>)
1794 * enable globbing for filenames
1795 * fix Solaris problem: siginfo_t may be NULL
1796 * fix missing SL_EBADGID in tf_trust_check
1797 * test case for external scripts, fix flushing pipe
1798 * fix a typo in sh_ext_type
1799 * do an fdexec w/checksum on Linux if calling external program
1800 * even safer tmp file creation
1801 * allow db update
1802 * fix compile options for --enable-debug
1803 * fixed a spelling error in the output
1804 * test program for full CS support (config/database download)
1805 * tell which file is searched for cs download
1806
18071.1.6:
1808 * fix bug in sh_readconf_line (segfault on erroneous config lines)
1809
18101.1.5:
1811 * sh_unix.c: sh_unix_getinfo_attr: f -> flags
1812 * use gettimeofday as last resort
18131.1.4:
1814 * fix AIX compiler warning in sh_forward (cast arg1 of sh_tiger_hash
1815 to (char *)
1816 * configure: add static link flags for some more os (from tar)
1817 * don't strip twice (some stupid systems abort)
1818 * fix for reading from /dev/random on non-Linux systems (untested)
1819 * sh_mail.c: end all message lines with \r\n
1820 * stealth: ignore \r, \"
1821 * take out tracing from --enable-debug (presently useless anyway)
1822 * fix some remaining cleartext with debug && stealth combined
1823 * fixed a small memory leak in sh_err_log.c
1824
18251.1.3:
1826 * fixed circular logic in taus_seed() (fallback method only)
1827 * fix for missing _SC_OPEN_MAX (runaway close())
1828
18291.1.2:
1830 * implement message classes
1831 * let server recognize client message severity and class
1832 * secondary log server
1833 * keep database in memory (allows to close file
1834 if retrieved from server)
1835 * encrypt client/server communication
1836
18371.1.1:
1838 * Compilation problems with native Solaris compiler fixed
1839 * fill in euid/ruid variable
1840 * manual.pdf --> MANUAL.pdf
1841 * debug sh_util_formatted()
1842 * http refresh 120sec for server stat page
1843 * trace/debug options
1844 * fixed problem with utmp.c options
1845 * fixed problem with sh_mail_setaddress
1846 * option for custom message header
1847 * fixed problem in compdata
1848 * fixed problem in mail verification
1849 * remove eventual trailing '/' in file names
1850 * fixed problem with report string for modified files
1851 * option to report in full detail
1852
18531.1.0:
1854 * Move error messages to catalog
1855 * Make error message format more uniform
1856 * Wrap sytem calls that could be interrupted by signals
1857 * Warn on append to database
1858 * Option for full details on mod. files
1859 * Option to report only once on mod. files
1860 * Generally speaking, major modifications with potential new bugs
1861
18620.9.5:
1863 * sh_hash.c: fixed erroneous checksum for config file
1864 * sh_html.c: fixed erroneous timestamp (last)
1865 * sh_tools.c: fixed connect_port (set port for cached address)
1866 * sh_srp.c: fix for '00' (='\0') in pw
1867 (last two fixes by Andreas Piesk)
1868
18690.9.4:
1870 * samhain.c: fcntl(1, ..) -> fcntl(2, ..)
1871 * sh_hash.c: copy 12 instead of 10 byte for c_attributes
1872 * 'empty directory' WARN -> INFO
1873
18740.9.3:
1875 * FreeBSD fixes:
1876 - c_random.sh: make sure /dev/random provides something
1877 rather than nothing
1878 - check for <netinet/in.h> and include it
1879 - include <sys/types.h> early
1880 - sh_utmp.c: fixed an occurence of ut_user
1881 - sh_utmp.c: #ifdef HAVE_UTTYPE static char terminated_line #endif
1882 - sh_forward.c: EBADMSG -> ENOMSG
1883 * sh_unix.c: check return value of gethostbyname
1884 * sh_entropy.c: fallback on /dev/urandom if /dev/random blocks for
1885 more than 30 sec
1886 * ... and fix the timestamp format ...
1887
18880.9.2:
1889 * ISO 8601 timestamps
1890 * Bugfix in sh_utmp (timestring overwrite)
1891 * don't use siginfo_t on Linux (garbage as of 2.2.14)
1892 * check for Linux capabilities bug when dropping root
1893 * include README for gcc compiler bug (pointed out by A. Piesk)
1894 * explicitely set -fno-strength-reduce with gcc
1895 * fixed ignoring missing files with the IgnoreAll policy
1896
18970.9.1:
1898 * more ext2flags (breaks backward database compatibility on Linux)
1899 * IgnoreAll policy modified - missing/added files reported with
1900 SeverityIgnoreAll (to handle files that may or may not be present)
1901 * Check all files, not only regular ones
1902 (bug in sh_files, originally introduced because checksum of
1903 regular files only is computed)
1904
19050.9:
1906 * use O_NOATIME if supported
1907 * --with-nocl takes argument (PW to re-enable CL parsing)
1908 * no daemon mode if initializing database
1909 * fixed segfault in yule with 'unknown file type' request
1910 * enlarged MAX_GLOBS 24 -> 32 and made the array linear
1911 * server uses last registry entry for any given client now
1912 * deploy.sh script to deploy clients to remote hosts
1913 * enhanced signal handling: SIGUSR1/SIGUSR2/SIGABRT/SIGQUIT/SIGHUP
1914 * allow y/Y/n/N for login monitoring (in addition to 0/1)
1915 * external logging scripts/programs
1916 * trustfile.c: define STICKY on Linux
1917 * reset signal mask when initializing
1918 * EINTR_RETRY wrapper
1919 * slib: sl_read, sl_write EINTR update
1920 * use sstrip when installing
1921 * more compact database format (breaks backward database compatibility)
1922 * larger download packets
1923 * TcpFlags unsigned char
1924 * cast to (char *) head in write_port
1925 * m(un)lock cast to (char *)
1926 * (1 << 31) --> (1UL << 31)
1927 * support e2fs attributes on Linux
1928 * fixes for AIX and Solaris native compilers
1929 * fixed Makefile for non-GNU make (pattern rule --> suffix rule)
1930
19310.8.1:
1932 * fixed 'is_numeric()' return value
1933
19340.8:
1935 * added option for static compilation
1936 * added option for stealth with non-hidden config file
1937 * added option for disabling command line parsing
1938 * all options can be set in the configuration file now
1939 * stealth: xor strings in database file
1940 * fixed bug in mailer code ([] in HELO)
1941 * print timestamp when asking for key
1942 * 'micro' stealth mode (no hidden configuration file)
1943 * simplified slib
1944 * int->long for uids/gids in trustfile
1945 * moved mailkey from data to code
1946 * shell script for entropy (stronger default key)
1947 * general code cleanup
1948 * better error checking in client/server code
1949 * detect out-of-sync messages
1950 * check state across protocol passes in server
1951 * make sure authentication is mutual
1952 * file download to client
1953 * reserve six file descriptors in server
1954 * mlock queue buffer if LOG_KEY
1955 * improved robustness in bignum (don't fail on free())
1956 * per-directory recursion depths
1957 * RFC821 compliance: empty line at end of header, To field, Date field
1958 * RFC821 compliance: make e-mail transfer relieable
1959 * fix detection of hardlink changes
1960 * checksum verification for calling gpg/pgp
1961 * CL option '-S' not required for server-only binary
1962 * eliminate CL options that may leak privileged information
1963 if the program is SUID
1964 * skip leading white space in configuration file
1965 * allow nested conditionals in configuration file
1966 * allow whitespace before and after '=' in configuration file
1967 * don't leak file descriptors to child processes
1968 * make message transfer relieable
1969 * always report error on abnormal termination of connection
1970
19710.7:
1972 * support for alpha machines
1973 * stop TCP logging after exit message
1974 * limit connections in server (DoS attacks)
1975 * move string handling to slib
1976 * move file handling to slib
1977 * timestring without space
1978 * changed report format
1979 * SUID bugfix - use euid when checking logfile ownership
1980 * SUID bugfix - get root for lstat()
1981 * SUID bugfix - get root for opendir()
1982 * store number of hardlinks
1983 * send no message if polling empty queue
1984 * include tiger 64-bit implementation (portability)
1985 * codes for error conditions
1986 * mail check: handle multiple, overlapping audit trails
1987 * security fix: no append to database if SUID
1988 * fix sh_entropy.c (BUFSIZ -> BUF_ENT)
1989 * read command line before config file
1990 * PGP signing of config/database files
1991 * checksum of config file reported
1992 * checking for attributes only
1993
19940.6:
1995 * more syslogish priority specification
1996 * fixed segfault in sh_mem_check, apparently this was also
1997 the reason for the segfault in atexit()
1998 * allow for compilation with SRP authentication
1999 * fixed tiger checksum computation
2000 * fixed broken logfile verification for second and further audit trails
2001 * test program added
2002 * documentation improved
2003 * sh_forward_make_client: bug fixed in[8]->in[i]
2004 * sh_error.h: fixed missing #include <errno.h>
2005 * configure.in: fixed missing strerror() test
2006 * sh_utmp.c: check logins/logouts
2007 * check for missing files
2008 * only reset access time if necessary
2009 * O_EXCL in open()
2010 * limit environment to TZ in execve (sh_entropy.c, not used on Linux)
2011 * use trustfile() to determine whether logfile dir is trustworthy
2012 * strip head instead of tail for numerical address
2013 * store messages in fifo during log server outage
2014 * re-init session key after server outage
2015
20160.5 (21-12-1999):
2017 * added option for mail relay server
2018 * own popen() implementation in sh_entropy() (portability)
2019 * fixed error in sh_util_basename() (returned NULL for base == "/")
2020 * fixed segfault in strlcpy/strlcat (check for src == NULL)
2021 * FILENAME_MAX -> PATH_MAX (HP-UX 10.20)
2022 * use TIGER for 32-byte compilers (portability)
2023 * fixed hash function (do not include stdlib.h)
2024 * flush buffer before write in mailer code (IBM AIX 4.1)
2025 * make mailer code non-forking
2026 * cast argument of is...() to int (portability)
2027 * return() after _exit() for braindead compilers (portability)
2028 * optionally use inet_addr (portability)
2029 * check for broken mlock() (HP-UX 10.20)
2030 * minor code cleanups
2031 * fixed incorrect size of munlock()'ed memory in sh_error_string()
2032 * fixed a buffer overflow in the error printing routine
2033 * fixed a buffer overflow in sh_util_safe_name ()
2034 * implement SRP session key exchange
2035 * implement client/server facility
2036 * implement @host/@end construct in configuration file
2037 * preferably use uname(), and do gethostbyname() for FQDN
2038 * make vernam cipher base numeric
2039 * make OnlyStderr private in sh_error
2040 * test -e "/dev/random" --> test -r "/dev/random" (portability)
2041 * check for libsocket (portability)
2042 * add #defines for IPPORT_SMTP, IPPORT_TIMESERVER (portability)
2043 * eliminate superfluous /proc test
2044 * some unreachable code removed
2045 * cast to (byte*) replaced by cast to (word64*) in sh_tiger_hash()
2046 * check for setresuid() if no seteuid() (HP-UX 10.20)
2047
20480.4 (09-11-1999):
2049 * make sure output from /dev/random has no NULL's
2050 * one-time pad encryption for emailed keys
2051 (better than nothing ...)
2052
20530.3 (04-11-1999):
2054 * logfile readable for group
2055 * verify signatures for any file
2056 * signature block in tarball
2057 * use select() in time server routine
2058 * better protection for session keys (mlock)
2059
20600.2:
2061 * fixed incorrect man page
2062 * fixed incorrect example rc file
2063 * recursive error logging should work now
2064
20650.1:
2066 * initial release -- on Samhain 1999, of course
2067
2068development start:
2069 * probably 29-06-1999
2070
Note: See TracBrowser for help on using the repository browser.