Commit Graph

1333 Commits

Author SHA1 Message Date
Teddy Reed
bb6f313c6c Moved socket_inode on Linux to process_open_files 2015-01-13 08:26:47 -08:00
maus-
112425feed Updated as per your notes
A couple of things to note

The script still makes the assumption of having a config in /etc/osquery/osquery.conf however it now checks to see if there is the default example config in /usr/share/osquery/osquery.example.conf and alerts the user that it's using the default. 

To prevent having the pidfile being set in two different locations, it would be nice if the osqueryd application settings could be stored with the standard key=value approach. This would allow the init script to source the config at runtime. The downside however would that the init script still makes the assumption that the location of osquery.conf is standardized. 

I'm not really sure why the pidfile needs to go in the osquery directory anyway, considering most pidfiles for daemons like this typically exists in /var/run/$program.pid which actually would be a nicer default as it removes the requirement of having the folder there in /var. I'd prefer to not keep osquery in /var anyway. 

same goes for the lockfile. Typically you'd never bother with this setting and you'd keep it in /var/lock/subsys/$progname
2015-01-12 16:25:38 -08:00
Teddy Reed
eaad95b181 Add texinfo to CentOS provision 2015-01-12 15:38:16 -08:00
Teddy Reed
15c3551bdd Remove gtest include from tables 2015-01-12 15:30:32 -08:00
a wizard named upfish
7686104e27 added init script 2015-01-12 14:56:47 -08:00
Teddy Reed
376a438516 Moving splay to scheduler and adding config logging 2015-01-12 12:53:05 -08:00
Teddy Reed
84ef94ce9d Testing for table query constraints 2015-01-12 12:52:29 -08:00
Javier Marcos
d2f97169d0 Merge pull request #612 from facebook/rubygems_fix_ubuntu12
Installing gems in Ubuntu 12 to avoid error
2015-01-12 11:40:43 -08:00
Javier Marcos
d9b41f81b9 Installing gems in Ubuntu 12 to avoid error 2015-01-12 11:32:48 -08:00
Teddy Reed
3b9c7a7b51 Merge pull request #609 from theopolis/events_fix
Fix shouldFire pubsub virtual
2015-01-11 20:04:52 -08:00
Teddy Reed
465db46628 Fix shouldFire pubsub virtual 2015-01-11 19:51:54 -08:00
Teddy Reed
597b5ed4be Merge pull request #606 from theopolis/linux_network
Implement interface_addresses, interface_details for Linux
2015-01-11 14:40:23 -08:00
Teddy Reed
7ea451522e Merge pull request #604 from theopolis/fix_600
[Fix #600] Additional Linux-flavor tables should be additive
2015-01-11 00:39:46 -08:00
Teddy Reed
6deeba39c9 Merged Linux/OSX interfaces implementation 2015-01-11 01:39:16 -07:00
Teddy Reed
6dfc5d88f4 Added interfaces to Linux 2015-01-11 00:42:23 -07:00
Teddy Reed
a2cc1c85ea [Fix #599] Rename kextstat->kernel_extensions 2015-01-11 00:38:03 -07:00
Teddy Reed
50165a8808 [Fix #600] Additional Linux-flavor tables should be additive 2015-01-11 00:34:41 -07:00
Teddy Reed
082f816571 Merge pull request #598 from theopolis/remove_unwind_2
Remove libunwind from glog and osquery
2015-01-10 23:23:34 -08:00
Teddy Reed
10fafa6299 Support make package 2015-01-10 23:02:32 -08:00
Teddy Reed
c7f92598ad Building glog on CentOS 6.6 2015-01-10 22:12:38 -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
mike@arpaia.co
a0a404acc1 removing the dependency on unwind
Moving glog to third-party so that we can custom compile it so that
we no longer have the dependency on libunwind. #578
2015-01-10 13:02:30 -07:00
Mike Arpaia
9308729d52 Merge pull request #587 from theopolis/package_basics
Package basics
2015-01-09 16:35:17 -05:00
Teddy Reed
18d93d8cbc Building DEB/RPM package dependencies 2015-01-09 12:24:54 -08:00
Zachary Wasserman
828a430b5b Merge pull request #583 from zwass/make_typo
Fix typo in build logging
2015-01-08 09:44:38 -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
Teddy Reed
454fb01e98 Merge pull request #584 from theopolis/config_example
Provide example config, improve pid check
2015-01-07 16:05:42 -08:00
Teddy Reed
2ad15763e2 Provide example config, improve pid check 2015-01-07 15:22:50 -08:00
Zachary Wasserman
3fbb878f84 Fix typo in build logging 2015-01-07 11:02:40 -08:00
Teddy Reed
dbb7050376 Merge pull request #575 from theopolis/fix_574
[Fix #574] Undef DEBUG for apt-pkg for make debug
2015-01-06 07:29:02 -08:00
Teddy Reed
b2c3fa9ff1 Merge pull request #576 from theopolis/fixups
[Fix #559] Detach event publisher threads when ending
2015-01-06 06:54:14 -08:00
Teddy Reed
27541d4260 [Fix #574] Undef DEBUG for apt-pkg for make debug 2015-01-06 06:53:42 -08:00
Teddy Reed
f865647d0c [Fix #545] Simpler socket_info parsing in process_open_files 2015-01-06 06:23:48 -08:00
Teddy Reed
df3029e880 [Fix #559] Detach event publisher threads when ending 2015-01-05 19:07:08 -08:00
Teddy Reed
182cdb713e Small fix for a make jobserver race in gentable 2015-01-05 18:11:10 -08:00
Teddy Reed
c61047c79f Merge pull request #570 from maclennann/apt_sources
apt_sources table
2015-01-05 17:52:14 -08:00
Norm MacLennan
7a6eb8255a renaming apt sources gen function 2015-01-05 18:02:55 -05:00
Norm MacLennan
b745bad0bc merging upstream 2015-01-05 17:44:19 -05:00
Norm MacLennan
38447838db merging upstream cmake changes 2015-01-05 17:43:07 -05:00
Teddy Reed
a4e5e58ec0 Merge pull request #572 from theopolis/auto_dependency
Use CMake find_library for dependencies
2015-01-05 08:59:03 -08:00
Teddy Reed
d2cea32644 Use CMake find_library for dependencies 2015-01-05 08:32:05 -08:00
Teddy Reed
66f4940456 Merge pull request #571 from theopolis/daemonize
Add --daemonize option to osqueryd
2015-01-05 08:08:25 -08:00
Norm MacLennan
f34d1707ef only require aptpkg on ubuntu 2015-01-05 09:53:34 -05:00
Teddy Reed
80276471c5 Add --daemonize option to osqueryd 2015-01-04 19:27:04 -08:00
Norm MacLennan
a6b769b6f4 a table to show apt package sources 2015-01-04 19:44:45 -05:00
Teddy Reed
4a97eb936b Merge pull request #568 from theopolis/catch_config
[Fix #553] Move config JSON parsing into try
2015-01-04 13:54:49 -08:00
Teddy Reed
86cce395ab [Fix #553] Move config JSON parsing into try 2015-01-03 23:12:28 -08:00
Teddy Reed
51425c898a Remove brew-dependent pkg build 2015-01-03 22:51:09 -08:00