2643 Commits

Author SHA1 Message Date
Michael Rash
fe3d6b8cd7 ChangeLog updates 2016-05-11 22:10:58 -07:00
Michael Rash
272cd05dc6 Merge branch 'master' of https://github.com/mrash/fwknop 2016-05-11 22:05:35 -07:00
Michael Rash
dd319d5609 Merge pull request #218 from oneru/test-suite
Test suite: Adds workaround for tcp server test
2016-05-12 22:05:29 -04:00
Michael Rash
60a9cc203b Merge branch 'master' of ssh://192.168.10.1/home/mbr/git/fwknop 2016-05-11 22:05:20 -07:00
Michael Rash
ba5f5e2424 add sha3_256 sha3_512 to man page docs 2016-05-12 22:23:54 -04:00
Jonathan Bennett
66eedd4f7f Test suite: Adds workaround for tcp server test 2016-05-11 19:31:48 -05:00
Damien Stuart
7c84cadd43 Added missing parens on if statement (was causing compiler error on fw_util_iptables). 2016-05-10 22:43:11 -04:00
Jonathan Bennett
c348950841 test suite: Adds another precise_sleep() to avoid race condition 2016-05-08 21:45:37 -05:00
Michael Rash
23d70f1aa3 Merge pull request #216 from oneru/add-nat-validation
Add nat validation
2016-05-08 21:53:13 -04:00
Michael Rash
08b63e79a3 Merge pull request #217 from oneru/test-suite
test suite: add delay loops to tolerate timing variations
2016-05-08 21:53:03 -04:00
Jonathan Bennett
ae442641b1 test suite: add delay loops to tolerate timing variations 2016-05-08 11:43:18 -05:00
Jonathan Bennett
b517fdad44 Add checks to avoid calling strlen on a null pointer 2016-05-08 00:41:45 -05:00
Jonathan Bennett
b088030ad5 Adds hostname validation for hostname in NAT on server 2016-05-07 23:21:01 -05:00
Jonathan Bennett
ddc422125f Style changes, and avoid returning undefined value in fw_util functions 2016-05-07 22:36:39 -05:00
Jonathan Bennett
7b11166260 Fix bogus NAT IP tests 2016-05-07 22:02:30 -05:00
Jonathan Bennett
fc1a436ff5 Adds the is_valid_hostname() c-unit-tests 2016-05-07 21:59:48 -05:00
Jonathan Bennett
65e0c4abd6 Add is_valid_hostname() 2016-05-07 21:59:48 -05:00
Jonathan Bennett
5f80a1ae33 Adds is_valid_ipv4_addr() c-unit tests 2016-05-07 21:59:48 -05:00
Jonathan Bennett
dc9ad5de4a Adds a length modifier to is_valid_ipv4_addr 2016-05-07 21:59:48 -05:00
Michael Rash
d4ec9a0755 remove execute bit from file permissions 2016-05-07 09:14:30 -04:00
Jonathan Bennett
194b83e89f Test suite: Catch Valgrind output even when less than 10 bytes lost 2016-05-06 08:14:36 -05:00
Jonathan Bennett
35db922853 Fix memory leak in free_last_stanza, found using asan 2016-05-05 22:52:51 -05:00
Jonathan Bennett
c6e95820a4 Add tests for include_keys 2016-05-05 13:26:35 -05:00
Jonathan Bennett
581a9638c6 Add handling for colon in include_keys 2016-05-05 13:20:29 -05:00
Jonathan Bennett
09cd579100 Fix include_keys log output 2016-05-05 13:20:01 -05:00
Jonathan Bennett
4eec3bd0c2 Test suite: Change sleep_cycle in fw_check to sleep for half seconds 2016-05-03 10:47:34 -05:00
Jonathan Bennett
afe1cd47b0 Add the precise_sleep() function to the test suite 2016-05-03 10:46:23 -05:00
Jonathan Bennett
58bce15b1e Exclude the CUnit tests themselves from lcov 2016-05-02 13:17:03 -05:00
Jonathan Bennett
f0ca6fc4b2 Adds linking order magic to fix compiling CUint and libfiu together 2016-05-02 11:40:09 -05:00
Michael Rash
cb6dcc3d0c Merge pull request #214 from oneru/cunit-in-test-suite
Cunit in test suite
2016-05-01 22:08:40 -04:00
Jonathan Bennett
da4e713ac3 Adds the c_unit tests to the perl test suite 2016-05-01 15:28:42 -05:00
Jonathan Bennett
a7905f56cb Modifies c_unit compilation to avoid static linking. 2016-05-01 15:16:56 -05:00
Michael Rash
163176be7c [test suite] increase client timeout args for '-f client timeout' test (@oneru) 2016-05-01 10:35:03 -04:00
Michael Rash
d462b025c3 [test suite] fix sudo tests (localhost -> ALL) from @oneru 2016-04-30 09:36:36 -04:00
Michael Rash
e7f039699c [test suite] fix 'FORCE_SNAT and 0.0.0.0' test (@oneru) 2016-04-30 09:33:29 -04:00
Michael Rash
f42aeb39dc [server] make sure exp buffer does not contain closing '*' chars (from @oneru) 2016-04-30 09:27:07 -04:00
Jonathan Bennett
a554f0d685 Disable ipv6 dns resolution in the client 2016-04-24 21:51:13 -05:00
Jonathan Bennett
c5043e0a3e When --fw-flush is specified, set enable_fw to true 2016-04-24 00:10:35 -05:00
Michael Rash
4374948ca6 Merge pull request #212 from oneru/master
Assorted test suite related fixes
2016-04-19 20:14:28 -04:00
Jonathan Bennett
94b33e0ba1 Increases a delay value in the test suite
The test suite was consistently showing the "exit upon down interface" as failing.
The 1 second delay was not enough time for my machine to completely close fwknopd, resulting in the false positive.
2016-04-19 14:48:03 -05:00
Jonathan Bennett
aa0d926376 Removes non-ascii characters from sha3.c
Opted to simply remove the umlat from the author's name, and spelled out the greek letters that were in the comments.
2016-04-19 14:14:51 -05:00
Michael Rash
9d92f65a03 [test suite] add test for X-Fowarded-For header 2016-04-16 07:40:24 -07:00
Michael Rash
84d4128812 [test suite] exclude test/fko-wrapper/* from code coverage stats (we want coverage for the client/server/lib code) 2016-04-15 17:37:16 -07:00
Michael Rash
0637b6fbee [perl] allow for SHA3 block length 2016-04-12 19:24:30 -07:00
Michael Rash
f648fca6a2 [test suite] apply loopback interface to invalid pcap filter test 2016-04-11 20:47:29 -04:00
Michael Rash
6449ce2eb3 Merge pull request #210 from oneru/master
Adds more Doxygen documentation in preparation for 2.6.9
2016-04-11 19:38:43 -04:00
Jonathan Bennett
23e4fd6a2b Adds more Doxygen documentation in preparation for 2.6.9 2016-04-11 11:28:40 -05:00
Michael Rash
713e127270 Merge pull request #209 from oneru/master
Corrects a problem where the NAT Access string was incorrectly set
2016-04-10 20:40:19 -04:00
Jonathan Bennett
e357b04ff5 Corrects a problem where the NAT Access string was incorrectly set in some cases 2016-04-10 17:06:38 -05:00
Michael Rash
6436235baf client man page update 2016-04-10 16:01:59 -04:00