Damien Stuart
e3c4c045c6
Changes to address header references, platform support, error messages, and the perl module test suite.
...
Rearranged headers to reduce duplication and remove local header
references from fko.h.
Removed references to headers that did not need to be explicitly set.
Moved the MAX_PROTO_STR_LEN and MAX_PORT_STR_LEN definitions to the
fko_limits.h file.
Fixed bug where invalid nat_access or command messages were returning
FKO_ERROR_INVALID_SPA_ACCESS_MSG error code instead of the one
appropriate to the message type.
Fixed bad nat_access_msg test in Perl module test suite (caught by new
validation code).
2012-12-01 11:06:41 -05:00
Damien Stuart
1ec9f4ae94
Re-tweaks for accommodating the windows build and systems that do not have strnlen
2012-11-30 23:40:24 -05:00
Michael Rash
eaba5813f3
Bug fix for perl FKO compilation
...
This commit removes lib/ includes of common/ header files that was breaking
the perl FKO module compilation.
2012-11-28 22:39:07 -05:00
Michael Rash
04e0c9b560
[server] Ignore pcap non-blocking setting in --pcap-file mode
...
When setting --pcap-file mode from the command line some versions of libpcap
do not appear to allow non-blocking mode to be set and throw the following
error:
[*] Error setting pcap nonblocking to 0:
This commit ignores the non-blocking setting in --pcap-file mode.
2012-11-27 22:54:55 -05:00
Michael Rash
0337ae9fb6
Merge branch 'master' of github.com:mrash/fwknop
2012-11-22 21:43:43 -05:00
Damien Stuart
524d69af23
Merge branch 'master' of github.com:mrash/fwknop
...
Conflicts:
configure.ac
2012-11-21 22:33:13 -05:00
Damien Stuart
5873df753a
Tweaks to fix autoconf-related portability issues and autogen.sh reliability
2012-11-21 22:30:54 -05:00
Damien Stuart
11124b1f9f
Tweaks to fix autoconf-related portability issues and autogen.sh reliability
2012-11-21 22:16:39 -05:00
Michael Rash
4cb5add328
revert 7db2d1e796bba7af393e2d5c40db65b95fcee066 (--disable-gpg arg) since --without-gpgme works properly
2012-11-21 21:49:16 -05:00
Michael Rash
fe8ac98004
bug fix for firewall rule deletion check in backwards compatibility tests on FreeBSD and OpenBSD
2012-11-21 21:29:26 -05:00
Michael Rash
bda539ebb4
removed duplicate android_access.conf file introduced in a local mrash commit
2012-11-20 08:28:46 -05:00
Michael Rash
7e583ed5a2
Merge branch 'master' of github.com:mrash/fwknop
2012-11-20 08:27:33 -05:00
Damien Stuart
1daa1c6795
Now commiting only the change to Makefile.am this time
2012-11-19 12:22:40 -05:00
Damien Stuart
617305504a
Revert "Tweaks to EXTRA_DIST. Added one missing and removed one invalid entry under the test directory."
...
This reverts commit 556ca2c146a598cddada4dd8cdf3f9b12f32f202.
2012-11-19 12:19:12 -05:00
Damien Stuart
f544a4aeb5
Added the --icmp-xxxx arg descriptions to the fwknop usage message.
2012-11-19 09:48:34 -05:00
Damien Stuart
556ca2c146
Tweaks to EXTRA_DIST. Added one missing and removed one invalid entry under the test directory.
2012-11-19 09:30:15 -05:00
Damien Stuart
f499e30900
Tweaks to fix issues with building the lib and client under Windows. Added .fwknop.last support on Windows. Bumped the lib version to 0.0.4. Fixed bug in username detection code. Removed -Werror from AM_INIT_AUTOMAKE which prevented setting of CPPFLAG for the lib build in some circumstances.
2012-11-19 08:43:14 -05:00
Michael Rash
049e1e958f
[test suite] added android_access.conf file for Android SPA test
2012-11-17 14:06:39 -05:00
Michael Rash
5a2150e070
[test suite] minor update to not look for lib/.libs/ in --enable-recompile mode
2012-11-15 22:36:29 -05:00
Michael Rash
9921e72d70
[test suite] backwards compatibility tests
...
Added a few backwards compatibility tests for versions of fwknop going back to
2.0, and also added a compatibility test for an SPA packet produced by Android
4.2.1.
2012-11-15 21:16:11 -05:00
Michael Rash
31c3100d7f
minor gcc warnings todo note for OpenBSD
2012-11-14 23:46:29 -05:00
Michael Rash
517f447028
bumped version to 2.0.4
2012-11-14 23:45:43 -05:00
Michael Rash
38d4b5cc88
minor marking text update around fuzzing packet count
2012-11-13 21:18:29 -05:00
Michael Rash
02790628d4
additional SPA validation check to ensure no non-ascii printable chars in decoded message
2012-11-13 21:16:27 -05:00
Michael Rash
70afd9c2d4
minor spacing fix
2012-11-13 21:12:41 -05:00
Michael Rash
bc58b3a15f
Added chain_exists() check to fwknopd SPA rule creation
...
Added chain_exists() check to SPA rule creation so that if any
of the fwknop chains are deleted out from under fwknopd they will be
recreated on the fly. This mitigates scenarios where fwknopd might be
started before a system level firewall policy is applied due to init
script ordering, or if an iptables policy is re-applied without
restarting fwknopd.
2012-11-12 21:48:26 -05:00
Michael Rash
c0349a20a3
added fuzzing packet count to FKO server fuzzing test
2012-11-09 20:42:43 -05:00
Michael Rash
c354afb3b4
minor todo reorganization
2012-11-09 20:42:08 -05:00
Michael Rash
2a3cd1abfe
Merge branch 'master' of github.com:mrash/fwknop
2012-11-08 22:25:33 -05:00
Michael Rash
03b222ddda
[client] (Franck Joncourt) Fixed Ctrl-C problem where SPA packets were sent anyway
...
[client] (Franck Joncourt) Contributed a patch to allow the fwknop
client to be stopped during the password entry prompt with Ctrl-C before
any SPA packet is sent on the wire.
2012-11-08 22:22:04 -05:00
Michael Rash
9f9910c317
added blurb about Android-4.1.2
2012-11-08 22:09:23 -05:00
Michael Rash
16c8be2d83
minor README update for proper 4.1.2 version of Android
2012-11-08 22:07:16 -05:00
Michael Rash
585beba951
added updated properties files for Android-4.1.2
2012-11-08 22:06:25 -05:00
Michael Rash
4dd65c5761
minor bug fix to leverage fko_errstr() returned error string properly
2012-11-08 21:42:18 -05:00
Michael Rash
e57156e57d
added fko header files for the Android client
2012-11-08 21:39:21 -05:00
Michael Rash
66ad134708
[server] Added '--pcap-file <file>' option
...
Added a new '--pcap-file <file>' option to allow pcap files to
be processed directly by fwknopd instead of sniffing an interface. This
feature is mostly intended for debugging purposes.
2012-11-08 21:33:23 -05:00
Michael Rash
7afe5b28b7
minor update to use explicit FKO_SUCCESS value in if() result check
2012-11-08 21:03:45 -05:00
Michael Rash
2ae1449122
allow '_' chars in usernames provided to libfko
2012-11-08 21:02:44 -05:00
Damien Stuart
5ddf5afec6
Ignore trailing whitespace on .fwknoprc directives
2012-11-08 19:41:46 -05:00
Michael Rash
36630694fd
Additional todo tasks
2012-11-05 20:39:03 -05:00
Michael Rash
575e696164
[test suite] added pinentry check for gpg tests that have keys that require associated passphrases
2012-11-05 20:38:34 -05:00
Michael Rash
5c1979e16a
Added test suite config file: disable_aging_nat_fwknopd.conf
2012-11-04 22:13:52 -05:00
Michael Rash
231be81f5b
bug fix to include multi-gpg ID no password test
2012-11-03 23:11:24 -04:00
Michael Rash
df2bb3e3fd
Merge branch 'master' of github.com:mrash/fwknop
2012-11-03 19:00:56 -04:00
Michael Rash
66467e9449
Merge pull request #11 from tomyuk/master
...
add missing include files to lib/Makefile.am
2012-11-03 16:00:57 -07:00
Michael Rash
dbf6dc8846
--enable-recompile try raw make if sudo make fails
2012-11-03 18:09:12 -04:00
Michael Rash
5218e52f9a
added run-test-suite.sh LD_LIBRARY_PATH wrapper
2012-11-03 16:50:26 -04:00
Tomoyuki Kano
daa692caf7
Added missing include files
2012-11-03 19:08:10 +09:00
Tomoyuki Kano
cf783e075e
add missing include files to lib/Makefile.am
2012-11-03 19:03:48 +09:00
Michael Rash
28b2787001
bug fix to include cmd_access.conf in Makefile.am
2012-11-02 21:07:23 -04:00