root/fwknop/tags/fwknop-1.8.2/ChangeLog

Revision 775, 22.2 kB (checked in by mbr, 1 year ago)

looks like going from 64 to 32 platforms still has some issues

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 fwknop-1.8.2 (09/15/2007):
2     - Added fwknopd server support for Mac OS X. The Darwin uname return
3       string is detected and this enables Darwin-specific installation code in
4       install.pl.
5     - Updated to not print sensitive key/password information in --debug mode
6       with fwknopd.
7     - Bugfix for install.pl on Windows 2003 Server running under Cygwin where
8       'uname -o' output is reported 'Gygwin' for some reason.
9     - Added --Cygwin-install command line argument to install.pl to force
10       client-only fwknop install on Cygwin systems.
11     - Added --OS-type command line argument to install.pl to allow the user to
12       force the installation type.
13     - Updated to version 1.04 of Crypt::Rijndael. This fixes incompatibilities
14       between SPA packets between 64-bit and 32-bit platorms.
15     - Bugfix to enforce a maximum of 20 tries to read a password from stdin.
16     - Applied TCP options parsing fix from psad for invalid zero or one length
17       fields that break TLV encoding (this is for fwknopd, and only applies to
18       the legacy port knocking mode).
19     - Added code to fwknopd to check to see if there are any state tracking
20       rules in place within the local iptables or ipfw policy.
21     - Made syslog identity, facility, and priority configurable (applied code
22       from the psad project).
23     - Implemented --fw-list for ipfw firewalls.
24     - Bugfix for knoptm removing ipfw rules too quickly after not timing out
25       previously instantiated rules properly.
26     - Implemented smarter cache removal strategy in knoptm so that rules that
27       are manually removed from the running iptables or ipfw policy are also
28       removed from the cache.
29     - Added /var/log/fwknop/errs/fwknopd.{warn,die} tracking to the fwknopd
30       daemon for the PCAP modes of collecting packet data. Added
31       knoptm{warn,die} files for knoptm as well.
32     - Bugfix to import the GnuPG::Interface module in --get-key mode.
33     - Bugfix to send source IP as a part of the command message in command
34       mode so that REQUIRE_SOURCE_ADDRESS controls can be applied.
35     - Added --Test-mode to fwknop client so that SPA packets can be built but
36       never sent over the network.
37
38 fwknop-1.8.1 (06/06/2007):
39     - Bugfix to ensure that the "keep-state" directive is added to firewall
40       rules on systems running the ipfw firewall.
41     - Added the --Save-packet and --Save-packet-file command line arguments
42       to the fwknop client. These options instruct fwknop to save a copy of
43       an encrypted SPA packet before it is sent across the network.
44     - Bugfix to find minimal unused ipfw rule number for ipfw firewalls. This
45       fixes an issue where ipfw rules added by fwknopd could be inserted at
46       the same position as rules from an existing ipfw policy. While ipfw
47       allows duplicate rules, whenever such a rule is deleted by its rule
48       number all matching rules are deleted.
49
50 fwknop-1.8 (06/03/2007):
51     - Added support for ipfw firewalls (found on *BSD systems).  The
52       IPTables::Parse and IPTables::ChainMgr modules are not installed on
53       such systems.
54     - Added gpg-agent support for both the fwknop client and fwknopd SPA
55       server.
56     - Updated client-only installation mode to restrict perl module
57       installation to those module that are actually required by the fwknop
58       client. This results in clean installs of the fwknop client on Windows
59       systems running Cygwin.
60     - Added --Defaults to install.pl so that fwknop can be installed without
61       prompting the user to answer any questions. This is to make it easier
62       to install fwknop on the Source Mage Linux distro.
63     - Consolidated daemon config files into the fwknop.conf file (except for
64       the access.conf file). This simplifies the configuration of fwknop.
65     - Added recursive variable resolution in the parsing routines for the
66       fwknop.conf file. This allows variable values to contain embedded
67       variables.
68     - Added init script for FreeBSD systems.
69     - Added --BSD-install command line argument to install.pl. This is not
70       normally necessary since the installer should detect installations on
71       *BSD systems, but this option can force this behavior.
72     - Updated knopmd and knopwatchd to use safe_malloc() instead of malloc().
73     - Bugfix to never time out rules from SOURCE blocks with FW_ACCESS_TIMEOUT
74       set to zero
75
76 fwknop-1.0.1 (01/09/2007):
77     - Updated fwknopd to allow the GPG_REMOTE_ID variable to have the value
78       "ANY" to allow a SOURCE block to match on arbitrary remote gpg signing
79       keys (Leland Weathers).
80     - Bugfix to allow OPEN_PORTS to be omitted in access.conf in favor of
81       having only PERMIT_CLIENT_PORTS enabled (reported by Raul Siles).
82     - Added the cd_rpmbuilder script to make it easy to build RPM's out of
83       CipherDyne projects by automatically downloading the project .tar.gz and
84       .spec files from http://www.cipherdyne.org/.
85
86 fwknop-1.0 (11/05/2006):
87     - Bugfix for OpenSSH-4.3p2 patch to make sure to include the spa.h header
88       file.
89     - Bugfix for access hashes accumluating when multiple ports are requested
90       to be opened by a client.
91     - Better validation of IPT_AUTO_CHAIN variable so that the from_chain
92       cannot be identical to the to_chain.
93     - Bugfix in RPM to install List::MoreUtils.
94     - Bugfix so that the MD5 sum for an SPA packet is not examined for each
95       SOURCE block.  This fixes a problem where an SPA packet could appear to
96       be replayed if multiple SOURCE blocks are defined in
97       /etc/fwknop/access.conf.
98     - Refactored main SPA access loop so that it is clearer how and when SPA
99       clients are granted access.
100     - Better handling of GnuPG key identifier strings (they can now contain
101       spaces, and syslog messages wrap the identifiers with double quotes).
102     - Added source IP address to command string in the SPA packet so that
103       the REQUIRE_SOURCE_ADDRESS criteria can be applied by the fwknopd
104       server.
105     - Added --Show-last-cmd and --Show-host-cmd args to fwknop so that the
106       last fwknop command and the last fwknop host commands can be viewed.
107     - Added the svn revision number to --Version and --help output.
108
109 fwknop-0.9.9 (10/15/2006):
110     - Added REQUIRE_SOURCE_ADDRESS (disabled by default) to force fwknop
111       clients to know their source IP address (i.e. -s cannot be used).  So,
112       either fwknop clients have to use -R to resolve their externally
113       routable address, or they must just know what it is.
114     - Updated to Net-RawIP-0.21_03 for compatibility with gcc-4.x compilers.
115     - Added List-MoreUtils-0.22 which is a dependency of the new Net::RawIP
116       module.
117     - Bugfix to restore "start" functionality in Gentoo init script.
118     - Bugfix to use the IPT_OUTPUT_FILE and IPT_ERROR_FILE configuration
119       variables in fwknopd.
120     - Added KNOPTM_IPT_OUTPUT_FILE and KNOPTM_IPT_ERROR_FILE variables
121       specifically for the knoptm daemon so that it can use IPTables::ChainMgr
122       completely independently of fwknopd (this removes a potential race
123       condition between fwknopd and knoptm).
124
125 fwknop-0.9.8 (09/17/2006):
126     - Added the ability to ignore old SPA packets through use of the
127       client-side time stamp.  This means that an attacker cannot intercept an
128       SPA packet, prevent it from being forwarded to its intended destination,
129       and then put the packet on the wire at some time outside of the allowed
130       time window.  There are two new configuration options in fwknop.conf
131       "ENABLE_SPA_PACKET_AGING" and "MAX_SPA_PACKET_AGE" that control the
132       length of the acceptable time window (2 minutes by default).  This
133       requires some level of synchronization between the fwknop client and the
134       fwknopd server, but this is not onerous through the use of NTP.  This
135       feature is enabled by default, and the idea for it was contributed by
136       Sebastien J.
137     - Completely re-worked IPTables::ChainMgr to support the return of
138       iptables error messages that are collected via stderr.  This is critical
139       to fixing any bugs where fwknopd could die as a result of a poorly
140       crafted iptables command.
141       but no information would be returned to the user.
142     - Added the ability to specify the position for both the jump rule into
143       the fwknopd chains as well as the position for new rules within the
144       fwknopd chains via the -I argument to iptables.  This fixes a bug where
145       the user was given the impression that the IPTABLES_AUTO_RULENUM would
146       accomplish this (IPTABLES_AUTO_RULENUM has been removed).
147     - Updated fwknopd to require < 1500 byte payload length before attempting
148       to decrypt.  Also, GnuPG decrypts are not attempted unless the encrypted
149       payload is at least 400 bytes long (this is conservative since even
150       encrypting a single byte with a 1024-bit key will result in about 340
151       bytes of encrypted data).
152     - Added the --gpg-default-key option to have fwknop use the default GnuPG
153       key that is defined in the ~/.gnupg/options file.
154     - Added the --URL command line argument so that a URL other than the
155       default http://www.whatismyip.com/ can be provided by the user for
156       external IP resolution (suggested by Sebastien J.).
157     - Updated to be more rigorous with md5 sums; we now require that the
158       md5_base64() function actually returns a non-null result.
159     - Bugfix to make sure that only the users associated with the a specific
160       REQUIRE_USERNAME value (in a specific SOURCE block in access.conf) are
161       granted the appropriate access even if a valid encrypted packet is
162       constructed from a different user name (by an fwknop client).
163     - Populated the _debug option in the IPTables::ChainMgr module, and also
164       added a _verbose option so that the specific iptables commands can
165       actually be seen as IPTables::ChainMgr functions are called.
166     - Added code to install.pl to update command paths in fwknop.conf and
167       knopwatchd.conf if any of the paths are broken (i.e. the local system
168       does not conform to the default paths).  By default this only happens if
169       the user does not want old configs to be merged, but to override this
170       use the new --path-update command line argument to install.pl.
171     - Added the --Skip-mod-install command line argument to install.pl to
172       allow all perl module installs to be skipped.
173     - Added the --force-mod-regex command line argument to install.pl to allow
174       a regex match on perl module names to force matching modules to be
175       installed.
176     - Minor bugfix to generate better (i.e. closer to those that Firefox
177       generates) http requests to http://www.whatismyip.com/).
178     - Adapted Mate Wierdl's RPM patch from the psad project so that the fwknop
179       RPM builds on x86_64 systems.
180     - Removed iptables requirement in RPM spec file because fwknop may be
181       installed on a system just to run the fwknop client.
182     - Updated to email username mismatch errors.
183
184 fwknop-0.9.7 (08/04/2006):
185     - Added fwknop_serv to function as minimal TCP server over which SPA
186       packets can be sent.  This allows SPA to be compatible with the Tor
187       network, which requires that a virtual circuit is established before
188       traffic can be sent.
189     - Updated to Crypt::CBC-2.18 after a vulnerability was discovered in
190       previous versions of Crypt::CBC that caused weak ciphertext to be
191       generated for algorithms that have blocksizes greater than 8 bytes (such
192       as Rijndael used by fwknop).  Manually specifying initialization vectors
193       is not necessary now.
194     - Updated SSH patch to support OpenSSH-4.3p2.
195     - Bugfix to make sure to create /var/* directories if they don't exist
196       (such as when /var is a tmpfs).
197     - Bugfix (Dwayne Rightler) to restore -w IP lookup functionality after
198       format change on data returned by whatismyip.com.
199     - Bugfix to wrap SPA Rijndael decryption with eval{} so that fwknopd does
200       not die if there are problems trying to decrypt data.  This is necessary
201       because of the security vulnerability fix in Crypt::CBC that creates
202       some incompatibilities in different versions of Crypt::CBC.
203     - Added "--L-host" command line argument so that the arguments used for
204       multiple hosts are preserved and can be recalled.
205     - Changed default user-agent setting for whatismyip.com lookups to
206       Firefox/1.0.5.4; there is no need to gratuitously advertise fwknop
207       traffic.
208     - Updated GunPG HOWTO to provide a step-by-step guide to getting fwknop
209       Single Packet Authorization working with GnuPG.
210     - Updated to derive perl module versions from the VERSION files within
211       each of the perl module source directories.
212
213 fwknop-0.9.6 (01/13/2006):
214     - Added GPG based authentication capability for SPA packets.  This new
215       mode can be configured to require that a GPG message be signed with a
216       particular key or set of keys.
217     - In GPG mode, the fwknop client now prints GPG errors to stdout if not
218       running with --gpg-no-batch-mode.
219     - Added the ability to require that the client know the UNIX crypt()
220       password associated with a username on the server side.  This
221       functionality is enabled on the fwknop client with the "--Server-auth
222       crypt" command line argument, and the REQUIRE_AUTH_METHOD variable in
223       /etc/fwknop/access.conf on the fwknopd server.
224     - Added patch against OpenSSH-4.2p1 to integrate SPA mode.  This patch
225       adds a "-K <fwknop cmd line>" argument to the SSH client so that
226       fwknop can be executed directly before an SSH connection is made.
227     - Separated server and client portions of fwknop into "fwknopd" and
228       fwknop repectively.  This will allow better portability to be
229       developed since the client and server pieces can be developed more
230       independently.  NOTE: With so many changes, it is probably a good idea
231       to not preserve old fwknop configs via install.pl.
232     - Renamed all relevant fwknopd command and file paths to support new
233       fwknopd server component.
234     - Added --quiet mode (this is used by default in the OpenSSH patch).
235     - Removed legacy port knocking installation in install.pl (fwknopfifo,
236       and fwdata file) unless the data collection mode is set to syslog or
237       syslog-ng for legacy iptables log messages.
238     - Added inode checking for PCAP_PKT_FILE. This helps to ensure that log
239       rotation schemes don't interfere with reading packets out of the file
240       since this check is size independent.
241     - Bugfix for Makefile debug mode.
242     - Added compilation check for perl programs in install.pl before
243       installation into the filesystem.
244     - Bugfix for knopwatchd to make sure it can actually restart all running
245       daemons properly.
246     - Added --force-mod command line argument to install.pl to allow the user
247       to force all perl modules to be be installed regardless of whether a
248       module exists in the system perl lib tree.
249     - Added --no-save-args to fwknop so that existing .fwknop.run file can
250       be preserved (helps to testing new features of fwknop client).
251     - Removed useless --encrypt command line argument (only the old shared
252       port knock sequences are not encrypted).
253
254 fwknop-0.9.5 (10/02/2005):
255     - Added the ability to resolve the external IP associated with the
256       local network via http://www.whatismyip.com.  This is a more secure
257       method of accomplishing what the -s option performs.  The new
258       command line option is --whatismyip (or just -w).
259     - Updated fwknop to communicate with knoptm via a UNIX domain socket
260       instead of the previous file-based communication.
261     - Updated to flush the fwknop iptables chains at start time.
262     - Bugfix for removing the wrong hash key in the knoptm IP cache.
263
264 fwknop-0.9.4 (09/17/2005):
265     - Bugfix for knoptm timing out new entries based on old time values
266       (this caused new rules to timed out too quickly).
267     - Added support for multiple users in REQUIRE_USERNAME keyword in
268       access.conf.
269     - Added the ability to display raw encrypted packet data in client
270       mode with --verbose.
271     - Created fwknop RPM for RPM-based Linux distributions.
272     - Bugfix for inappropriate redirects in command mode where the command
273       already contained a redirect.
274
275 fwknop-0.9.3 (08/27/2005):
276     - Added an on-disk cache of md5 sums so that the md5 sum check can
277       survive restarts of fwknop.
278     - Updated install.pl to be more friendly to Mac OS X (Blair Zajac).
279     - Updated to allow access.conf variables to have values instead of just
280       being defined.
281     - Started on additional server authentication mode code (re-worked MD5
282       sum calculation to allow packet format to be extended by taking into
283       account the fwknop version number).
284
285 fwknop-0.9.2 (08/06/2005):
286     - Added FILE_PCAP data collection method when running in server mode.
287       This is a more general way of getting packets than the ULOG_PCAP
288       mode since then a normal ethernet sniffer can be used to build the
289       file.
290     - Added the ability to re-open a pcap file if its size shrinks (i.e.
291       it gets rotated out or something).
292     - Bugfix for multiple rules with the same timestamp not being timed out
293       by knoptm.
294     - Integrated spoofing capability directly within fwknop (instead of
295       using the knopspoof command) through the use of "require Net::RawIP".
296     - Better multi-protocol support in server mode.  Tcp and icmp packets
297       are properly decoded now.
298
299 fwknop-0.9.1 (07/29/2005):
300     - Added the ability to specify multiple ports/protocols to access on a
301       server with the --Access command line option.
302     - Added the ability to spoof SPA packets over icmp and tcp protocols.
303     - Added the ability to restrict access at the server to only those
304       ports defined in the OPEN_PORTS keyword.  This option is controled by
305       a new keyword "PERMIT_CLIENT_PORTS".
306     - Bugfix for MD5 sum not being properly calculated over decrypted data.
307       This allowed old packets that contained additional garbage data to
308       be replayed against an fwknop server.
309     - Updated to fall back to getpwuid() if getlogin() fails (Blair Zajac).
310     - Added --ipt-list to list all current rules in the FWKNOP iptables
311       chains.
312     - Added --ipt-flush to flush all current rules in the FWKNOP iptables
313       chains.
314     - Bugfix for the installer dying if ~/lib already exists (Blair Zajac).
315     - Updated to delay the loading of server perl modules (Net::Pcap, etc.)
316       only if we are running in server mode.
317     - Bugfix for module directory paths in install.pl.
318
319 fwknop-0.9.0 (05/29/2005):
320     - Added new authorization mode that uses Net::Pcap to read packets
321       out of a file that is written to by the ulogd pcap writer (also
322       stubbed in code to sniff packets directly off the wire).  This
323       authorization mode only requires single packets, and has many
324       characteristics that are better than simple port knocking, including
325       being non-replayable, and much more data can be sent.  This mode
326       is now the default for both the server and the client.
327     - Made the execution of knopmd optional depending on whether AUTH_MODE
328       is a pcap mode (e.g. ULOG_PCAP or PCAP).
329     - Added --Spoof-src argument so that encrypted packets can be spoofed
330       via /usr/sbin/knopspoof.
331     - Added /usr/sbin/knoptm so that firewall rules can be timed-out when
332       the server is running in PCAP mode even if new packets don't appear
333       on the wire.
334     - Updated fwknop man page to talk about the new pcap-based
335       authorization mode.
336
337 fwknop-0.5.0 (03/19/2005):
338     - Added ALERTING_METHOD to allow syslog and/or email reporting to be
339       disabled (there is a dedicated file /etc/fwknop/alert.conf that
340       governs this behavior, and both fwknop and knopwatchd reference this
341       file).
342     - Bugfix for distinguishing OPT field associated with --log-tcp-options
343       vs. --log-ip-options.
344     - Added install_perl_module() install.pl from psad to provide a
345       consistent installation interface.
346     - Applied patch to only install perl modules that are not already
347       installed (Blair Zajac).
348     - Added --last-cmd option to allow fwknop to be executed with command
349       line arguments from the previous execution (they are saved in
350       ~/.fwknop.run).
351     - Added --Home-dir option to allow the home directory to be manually
352       specified.
353     - Re-worked get_homedir() to be more friendly to systems that do not
354       necessarily have /etc/passwd (e.g. OS X).
355     - Added configuration preservation and querying for which syslog
356       daemon is running to install.pl.  These features were adapted from the
357       psad installer (http://www.cipherdyne.org/psad).
358     - Added IPTables::ChainMgr.  Fwknop uses this module to maintain
359       dedicated chains to which access rules are added.
360     - Added IPTables::Parse, which is used internally by IPTables::ChainMgr.
361     - Added __WARN__ and __DIE__ handlers so errors can easily be collected.
362
363 fwknop-0.4.2 (09/27/2004):
364     - Added init script for Fedora systems.
365     - Added --Kill, --Restart, and --Status modes (this fixes the generic
366       init script which depends on these arguments).
367
368 fwknop-0.4.1 (09/14/2004):
369     - Bugfix for legacy posf code in fwknop and variable in fwknop.conf.
370
371 fwknop-0.4 (09/10/2004):
372     - Added ability to specify multiple IPs/networks in a single SOURCE
373       definition.
374     - Better examples section in the fwknop manpage.
375     - Bugfix to make sure EMAIL_ADDRESSES variable does not contain commas
376       (any commas are translated into spaces).
377     - Added LICENSE file.
378
379 fwknop-0.3 (08/21/2004):
380     - Bugfix for tracking knock sequences by source IP address.
381     - Bugfix for knock sequence timeouts.
382     - Removed old passive OS fingerprinting code in favor of the p0f
383       strategy.
384     - Added support for taking encryption keys from a file specified on
385       the command line.
386     - Update to send "sequence decrypt failed" email message only if
387       decryption failed for all encrypt sequence SOURCE blocks.
388
389 fwknop-0.2 (07/31/2004):
390     - Implemented remote username checking in encrypted sequences.
391     - Added support for icmp in knock sequences.
392     - Added protocol rotation option for encrypted sequences.
393     - Added code for multiple SOURCE access blocks with the same source
394       net/IP.
395     - Added KNOCK_LIMIT access control variable to limit the number of
396       times a particular knock sequence is honored.
397     - Added email alerts.
398
399 fwknop-0.1 (07/08/2004):
400     - Initial release.
Note: See TracBrowser for help on using the browser.