469 Commits

Author SHA1 Message Date
Damien Stuart
f06c775654 Merge branch 'master' of ssh://github.com/mrash/fwknop 2012-07-14 10:14:05 -04:00
Damien Stuart
283e213a61 Added gpg validity check. Tweak to rpm spec file. 2012-07-14 10:13:26 -04:00
Michael Rash
c57f4a82b7 bumped version to fwknop-2.0.1-pre3 2012-07-12 22:19:41 -04:00
Michael Rash
3b26157a40 added libfko.dylib test suite fix note to the ChangeLog 2012-07-12 22:18:39 -04:00
Michael Rash
e250776107 [test suite] Bug fix to account for libfko.dylib extension
Richard Haas reported the test suite failing on Mac OS X systems with the
existence check for the libfko library.  Damien Stuart advised that the library
has a different extention '.dylib' on Mac OS X, so this change accounts for the
difference.
2012-07-12 22:11:35 -04:00
Michael Rash
86fde0d603 bumped version to 2.0.1-pre2 2012-07-09 22:58:35 -04:00
Michael Rash
2f9368b4d9 added valgrind parsing note 2012-07-09 22:39:13 -04:00
Michael Rash
4d39140148 [test suite] minor directory path bug fix for --diff mode 2012-07-09 22:05:57 -04:00
Michael Rash
e2c34d46fe switched back to older ChangeLog format which is more readable 2012-07-09 21:29:49 -04:00
Michael Rash
06d8f118aa bumped version to 2.0.1-pre1 2012-07-09 16:32:10 -04:00
Michael Rash
b5c6b48cff added dual_key_usage_access.conf to Makefile.am for 'make dist' target 2012-07-09 16:30:26 -04:00
Michael Rash
bc2e41fd47 added unique function names to --enable-valgrind suspect functions test 2012-07-08 21:21:36 -04:00
Michael Rash
9497044f24 added new test in --enable-valgrind mode to collect suspect functions 2012-07-08 15:30:35 -04:00
Michael Rash
be4193d734 Only cache replay digests for SPA packets that decrypt
This change ensures that we only cache replay digests for those SPA packets
that actually decrypt.  Not doing this would have allowed an attacker to
potentially fill up digest cache space with digests for garbage packets.
2012-07-08 08:36:30 -04:00
Michael Rash
6b3e5ef3c2 Added a test for a dual-usage key in access.conf 2012-07-08 08:35:50 -04:00
Michael Rash
ba3b7d1d11 Bug fix for multi-stanza key use and replay attack detection
This commit fixes a bug where the same encryption key used for two stanzas in
the access.conf file would result in access requests that matched the second
stanza to always be treated as a replay attack.  This has been fixed for
the fwknop-2.0.1 release, and was reported by Andy Rowland.  Now the fwknopd
server computes the SHA256 digest of raw incoming payload data before
decryption, and compares this against all previous hashes.  Previous to this
commit, fwknopd would add a new hash to the replay digest list right after
the first access.conf stanza match, so when SPA packet data matched the
second access.conf stanza a matching replay digest would already be there.
2012-07-07 21:31:30 -04:00
Michael Rash
fcf40b5e6d gcc warning fix fox: fko_decode.c:43:17: warning: variable ‘edata_size’ set but not used [-Wunused-but-set-variable] 2012-05-28 14:22:33 -04:00
Michael Rash
8a73e6dee8 updated PF anchor check to not rely on listing the PF policy 2012-05-28 14:19:52 -04:00
Michael Rash
5c26c0abaa added Ted Wynnychenko for OpenBSD PF testing 2012-05-28 14:18:34 -04:00
Michael Rash
7e8e48412f convert Rijndael blocksize values '16' to use RIJNDAEL_BLOCKSIZE macro 2012-01-15 15:57:45 -05:00
Michael Rash
dd188dc392 added --stat output to ChangeLog 2012-01-02 18:35:41 -05:00
Michael Rash
a36082b543 moved ChangeLog-v2.0 to ChangeLog 2012-01-02 18:33:42 -05:00
Michael Rash
36f21f95ce removed old ChangeLog files 2012-01-02 18:32:35 -05:00
Michael Rash
305708aa27 Added ChangeLog, ShortLog, and diffstat files for the 2.0 release. 2012-01-02 18:26:05 -05:00
Michael Rash
4ecbcba77c bumped version to 2.0 2012-01-02 17:47:01 -05:00
Michael Rash
9dae73d972 added FKO_CHECK_COMPILER_ARG_LDFLAGS_ONLY to fix ro-relocations and immediate binding protection compliation warnings on FreeBSD 2012-01-02 15:26:42 -05:00
Michael Rash
6f6a9d727d minor test suite update to look for linker warnings in a more generic way 2012-01-02 15:25:35 -05:00
Michael Rash
1bd2592d15 minor test suite addition to check for linker input file warnings 2012-01-02 15:10:55 -05:00
Michael Rash
a6a6a004d4 bumped version to 2.0 2012-01-02 11:29:16 -05:00
Michael Rash
ac0bf15ea7 minor wording update subversion -> git 2012-01-02 09:53:36 -05:00
Damien S. Stuart
aff8832d66 Refactored configure.ac to use a custom macro for compiler flag checks.
Set version to 2.0 (non-release candidate).
Minor typo fixes.
2011-12-29 14:20:18 -05:00
Michael Rash
99b1a48756 updated copyright and license statement - fwknop is GPL software 2011-12-12 20:41:39 -05:00
Michael Rash
7ac5319847 minor addition of the local_spa.key file for 'make dist' 2011-12-05 22:23:00 -05:00
Michael Rash
7a231a3b72 added local_spa.key file 2011-12-05 22:21:31 -05:00
Michael Rash
3d0ceccf65 added local_spa.key file 2011-12-05 22:20:39 -05:00
Michael Rash
710f98a9b5 minor addition of the CREDITS file for 'make dist' 2011-12-05 22:16:38 -05:00
Michael Rash
9bcd7cb137 Added the CREDITS file for 'make dist' 2011-12-05 22:16:03 -05:00
Michael Rash
3b2ec921be change log doc updates 2011-12-05 22:11:58 -05:00
Michael Rash
474a18b57d Added various files to Makefile.am so that 'make dist' continues to work 2011-12-05 22:10:47 -05:00
Michael Rash
690fe25fa4 added CREDITS file, bumped software version, added ChangeLog files 2011-12-05 21:14:31 -05:00
Michael Rash
bcba9d6bde added CREDITS file, bumped software version, added ChangeLog files 2011-12-05 21:14:14 -05:00
Michael Rash
893b89a3eb minor compiler warning fix on OpenBSD 2011-12-03 21:21:29 -05:00
Michael Rash
860b4527a4 minor compile fixes for FreeBSD 2011-12-03 13:10:35 -05:00
Michael Rash
9b7c1a8ce6 Added FORCE_NAT mode to the access.conf file
This commit adds a new configuration variable "FORCE_NAT" to the access.conf
file:

    For any valid SPA packet, force the requested connection to be NAT'd
    through to the specified (usually internal) IP and port value.  This is
    useful if there are multiple internal systems running a service such as
    SSHD, and you want to give transparent access to only one internal system
    for each stanza in the access.conf file.  This way, multiple external
    users can each directly access only one internal system per SPA key.

This commit also implements a few minor code cleanups.
2011-11-30 20:51:19 -05:00
Michael Rash
8585958e6e minor newline fix for access.conf output dump 2011-11-28 23:20:11 -05:00
Michael Rash
2a1243fee6 memory leak bugfix as a follow up to commit b280f5cde0246cdef33dee3f8be66a2bcef77336 2011-11-28 23:18:07 -05:00
Michael Rash
b280f5cde0 Added access stanza expiration feature, multiple access stanza bug fix
This commit does two major things:

1) Two new access.conf variables are added "ACCESS_EXPIRE" and
"ACCESS_EXPIRE_EPOCH" to allow access stanzas to be expired without having
to modify the access.conf file and restart fwknopd.

2) Allow an access stanza that matches the SPA source address to not
automatically short circuit other stanzas if there is an error (such as when
there are multiple encryption keys involved and an incoming SPA packet is
meant for, say, the second stanza and the first therefore doesn't allow
proper decryption).
2011-11-28 22:03:21 -05:00
Michael Rash
9e884e9759 added SPA packet aging tests 2011-11-22 22:56:48 -05:00
Michael Rash
72a4353fd8 bug fix to exclude SPA packets with timestamps in the future that are too great (old packets were properly excluded already) 2011-11-22 22:56:36 -05:00
Michael Rash
644b9e9432 added test for --test mode in the fwknop client 2011-11-22 22:40:26 -05:00