root/psad/tags/psad-1.4.7/ChangeLog

Revision 1601, 21.4 kB (checked in by mbr, 2 years ago)

bumped version to 1.4.7

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 psad-1.4.7 (09/10/2006):
2     - Completely re-worked IPTables::ChainMgr to support the return of
3       iptables error messages that are collected via stderr.  This is critical
4       to fixing a bug where psad would sometimes die on an iptables command
5       but no information would be returned to the user.
6     - Added the ability to specify the position for both the jump rule into
7       the psad chains as well as the position for new rules within the psad
8       chains via the -I argument to iptables.  This fixes a bug where the user
9       was given the impression that the IPTABLES_AUTO_RULENUM would accomplish
10       this.
11     - Populated the _debug option in the IPTables::ChainMgr module, and also
12       added a _verbose option so that the specific iptables commands can
13       actually be seen as IPTables::ChainMgr functions are called.
14     - Added code to install.pl to ask the user if a manual restart of syslog
15       is ok upon an unsuccessful test of the syslog reconfiguration.  This
16       fixes a bug where some syslog daemons might not re-import their
17       configurations after receiving a HUP signal.
18     - Bugfix for incorrect config variable name that gated Netfilter
19       prerequisite checks.
20     - Added code to install.pl to update command paths in psad.conf and
21       psadwatchd.conf if any of the paths are broken (i.e. the local system
22       does not conform to the default paths).  By default this only happens if
23       the user does not want old configs to be merged, but to override this
24       use the new --path-update command line argument to install.pl.
25     - Added the --Skip-mod-install command line argument to install.pl to
26       allow all perl module installs to be skipped.
27     - Added the --force-mod-regex command line argument to install.pl to allow
28       a regex match on perl module names to force matching modules to be
29       installed.
30     - Added the logrotate.psad file (contributed by Albert Whale).
31
32 psad-1.4.6 (06/13/2006):
33     - Added ENABLE_AUTO_IDS_REGEX and AUTO_BLOCK_REGEX to allow filtering on
34       logging prefixes.
35     - Added code to save DShield email to a file.
36     - Added IPTABLES_PREREQ_CHECK to allow the administrator to control the
37       frequency of Netfilter checks (for auto-block compatibility).
38     - Added IGNORE_LOG_PREFIXES to allow certain log prefixes to be completely
39       ignored by psad.
40     - Added classification.config file from Snort-2.3.3 so that psad can
41       assign danger levels based upon Snort rule class type.  This is useful
42       when also running fwsnort.
43     - Added snort_rule_dl to allow specific psad to assign specific danger
44       level values to particular signatures.  This is useful if you want to
45       do define certain Snort rules as being particularly evil (or not).
46       Running fwsnort is also necessary to take advantage of this feature.
47     - Added reference.config so that psad can include reference information in
48       email alerts that are derived from attacks detected by fwsnort.
49     - Updated to Snort-2.3.3 signatures.
50     - Updated to whois-4.7.13.
51
52 psad-1.4.5 (01/13/2006):
53     - Bugfix in IPTables::Parse to allow the limit target to apply to
54       logging rules.
55     - Made calls to chain creation and jump rule functions for only every
56       100 block calls in auto-IDS mode.
57     - Bugfix to make sure /var/run/psad directory exists at startup since
58       this directory is removed by some Linux distributions at boot time.
59     - Bugfix for zero masks in auto_dl; this allows a network of "0.0.0.0/0"
60       to be specified.
61     - Added ENABLE_FW_LOGGING_CHECK so that the Netfilter policy check can be
62       enabled/disabled easily via psad.conf.
63     - Enhanced -D output to include "uname -a" and "perl -V" output.
64     - Added ENABLE_RENEW_BLOCK_EMAILS to allow whether renew emails are sent
65       for auto-blocked addresses.
66
67 psad-1.4.4 (11/27/2005):
68     - Added MAC address reporting in psad email alerts.  This feature is
69       enabled via a new config keyword "ENABLE_MAC_ADDR_REPORTING".
70     - Added --fw-rm-block-ip <ip> option to allow IP addresses to be removed
71       from the auto-blocking chains from the command line.
72     - Updated command line firewall arguments to write commands to the
73       AUTO_IPT_SOCK domain socket.
74     - Added the ability to specify ports and port ranges to auto_dl file.
75     - Added --force-mod-install command line argument to installer to force
76       perl modules used by psad to be installed within /usr/lib/psad
77       regardless of whether they already exist in the system perl tree.
78     - Bugfix in the installer to seek() to the end of the fwdata file
79     - Bugfix for psad repeatedly trying to remove the same IP address(es)
80       from the auto-blocking chains.
81       instead of reading the entire thing into memory.
82     - Added the ability to truncate the fwdata file via a new configuration
83       keyword "TRUNCATE_FWDATA" (this is enabled by default).
84     - Bugfix in auto-blocking mode for deleting AUTO_IPT_SOCK when a HUP
85       signal is received.
86     - Bugfix for parsing Netfilter policies that contain ULOG logging rules
87       instead of the standard LOG target.
88     - Removed the smtpdaemon requirement in the RPM because psad might be
89       configured to not send email alerts.
90
91 psad-1.4.3 (09/27/2005):
92     - Bugfixes for auto-blocking code.  Timeouts should be handled
93       properly, including cached IP addresses in the auto_blocked_iptables
94       file that are referenced upon psad startup.  Communication with the
95       running psad is performed over a Unix domain socket in --fw-block
96       mode.
97     - Bugfix to seek to the end of the fwdata file instead of reading the
98       entire thing into memory and then looking for newly written logging
99       messages.  This drastically reduces the amount of memory required
100       by psad.
101     - Updated to only display psad chains if --verbose is set
102     - Updated to automatically flush the psad auto-response Netfilter chains
103       at start time (subject to a new config keyword "FLUSH_IPT_AT_INIT").
104
105 psad-1.4.2 (07/15/2005):
106     - Dependency bugfixes for mail binary.
107     - Bugfix for various IGNORE_* keywords not being honored.
108     - Bugfix for not timing out blocked IP addresses from a previous run.
109     - Updated to version 0.2 of the IPTables::ChainMgr module.
110     - Updated to not truncate the fwdata file upon psad startup.
111     - Added --fw-dump which produces a sanitized (i.e. no IP addresses)
112       version of the local Netfilter policy.  Also added --fw-include-ips
113       to (optionally) not sanitize IPs/nets.  Note that the 0.0.0.0 and
114       0.0.0.0/0 IPs/nets are not sanitized since they give no useful
115       information about specific IPs/nets.
116     - Added ulogd data collection mode.
117     - Bugfix for FW_MSG_SEARCH default (at least "DROP" is included now
118       even if FW_SEARCH_ALL is set to "N").
119     - Bugfix for non-network address for subnet specified with --fw-block.
120     - Bugfix for multiple --fw-block IPs/nets.
121     - Added README.SYSLOG (Francois Marier contributed the content).
122     - Made email alert prefixes (such as "[psad-alert]") customizable via
123       psad.conf.
124
125 psad-1.4.1 (03/12/2005):
126     - Updated to Snort-2.3 rules in the snort_rules directory.
127     - Re-worked syslog installation portion of install.pl.  The user will
128       always be prompted to enter the syslog daemon now, and also added
129       the --syslog-conf arg to allow the config file path to be specified
130       on the install.pl command line.
131     - Bugfix in install.pl for using IP address instead of network address
132       of directly connected subnets.
133     - Updated to version 4.6.23 of the whois client.
134     - Bugfix for distinguishing OPT field associated with --log-tcp-options
135       vs. --log-ip-options.
136     - Bugfix for syslog format that may not include the "kernel:" tag.
137     - Applied patch to only install perl modules that are not already
138       installed (Blair Zajac).
139     - Bugfix for the psad version number that is sent in DShield alerts.
140     - Updated Psad module directory structure to be consistent with current
141       versions of perl (5.8.x).
142     - Added IPTables::ChainMgr module.
143     - Completely re-worked the Netfilter auto-blocking code to use
144       IPTables::ChainMgr functions so that auto-generated rules are placed
145       in chains created by psad.
146     - Added IPT_AUTO_CHAIN keyword in psad.conf which is used to define the
147       set of chains to which auto-generated Netfilter rules are added.
148     - Added --fw-list-auto to display the contents of psad Netfilter
149       chains.
150     - Added the ability to import an IP into the Netfilter auto-blocking
151       chains from the command line with --fw-block-ip.  This allows psad to
152       apply its timeout mechanism against such IPs/nets.
153     - Added the ability to ignore packets based on input interface with
154       IGNORE_INTERFACES in psad.conf.
155     - Re-worked auto_dl code, better hash design and searching function.
156     - Removed dependency on sendmail command unless DShield alerting is
157       enabled and a DShield user id is specified.
158     - Added ALERTING_METHODS keyword in the file alert.conf to allow either
159       syslog or email alerts (or both) to be disabled.  Psad and psadwatchd
160       reference this file.
161
162 psad-1.4.0 (11/26/2004):
163     - Added p0f-style passive OS fingerprinting through the use of the OPT
164       field in iptables log messages (which is only logged through the use
165       of the --log-tcp-options command line arg to iptables).
166     - Bugfix for iptables log messages that include tcp sequence numbers
167       (see the iptables --log-tcp-sequence command line argument).
168     - Bugfix for O_RDONLY open flag when kmsgsd receives a HUP signal.
169
170 psad-1.3.4 (10/17/2004):
171     - Bugfix for init script directory on Slackware systems.
172     - Bugfix for null prefix counters.
173     - Added --whois-analysis argument since whois lookups are now disabled
174       by default when running in analysis (-A) mode.
175     - Updated psad_init() to rework setup() and import orderings vs.
176       --fw-analyze and --Benchmark modes.
177     - Added bidirectional iptables auto-blocking support for all chains
178       except for the INPUT and OUTPUT chains.
179     - Better syslog message support when run in auto-blocking mode.
180     - Added iptables auto-block rules section to --Status output.
181     - Added init script for Fedora systems.
182     - Added default_log() function to IPTables::Parse.  This function
183       parses user defined chains in an effort to find default logging
184       rules.
185     - Added EMAIL_LIMIT_STATUS_MSG to control whether or not psad sends a
186       status email when the PSAD_EMAIL_LIMIT threshold has been reached by
187       an IP address.
188     - Added ENABLE_SCAN_ARCHIVE to control whether or not psad archives old
189       scan data within /var/log/psad/scan_archive at start time.
190
191 psad-1.3.3 (09/09/2004):
192     - Fixed __WARN__ and __DIE__ exception handlers so that they
193       reference global message variables.
194     - Fixed auto danger level assignments.  Network auto assignments as
195       well as per-protocol assignments work now.
196     - Added SYSLOG_DAEMON variable to define which syslog daemon is running
197       on the underlying system instead of just guessing.
198     - Added the ability to ignore both ranges and specific ports/protocols
199       with a new variable IGNORE_PORTS in psad.conf.
200     - Bugfix to make sure email addresses are separated by spaces when
201       Psad::sendmail() is called.
202     - Bugfix for ipt_prefix counters not being parsed correct at import
203       time.
204     - Removed exclude_auto_ignore_ip() since this function was made
205       unnecessary by newly rewritten auto-assign code.
206     - Bugfix for Text::Wrap calls in install.pl uninstall() routine.
207     - Bugfix for using --no-fw-search-all even when FW_SEARCH_ALL is
208       set to "Y".
209     - Removed extraneous ".." and "**" chars from syslog messages, and
210       updated to use [+] prefix strings.
211     - Moved init scripts into init-scripts directory within source tree.
212     - Removed dependency on Bit::Vector (psad does not seem to make use
213       of any Date::Calc functions that require it).
214     - Wrapped copy() and move() calls with "or die()" to make them
215       safer in install.pl.
216     - Added check for existing psad process in install.pl.
217     - Updated to a new psad email alert subject format.  Prefixes of
218       "[psad-alert]", "[psad-error]", and "[psad-status]" are used now.
219     - Permissions fixes with umask() setting in /var/log/psad, permissions
220       fixes for files in /etc/psad at install time.
221
222 psad-1.3.2 (06/25/2004):
223     - Removed FW_MSG_SEARCH from psad.conf, and created a new config
224       file "fw_search.conf" that both psad and kmsgsd use to get the
225       FW_MSG_SEARCH definition(s).
226     - Added default mode of parsing all iptables messages instead of
227       just those that contain specific search strings.  A new config
228       variable "FW_SEARCH_ALL" was added to fw_search.conf that
229       controls this mode.
230     - Updated psad and kmsgsd so that multiple firewall search strings
231       can be specified through multiple FW_MSG_SEARCH variables in
232       fw_search.conf.
233     - Added iptables chain and logging-prefix tracking for current
234       scan interval in email alerts.
235     - Added protocol-specific auto-danger level assignments.
236     - Added total scan source and destination IP address counters in
237       --Status output.
238     - Added number of email alerts sent and OS guess in default
239       --Status output.  The output is getting wide now, so there is
240       also a new option --status-brief that will remove the alerts
241       sent and OS guess columns.
242     - Added getopt() command line arg parsing to kmsgsd with two new
243       options "-c" (for config file path) and "-k" (for fw_search.conf
244       path).
245     - Made iptables parsing code into its own script "fwcheck_psad"
246       that gets called by psad.
247     - Added Dshield stats summary to --Status output.
248     - Bugfix for auto-ignore IP addresses and networks being missed.
249     - Made parsing of ifconfig output language independent (should
250       handle French now for example).
251     - Removed "psad_" prefix on files psad_signatures, psad_auto_ips,
252       psad_posf, and psad_icmp_types in /etc/psad/.
253     - Updated to version 4.6.14 of the whois client.
254
255 psad-1.3.1 (12/25/2003):
256     - Added the ability to import /var/log/psad/<ip> directories
257       back into memory so scan data remains persistent across
258       psad restarts or system reboots.
259     - Added --Analyze-msgs to run psad in analysis mode against an
260       iptables logfile (/var/log/psad/fwdata by default).  The logfile
261       path can be changed with --messages-file.
262     - Added icmp type and code validation against RFC 792.
263     - Bugfix for being too strict with FW_MSG_SEARCH.
264     - Added port ranges for tcp and udp scans in <ip>/<dst>_packet_ctr.
265     - Added <ip>/<dst>_start_time and <ip>/os_guess.
266     - Bugfix for missing --no-signatures code.
267     - Updated to Snort-2.1 signatures.
268
269 psad-1.3 (11/30/2003):
270     - Replaced all signatures in psad_signatures with updated snort
271       rules.
272     - Added support for source and destination ip addresses in
273       signature matching code.  A new variable "HOME_NET" makes this
274       possible.
275     - Added support for the iptables output chain.
276     - Added chain tracking for all signatures.
277     - Replaced match_fastsigs() with two new routines for tcp and
278       udp signature matching that don't autovivify hash keys.
279     - Removed support for ipchains.
280     - Added support for metalog.
281     - Removed all "Undefined Code" signatures from psad_signatures.
282     - Re-worked %auto_blocked_ips hash and corresponding blocking
283       routines.  This (hopefully) fixes a restart bug seen on older
284       systems such as those that are still running versions of perl
285       less than 5.6.
286     - Re-worked firewall policy parsing routines.  Chains that have
287       a default policy of DROP are handled properly now.
288     - Bugfix for missing NULL char in kmsgsd.c.
289     - Updated scan alerting format.  Put current interval protocol
290       status before source and destination addresses.
291     - Buffer overflow fix in kmsgsd.c for size of buf[MAX_LINE_BUF]
292       buffer in read() call.
293     - Added --no-kmsgsd option to aid in psad --debug mode.
294
295 psad-1.2.4 (10/15/2003):
296     - Added danger level to subject line in email alerts.
297     - Removed diskmond altogether since psad now handles disk space
298       thresholds directly.  This allows filehandles to be handled
299       properly.
300     - Added auto_block_ignore_ip() to prevent 0.0.0.0, 127.0.0.1,
301       and local interface ips from being included in auto blocking
302       routines.
303     - Added Bit::Vector module to stop installation warnings from
304       Date::Calc.
305     - Made get_local_ips() called periodically since local addresses
306       may change (dhcp, etc.).
307     - Added installation code and init script for Gentoo Linux.
308     - Bugfix for INIT_DIR in uninstall() routine in install.pl.
309     - Bugfix for auto-blocking loop after timeouts are hit.
310     - Added --status-dl [N] to display status information only for
311       those scans that reach at least [N].
312
313 psad-1.2.3 (09/12/2003):
314     - Added interface tracking for scans.
315     - Bugfix for not opening /etc/hosts.deny the right way in
316       tcpwr_block().
317     - Bugfix for psadfifo path in syslog-ng config.
318     - Better format for summary stats section in email alerts.
319     - Bugfix for INIT_DIR path on non-RedHat systems.
320     - Bugfix for gzip path.
321     - Make Psad.pm installed last of all perl modules installed
322       by psad.
323     - Added additional call to incr_syscall_ctr() in psadwatchd.c
324
325 psad-1.2.2 (08/24/2003):
326     - psad is finally available as an RPM package.
327     - Added chain tracking for iptables.
328     - Added chain counts to --Status output.
329     - Bugfix for psad not taking into account multiple scan
330       destinations.
331     - Reworked auto-blocking code for both tcpwrappers and
332       iptables.  Lines added to /etc/hosts.deny will no longer be
333       duplicated.  Added IPTABLES_AUTO_RULENUM and
334       IPCHAINS_AUTO_RULENUM so auto rules can be inserted at a
335       configurable point within iptables and ipchains policies.
336     - Psad now installs all perl modules within /usr/lib/psad.
337     - Removed /var/log/psad/<ip>/scanlog file since it was wasting
338       too much disk.
339     - Made psad, psadwatchd, and diskmond take the machine hostname
340       from their respective config files.  This makes installation
341       via the rpm easier, and is generally cleaner.
342     - Added scan destination in --Status output.
343     - Added --status-sort-dl (the default status output is now
344       sorted by ip address by default).
345
346 psad-1.2.1 (07/11/2003):
347     - Bugfix for multiple processes being spawned by psadwatchd
348       due to lack of proper config variables in the new split
349       daemon config files.
350     - Bugfix for old scan messages being regenerated if a HUP
351       signal is received.
352     - Bugfix for incorrectly calculating disk utilization in
353       diskmond.c.
354     - Extended install.pl to include compression for archived
355       files in /etc/psad.
356     - Added preserve questions in install.pl for the psad
357       signature and auto ips files.
358     - Bugfix for --USR1 command line switch not mapping to the
359       correct subroutine.
360     - Bugfix for psad man page missing the pipe character in
361       psadfifo line for syslog.conf.
362
363 psad-1.2 (06/18/2003):
364     - Added passive OS fingerprinting based on packet ttl, length,
365       tos, and id fields.
366     - Added dshield.org alerting capability.
367     - Added exec_external_script() for external script execution.
368     - Added auto blocked timeouts.
369     - Implemented config re-imports via HUP signals in a manner
370       similar to various other system daemons (sysylog, apache
371       etc.)
372     - Better --Status output that shows packet counts per protocol
373       for each ip.
374     - Added --ip-status for more verbose status output for a
375       particular ip address.
376     - Added config preservation code to install.pl.
377     - Added Psad::psyslog().
378     - Split psad.conf into a separate config file for each of the
379       four psad daemons.
380     - Completely re-worked the auto blocking code (made dedicated
381       files for iptables and ipchains block methods).
382     - Added danger level hash.
383     - Minor code cleanups (shorter hash keys, etc.).
384
385 psad-1.1.1 (04/26/2003):
386     - Bugfix for incorrect usage of %scan hash keys associated
387       with tcp/udp when the current protocol is icmp.
388     - Bugfix for being too strict on iptable default log string.
389     - Reworked USR1 signal handler so the Data::Dumper function
390       call is made in the main part of the psad code.
391     - Added a startup message for psad.
392     - Minor bugfix for leading whitespace in auto_ips.
393
394 psad-1.1 (04/20/2003):
395     - Added the IPTables::Parse module for better processing of
396       the iptables ruleset.
397     - Added --snort-sids so that iptables messages generated by
398       fwsnort can be included in alerts.  Such alerts now include
399       the content fields of packets (fwsnort uses the iptables
400       string match module).
401     - Added the ability to specify entire networks in the auto
402       ips file through the use of the Net::IPv4Addr module.
403     - Better logging format that reinstates the current interval,
404       and adds an "overall stats" section that includes packet
405       counters per protocol.
406     - Removed the PROTO hash key since it was unnecesssary.
407     - Better benchmarking code.
408     - Bug fix for incorrectly looking for the "MAC" string in
409       iptables messages that could have been generated by the
410       FORWARD chain.
411
412 psad-1.0 (02/27/2003):
413     - Added --Benchmark and --packets command line options to support
414       psad benchmarking.
415     - Bugfix for improperly detecting NULL scans.
416     - Completely redesigned website.
417
418 psad-1.0.0-pre4 (11/26/2002):
419     - Rewrote kmsgsd and psadwatchd in C.
Note: See TracBrowser for help on using the browser.