Michael Rash
b4213bb3fb
Merge branch 'master' of ssh://github.com/mrash/fwknop
2019-03-11 21:57:10 -07:00
Michael Rash
fb69921fdd
add ALLOW_ANY_USER_AGENT to ignore incoming User-Agent strings in SPA packets over HTTP, closes #296
2019-03-11 21:56:21 -07:00
Francois Marier
973043a411
Include systemd unit files in tarballs
2019-02-25 13:18:11 -08:00
Michael Rash
5a305ffe07
[test suite] improve ASAN instrumentation check (m32 vs. non-m32 Makefile option)
2018-08-10 07:44:10 -07:00
Michael Rash
b15b278263
add erlang files
2018-08-06 17:24:03 -07:00
Michael Rash
643805967e
remove ChangeLog.git file since people should just get this information from git
2016-12-04 16:32:50 -05:00
Michael Rash
7f12fc72d1
[test suite] more NAT DNS coverage
2016-05-28 05:06:07 -07:00
Michael Rash
3a10ccff4d
[test suite] NAT DNS test coverage fix
2016-05-28 04:39:04 -07:00
Michael Rash
8366e118e2
[server] negative testing for ENABLE_NAT_DNS
2016-05-27 23:33:13 -07:00
Michael Rash
6e54e9452a
[test suite] add ENABLE_RULE_PREPEND test
2016-05-26 19:21:07 -07:00
Michael Rash
a3adca69e1
[test suite] add HMAC SHA3_256 complete cycle test
2016-05-21 06:18:46 -07:00
Michael Rash
09fcad0f04
[test suite] add HMAC_SHA3_512 test
2016-05-20 18:45:20 -07:00
Jonathan Bennett
da4e713ac3
Adds the c_unit tests to the perl test suite
2016-05-01 15:28:42 -05:00
Michael Rash
9d92f65a03
[test suite] add test for X-Fowarded-For header
2016-04-16 07:40:24 -07:00
Michael Rash
06e42a3cfa
[test suite] first test for include_keys functionality
2016-02-21 11:50:41 -08:00
Michael Rash
8bb46f9664
[extras] add scan-build wrapper for the CLANG static analyzer
2016-01-12 21:42:42 -05:00
Michael Rash
b305f67ca5
[test suite] start on %include_folder tests, make sure at least one valid access.conf stanza has been parsed
2015-12-12 20:39:37 -08:00
Michael Rash
ba3d16c5e3
[test suite] complete cycle test from %include derived access stanza
2015-12-12 11:19:14 -08:00
Michael Rash
7757929624
[test suite] multi-include non-recursive access.conf test
2015-12-12 06:23:16 -08:00
Michael Rash
5b0cfb16a0
[test suite] add access.conf %include recursion limit test
2015-12-10 15:31:18 -08:00
Michael Rash
e27e92d827
Merge branch 'master' into access_conf_includes
2015-12-10 15:01:29 -08:00
Michael Rash
d509925822
[extras] add build support for Google's UndefinedBehaviorSanitizer
2015-12-09 18:19:42 -08:00
Michael Rash
ae1e804ea1
[test suite] add test for access.conf include directive
2015-12-08 19:51:51 -08:00
Michael Rash
8c7a007a4a
[test suite] differentiate TIMEOUT vs. CLIENT_TIMEOUT values in command open close cycles
2015-11-17 22:41:22 -08:00
Michael Rash
f6829fe527
[test suite] added command cycle close NONE test
2015-11-17 22:08:58 -08:00
Michael Rash
2d65330ce7
[test suite] add a few missing test suite configs
2015-10-31 06:07:27 -07:00
Michael Rash
1c33c5089e
[test suite] additional cmd cycle var substitution test
2015-10-19 20:17:17 -04:00
Michael Rash
3fb75cace3
[test suite] add SRC,PKT_SRC,DST var subsitution test
2015-10-18 09:48:07 -07:00
Michael Rash
7a09daba4c
[test suite] more command cycle tests (multiple substitution vars)
2015-10-18 09:28:48 -07:00
Michael Rash
d67fbde992
[server] start on command open/close cycle support (issue #117 )
2015-10-13 18:00:07 -07:00
Damien Stuart
24b3a216bd
Updated c-unit-test README for changes in test locations. Updated autoconf files to remove references to the old c-unit-test configuration.
2015-09-05 11:05:32 -04:00
Damien Stuart
2e60687dcf
Merge branch 'master' into dstuart_refactor_autoconf
2015-08-29 12:46:24 -04:00
Michael Rash
b060495bb4
[test suite] rm previous coverage files in coverage mode when --include criteria is not used
2015-08-23 20:32:59 -07:00
Michael Rash
47ff151dea
[build] add convenience script for ASan builds
...
Sometimes when ASan support is wanted for fwknop, the following compile
error can be generated. This script provides a means to solve this.
fwknop-spa_comm.o: In function `send_spa_packet_http':
/home/mbr/git/fwknop.git/client/spa_comm.c:516: undefined reference to `rpl_malloc'
../lib/.libs/libfko.so: undefined reference to `rpl_realloc'
2015-08-18 20:37:56 -04:00
Michael Rash
89b2e8f477
[server] interface goes down will cause fwknopd to exit
...
By default, fwknopd will now exit if the interface that it is
sniffing goes down (patch contributed by Github user 'sgh7'). If this
happens, it is expected that the native process monitoring feature in
things like systemd or upstart will restart fwknopd. However, if fwknopd
is not being monitored by systemd, upstart, or anything else, this
behavior can be disabled with the EXIT_AT_INTF_DOWN variable in the
fwknopd.conf file. If disabled, fwknopd will try to recover when a
downed interface comes back up.
2015-07-18 13:11:25 -07:00
Michael Rash
fd07a95880
add test/tests/address_sanitizer.pl
2015-07-14 21:14:54 -04:00
Michael Rash
ff9adc5f51
add OS X ramdisk wrapper script
2015-07-01 07:43:24 -04: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
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
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
e4106d1ee5
[test suite] removed deprecated AFL compile script
2015-06-09 16:59:47 -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
2e377985da
add ramdisk-create.sh and console-rq.sh
2015-05-20 19:01:24 -07:00
Michael Rash
17d1071aa8
[server / test suite] cleaner SNAT MASQUERADE support
2015-04-22 01:00:57 -07:00
Michael Rash
6467b922d5
[test suite] additional FORWARD_ALL tests
2015-04-21 03:30:32 -07:00
Michael Rash
7dc41e68ef
[test suite] add open_ports_force_masq_access.conf file
2015-04-12 15:48:14 -07:00
Michael Rash
3d8b524019
[test suite] FORCE_SNAT requires FORCE_NAT test
2015-04-07 08:23:55 -04:00
Michael Rash
60d982a103
[test suite] added GPG 4096-bit key combination tests
2015-03-28 07:54:30 -04:00