Commit Graph

726 Commits

Author SHA1 Message Date
Teddy Reed
578035caa6 Merge pull request #412 from theopolis/build_env
Tons of new build features
2014-11-12 00:58:18 -08: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
dfa47cd7ab Merge pull request #410 from facebook/make-osx-pack
build packages without config files
2014-11-11 17:56:25 -05:00
mike@arpaia.co
535b1a0ef0 build packages without config files
If you want to manage your osqueryd config via some other means than
this package creation logic, just leave off the `-c` flag and it won't
include the config in your package. Then you can distribute the config
however you'd like.
2014-11-11 17:54:22 -05:00
Teddy Reed
3816173ae3 Merge pull request #408 from theopolis/spec_docs_examples
Table spec documentation examples
2014-11-11 11:26:27 -08:00
Teddy Reed
8e408f987e Table spec documentation examples 2014-11-11 11:26:11 -08:00
Mike Arpaia
a4444a0de4 Merge pull request #407 from facebook/nullptr-checks
removing superfluous nullptr checks.
2014-11-11 11:18:41 -05:00
mike@arpaia.co
88bec43d8a removing superfluous nullptr checks. close #404 2014-11-11 11:17:28 -05:00
mike@arpaia.co
77694a7b50 updating docs for 1.0.5 2014-11-11 11:04:53 -05: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
eb125589fb Merge pull request #406 from facebook/1.0.4-documentation
Adding the website docs for 1.0.4
2014-11-11 09:50:39 -05:00
mike@arpaia.co
4d2c2b4a95 Adding the website docs for 1.0.4 2014-11-11 09:49:50 -05:00
Mike Arpaia
e59233b305 Merge pull request #405 from facebook/centos-build
include the newer kernel headers
2014-11-11 09:31:40 -05:00
mike@arpaia.co
42b32d0bbf include the newer kernel headers. fix for #401 2014-11-11 09:28:04 -05:00
Mike Arpaia
fd363fbcdc Merge pull request #399 from vmauge/genapi_blacklist
Fix genapi.py to handle new blacklist mechanism
2014-11-11 08:20:37 -05:00
Vincent Mauge
3e9e5ffc69 Fix genapi.py to handle new blacklist mechanism
For now we generate doc for blacklist tables.
We should report those tables with a specific flag on the html output.
2014-11-11 00:51:13 -08:00
Mike Arpaia
6f6e4bfeca Merge pull request #397 from facebook/host-identifier
Added --host_identifier option
2014-11-10 16:52:01 -05:00
Bryan Eastes
ec081c9a54 Added --host_identifier option
Conflicts:
	osquery/core/system.cpp
2014-11-10 16:41:13 -05:00
Teddy Reed
08bbd47a02 Merge pull request #396 from theopolis/feature-vtable-blacklist
Support USE_BLACKLIST=1 to remove tables from release
2014-11-10 13:32:01 -08:00
Teddy Reed
8b1af689db Blacklist is now on by default 2014-11-10 13:30:38 -08:00
Teddy Reed
177229ead1 Add queries_from_config to profile 2014-11-10 13:30:38 -08:00
Teddy Reed
050e942d11 Support USE_BLACKLIST=1 to remove tables from release 2014-11-10 13:30:38 -08:00
Mike Arpaia
cbe56931ef Merge pull request #287 from astanway/master
Socket_inode and port_inode tables to map PIDs->ports via netlink inet_diag
2014-11-10 16:15:46 -05:00
mike@arpaia.co
9effc14903 FindBoost is busted 2014-11-10 16:14:48 -05:00
Abe Stanway
6a6dc8f997 linux-headers-generic 2014-11-10 15:02:31 -05:00
Abe Stanway
811d98c595 free(linkname) and no more 'self' 2014-11-10 15:02:31 -05:00
Abe Stanway
30149a70f9 Updated 2014-11-10 15:02:31 -05:00
Abe Stanway
322fde0121 Socket_inode and port_inode tables to map PIDs->ports via netlink inet_diag
Example query:
```
SELECT port.local_port,
       port.remote_port,
       port.local_ip,
       port.remote_ip,
       socket.pid,
       process.name,
       process.cmdline
       process.path
       FROM socket_inode AS socket
       JOIN port_inode AS port
       ON socket.inode = port.inode
       INNER JOIN processes AS process
       ON socket.pid = process.pid;
```
2014-11-10 15:02:31 -05:00
Teddy Reed
86d2ac208b Use leaks for OSX memory leak profiling 2014-11-10 11:34:17 -08:00
Mike Arpaia
3245e5a6cd Merge pull request #394 from wizzat/process_args
Add cmdline to darwin
2014-11-10 13:20:47 -05:00
Teddy Reed
19aa99583e Linux processes vtable use freeproc 2014-11-10 10:12:47 -08:00
Mark Roberts
dc1684fca7 Add cmdline to darwin 2014-11-10 09:36:17 -08:00
mike@arpaia.co
bd4d1dfc0f Removing superfluous logging from DBHandle. close #387 2014-11-10 12:15:35 -05:00
Teddy Reed
22cf9909ec [Fix #388] Check for 0 in profile tooling 2014-11-10 02:03:58 -08:00
Teddy Reed
bc05f5de78 Merge pull request #383 from theopolis/fix_rpm_packages
[Fix #367] Check RPMTAG class before cast
2014-11-10 01:59:13 -08:00
Teddy Reed
b0ff403d3d Fixing librpm API usage leaks 2014-11-10 01:48:07 -08:00
Teddy Reed
b2e806e453 Merge pull request #384 from ga2arch/stringstream
read the file directly into a stringstream buffer
2014-11-09 13:30:22 -08:00
Teddy Reed
ea0d210ad3 Fix newline warning in flags 2014-11-09 13:24:57 -07:00
Gabriele Carrettoni
77b521ce7b read the file directly into a stringstream buffer 2014-11-09 16:57:35 +01:00
Teddy Reed
b77406b122 [Fix #367] Check RPMTAG class before cast 2014-11-09 02:07:49 -08:00
Teddy Reed
84cc45a366 SQLite DBfile not needed 2014-11-09 01:01:17 -08:00
Teddy Reed
d7a76c6dc9 Merge pull request #381 from theopolis/feature-build-improvements
Feature build improvements
2014-11-09 00:01:19 -08:00
Teddy Reed
f7667ec440 Remove Threads requirement, cleanup flags 2014-11-09 00:00:57 -08:00
Teddy Reed
078d4cf7d2 Refector shell flags/versioning 2014-11-08 20:27:28 -08:00
Teddy Reed
62d6472cfe Rethinking some build improvements 2014-11-08 19:28:35 -08:00
Teddy Reed
82a082e20e Merge pull request #380 from ga2arch/unique_ptr
use unique_ptr instead of raw pointer
2014-11-08 19:27:49 -08:00
Gabriele Carrettoni
848bd4d96e use unique_ptr instead of raw pointer 2014-11-09 02:23:19 +01:00
Mike Arpaia
2db0fd60f7 Update README.md 2014-11-07 17:33:02 -08:00