Teddy Reed
616172af56
logger: Rename BufferedLogSink instance and other nits ( #3361 )
2017-05-29 22:23:36 -07:00
Teddy Reed
8a93acfa1c
TSAN: Address failures and findings in LLVM 4.0 ( #3343 )
2017-05-29 02:06:57 -07:00
Teddy Reed
fb287745c6
linux: Use lld and ThinLTO on Linux ( #3284 )
2017-05-14 14:23:50 -07:00
Teddy Reed
2e6947642a
logger: Relay status logs to the enabled log sinks ( #3275 )
2017-05-11 21:08:14 -07:00
Teddy Reed
4372785d5d
Refactor build logic to allow optional: yara, tsk, lldpd ( #3226 )
2017-04-28 13:45:41 -07:00
Teddy Reed
66c177945e
logger: Require an open DB for status logs ( #3205 )
2017-04-23 13:16:12 -07:00
Teddy Reed
65ef94f053
logger: Fixes to allow plugins access to hostIDs ( #3197 )
2017-04-22 18:24:25 -07:00
yying
31b78cb996
Adding hostIdentifier, calendarTime, unixTime to status logging ( #3146 )
2017-04-10 11:56:23 -07:00
Teddy Reed
76fe5d748c
logging: Allow Glog reentrancy ( #3142 )
2017-04-06 15:57:44 -07:00
yying
20f8e6cd5a
Adding Status Logging to AWS Kinesis/Firehose Logger Plugins ( #3115 )
2017-04-04 09:54:56 -07:00
Teddy Reed
c24603d8c9
logger: Add logger_min_status and disable stderr with stdout ( #3131 )
2017-04-04 08:12:26 -07:00
Teddy Reed
5604a7a99b
freebsd: Rollup of build and source fixes ( #3022 )
2017-02-26 18:25:49 -08:00
Teddy Reed
86e6bd1a73
Add additional regions to AWS Kinesis ( #3013 )
2017-02-21 20:52:10 -08:00
Teddy Reed
58ed5cc628
Introduce scheduler reload feature ( #2917 )
2017-01-25 17:48:33 -08:00
Teddy Reed
976db066c0
Use logtostderr in initStatusLogger ( #2936 )
2017-01-25 14:52:58 -08:00
Teddy Reed
b2a90cd6e4
Do not control stderr teeing automatically ( #2919 )
2017-01-17 17:18:03 -08:00
Teddy Reed
0e9733f94c
Simplify Registry and plugin concepts ( #2887 )
2017-01-07 12:21:35 -08:00
Zachary Wasserman
b855366c3b
Generate random Kinesis partition keys per-record ( #2872 )
2016-12-16 16:34:02 -08:00
Ryan Holeman
31e395a078
Removed stream name checking for aws kinesis and firehose setup ( #2867 )
2016-12-15 10:56:27 -08:00
Marc LeBourdais
790aa06b51
Add a flag for prepending @cee: to json-logged messages to syslog ( #2854 )
2016-12-08 17:35:20 -08:00
Marc LeBourdais
aa08d487c9
Keep a local reference to the process name to avoid memory corruption ( #2847 )
2016-12-07 20:20:17 -08:00
lambda-conjecture
cd761d1749
Fix deadlock in RocksDB log callback ( #2749 )
2016-12-02 23:24:08 -08:00
Ryan Holeman
0b62245848
Fix for sending only failed data to kinesis on full or partial failed uploads ( #2703 )
2016-11-07 09:57:47 -08:00
Teddy Reed
a3acf2a3e5
Fix Config TLS plugin default verb ( #2708 )
2016-11-02 17:08:44 -07:00
Jonathan Lee
f529fc3a30
[ Fix #2652 ] Shorten long lines ( #2664 )
2016-10-21 22:08:59 -07:00
Ryan Holeman
d76310da2c
Random partition keys assigned per batch in kinesis plugin ( #2662 )
2016-10-21 19:43:31 -07:00
Teddy Reed
b00118a293
Fix regression in Requests/TLS APIs related to verb detection ( #2660 )
2016-10-21 12:58:40 -07:00
Zachary Wasserman
42fb80f40b
Fix TLS logger plugin handling of re-enrollment scenarios ( #2627 )
2016-10-14 16:31:51 -07:00
Ryan Holeman
d1240f05e5
Fix for AWS ami role auth with cpp-netlib custom redirect condition ( #2596 )
2016-10-09 12:11:56 -07:00
Teddy Reed
f21f931d40
Add option for status-only secondary logger plugins ( #2534 )
2016-09-27 03:33:58 -07:00
yying
a7af70d021
Adding remote config/logging capabilities to Windows build ( #2469 )
2016-09-20 14:18:58 -07:00
Teddy Reed
81d8a4aa68
Emit warnings for improper 'osquery' table usage ( #2432 )
2016-09-02 19:13:37 -07:00
yying
84e6a3401a
Reducing compiler warnings and fails on warn in VS ( #2433 )
2016-09-02 15:04:03 -07:00
Teddy Reed
d6e20279d8
Use LOG(INFO) and set INFO as default logging mode ( #2420 )
...
This is fairly important, it changes the default mode for what status
events are logged to INFO. It had been set to WARNING and INFO was relatively
unused.
This also removes expected support for RocksDB 'in-memory' databases.
If a shell-user requests a database via CLI flags it will now work.
2016-08-31 15:09:01 -07:00
Teddy Reed
0b3f6af306
Improve status logging when using multi-loggers ( #2422 )
2016-08-29 06:59:55 -07:00
Teddy Reed
a2540a2614
Update to AWS-SDK-CPP version 0.14.x ( #2371 )
2016-08-15 21:30:39 -07:00
Teddy Reed
f93253ec48
Nitpicks and style formatting
2016-08-15 16:07:51 -07:00
Ryan Holeman
a217035d12
Add AWS STS assume role authentication capability
2016-08-15 16:07:51 -07:00
Teddy Reed
58fd284f05
Improve dispatcher tests ( #2358 )
...
This improves dispatcher tests by allowing units to act like component
tests and use embedded std::thread-based osquery APIs. A unit may force
a 'service' to run by joining the Dispatcher before deconstructing.
2016-08-14 15:41:53 -07:00
artemdinaburg
d8bfe962aa
Fix Windows under 1.8 build system ( #2333 )
2016-08-10 14:06:47 -07:00
Zachary Wasserman
8aa9d63c42
Properly intialize BufferedLogForwarder for TLS output plugin ( #2328 )
...
Missing initialization of the BufferedLogForwarder was causing an underflow in
the count of buffered logs, and error messages as described in #2324 . This
commit brings the initialization of the forwarder for TLS in line with
aws_kinesis and aws_firehose, removing that error.
2016-08-08 15:20:25 -07:00
Zachary Wasserman
1074aad471
Use TLSTransport HTTP client in aws_util ( #2299 )
2016-07-28 23:09:28 -04:00
Zachary Wasserman
129ec81853
Add release valve for purging buffered logs in BufferedLogForwarder ( #2244 )
2016-07-27 15:26:45 -07:00
yying
2fb3797c53
Changes to support building a osquery Windows service. ( #2278 )
2016-07-22 13:29:37 -07:00
yying
547e8f961c
CMake configuration file changes to support Windows ( #2258 )
2016-07-20 23:48:55 -07:00
Teddy Reed
5be180a8f9
Swap removed and added for logs ( #2260 )
2016-07-20 12:25:10 -07:00
Teddy Reed
7f304a0934
Various fixups and best practices ( #2237 )
2016-07-11 09:45:57 -07:00
Teddy Reed
48cb4d555d
Add systemLog API ( #2229 )
...
This includes a minor SDK refactor as it move quite a few specialized
functions and facilities from core.h into system.h. There was a breaking point
for needing to frequently update core includes.
The new logger systemLog function allows a call site to bypass logging config
and write a line to the OS logger (aka syslog).
2016-07-07 15:16:28 -07:00
Zachary Wasserman
8909602a40
Increase block period in flaky BufferedForwarder test ( #2222 )
...
This test was intermittently failing because it relies on the actual thread
scheduling. Our discussion in issue #2218 decided that it was worth keeping the
test around, while trying to mitigate the flakiness. The longer sleeps in this
test ran successfully hundreds of times in local testing.
2016-07-06 14:59:24 -07:00
artemdinaburg
e6fbde820e
Windows Daemon/Shell: Make osquery code more Windows-friendly ( #2188 )
2016-07-01 14:56:07 -07:00