root/fwknop/tags/fwknop-1.0.1/ChangeLog

Revision 610, 17.9 kB (checked in by mbr, 2 years ago)

minor wording update

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