Commit Graph

2549 Commits

Author SHA1 Message Date
Teddy Reed
30bcb66212 Merge pull request #1588 from theopolis/file_table_change
Remove boolean type-columns from file in favor of 'type'
2015-10-19 09:23:52 -07:00
Scott J Roberts
1258800279 basic flag added
wrong thing on the clipboard

updated to ProgramArguments vs Program per theopolis
2015-10-19 11:56:12 -04:00
Javier Marcos
d6f7d48fcc Merge pull request #1590 from javuto/update_readme
Updating status icons for master builds
2015-10-18 23:22:28 -07:00
Javier Marcos
60e4d4c444 Updating status icons for master builds 2015-10-18 23:14:34 -07:00
Teddy Reed
00875988dc Use native OS X version as min ABI 2015-10-18 20:47:09 -07:00
Teddy Reed
2bd6398b53 [Fix #1578] Support OPENSSL_NO_SSV3 2015-10-18 20:47:06 -07:00
Teddy Reed
bc50c053fb Remove boolean type-columns from file in favor of 'type' 2015-10-17 12:16:54 -07:00
Robert C. Seacord
e57828aac3 changes for integer sign problems 2015-10-17 00:18:35 +00:00
Teddy Reed
3cc7984cc2 [Fix #1580] Handle exceptions in linux process_memory_map 2015-10-16 16:59:23 -07:00
Robert C. Seacord
acb2f6f628 eliminating diagnostics, mostly for comparisons between signed and unsigned operations 2015-10-16 16:10:37 +00:00
Robert C. Seacord
37b8e83a9e fixes for problems related to unsigned to signed integer comparisons 2015-10-16 16:10:36 +00:00
Robert C. Seacord
0a6a36485c redeclared i from int to size_t in two locatoins to eliminate several signed to unsigned comparisons 2015-10-16 16:10:36 +00:00
Robert C. Seacord
8030866add Update reading-files.md
The smaller example was not going to compile because kPath was not defined.
2015-10-16 16:10:36 +00:00
Teddy Reed
3f8cb14fbb Merge pull request #1579 from nemith/segv
Fix segfault on interfaces tables
2015-10-15 17:58:04 -07:00
Brandon Bennett
f683871653 Fix segfault on interfaces tables
getifaddrs(3) states that ifa_addr can be null. Check to make sure they are not null before accessing them
2015-10-15 16:53:14 -06:00
Brandon Bennett
65738a73c1 Support for newer versions of libdpkg
Libdpkg has some breaking changes in newer versions which prevented
compiling the deb_packages table on Ubuntu 15.04.  This change looks for
the libpkg version user pkg-config and adds some preprocessor magic to
support the newer versions.
2015-10-15 16:43:14 -06:00
Teddy Reed
a30a6e7708 Merge pull request #1573 from theopolis/fix_1570
[Fix #1570] Check for invalid apt sources
2015-10-15 15:21:31 -07:00
Teddy Reed
3be0994933 [Fix #1570] Check for invalid apt sources
This fixes a crash identified by @endrazine.
When apt sources data in /etc/apt/sources.list or /etc/apt/sources.list.d/{*}.list contain invalid data/lines the cache_file.GetPkgCache(); call will fail and cache will be nullptr. Subsequent usage results in a SIGSEV.

To reproduce the fault try:

$ zzuf -I /etc/ -r 0.01:0.1 -s 0:1000 -v \
 ./build/trusty/osquery/osqueryi --registry_exceptions=true --verbose \
 "select count(*) from apt_sources"

Signed-off-by: Jonathan Brossard
2015-10-15 15:20:26 -07:00
Teddy Reed
c26f7bf8da Merge pull request #1565 from PickmanSec/master
added comment parsing for profile.py
2015-10-15 12:19:59 -07:00
Teddy Reed
9ddf370e88 Merge pull request #1551 from theopolis/more_remote_docs
Convert wiki to UNIX format and refresh most content
2015-10-15 12:19:06 -07:00
Teddy Reed
2e7415f871 Convert wiki to UNIX format and refresh most content 2015-10-15 12:18:16 -07:00
Teddy Reed
d757d87195 Merge pull request #1574 from pathcl/master
sudo added as requeriment
2015-10-14 18:09:50 -07:00
Michael George
ed00e54aa7 added comment parsing
added packs to profiling

added comment scrubing.
2015-10-14 17:04:38 -07:00
Luis San Martin
0f0d873a96 sudo added as requeriment 2015-10-14 20:05:12 -03:00
Teddy Reed
82b0ccf782 Merge pull request #1553 from arubdesu/docs-darwinSysReqs
explicitly call out OS and requirements at top of OS X install doc
2015-10-13 11:26:32 -07:00
Allister Banks
d79d02dde5 explicitly call out OS compatibility at top of OS X install doc
Reordered install types, Pointed to the CI build status as an indication
of platform support, moved up the line about pkg/lib dependencies
to be after the pkg section. Someone stop Atom from tacking newlines to
the ends of files on save, GitHub, you’re not the boss of me!
2015-10-13 14:10:38 -04:00
Teddy Reed
6678440b48 Merge pull request #1561 from theopolis/fix_tests_4
Minor fix, return an empty query data
2015-10-13 10:06:59 -07:00
Teddy Reed
84d0e9d7b9 Merge pull request #1562 from theopolis/fix_1559
[Fix #1559] Allow boost.filesystem incorrect LC_CTYPE
2015-10-13 10:06:31 -07:00
Teddy Reed
201fbabb28 [Fix #1559] Allow boost.filesystem incorrect LC_CTYPE 2015-10-13 09:55:44 -07:00
Teddy Reed
1c12d274f4 Minor fix, return an empty query data 2015-10-13 09:25:10 -07:00
Teddy Reed
688d289884 Merge pull request #1557 from theopolis/fix_tests_3
Fix test_5_daemon_sigint, and hardware_events tests
2015-10-13 08:49:24 -07:00
Teddy Reed
0440bb970f Fix test_5_daemon_sigint, and hardware_events tests 2015-10-13 08:40:23 -07:00
Mike Arpaia
dea0b4d1c9 Merge pull request #1542 from keeleysam/keeleysam-patch-1
Use full key for apt
2015-10-12 16:55:18 -07:00
Teddy Reed
4852e3525f Merge pull request #1550 from theopolis/ext_clean
Extension managers should clean extension sockets when starting
2015-10-12 13:36:10 -07:00
Teddy Reed
171bfecd20 Merge pull request #1552 from theopolis/glog_benchmark
Build Glog with OS X ABI, add SKIP_BENCHMARK
2015-10-12 13:35:45 -07:00
Teddy Reed
34717fda29 Merge pull request #1554 from mlw/fix-lingering-socket-fds
Close socket fds when finished with them
2015-10-12 13:32:52 -07:00
Matthew White
2446b22a5f Close socket fds when finished with them 2015-10-12 09:59:09 -07:00
Teddy Reed
b7a2d861bf Build Glog with OS X ABI, add SKIP_BENCHMARK 2015-10-11 14:37:49 -07:00
Teddy Reed
c7ff3dfb4f Merge pull request #1549 from theopolis/more_11
Bumb RocksDB to ERROR, fix OS X kernel_info, silence compile warnings
2015-10-11 20:39:56 +01:00
Teddy Reed
6b16720039 Fix kernel_info on OS X, remove md5 2015-10-11 11:43:42 -07:00
Teddy Reed
fb56646623 Restrict RocksDB log level to ERROR 2015-10-11 10:50:56 -07:00
Javier Marcos
c063e6f3d3 Merge pull request #1545 from javuto/fix_default_config
Fixing default configuration syntax, trailing comma
2015-10-11 14:00:09 +01:00
Mike Arpaia
4d0cd46f42 Merge pull request #1539 from theopolis/nit_101
Minor nits around distributed CLIs
2015-10-09 14:55:05 -07:00
Javier Marcos
7442392c7f Fixing default configuration syntax, trailing comma 2015-10-09 14:50:00 +02:00
Teddy Reed
dbdf64ed6e Use better defines for 10.11 2015-10-08 07:22:48 -07:00
Teddy Reed
d5a7498881 Extension managers should clean extension sockets when starting 2015-10-08 06:47:23 -07:00
Samuel Keeley
e1b6f917fd Use full key for apt
The 8 digit key is not secure
2015-10-07 16:00:38 -07:00
Mike Arpaia
1d69a056d8 Merge pull request #1541 from zenfish/patch-1
Typo in linux installation docs
2015-10-07 10:50:08 -07:00
Dan Farmer
2413615885 Typo in linux installation docs
Added the character "d" to two lines to fix a typo.

From:

sudo service osquery start
sudo service osquery status

To:

sudo service osqueryd start
sudo service osqueryd status
2015-10-06 18:36:18 -07:00
Teddy Reed
689ae4c865 Minor nits around distributed CLIs 2015-10-02 11:33:50 -07:00