Commit Graph

152 Commits

Author SHA1 Message Date
Brian Cox 2f41ee1e5f Merge pull request #10 from brc0x1/master
Open Source Tripwire 2.4.3.2
2017-01-31 21:35:07 -08:00
Brian Cox b69b1cf01c Use a non-default compiler list in AC_PROG_CC and AC_PROG_CXX, since autoconf/automake still doesn't know what Clang is. 2017-01-16 20:56:58 -08:00
Brian Cox 6b3b361bb2 update ChangeLog 2017-01-15 21:15:55 -08:00
Brian Cox 953c9755dc Update 2.4.3 readme with more about what's new. 2017-01-15 21:11:14 -08:00
Brian Cox b9cef48cb7 Update copyright dates, add new config options and command line args to man pages 2017-01-15 20:47:58 -08:00
Brian Cox cdc1b4d182 Update COMMERCIAL file to be more informative & remove non-working links 2017-01-15 18:06:20 -08:00
Brian Cox 0cb7989c79 Tweak a missing include 2016-12-11 00:44:06 -08:00
Brian R. Cox e7b63b6f96 Include stdlib.h in asn.cpp (non-linux build fix) 2016-12-03 16:26:11 +00:00
Brian Cox a6612ab3ab Exit instead of throwing in BERDecoder destructor; remove noexcept() stuff. 2016-12-03 15:05:50 -08:00
Brian Cox 77a8152d71 Add '--key-size' option to twadmin generate-keys mode, so you can use 1024 or 2048 bit El Gamal keys. Until now was always 1024 bit only. 2016-11-25 17:10:14 -08: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 3d304eb1af Fix a build error when building with C++11 & -Werror=terminate. Destructors are noexcept by default in C++11, which gets flagged it one spot in cryptlib code. Using noexcept(false) ought to be ok here; the exception would only happen if you had a corrupted keyfile, which is unrecoverable anyway. 2016-11-24 13:56:14 -08:00
Brian Cox aaa132d211 Support paths w/ leading double slash (per an obscure corner of the POSIX spec) on platforms that implement it, currently just Cygwin. (Cygwin uses this for UNC paths.) 2016-08-07 23:24:15 -07:00
Brian Cox 3c08babd4f Update changelog & readme to reflect 2.4.3.2 work. 2016-07-21 22:24:27 -07:00
Brian Cox 33e8f4d76b Remove static direct i/o buffer & blocksize cfg option. 2016-07-21 20:22:52 -07:00
Brian Cox ad85c15f07 Initial tweaks for RTEMS support, though linking is still a work in progress. 2016-07-10 22:33:23 -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 62590f5a49 Improve defining NSIG when it isn't already defined 2016-07-01 19:53:14 -07:00
Brian Cox cddb7387c8 Add twpolmake.pl to contrib folder 2016-07-01 19:43:00 -07:00
Brian Cox 0d8bdcc4d8 Support native-style paths on DOS/DJGPP 2016-06-29 21:02:12 -07:00
Brian Cox c18af8953c Fix error registration in db subproject 2016-06-29 18:30:15 -07:00
Brian Cox 1a5a588f0d Ok, using AC_TRY_COMPILE while configuring w/ OpenSSL fails when configuring normally (non-cross) & ssl is present. So now we use the AC_TRY_RUN if cross compiling, and assume presence otherwise (since the subsequent header exists checks fail if it's not actually there.) 2016-06-28 23:09:36 -07:00
Brian Cox 1c8ec94fd2 Don't try to use IS_xxx platform macros in cryptlib 2016-06-28 22:29:18 -07:00
Brian Cox fb1f751488 Build fixes for Android including platform macro & missing mblen() 2016-06-28 22:16:31 -07:00
Brian Cox d6eb11a311 Use AC_TRY_COMPILE instead of AC_TRY_RUN when configuring w/ OpenSSL, since we don't actually use test prog output, and the run requirement breaks cross compiling w/ OpenSSL. 2016-06-28 22:15:29 -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 9be78c1d1c More dead code removal, this time Win32-isms in logging & sockets. Also start cleaning up OS macros in platform.h. 2016-06-23 14:51:17 -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 f15ddfb76c One more install -> installer change, so make install works again 2016-06-22 00:04:05 -07:00
Brian Cox 78fdac5efc Tweak include paths so we're buildable outside of source tree. 2016-06-20 19:49:21 -07:00
Brian Cox a2f9fa4e06 Remove old+unused MAPI stuff 2016-06-19 15:37:44 -07:00
Brian Cox eec52685c4 Delete a few unused source files (package.cpp, userstring.*, fcopropsetimpl.*) to avoid confusion. 2016-06-19 15:13:05 -07:00
Brian Cox e7872f8530 Fix build number in buildnum.txt 2016-06-18 21:13:23 -07:00
Brian Cox 357e84450c Remove unused Win32 resource stuff from siggen 2016-06-18 21:12:57 -07:00
Brian Cox dbe7cae189 Rename 'install' dir to 'installer' so it doesn't confuse make dist, and include it in the make dist bundle. 2016-06-18 20:10:24 -07:00
Brian Cox b7f305aa1c Remove bin & lib dirs from git, since buildsys now creates them as needed. 2016-06-18 14:24:14 -07:00
Brian Cox f41e3e06b6 Use the right 'ar' when cross compiling, instead of always wanting to use default system 'ar'. This happened because autoconf doesn't have a builtin AC_PROG_AR macro, so we have to provide our own. 2016-06-17 20:33:10 -07:00
Brian Cox 0ee24bc84b New platform: MS-DOS/FreeDOS with DJGPP (i586-pc-msdosdjgpp). Detect & handle if sys/socket.h isn't present, which is default for DJGPP. Also handle slightly different struct stat, file type macros, absence of Posix signals. 2016-06-17 19:57:06 -07:00
Brian Cox b951838ff6 Add missing files & directories to 'make dist' 2016-06-16 23:49:41 -07:00
Brian Cox c35477359f Create bin+lib dirs if they don't exist, which gives us a working (if maybe still unpolished) 'make dist', finally. 2016-06-14 23:48:17 -07:00
Brian Cox 2bca7732f2 Buildsys tweak so 'make dist' bundles sha+md5 impls and buildnum.h 2016-06-14 02:15:32 -07:00
Brian Cox 03622ed0f0 Specify headers in makefiles, so 'make dist' knows to include them 2016-06-14 01:15:37 -07:00
Brian Cox 7ad2b52d14 Remove UCS2-related dead code, in the name of clarity 2016-06-13 20:11:13 -07:00
Brian Cox 9a3183a76c Enable unit test files moved from db folder 2016-06-13 18:31:21 -07:00
Brian Cox 7458e86e7e Move remaining *_t.cpp files from db to twtest. (Not added to build yet) 2016-06-13 17:02:09 -07:00
Brian Cox bf0c230404 Use open+readlinkat() to avoid bumping access time on symlinks (where available) 2016-06-13 16:12:19 -07:00
Brian Cox 33f695c435 Use O_NOATIME on directories too, where available, to avoid bumping dir access times during scans. 2016-06-12 18:57:23 -07:00
Brian Cox 669e4c02ea Merge branch 'master' of https://github.com/brc0x0/tripwire-open-source 2016-06-12 17:27:36 -07:00