root/fwknop/tags/fwknop-1.0/ChangeLog

Revision 591, 17.3 kB (checked in by mbr, 3 years ago)

added --Show-last-cmd and --Show-host-cmd args to fwknop

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