This bucket is for completed tasks.
When creating a release tarball under ‘make dist’, the test suite performs a check for existing lib/ directory even under –enable-recompile. [test suite] Remove lib check for test suite when running in –enable-recompile mode
Franck Joncourt reported the following bug compiling fwknop MIPS via Fix MIPS compilation errorhttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689064
libtool: link: gcc -g -O2 -Wformat -Werror=format-security -Wall -g -O2 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wall -fstack-protector-all -fstack-protector -fPIE -pie -D_FORTIFY_SOURCE=2 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/fwknop fwknop-fwknop.o fwknop-config_init.o fwknop-spa_comm.o fwknop-utils.o fwknop-http_resolve_host.o fwknop-getpasswd.o ../lib/.libs/libfko.so /usr/bin/ld: fwknop-fwknop.o: relocation R_MIPS_26 against `getenv’ can not be used when making a shared object; recompile with -fPIC fwknop-fwknop.o: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [fwknop] Error 1 make: Leaving directory `/build/buildd2-fwknop_2.0.3-1-mips-MZ2TL7/fwknop-2.0.3/client’ make: *** [all-recursive] Error 1 make: Leaving directory `/build/buildd2-fwknop_2.0.3-1-mips-MZ2TL7/fwknop-2.0.3’ make: *** [all] Error 2 make: Leaving directory `/build/buildd2-fwknop_2.0.3-1-mips-MZ2TL7/fwknop-2.0.3’ make: *** [override_dh_auto_build] Error 2 make: Leaving directory `/build/buildd2-fwknop_2.0.3-1-mips-MZ2TL7/fwknop-2.0.3’ make: *** [build-arch] Error 2
Update: the problem appears to be caused by manually specifying the CFLAGS variable while not also specifying the LDFLAGS variable.
:<2012-11-09 Fri> This issue has been fixed through the Debian build process, and Franck has indicated that no changes are required within fwknop.
The client currently sends an SPA packet when an encryption key is requested but the user tries to exit out with Ctrl-C. [client] Update to not send SPA packet if Ctrl-C is used
- Completed by Franck Joncourt.
Leverage pcap_open_offline() to process pcap files from disk instead of sniffing the network live. [server] Add the ability to process pcap files offline
- Added a new ‘–pcap-file <file>’ option for this purpose.
There needs to be a way to easily disable libgpgme usage even if it is installed - this could be done with a new –disable-gpg argument to the configure script. Add –disable-gpg arg to the autoconf configure script
- Added –disable-gpg to the autoconf configure script (via configure.ac)
For SPA packets sent over ICMP via raw socket, allow the user to specify the ICMP type and code. [client] Add –icmp-type and –icmp-code args
fwknopd can benefit from upstart management and monitoring on Ubuntu systems. [server] For Ubuntu systems, have fwknopd managed by upstart
- Added the extras/upstart/fwknop.conf file so that standard upstart
commands like “service fwknop start” can be issued.
Add a check to ensure that active and expire sets are not the same value in fwknopd.conf, and add a corresponding test in the test suite. [server] ipfw active/expire sets cannot be the same
Make the fwknop-2.0.2 release. Release fwknop-2.0.2
Make the fwknop-2.0.3 release. Release fwknop-2.0.3
Update fwknopd man page for GPG_ALLOW_NO_PW
Preserve existing configs under ‘make install’
- The current ‘make install’ behavior overwrites any existing fwknopd config
files from a previous installation.
- Updated to install fwknopd.conf -> /etc/fwknop/fwknopd.conf.inst if the fwknopd.conf file already exists, and similarly for the access.conf file.
Hank Leininger suggested that fwknopd do better detection for the iptables comment match since it is required for the expiration of SPA rules. fwknopd iptables comment match detection
Current default permissions on etc/fwknop and /etc/fwknop/* are too lax. Set restrictive permissions on etc/fwknop directory and /etc/fwknop/* files
The access.c parsing code currently throws an error if there is not KEY variable in an access stanza even if GPG_ALLOW_NO_PW is set. [server] access.c parsing: allow no KEY variable if GPG keys are used.
This bucket is for new tasks.
Fix gcc warnings on OpenBSD
:<2012-11-14 Wed> Current fwknop code issues compilation warnings like the following on OpenBSD: /root/src/fwknop-2.0.3/server/utils.c:117: warning: sprintf() is often misused, please use snprintf()
[server] Add PF NAT support for OpenBSD systems
fwknopd already supports various NAT modes on iptables, but it should be extended to support NAT on PF firewalls.
[server] Add access variable to require particular IP’s even when REQUIRE_SOURCE is used
The SOURCE variable only applies to the IP header. Add analogous filtering for the allow IP that is encrypted within an SPA payload.
[client] Fix ‘Could not set destination IP.’ in hostname resolution in ‘-P icmp’ mode
It seems that hostname resolution is not working when SPA packets are spoofed. Here is the command line to trigger the problem:
Add ‘enable’ to ipfw active set at init time
Currently fwknopd does not do a check to ensure that the active set is enabled at init time (‘ipfw set enable 1’).
Update fwknopd man page to include IPFW* vars
None of the ipfw variables are currently documented in the fwknopd man page.
Use assert() in various places
Use assert() to validate expected values wherever possible.
[server] Include files for access.conf
Hank Leininger suggested that the main access.conf file have an option to include other files in which access stanzas can be specified. This makes it easy to wrap additional controls around access information particularly in multi-user environments.
[test suite] SPA packet fuzzer
Add a series of patches to the fwknop client that break how it produces SPA data in subtle ways in order to ensure proper validation by fwknopd.
[test suite] backwards compatibility tests
The test suite should have the ability to test backwards compatibility between fwknop versions.
For Linux/Unix - a GNOME or KDE GUI app for the fwknop client.
Although there is currently a functioning web proxy that can serve as a UI via a browser, it would be nice to have native GNOME and KDE GUI wrappers for the fwknop client.
For Windows - VB and/or C# class wrappers around libfko.dll
Extend Windows support with VB and/or C# class wrappers around the libfko.dll
Ruby bindings to libfko
Perl and Python bindings already exist for libfko, so add Ruby to this list as well.
[test suite] client/server only tests
When only the client or server is being installed on a system, the test suite should be able to run only the relevant tests.
Implement SPA over IPv6
It is important to eventually fully support SPA over IPv6.