root/fwknop/tags/fwknop-0.9.9/ChangeLog

Revision 566, 16.1 kB (checked in by mbr, 2 years ago)

more 0.9.9 stuff

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