2113 Commits

Author SHA1 Message Date
Michael Rash
4c7679fabd [server] start on sudo usage for command exec (issue #159) 2015-07-02 23:44:16 -04:00
Michael Rash
ff9adc5f51 add OS X ramdisk wrapper script 2015-07-01 07:43:24 -04:00
Michael Rash
788bf543c8 [extras] added ramdisk-create-osx.sh for Mac OS X systems 2015-06-30 21:24:00 -04:00
Michael Rash
814d9e1050 [test suite] minor comment update 2015-06-30 17:47:01 -07:00
Michael Rash
464a680f13 [server] minor --udp-server option handling update for completeness 2015-06-30 17:44:07 -07:00
Michael Rash
ca2a73e333 add --with-firewalld autoconf argument as a synonym for --with-firewall-cmd 2015-06-30 12:59:04 -07:00
Michael Rash
ca54ec7a9b [test suite] integrate afl-cov with afl-fuzz wrapper scripts
Here is an example for the client-rc.sh wrapper script to have it also
generate code coverage results for afl-fuzz (afl-cov is enabled via two
environmental variables AFL_COV and CODE_DIR).

$ cd /tmp/afl-ramdisk/fwknop.git/test/afl/
$ AFL_COV=1 CODE_DIR=/home/mbr/git/fwknop.git ./fuzzing-wrappers/client-rc.sh
2015-06-29 19:06:50 -07:00
Michael Rash
5ba88e7b83 [test suite] support afl-fuzz on Mac OS X which uses afl-clang 2015-06-26 08:39:48 -07:00
Michael Rash
2b5c38dc2b [test suite] default to not zeroing profile coverage counters
The typical work flow when generating gcov coverage results is:

- compile fwknop with coverage support
- run the test suite
- hack on fwknop
- re-run the test suite to see what coverage has been added

This work flow is much more common than collecting coverage results
for a complete test suite run. Therefore, this commit switches the
default behavior in --enable-complete mode (which enables coverage
support) to not zero-out coverage counters. A new argument
--enable-profile-coverage-init zeros the counters in preparation
for a global coverage run.
2015-06-23 16:56:25 -07:00
Michael Rash
bc6118e19f [test suite] added missing test/asan/Makefile 2015-06-18 06:16:10 -07:00
Michael Rash
5c4f7dac9b [test suite] add fwknoprc2 file to AFL client rc test cases 2015-06-16 19:16:36 -07:00
Michael Rash
df51dacf17 add test/asan/ files 2015-06-16 19:06:36 -07:00
Michael Rash
e2520754bf update CREDITS file to include Fwknop2 2015-06-16 18:35:05 -07:00
Michael Rash
4d3c472116 [test suite] add Rijndael+HMAC test for F-Droid Fwknop2 client written by Jonathan Bennett 2015-06-16 18:32:19 -07:00
Michael Rash
e0778a2d37 [test suite] disable fault injection 'tag' tests with the fko wrapper does not compile against libfiu 2015-06-15 13:53:13 -07:00
Michael Rash
7da6b9e787 [test suite] produce include/exclude stats 2015-06-15 13:48:39 -07:00
Michael Rash
7e6ec092f6 [test suite] consolidate crash detection into a single function 2015-06-15 13:12:59 -07:00
Michael Rash
e20c09d572 [test suite] add ASAN verification if fwknop is compiled with ASAN support 2015-06-14 19:15:34 -07:00
Michael Rash
e8cc2845fa [test suite] minor formatting update 2015-06-14 05:59:30 -07:00
Michael Rash
70fd1c990f include link to DefCon 14 presentation on fwknop + Tor 2015-06-14 08:41:06 -04:00
Michael Rash
9ce5ad47c0 [test suite] disable python tests if Python.h is missing 2015-06-13 06:31:11 -07:00
Michael Rash
c8cdc91974 [test suite] added test for Rijndael-only SPA packet from the Android Fwknop2-v1.0-RC.2 binary 2015-06-12 17:46:22 -07:00
Michael Rash
404c34a0db [test suite] allow for missing makeinfo binary in recompliation tests 2015-06-12 08:47:56 -07:00
Michael Rash
b11217dc07 [test suite] better integration with Google's Address Sanitizer and AFL 2015-06-11 18:28:41 -07:00
Michael Rash
f96e60f479 Merge branch 'master' of https://github.com/mrash/fwknop 2015-06-11 06:09:55 -07:00
Michael Rash
6742423889 this Android client has been deprecated in favor of Jonathan Bennett's new client: https://github.com/oneru/Fwknop2/releases 2015-06-10 20:22:11 -04:00
Michael Rash
5616c7ba6d [test suite] removed deprecated AFL compile script 2015-06-09 17:01:16 -07:00
Michael Rash
e4106d1ee5 [test suite] removed deprecated AFL compile script 2015-06-09 16:59:47 -07:00
Michael Rash
e3bf862238 [test suite] removed deprecated AFL compile script 2015-06-09 16:59:20 -07:00
Michael Rash
090bda3326 [test suite] proper path for AFL server-conf test case config files (iptables vs. firewalld) 2015-06-09 09:29:05 -07:00
Michael Rash
f99e7831d8 update README.md to include use cases and features 2015-06-09 11:38:20 -04:00
Michael Rash
0d83c967c0 [client] minor typo fixes 2015-06-09 11:31:51 -04:00
Michael Rash
1fb9747b2b [test suite] added Rijndael+HMAC test for Fwknop2 Beta1 2015-06-07 13:44:00 -04:00
Michael Rash
cff4dcc1e7 [test suite] Added Rijndael+HMAC test for Jonathan Bennett's Fwknop2 Android app 2015-06-04 23:02:21 -04:00
Michael Rash
ff052bf74f [server] disable external command execution in AFL fuzzing mode 2015-06-01 19:57:49 -07:00
Michael Rash
7c23cb72f1 [test suite] differentiate firewalld vs. iptables for fwknopd.conf file fuzzing 2015-06-01 19:36:46 -07:00
Michael Rash
7bbc30f34c [server] bug fix for --key-gen being called inappropriately, add fw compiled string to -V 2015-06-01 05:27:27 -07:00
Michael Rash
9b189fe762 [client] ensure that encryption and HMAC keys are not read from stdin in AFL fuzzing mode 2015-06-01 05:25:47 -07:00
Michael Rash
eed3dc8ad2 [test suite] minor comment update to mention afl-cov 2015-05-30 18:35:10 -07:00
Michael Rash
0388baa665 replaced raw lcov results with a link 2015-05-28 18:50:33 -07:00
Michael Rash
73f22bab16 added cumulative afl-cov web coverage report for 136d017 2015-05-28 16:03:54 -04:00
Michael Rash
98f852b5af added server-conf fuzzing results 2015-05-24 11:00:52 -07:00
Michael Rash
833dc7e4f6 added client-rc results 2015-05-24 10:16:20 -07:00
Michael Rash
85e07f99c4 man page updates 2015-05-22 15:31:18 -04:00
Michael Rash
85f42012ca add --key-gen and associated options to the fwknopd man page 2015-05-21 09:35:31 -07:00
Michael Rash
2e377985da add ramdisk-create.sh and console-rq.sh 2015-05-20 19:01:24 -07:00
Michael Rash
29defca4d5 (Jonathan Bennett) added console-qr.sh script to create QR codes from fwknopd access.conf keys 2015-05-20 18:52:30 -07:00
Michael Rash
ce76a063e1 Merge branch 'master' of https://github.com/mrash/fwknop 2015-05-20 18:25:33 -07:00
Michael Rash
1f45462206 [extras] run ramdisk creation script from top level sources directory 2015-05-21 22:18:14 -04:00
Michael Rash
81cdb0506f added spa-pkts fuzzing cycle 2015-05-20 16:57:43 -07:00