Commit Graph

1549 Commits

Author SHA1 Message Date
Mitchell Grenier
5df58decc7 Merge pull request #770 from jedi22/add_file_event_tables
Added ability to specify files to watch with wildcards
2015-02-19 13:19:20 -08:00
Mitchell Grenier
182c69d4af Added ability to specify files to watch with wildcards 2015-02-19 12:43:23 -08:00
Mike Arpaia
843dc63fc9 Merge pull request #780 from marpaia/fix-778
add version of osquery to sync tarball
2015-02-19 12:23:07 -08:00
mike@arpaia.co
f3a047fadc add version of osquery to sync tarball
```
[root@localhost vagrant]# make sync
mkdir -p build/sync
rm -rf build/sync/osquery*
cp -R osquery build/sync
cp -R include/osquery build/sync
cp -R build/centos6/sdk/generated/ build/sync/osquery
cp osquery.thrift build/sync/osquery/extensions
find build/sync -type f -name "CMakeLists.txt" -exec rm -f {} \;
mkdir -p build/sync/code-analysis
cd build/sync/code-analysis && SDK=True cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ../../../
CMake Warning at CMakeLists.txt:95 (message):
  Requested dependencies may have changed, run: make deps

-- Building for CentOS
-- Found components for DL
-- Found readline library
-- Looking for include files libunwind.h, unwind.h
-- Looking for include files libunwind.h, unwind.h - not found
-- Found RocksDB
-- Thrift version 0.9.1
-- Found library dependency /usr/lib/x86_64-linux-gnu/libboost_thread.a
-- Found library dependency /usr/lib/x86_64-linux-gnu/librt.a
-- Found library dependency /usr/lib/x86_64-linux-gnu/libboost_system.a
-- Found library dependency /usr/lib/x86_64-linux-gnu/libboost_filesystem.a
-- Configuring done
-- Generating done
-- Build files have been written to: /vagrant/build/sync/code-analysis
SDK=True
python tools/codegen/gentargets.py -i build/sync/code-analysis/compile_commands.json > build/sync/osquery/TARGETS
cd build/sync && tar -zcf osquery-sync-1.4.1-29-g472c605.tar.gz osquery
The output file is located at build/sync/osquery-sync-1.4.1-29-g472c605.tar.gz
```
2015-02-19 10:43:08 -08:00
Teddy Reed
451ef686ed Building example extension with SDK 2015-02-18 20:11:00 -08:00
Mike Arpaia
472c6052ef Merge pull request #776 from facebook/marpaia-patch-2
include the OSQUERY_BUILD_SDK flag when compiling the SDK
2015-02-18 16:16:25 -08:00
Mike Arpaia
441fd17e58 include the OSQUERY_BUILD_SDK flag when compiling the SDK 2015-02-18 16:13:52 -08:00
Teddy Reed
440268b000 Update README.md
Add the logo and cleanup README introductions.
2015-02-18 12:51:20 -08:00
mike@arpaia.co
552a663f0d fixing teh compiler errorz 2015-02-18 10:51:26 -08:00
Mike Arpaia
e9b7cb4615 Merge pull request #727 from marpaia/sync-or-swim
syncing sdk with codemod and targets
2015-02-18 10:36:38 -08:00
mike@arpaia.co
843fe3a302 syncing sdk with codemod and targets 2015-02-18 09:02:04 -08:00
Teddy Reed
0ae7cd3cc9 Merge pull request #769 from theopolis/extension_table_socket_fix
Fix osquery_extensions listing .0 for the core
2015-02-17 19:18:49 -08:00
Teddy Reed
15c566f3b6 Merge pull request #771 from theopolis/extension_query
Add thrift 'query' endpoint
2015-02-17 19:00:32 -08:00
Teddy Reed
8aefe1a110 Add thrift 'query' endpoint
This allows extensions to execute SQL through the extensions API.
2015-02-17 18:42:09 -08:00
Teddy Reed
16832ba72c Merge pull request #766 from theopolis/logs
Improved logging control
2015-02-17 16:37:50 -08:00
Teddy Reed
a70b156d36 Merge pull request #765 from theopolis/no-site
Remove deprecated osquery.io site
2015-02-17 16:37:44 -08:00
Teddy Reed
7c8ae07559 Fix osquery_extensions listing .0 for the core 2015-02-17 16:32:26 -08:00
Teddy Reed
1f8dacec3c Add flag aliasing, logger/flag tests 2015-02-17 16:26:14 -08:00
Mitchell Grenier
dd01c67dcf Merge pull request #767 from jedi22/version_fix
Added osquery version to .version because it makes sense
2015-02-17 11:27:44 -08:00
Mitchell Grenier
e3a1c0638d Added osquery version to .version because it makes sense 2015-02-17 11:18:28 -08:00
Teddy Reed
fc64965c68 Fix ctor logger locking 2015-02-16 16:37:39 -08:00
Teddy Reed
6f155d63c5 Improve flag storage and printing 2015-02-16 16:26:06 -08:00
Teddy Reed
6994361f26 Improved logging control 2015-02-16 14:42:22 -08:00
Teddy Reed
3c36c4196b Merge pull request #731 from jedi22/wildcard_events
Added parsing of extra data along with its addition to the osqueryconfig structure
2015-02-15 19:16:54 -08:00
Teddy Reed
613c92bbe9 Remove deprecated osquery.io site 2015-02-15 17:36:54 -07:00
Teddy Reed
95dd2a808f Merge pull request #762 from theopolis/startup_items
[Fix #758] Parse startup_items Alias data
2015-02-15 16:33:39 -08:00
Javier Marcos
61ff28ec62 Merge pull request #763 from facebook/wget_and_packages
Downloading dependencies from S3
2015-02-13 19:01:10 -08:00
Javier Marcos
a9025679de Downloading dependencies from S3 2015-02-13 18:54:59 -08:00
Teddy Reed
1ea06a9d15 [Fix #758] Parse startup_items Alias data 2015-02-13 17:40:02 -08:00
Mitchell Grenier
de5ac74fab All changes addressed 2015-02-13 16:52:11 -08:00
Javier Marcos
63639ebe8a Merge pull request #761 from facebook/gcc_48_and_more_fixes
Using gcc 4.8 and fix on the provision script
2015-02-13 15:35:33 -08:00
Javier Marcos
92b1fbeb8b Using gcc 4.8 and fix on the provision script 2015-02-13 15:27:18 -08:00
Teddy Reed
f162a20ee2 Merge pull request #759 from theopolis/fix_processes
Fix getProcList indexing
2015-02-13 14:58:39 -08:00
Teddy Reed
3246b346dc Fix getProcList indexing 2015-02-13 14:38:49 -08:00
Zachary Wasserman
1f450fb1ef Merge pull request #710 from zwass/distributed
POC for client side of distributed queries.
2015-02-13 14:25:52 -08:00
Zachary Wasserman
79034111a5 POC for client side of distributed queries.
This introduces the notion of a DistributedQueryHandler that uses a "provider" to read/write requests and results to and from the master. The full flow is exercised via integration tests, and unit tests for each component.

It is intended to foster discussion around this client side interface, as well as provide a base to build from.
2015-02-13 13:01:02 -08:00
Teddy Reed
deae24b662 Merge pull request #755 from theopolis/centos7_no_fortify
Testing CentOS7 clang 3.5 without fortify
2015-02-13 12:54:35 -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
Mitchell Grenier
54ef2045e5 Made config a meyers singleton. Load should now only ever have to happen once 2015-02-13 12:32:54 -08:00
Javier Marcos
5c36e68729 Merge pull request #756 from facebook/fix_provision_package
Logic to check packages was wrong
2015-02-13 10:02:54 -08:00
Javier Marcos
13fbc6f514 Logic to check packages was wrong 2015-02-13 08:38:35 -08:00
Javier Marcos
40211f3735 Merge pull request #754 from facebook/centos7_missing_deps
Bug in provision when checking for packages
2015-02-12 20:24:21 -08:00
Javier Marcos
5da83051a4 bug in provision when checking for packages 2015-02-12 20:18:28 -08:00
Teddy Reed
265ea07ac2 Merge pull request #752 from theopolis/processes_cwd
Add 'cwd', 'root' to processes
2015-02-12 20:02:18 -08:00
Teddy Reed
340dcd775a Add 'cwd', 'root' to processes 2015-02-12 18:05:10 -08:00
Javier Marcos
738a2d5090 Merge pull request #751 from facebook/centos7_package_deps
Adding needed dependencies for packages in CentOS 7
2015-02-12 17:27:33 -08:00
Javier Marcos
431ee195b1 We need libudev for CentOS 6 2015-02-12 17:20:52 -08:00
Javier Marcos
7517af8cad Adding needed dependencies for packages in CentOS 7 2015-02-12 17:01:10 -08:00
Teddy Reed
b7160aae72 Merge pull request #750 from theopolis/file_directory
Allow file table to use a directory constraint
2015-02-12 15:57:20 -08:00
Teddy Reed
584a326f63 Merge pull request #748 from theopolis/improve_processes
[#721] Add pid constraint checking to darwin procs
2015-02-12 15:57:15 -08:00