Commit Graph

17 Commits

Author SHA1 Message Date
Brian Cox 33e8f4d76b Remove static direct i/o buffer & blocksize cfg option. 2016-07-21 20:22:52 -07:00
Brian Cox 2d49bf6630 Report an error if requested feature isn't available on current platform -- SMTP mail, syslog, direct i/o hashing. And limit direct i/o to Linux for now, since elsewhere it either doesn't work the way we need it to (e.g. OSX, FreeBSD) or hasn't been tested adequately. 2016-07-09 10:49:14 -07:00
Brian Cox b410bdf87f Merge branch 'master' of https://github.com/brc0x1/tripwire-open-source 2016-07-03 14:30:53 -07:00
Brian Cox c4440c5d29 Make direct i/o option work properly (ie don't use fread(), and use full block size on EOF), & rename it to HASH_DIRECT_IO for clarity 2016-07-03 14:29:05 -07:00
Brian Cox 0d8bdcc4d8 Support native-style paths on DOS/DJGPP 2016-06-29 21:02:12 -07:00
Brian Cox 207189dafd Update platform macros in platform.h, and use them instead of compiler-defined OS macros. 2016-06-23 23:12:22 -07:00
Brian Cox 3135aaea4f More dead code removal: Remaining MAPI stuff, & integration code for the long-defunct GeoPlex/GMMS. 2016-06-22 23:45:46 -07:00
Brian Cox a2f9fa4e06 Remove old+unused MAPI stuff 2016-06-19 15:37:44 -07:00
Brian Cox bb863522f2 [AROS] hide interactive passphrases; delete temp files after use; validate temp dir even if config value isn't set. 2016-06-12 17:27:14 -07:00
Brian Cox 9214316bbd Align buffer on page boundary if user enables HASH_DIRECT (formerly DIRECT_IO); let user specify num blocks per read. 2016-05-16 19:32:38 -07:00
Brian Cox eaca9fcedf Support posix_fadvise() where available; optionally enable O_DIRECT/F_NOCACHE if DIRECT_IO=true in tw.cfg; fix internal naming of update 'secure mode' flag for clarity. 2016-05-05 00:19:56 -07:00
Brian Cox 728795af3d Replace tabs with 4 spaces in all remaining OST code, since this inconsistency can now result in 'misleading indentation' warnings in GCC 6.0+. 2016-04-23 00:33:17 -07:00
Brian Cox 2cff64ebe7 Merge branch 'master' of https://github.com/brc0x1/tripwire-open-source 2016-04-11 11:46:42 -07:00
Brian Cox 12cef61f40 Support MAILFROMADDRESS, per longstanding user requests. Documented in twconfig man page. 2016-04-11 11:43:45 -07:00
Brian Cox da16d91146 Add option to show hashes as hex instead of base64. Siggen already provided this. 2016-04-09 16:36:39 -07:00
Brian Cox e71023730e Add Posix<-->Native path conversion, and handle absence of Unix unlinked-but-open tempfile trick on AROS 2016-04-01 18:01:59 -07:00
Ken Westin c8dc58df50 Open Source Tripwire 2.4.2.2
Initial commit of code from Sourceforge repository.
2015-05-03 22:26:18 -07:00