Put strlcpy and strlcat object files back in the source group in lib. Moved libfko_util.a to the common directory (though sources remain in lib). Client and server code looks to common dir for libfko-util. This fixes issue with strlcpy showing as undefined symbol when perl FKO module is loaded.
…ontributed an fwknop-2.0.4 OpenBSD port
…vailable (for Macs). Added USE_GPG_AGENT option for .fwknoprc
There were portability issues on FreeBSD when Devel::Checklib was in use, but this can be added back in for a CPAN version of the perl FKO module.
…nd display version and exit without creating an fko context.
… exported symbol issue noticed by Franck" This reverts commit e57cfa2. This is done because libfko now restricts the symbols it exports to only those functions that should be visible when making use of the library - internal libfko functions should not be exported.
…s. Moved strlcat/cpy to a separate libfko_util lib.
…d symbol issue noticed by Franck
…s, 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).
… have strnlen
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.
…ests on FreeBSD and OpenBSD