Brian Cox
|
2a278ad29b
|
Make 'syslog not supported' a warning vs a fatal error if someone tries to use it on syslog-less platforms; clean up unit & harness tests & handle some per-platform quirks
|
2017-09-09 23:26:45 -07:00 |
brc0x1
|
79933005b7
|
Switch to rbegin() since std::string::back() is a C++11-ism
|
2017-08-25 08:12:20 -07:00 |
Brian Cox
|
236d67b941
|
Sort out a valgrind issue w/ handling TEMPDIRECTORY paths. Clean up formatting in twcmdline's FillOutConfigInfo().
|
2017-08-26 10:07:27 -07:00 |
Brian Cox
|
db60f15f23
|
Fix misspelling of 'UNKNOWN' in a constant name; add a missing bracket in twprint print-db mode help
|
2017-08-04 23:14:54 -07:00 |
Brian Cox
|
b26422fa07
|
If an exception throws out of an IC, catch it & add to the report file instead of just falling over.
|
2017-07-09 10:10:16 -07:00 |
Brian Cox
|
dae64c48ed
|
Update copyright years
|
2017-04-25 18:31:11 -07:00 |
Brian Cox
|
8ba032c424
|
Change uses of _DEBUG and _DEBUG_DB defines to be DEBUG, since that's the only symbol that gets defined by configuring with --enable-debug.
|
2017-04-12 21:44:51 -07:00 |
Brian Cox
|
9c38b49839
|
Prefer prefix ++/-- operators where possible, for performance reasons (per CppCheck)
|
2017-03-23 19:30:52 -07:00 |
Brian Cox
|
5c1cfe4702
|
Use unique_ptr instead of auto_ptr where available (and define a macro to pick which one to use); fix a few other remaining warnings.
|
2017-03-22 20:00:08 -07:00 |
Brian Cox
|
1fb5f332e6
|
For clarity, remove a bunch of IS_UNIX ifdefs, since configure.ac always defines IS_UNIX to 1 no matter the OS.
|
2017-03-15 20:31:38 -07:00 |
Brian Cox
|
d3f859bfbd
|
Address some cppcheck warnings around initializers & catching by reference
|
2017-03-15 00:47:52 -07:00 |
Brian Cox
|
f9aa5de896
|
Add ability to optionally *not* resolve uid/gid to name, to accomodate the Linux static binary vs. nsswitch name resolution issue; add RESOLVE_IDS_TO_NAMES config option to control this feature; avoid redundant lstats when turning IDs into names, since the lstat is to fetch the ID we already have; remove a bunch of unused code in UnixFSServices
|
2016-11-24 17:26:02 -08:00 |
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 |