Teddy Reed
6a3002a2c6
Remove patching for sysroot
2015-05-08 19:16:33 -07:00
Teddy Reed
1de7cfb331
Use CMake find_package for python, fix ifaddrs on FreeBSD
2015-05-08 18:49:01 -07:00
Teddy Reed
434ace85d5
Merge pull request #1113 from theopolis/http_tests
...
[Fix #1048 ] Cleaner additional tests
2015-05-08 11:54:25 -07:00
Teddy Reed
c7b9114975
Towards building on FreeBSD/ports
2015-05-07 23:12:30 -07:00
Teddy Reed
311f9bd55f
Cleaner additional tests
2015-05-07 22:07:14 -07:00
Teddy Reed
70e3c190bb
Easier build host-based sync
2015-05-05 15:15:45 -07:00
Teddy Reed
cdb112eccb
Add a CMake variable for packages
2015-05-04 17:09:09 -07:00
Teddy Reed
893f678403
Linting and asan fixups
2015-05-04 11:00:21 -07:00
Teddy Reed
5e08b8bf60
Simpler RHEL6 provision
2015-04-24 14:25:59 -07:00
Teddy Reed
8930f9e692
Documentation updates, separate config/logging pages
...
Mostly minor documentation/wiki/guide fixes.
The breaks down the "using osqueryd" page into more of a summary
of what the daemon does from a schedule/logging perspective.
The bulk of the "using osqueryd" page now exists in the configuration
deployment page and the new "logging" deployment page.
2015-04-18 22:09:25 -07:00
Javier Marcos
4763d2a5ff
Removing commented ifdef
2015-04-15 20:46:06 -07:00
Javier Marcos
7a2716b4b6
Adding distro and version to osquery_info
2015-04-15 16:34:12 -07:00
Teddy Reed
338a14e8db
[ Fix #991 ] Use separate targets for opt/debug builds
2015-04-14 22:25:00 -06:00
Teddy Reed
b7d060bc9d
Merge pull request #985 from theopolis/rhel_clang3.4
...
Cross compile with LLVM 3.4 using gcc 4.9 on RHEL6.5
2015-04-14 19:54:59 -07:00
mike@arpaia.co
233f672655
Request template classes
...
As discussed in the comments of #961 . Included is an HTTP transport
(which works for HTTPS also) and a JSON serializer.
2015-04-13 10:32:56 -07:00
Teddy Reed
595e94547d
Build LLVM 3.4 using gcc 4.9 on RHEL6.5
2015-04-13 09:19:09 -07:00
Teddy Reed
d30455893f
Merge pull request #941 from theopolis/rhel_fun
...
[Implement #926 ] RHEL6 provisioning
2015-04-08 14:37:48 -07:00
Teddy Reed
41ce00e573
RHEL6 provisioning
2015-04-06 23:43:01 -07:00
Teddy Reed
2df9a6558e
Add some osquery-theme to API docs
2015-04-06 01:21:10 -07:00
Javier Marcos
060f95a975
Fix broken everything, oops
2015-04-03 17:18:27 -07:00
Javier Marcos
b0e69b7074
Support for RHEL building
2015-04-03 16:53:06 -07:00
Theodore M. Reed
4803b441a2
Move preprocessor defines before compile flags
2015-03-06 12:11:21 -08:00
Teddy Reed
0673900837
Registry modules
2015-03-04 20:33:10 -08:00
Teddy Reed
99beceaef6
Switch lazy=active concept for registry setup
2015-03-04 18:51:41 -08:00
Teddy Reed
6ad580a5de
Merge pull request #811 from theopolis/python_tests
...
Organizing osquery python testing
2015-03-02 22:16:20 -08:00
Teddy Reed
41ab6f3161
Organizing osquery python testing
...
Move /osquery/python_tests/* to /tools/tests
Move test_extensions process controls to test_base module
Use test_base.Testing to implement each module's main()
- This applies a default argparse with --build
- test_base.ARGS is the argparse-parsed namespace
- Use test_base.ARGS.build for the platform-specific dir
Move WatchdogTests to /tools/tests/test_watchdog.py
2015-03-02 16:23:22 -08:00
Teddy Reed
d68bb686a9
Use base tag for SDK version
2015-03-02 16:21:15 -08:00
Teddy Reed
dcff476807
Respect external CMake C/CXX flags
...
Use osquery-C flags for every object compile.
Add CXX flags without conditional logic.
Move the `python-thrift` target into the CPP generation command.
Remove verbose option for extensions python unittest.
Add thrift as a pip install requirement (for unittests).
2015-03-01 21:19:31 -07:00
Teddy Reed
a29addba61
Extensions integrations testing
2015-02-22 22:56:18 -07:00
Teddy Reed
59a5e017b2
Move sync to CMake and remove generated mkdir
2015-02-19 17:00:43 -08:00
Teddy Reed
6994361f26
Improved logging control
2015-02-16 14:42:22 -08:00
Teddy Reed
aa078895d3
CentOS7 clang without fortify
...
1. _FORTIFY_SOURCE=1 will cause readlink/recv to hang when using
heap-allocated target buffers.
2. Install boost/rocksdb/thrift using source, similar to CentOS6.5
3. Remove boost::regex, prefer extended std::regex without static
link to boost_regex.
2015-02-13 12:47:30 -08:00
Teddy Reed
229bffa033
Add explicit security/hardening flags to CMake
2015-02-11 17:25:42 -07:00
Teddy Reed
9eeda1f02c
Safer compile flags
2015-02-11 10:45:04 -08:00
Teddy Reed
4f10a35f80
Adding thrift extension API
2015-02-06 09:40:49 -08:00
Teddy Reed
ed9bae29b7
Organizing headers/build for SDK
2015-02-03 14:59:32 -08:00
Teddy Reed
e37b16ce2f
Clang analyze fixups for Linux
2015-02-01 05:10:57 -07:00
Teddy Reed
ab08bc76a8
Towards a new registry
2015-02-01 02:20:09 -07:00
Teddy Reed
d8dddb2712
Add make sanitize
2015-01-31 03:26:28 -08:00
Teddy Reed
c4fb5d45ed
Added make analyze (clang-analyze) and fixed output
2015-01-31 03:09:30 -08:00
Teddy Reed
f3341c0f72
Use clang for C/C++ compiler
2015-01-17 18:44:17 -08:00
Javier Marcos
a324a22fbc
Fix for #611 , CentOS compilation
2015-01-17 17:23:41 -08:00
Teddy Reed
10fafa6299
Support make package
2015-01-10 23:02:32 -08:00
Teddy Reed
c5cbf992ad
Remove installed unwind headers
2015-01-10 20:38:31 -07:00
mike@arpaia.co
9bdd6fe7a3
removing unwind dep in CMakeLists
2015-01-10 13:03:23 -07:00
Teddy Reed
18d93d8cbc
Building DEB/RPM package dependencies
2015-01-09 12:24:54 -08:00
Teddy Reed
a4e236e16a
Simpler OSX package building
2015-01-07 20:01:33 -08:00
Teddy Reed
45ee10f162
More complete make package
2015-01-07 16:07:19 -08:00
Norm MacLennan
38447838db
merging upstream cmake changes
2015-01-05 17:43:07 -05:00
Teddy Reed
d2cea32644
Use CMake find_library for dependencies
2015-01-05 08:32:05 -08:00
Norm MacLennan
a6b769b6f4
a table to show apt package sources
2015-01-04 19:44:45 -05:00
Teddy Reed
ed00c95dca
Support centos/ubuntu-specific tables
2014-12-31 09:38:18 -08:00
Teddy Reed
20259af57d
[ Fix #563 ] Use force_load instead of all_load
2014-12-31 08:32:29 -08:00
Teddy Reed
914ae37a72
Move CMakeLibs and valgrind supp file
2014-12-31 08:32:23 -08:00
Teddy Reed
7d260d3c05
Cleanup cmake files
2014-12-27 22:55:08 -08:00
Teddy Reed
94811f3ee8
Removed 'core' tables as a build dependency
2014-12-25 12:46:59 -08:00
Theodore M. Reed
b2be1fa383
Whole link tests and refactor flags_test
2014-12-23 20:38:16 -08:00
Theodore M. Reed
53d683a3b3
Remove tables dependency from CMake build
2014-12-23 14:37:07 -08:00
Teddy Reed
b7765a6af0
Codemod to improve include search paths for includes
2014-12-03 15:31:09 -08:00
Teddy Reed
343cdf8405
Organize /tools
2014-12-02 21:16:24 -08:00
Teddy Reed
38bc5542b3
Towards a more universal darwin package
2014-11-22 17:42:02 -08:00
Teddy Reed
011c0f0d47
Support at least darwin/OSX 10.9+
2014-11-20 18:02:38 -08:00
Li-Wen Hsu
1c275ea197
Use dynamic linking
2014-11-19 05:08:32 +08:00
Li-Wen Hsu
f9c197f7da
Remove duplicated code in compiler & linker flags setup
2014-11-17 05:09:38 +08:00
Li-Wen Hsu
c00074e117
linux/inotify_tests.cpp is Linux only
2014-11-17 04:27:45 +08:00
Li-Wen Hsu
8138d8c193
Set flags for FreeBSD's compiler and linker
2014-11-16 01:41:50 +08:00
Teddy Reed
b419c79791
[ Fix #386 ] This is a hack to fix Ubuntu unwinding
2014-11-12 17:12:37 -07:00
Teddy Reed
525a3b79a0
Tons of new build features
...
* The OS/DISTRO are available as defines when writing tables:
UBUNTU, UBUNTU_14_04, UBUNTU_12_04
CENTOS, CENTOS_6_6
DARWIN, DARWIN_10_10, DARWIN_10_9
* The table generation tooling now grabs virtual tables templates
from ./osquery/tables/templates/<name>.cpp.in.
* The table generation tooling will detect reserved column names.
* suid_bin uses the new UBUNTU to restrict calls to root (fix #362 ).
2014-11-12 00:57:47 -08:00
mike@arpaia.co
89222fe558
make deps warning shouldn't fatal
2014-11-11 10:59:42 -05:00
mike@arpaia.co
898c6e7a40
Revert "removing make deps check, as it causes automated builds to fail"
...
This reverts commit acf02b679d
.
2014-11-11 10:55:04 -05:00
mike@arpaia.co
acf02b679d
removing make deps check, as it causes automated builds to fail
2014-11-11 10:53:48 -05:00
mike@arpaia.co
9effc14903
FindBoost is busted
2014-11-10 16:14:48 -05:00
Teddy Reed
b77406b122
[ Fix #367 ] Check RPMTAG class before cast
2014-11-09 02:07:49 -08:00
Teddy Reed
f7667ec440
Remove Threads requirement, cleanup flags
2014-11-09 00:00:57 -08:00
Teddy Reed
62d6472cfe
Rethinking some build improvements
2014-11-08 19:28:35 -08:00
Teddy Reed
422cdbb3e9
Change make format to use git-clang-format
2014-11-02 11:30:56 -08:00
Teddy Reed
eb240ac527
RPM table and more robust Linux building
2014-10-31 21:59:10 -07:00
mike@arpaia.co
beeb6d827f
moving make format to cmake
2014-09-23 23:38:23 -07:00
mike@arpaia.co
466df023ef
makefile cleanups
2014-09-23 22:06:32 -07:00
mike@arpaia.co
7ca879215f
moving things from Makefile to CMake
2014-09-23 20:12:53 -07:00
mike@arpaia.co
69ed444594
checking for libraries
2014-09-23 19:44:58 -07:00
Teddy Reed
d52248801a
Use the standard BUILD_SHARED_LIBS variable
2014-09-22 22:29:44 -06:00
mike@arpaia.co
4218a4c2ab
cmake cleanups
2014-09-22 21:23:16 -07:00
mike@arpaia.co
1e774e50bf
static build on OS X and Linux
2014-09-22 19:27:19 -07:00
mike@arpaia.co
fc324b929f
Revert "build shared by default"
...
This reverts commit 90703b95f0
.
2014-09-22 17:27:57 -07:00
mike@arpaia.co
90703b95f0
build shared by default
2014-09-20 18:53:49 -07:00
mike@arpaia.co
20bbef53b6
Cross platform build environment maker
...
Currently works on Ubuntu 14.04 and Mac OS X 10.9. There are more
supported operating systems coming soon to a theater near you.
2014-09-20 16:01:47 -07:00
mike@arpaia.co
e838110e84
Moving header to include
2014-09-12 17:50:03 -07:00
Mike Arpaia
db0f0105dd
Revert "Skip tests when making 'fast'"
2014-09-09 21:37:08 -07:00
Teddy Reed
2e150ef8a9
Skip tests when making 'fast'
2014-09-09 16:25:22 -07:00
Teddy Reed
26e83f8ee9
Merging for linux build and libosquery compiling options
2014-09-08 17:17:30 -07:00
Teddy Reed
7e470747b4
Moving sublibs to single libosquery
2014-09-08 01:58:29 -07:00
Teddy Reed
4ffd184eaf
Changes for Linux (Ubuntu 14.04) build
2014-09-05 10:58:58 -07:00
mike@arpaia.co
66a2a6fdec
Fix performance issue with the disk serializer
...
This is the issue noted in #76 . Keeping all historical results of
queries in the HistoricalQueryResults struct makes serializing and
deserializing those structs very, very slow as time goes on. By only
storing the last execution of the query, we keep the performance
constant, but we kill the feature where osquery can rebuild timelines
without accessing logs. After talking it over, we decided that this
isn't actually that big of a deal because, if you really wanted to
rebuild the old data, you should be able to process the logs, similarly
to bin log replication in MySQL.
2014-09-02 13:13:12 -07:00
mike@arpaia.co
b1291879f1
Moving osquery cmake code into the source tree.
...
I like the pattern of the root CMakeLists.txt being the parent file
which sets global parameters and the children doing their level of
compilation.
I also updated the OS X pkg creator.
2014-09-02 01:00:58 -07:00
mike@arpaia.co
700a779b94
cleaning up the root CMakeLists.txt
2014-08-30 03:40:26 -07:00
mike@arpaia.co
0e806eff83
Proper ARC in Objective-C++ code
2014-08-30 00:22:26 -07:00
mike@arpaia.co
d203e1766c
xcode build
2014-08-26 14:39:02 -07:00
mike@arpaia.co
9451cef6e5
Deploy infrastructure for OS X
2014-08-20 00:47:14 -07:00
mike@arpaia.co
7a56756073
moving sqlite to third-party
2014-08-11 17:37:49 -07:00
mike@arpaia.co
b23afd126b
build infra for third-party code
2014-08-11 16:46:26 -07:00
mike@arpaia.co
2ac9628ead
adding the filesystem component to the static/shared libs
2014-08-06 17:44:37 -07:00
mike@arpaia.co
e261f1b6d4
more cleanups
2014-08-05 02:21:24 -07:00
mike@arpaia.co
3a8d047e9c
readFile function
2014-08-04 11:06:28 -07:00
mike@arpaia.co
73a32b7294
Initial commit
2014-07-30 17:35:19 -07:00