Commit Graph

1866 Commits

Author SHA1 Message Date
Teddy Reed
776a7896a0 Merge pull request #1131 from brandt/fix-missing-centos-dep-spec-libcryptsetup
Specify dependency on libcryptsetup in CentOS/RHEL
2015-05-12 23:52:10 -07:00
Ryan Steinmetz
0777fa5fe2 - Add users/groups support for FreeBSD 2015-05-12 23:47:20 -07:00
Ryan Steinmetz
efe84f6931 - Add FreeBSD installation instructions 2015-05-12 23:46:13 -07:00
Mike Arpaia
e16c127d19 Merge pull request #1139 from wxsBSD/freebsd-fix
Fix build on FreeBSD.
2015-05-12 16:53:32 -07:00
Wesley Shields
81eac8e89a Fix build on FreeBSD. 2015-05-12 19:13:43 +00:00
Mike Arpaia
d462919022 Merge pull request #1138 from marpaia/whitespace
Removing trailing whitespace
2015-05-12 10:11:02 -07:00
Mike Arpaia
fff36af0af Removing trailing whitespace 2015-05-11 23:31:13 -07:00
Blake Frantz
805db480c5 Merge remote-tracking branch 'upstream/master' 2015-05-11 16:08:59 -07:00
Teddy Reed
5b43067c98 Merge pull request #1130 from theopolis/patch-134
[Fix #1125 #1126] Flag padding checks, config_check tests
2015-05-11 13:43:36 -07:00
Teddy Reed
fed0474bce Merge pull request #1129 from brandt/fix-command-not-found
Fix missing command: force_provision
2015-05-11 11:45:38 -07:00
Teddy Reed
7815f49020 Merge pull request #1128 from brandt/fix-dep-libtool-url
Fix URL for libtool
2015-05-11 11:45:29 -07:00
Teddy Reed
fa04a202c4 Merge pull request #1134 from theopolis/osx_newsyslog
Add example newsyslog conf for OS X
2015-05-11 11:45:17 -07:00
Mike Arpaia
11669c9ed5 Merge pull request #1133 from marpaia/headers-to-include
[Fix #1132] Headers to /usr/local/include
2015-05-11 11:39:35 -07:00
Teddy Reed
88b93b853c Add example newsyslog conf for OS X 2015-05-11 10:42:41 -07:00
Teddy Reed
771ed4da2f [Fix #1125 #1126] Flag padding checks, config_check tests 2015-05-11 10:37:16 -07:00
Mike Arpaia
25bd6e7b70 [Fix #1132] Headers to /usr/local/include 2015-05-11 09:36:15 -07:00
J. Brandt Buckley
93425e748d Fix unspecified dep libcryptsetup in CentOS/RHEL
`libcryptsetup` is a required runtime dependency.

Corresponding sections of provision files:

- [CentOS provision file](8235fd155f/tools/provision/centos.sh (L73-L78))
- [RHEL provision file](8235fd155f/tools/provision/rhel.sh (L94-L99))

CentOS 6
--------

[Demonstration of problem and work around.](https://gist.github.com/brandt/e32af345b63c339ddbdb#file-centos-6-log-L81)

Error message:

```
[root@b1a7318dbf3c /]# osqueryi
osqueryi: error while loading shared libraries: libcryptsetup.so.1: cannot open shared object file: No such file or directory
```

CentOS 7
--------

[Demonstration of problem and work around.](https://gist.github.com/brandt/e32af345b63c339ddbdb#file-centos-7-log-L314)

Error message:

```
[root@be01c8b1bb18 /]# osqueryi
osqueryi: error while loading shared libraries: libcryptsetup.so.4: cannot open shared object file: No such file or directory
```
2015-05-11 03:53:48 -06:00
J. Brandt Buckley
3c6916a01b Fix missing command: force_provision
Prior to this commit, you'd get this error when running `make deps` with a version of autoconf that belongs in a museum (e.g. the one that's in CentOS 6 Base):

```
[+] autoconf is already installed. skipping provision.
/home/brandt/osquery/tools/provision/lib.sh: line 163: force_provision: command not found
make: *** [deps] Error 127
```

I couldn't find a `force_provision` in the codebase. Plain old `provision` should do the job.
2015-05-11 00:50:55 -06:00
J. Brandt Buckley
a0a09eb588 Fix URL for libtool
Looks like a simple typo: `automake` for `libtool`

Before this commit, this is the error you'd get when you ran `make deps`:

```
[+] libtool is not installed/provisioned. installing...
[+] libtool has not been downloaded. downloading...
--2015-05-11 06:01:38--  https://osquery-packages.s3.amazonaws.com/deps/automake-2.4.5.tar.gz
Resolving osquery-packages.s3.amazonaws.com... failed: Temporary failure in name resolution.
wget: unable to resolve host address “osquery-packages.s3.amazonaws.com”
[+] libtool has not been extracted. extracting...
tar (child): libtool-2.4.5.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
/vagrant/tools/provision/lib.sh: line 196: pushd: libtool-2.4.5: No such file or directory
make: *** [deps] Error 1
```
2015-05-11 00:14:15 -06:00
Blake Frantz
bbc21a545a remove unnecessary conditionals from amazon.sh 2015-05-10 17:33:12 -07:00
Blake Frantz
5c00016e30 base rhel/amazon/centos detection on system-release and ubuntu on lsb-release 2015-05-10 17:10:30 -07:00
Blake Frantz
2e865a69d6 Merge remote-tracking branch 'upstream/master' 2015-05-10 14:38:33 -07:00
Blake Frantz
2c4ae6758a initial commit for adding support for amazon linux 2015.03 2015-05-10 11:42:30 -07:00
Teddy Reed
8235fd155f Merge pull request #1122 from theopolis/relax_deps
Relaxing iptables, EL-deps
2015-05-09 23:52:28 -07:00
Teddy Reed
8d4edec2a2 Merge pull request #1123 from theopolis/fix_1121
[Fix #1121] Minify shell table/schema, add meta tests
2015-05-09 23:51:39 -07:00
Teddy Reed
3e9f40f73f [Fix #1121] Minify shell table/schema, add meta tests 2015-05-09 19:48:28 -07:00
Teddy Reed
98b52c39a1 elaxing iptables, EL-deps 2015-05-09 18:16:13 -07:00
Teddy Reed
b5be0212e2 Merge pull request #1120 from theopolis/iptables_best
Adding new table to display iptables filters, chains and rules
2015-05-08 20:10:34 -07:00
Teddy Reed
9b40d3118b Merge pull request #1119 from theopolis/python_ifaddrs
Use CMake find_package for python, fix ifaddrs on FreeBSD
2015-05-08 19:54:52 -07:00
Teddy Reed
6a3002a2c6 Remove patching for sysroot 2015-05-08 19:16:33 -07:00
Javier Marcos
4f21090fb8 Adding new table to display iptables filters, chains and rules
Patching headers to avoid void pointers
Adding test for parsing ipt_ip entries
2015-05-08 19:11:49 -07:00
Teddy Reed
1de7cfb331 Use CMake find_package for python, fix ifaddrs on FreeBSD 2015-05-08 18:49:01 -07:00
Teddy Reed
3294929226 Merge pull request #1118 from theopolis/cleaner-make-install
Remove cpp-netlib from make install
2015-05-08 14:56:31 -07:00
Teddy Reed
24a638eaaf Remove cpp-netlib from make install 2015-05-08 14:00:09 -07:00
Teddy Reed
434ace85d5 Merge pull request #1113 from theopolis/http_tests
[Fix #1048] Cleaner additional tests
2015-05-08 11:54:25 -07:00
Teddy Reed
258dd62b24 Merge pull request #1114 from theopolis/rhel_centos_tables
RHEL table parity with CENTOS
2015-05-08 11:54:20 -07:00
Teddy Reed
bf1de3b95e Merge pull request #1110 from theopolis/build_freebsd
Towards building on FreeBSD/ports
2015-05-08 10:53:07 -07:00
Mike Arpaia
1a1a74c651 Fixing the best typo ever.
The link target was https, but the displayed link text was http.
2015-05-07 23:48:11 -07:00
Teddy Reed
6919065b4b RHEL table parity with CENTOS 2015-05-07 23:23:32 -07:00
Teddy Reed
c7b9114975 Towards building on FreeBSD/ports 2015-05-07 23:12:30 -07:00
Teddy Reed
311f9bd55f Cleaner additional tests 2015-05-07 22:07:14 -07:00
Teddy Reed
d4c517eef2 Merge pull request #1111 from theopolis/safer_exec
Apply a safe permissions check to worker
2015-05-07 11:04:57 -07:00
Teddy Reed
a7daa0ace5 Apply a safe permissions check to worker 2015-05-07 00:19:10 -07:00
Teddy Reed
a64270f324 Merge pull request #1106 from theopolis/dispatcher_hardening
Harden extensions/dispatcher tests
2015-05-06 21:07:46 -07:00
Teddy Reed
c50838922f Merge pull request #1102 from theopolis/sync_builds
Easier build host-based sync
2015-05-06 21:06:53 -07:00
Teddy Reed
e1fe042adc Merge pull request #1104 from theopolis/cleaner_dblogs
Limit the number of RocksDB log files
2015-05-06 21:05:57 -07:00
Teddy Reed
ee872d3fbe Harden events tests 2015-05-06 20:33:39 -07:00
Jack Naglieri
8e3e7ef7be Fixed crontab parsing issue in RHEL 6.5.X 2015-05-06 13:03:34 -07:00
Teddy Reed
23933cefe8 Harden extensions/dispatcher tests 2015-05-05 23:34:10 -07:00
Teddy Reed
e6c838131b Limit the number of RocksDB log files 2015-05-05 16:14:24 -07:00