root/psad/tags/psad-2.1/ChangeLog

Revision 2124, 40.1 kB (checked in by mbr, 1 year ago)

Added spaces patch blurb

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 psad-2.1 (10/19/2007):
2     - Changed EMAIL_LIMIT model to apply to scanning source addresses only
3       instead of also factoring in the destination address. The original
4       src/dst email limit behavior can be restored by setting a new variable
5       "ENABLE_EMAIL_LIMIT_PER_DST" to "Y".
6     - Added the patches/iptables-1.3.8_LOG_prefix_space.patch file which can
7       be applied to the iptables-1.3.8 code to enforce a trailing space
8       character before any log prefix when a LOG rule is added. This ensures
9       that the user cannot break the iptables syslog format just by forgetting
10       to include a space at the end of a logging prefix.
11     - Bugfix to ensure that parsing TCP options does not descend into an
12       infinite loop in some some circumstances with obscure or maliciously
13       constructed options.  Also added syslog reporting for broken options
14       lengths of zero or one byte (the minimum option length is two bytes to
15       accomodate the TLV encoding).
16     - Bugfix to enforce the usage of --CSV-fields in --gnuplot mode.
17     - Implemented --get-next-rule-id so that it is easy to assign a new rule
18       ID to a new signature in the /etc/psad/signatures file.
19     - Updated to just call die() if GetOpt fails; this allows erroneous usage
20       of the command line to display informative error messages more clearly.
21
22 psad-2.0.8 (07/27/2007):
23     - Added --gnuplot mode so that psad can output data that is suitable for
24       plotting with gnuplot. All output produced in this mode is integer data
25       with the exception of date stamps that are derived from iptables syslog
26       messages.
27     - Added the ability to negate match conditions on fields specified with
28       the --CSV-fields argument by prepending the string "not" (which plays
29       more nicely with shells like bash than a character like "!"). For
30       example, to graph all packet data in --gnuplot or --CSV modes that
31       originates from the 11.11.0.0/16 subnet and is not destined for port
32       80, the following argument does the trick:
33
34             --CSV-fields "src:11.11.0.0/16 dp:not80"
35
36     - In --gnuplot mode, added the ability to generate the count for a CSV
37       field instead of the field itself. Supported modes are an absolute
38       count (<field>:count) , and a unique count (<field>:uniqcount). This
39       is useful to plot graphs of source IP vs. the number unique ports for
40       example.  Also added the ability to count iptables log fields over
41       various time scales (minutes, hours, and days) with the following
42       switches: <field>:countday, <field>:counthour, <field>:countmin.
43     - In --gnuplot mode, added the ability to specify the view coordinates
44       for 3D graph viewing with --gnuplot-view.
45     - Added the Storable-2.16 module along with the --use-store-file argument
46       so that in --gnuplot mode the Gnuplot data can be stored on disk and
47       retrieve quickly.  This eliminates a large performance bottleneck when
48       Gnuplot configuration directives are tweaked while the same graph is
49       generated multiple times.
50     - Added --gnuplot-template so that a template file can be used for all
51       Gnuplot directives (usually psad creates the .gnu file based on the
52       --gnuplot command line arguments).
53     - Added --gnuplot-grayscale to generate graphs without the default red
54       color for graph points.
55     - Bugfix for regular expressions not being imported correctly from within
56       the --CSV-fields argument.
57     - Added --analysis-fields so the iptables log messages that are parsed in
58       -A mode can be restricted to those that meet certain criteria. For
59       example, to restrict the analyze mode to process packets with a source
60       address of 192.168.10.1, use this command:
61
62             psad -A --analysis-fields "src:192.168.10.1"
63
64     - Added --plot-separator to allow the format of plot data (either in
65       --gnuplot or --CSV modes) to be influenced by the user.
66     - Added the ability to configure the syslog facility and priority via the
67       psad.conf file (see the SYSLOG_FACILITY and SYSLOG_PRIORITY variables).
68     - Updated psad.spec file to respect the %_initrddir RPM macro.
69
70 psad-2.0.7 (05/28/2007):
71     - Bugfix to define a custom 'source' definition for syslog-ng daemons -
72       this fixes a problem on SuSE systems where the existing syslog-ng
73       reconfig caused the daemon to not start.
74     - Bugfix to allow specific signatures to be ignored by setting SID values
75       of zero in /etc/psad/snort_rule_dl.
76     - Added -X command line argument to allow the user to delete any psad
77       chains (in auto-response mode).  This is a synonym for the iptables -X
78       command line argument.
79
80 psad-2.0.6 (03/24/2007):
81     - Better integration with fwsnort; psad signature match syslog messages
82       and email alerts now include the fwsnort rule number (for fwsnort
83       version 0.9.0 and greater) and chain information.
84     - Added the Snort bleeding-all.rules signature file from the Bleeding
85       Snort project (see http://www.bleedingsnort.com).
86     - Bugfix to allow interfaces that have IP aliases.
87     - Added uname, ifconfig, and syslog process information to --Dump-conf
88       output (this can help diagnose various runtime issues).
89     - Changed the --Lib-dir command line argument to --lib-dir, and added
90       --List (similar to iptables) to list the psad auto-blocking chain rules.
91     - Added psad.SlackBuild script contributed by pyllyukko for building psad
92       on Slackware systems.  It uses the Cipherdyne cd_rpmbuilder script to
93       first build and RPM, and then uses it to build a Slackware package.
94
95 psad-2.0.5 (03/01/2007):
96     - Consolidated all configuration variables into the /etc/psad/psad.conf
97       file. The kmsgsd.conf, psadwatchd.conf, alert.conf, and fw_search.conf
98       files were all removed since the daemons just reference the psad.conf
99       now.  Updated install.pl to archive and remove these files if they
100       exist from a previous psad installation.
101     - Bugfix to account for iptables -nL output where the protocol may be
102       reported as "0" instead of "all".
103     - Added a function safe_malloc() for kmsgsd.c and psadwatchd.c to ensure
104       that a single API is used to perform a NULL check on heap-allocated
105       memory.
106     - Bugfix to ensure that the psad_ip_len signature matching keyword is
107       checked withing match_snort_ip_keywords() so that it applies to all
108       protocol packets.  This fixes a bug that would cause the "PSAD-CUSTOM
109       Nachi worm reconnaisannce" signature to fire on normal ICMP packet log
110       messages.
111     - Added version and Subversion file revision numbers to die and warn
112       messages that are written to /var/log/psad/errs/.  This helps when
113       trying to track these messages down to a specific file revisions when
114       psad is being upgraded on the local system.
115     - Added version and Subversion file revision numbers to --Dump-conf
116       output.
117     - Minor update to allow --fw-dump to be used on the command line without
118       also having to use the -D argument.
119     - Updated the default_log() function in the IPTables::Parse module to
120       handle iptables policies that were dumped with -v, such as when
121       --Dump-conf is used.
122
123 psad-2.0.4 (01/27/2007):
124     - Added Snort rule matches to syslog alerts.  Multiple matches can be
125       controlled with new configuration variables in psad.conf:
126       ENABLE_SIG_MSG_SYSLOG, SIG_MSG_SYSLOG_THRESHOLD, and
127       SIG_SID_SYSLOG_THRESHOLD.
128     - Bugfix to include scanned UDP port ranges in syslog alerts.
129     - Bugfix to parse SEQ and ACK iptables log message fields (requires
130       --log-tcp-sequence on the iptables command line).  This allows the ipEye
131       signature to work.
132     - Added --debug-sid to allow a specific Snort rule to be debugged while
133       psad runs it through its detection engine.  A consequence of this is
134       that the -d command line argument must be spelled out, i.e. "psad
135       --debug".
136     - Bugfix to allow logging prefixes to omit trailing spaces.  This is a bug
137       in the iptables logging format to allow this in the first place, but
138       before this gets fixed psad needs to compensate.
139     - Bugfix for syslog-ng init script path in install.pl.
140     - Bugfix to include a "source" definition for /proc/kmsg if not already
141       defined for syslog-ng daemons.
142     - Minor memory handling bugfixes discovered by valgrind the excellent
143       Valgrind project: http://www.valgrind.org
144
145 psad-2.0.3 (12/31/2006):
146     - Removed Psad.pm perl module and kmsgsd.pl and psadwatchd.pl scripts.
147       This is a major change that allows psad to be more flexible and
148       completely derive its config from the psad.conf file and from the
149       command line.  In the previous scheme, psad imported its config with a
150       function within Psad.pm, and this required that psad imported the Psad
151       perl module before reading its config. A consequence was that the
152       PSAD_LIBS_DIR var could not be specified usefully within the config
153       file.
154     - Added the ability to recursively resolve embedded variables from *.conf
155       files (with a limit of 20 resolution attempts).
156     - Added IGNORE_KERNEL_TIMESTAMP so that Linux distros that add a timestamp
157       to all kernel messages (Ubuntu for example) can be ignored.
158     - Consolidated code to import data out of /var/log/psad/<ip> directories
159       with code to display status and analysis output (-S and -A).
160       Essentially the %scan hash is built by the filesystem data import
161       routine and the remainder of the code references this single data
162       structure.
163
164 psad-2.0.2 (12/23/2006):
165     - Added the ability to download the latest signatures from cipherdyne.org
166       in install.pl.
167     - Added the cd_rpmbuilder script to make it easy to build RPM's out of
168       CipherDyne projects by automatically downloading the project .tar.gz and
169       .spec files from http://www.cipherdyne.org/.
170     - Added print statements for @INC array in debug mode so that the user can
171       see the additional /usr/lib/psad/* directories added by
172       import_psad_perl_modules().
173     - Changed Unix::Syslog import strategy from "use" to "require" since the
174       path is not known until import_psad_perl_modules() gets a chance to
175       run (psad ran fine without this, but it is more consistent this way).
176     - Bugfix for not properly including elements of the
177       @connected_subnets_cidr array.
178     - IP subnet bugfix to make sure to get the entire subnet in signature
179       import routine if it is not in CIDR format
180     - Bugfix to not print an IP addresses in the "top attackers" section that
181       do not have at least one packet or signature match (for any reason).
182     - Bugfix to not print more than TOP_IP_LOG_THRESHOLD IP addresses in thet
183       top attackers section.
184     - Updated install.pl to reference configuration paths directly from
185       psad.conf instead of defining them separately.  This should fix Debian
186       bug #403566.
187     - Added -c argument to install.pl so that the path to a psad.conf file
188       can be altered from the command line.
189     - Bugfix to not import any IP from the top_attackers file from a previous
190       psad run that does not have a /var/log/psad/<ip> directory.
191     - Added MIN_DANGER_LEVEL to allow all alerts and /var/log/psad/<ip>
192       tracking to be disabled unless an attacker reaches at least this
193       danger level.
194     - Added text in install.pl to mention ifconfig parsing for HOME_NET
195       derivation.
196
197 psad-2.0.1 (12/12/2006):
198     - Added Nachi worm reconnaisannce icmp signature
199     - Added the psad_ip_len signature keyword to allow the length field in the
200       IP header to be explicitly tested.
201     - Bugfix for inappropriately removing some directories in @INC when
202       splicing in psad perl module paths.
203     - Switched nf2csv installation path in install.pl to /usr/bin/.
204
205 psad-2.0 (12/10/2006):
206     - Completely refactored the Snort rule matching support in psad.  Added
207       many header field tests with full range matching support.  These tests
208       include the following keywords from Snort: ttl, id, seq, ack, window,
209       icmp_id, icmp_seq, itype, icode, ip_proto, ipopts, and sameip.
210     - Refactored all signatures in /etc/psad/signatures to conform to new
211       signature matching support in this release.  There are now about 190
212       signatures that psad can run directly against Netfilter logging
213       messages (i.e. without the help of fwsnort).
214     - Added the ability to download the latest signatures file from
215       http://www.cipherdyne.org/psad/signatures with the --sig-update command
216       line argument to psad.
217     - Added "MISC Windows popup spam" signature.  This allows psad to detect
218       when attempts are made to send spam via the Windows Messenger service.
219     - Completely reworked --Status and --Analyze output, signature matches
220       are included now, along with a listing of top sig matches, top scanned
221       ports, and top attackers.  Also, scan data is not written to
222       /var/log/psad/ipt_analysis/ before display analysis output in -A mode;
223       analysis results are displayed much faster this way.
224     - Added ipEye, Subversion, Kuang2, Microsoft SQL, Radmin, and Ghostsurf
225       signatures.
226     - Added 'data in TCP SYN packet' signature.
227     - Added --CSV mode so that psad can be used to generate comma-separated
228       value output suitable for the AfterGlow project (see
229       http://afterglow.sourceforge.net/index.html) for graphical
230       representations of Netfilter logs and associated scan data.  Also added
231       nf2csv so that normal users can take advantage of this feature.
232     - Added emulation of the Snort "dsize" test through the use of the IP
233       length field for TCP/ICMP signatures, and the UDP length field for UDP
234       signatures.  For SYN packets, TCP options are included so psad
235       automatically adds 44 bytes (the maximum length for TCP options) so the
236       dsize test corresponds to the estimated payload length.
237     - Added the psad_id, psad_dsize, and psad_derived_sids fields for the new
238       Snort rule support.
239     - Added the ability to decode IP options, which are included within Snort
240       rules as the "ipopts" keyword.  This functionality requires that the
241       --log-ip-options command line argument is given to iptables when
242       building a rule that uses the LOG target.
243     - Added Snort rules (sids 475, 500, 501, and 502) that detect IP options
244       usage such as source routing and the traceroute IP option with the new
245       IP options decoder.
246     - Enhanced psad email alert output to include sid values that have been
247       derived from existing Snort rules.
248     - Added the ability to expand embedded variables within the psad
249       configuration files.  For example, the path to the FW_DATA_FILE is
250       defined in psad.conf as "$PSAD_DIR/fwdata", which resolves to
251       /var/log/psad/fwdata when the PSAD_DIR variable is expanded.  This
252       feature allows a consistent set of file paths to easily be defined
253       instead of using the full path for each file path.
254     - Better validation of IPT_AUTO_CHAIN{n} variables so that the from_chain
255       cannot be identical to the to_chain.
256     - Added dump_config() to psadwatchd.c and kmsgsd.c when compiled with
257       debugging support.
258     - Added ENABLE_INTF_LOCAL_NETS to have psad automatically treat all IP
259       addresses that are part of the local system as belonging to the HOME_NET
260       for signature matching.
261     - Added ENABLE_SNORT_SIG_STRICT to have psad exit if there are any
262       problems found with Snort rules in the /etc/psad/signatures file.  If
263       this feature is disabled (this is the default), then psad generates
264       syslog warnings for improperly formatted signatures).
265     - Update to print the number of IP addresses at each danger level in -A
266       analysis mode.  This is useful to get a sense for how long the disk IO
267       might take to write out all of the /var/log/psad/ipt_analysis/<IP>
268       directories.
269     - Added code to restart kmsgsd at psad start up if a previous kmsgsd
270       process is still running and TRUNCATE_FWDATA is set to 'Y' (this is the
271       default).  This probably isn't strictly necessary because kmsgsd is
272       capable of writing to the fwdata file even if another process truncates
273       it.
274     - Added code to recreate the AUTO_IPT_SOCK (/var/run/psad/auto_ipt.sock)
275       file if some other process happens to delete it out of /var/run/psad/
276     - Bugfix to allow backwards compatibility with old NOT_USED value
277       for the HOME_NET variable.
278     - Bugfix to cleanup any lost blocking rules from the running psad
279       timeouts (a separate process might have deleted rules from the psad
280       chains).
281     - Bugfix to allow Netfilter log messages to include the PHYSDEV (i.e.
282       PHYSIN and PHYSOUT) interfaces.
283     - Updated to read architecture-dependent perl module installation
284       directory out of /usr/lib/psad (e.g. "/usr/lib/psad/x86_64-linux")
285       before importing psad perl modules such as IPTables::Parse, etc. These
286       modules are now imported via "require" after the appropriate
287       directories have been added to @INC. This allows the RPM files to be
288       built on one system that builds @INC differently than the system where
289       psad is actually installed since psad can now compensate for this.
290     - Added new code to populate the <dst>_signature file in each of the
291       /var/log/psad/<ip> directories with verbose information including the
292       signature time, sid, protocol, dst port, and packet count.
293     - Changed --interval to --Interval, and added --interface to allow
294       psad's detection to be limited to a specific IN interface for the INPUT
295       and FORWARD chains (or OUT interface for the OUTPUT chain).
296     - Replaced --status-brief with --status-summary, but changed it so that
297       only the detailed IP status information is omitted.
298     - Removed unnecessary --status-sort-dl option.
299     - Added STATUS_OUTPUT_FILE so the --Status and --Analyze output is
300       captured instead of just being lost if the output was not piped to
301       'less' or another similar program.
302     - Added --restrict-ip so that psad will restrict its attack detection
303       operations to a specific IP or network.
304     - Updated psadwatchd.c to parse EMAIL_ADDRESSES out of
305       /etc/psad/psad.conf to avoid duplication of variables.
306     - Bugfix to clear old @ipt_config array after receiving a HUP signal.
307       This bug broke the auto-blocking mode.
308     - Bugfix for syslog-ng config so that any custom source for /proc/kmsg is
309       used for the psadfifo path.
310
311 psad-1.4.8 (10/15/2006):
312     - Added the ability to get the auto-blocking status for a specific IP
313       address in --status-ip mode.
314     - Bugfix to use the IPT_OUTPUT_FILE and IPT_ERROR_FILE configuration
315       variables.
316     - Bugfix to restore "start" functionality in Gentoo init script.
317     - Added the ability to selectively disable psad auto-blocking emails.
318     - Added more rigorous IP matching regex from Sebastien J. (contributed
319       originally for fwknop).
320
321 psad-1.4.7 (09/10/2006):
322     - Completely re-worked IPTables::ChainMgr to support the return of
323       iptables error messages that are collected via stderr.  This is critical
324       to fixing a bug where psad would sometimes die on an iptables command
325       but no information would be returned to the user.
326     - Added the ability to specify the position for both the jump rule into
327       the psad chains as well as the position for new rules within the psad
328       chains via the -I argument to iptables.  This fixes a bug where the user
329       was given the impression that the IPTABLES_AUTO_RULENUM would accomplish
330       this.
331     - Populated the _debug option in the IPTables::ChainMgr module, and also
332       added a _verbose option so that the specific iptables commands can
333       actually be seen as IPTables::ChainMgr functions are called.
334     - Added code to install.pl to ask the user if a manual restart of syslog
335       is ok upon an unsuccessful test of the syslog reconfiguration.  This
336       fixes a bug where some syslog daemons might not re-import their
337       configurations after receiving a HUP signal.
338     - Bugfix for incorrect config variable name that gated Netfilter
339       prerequisite checks.
340     - Added code to install.pl to update command paths in psad.conf and
341       psadwatchd.conf if any of the paths are broken (i.e. the local system
342       does not conform to the default paths).  By default this only happens if
343       the user does not want old configs to be merged, but to override this
344       use the new --path-update command line argument to install.pl.
345     - Added the --Skip-mod-install command line argument to install.pl to
346       allow all perl module installs to be skipped.
347     - Added the --force-mod-regex command line argument to install.pl to allow
348       a regex match on perl module names to force matching modules to be
349       installed.
350     - Added the logrotate.psad file (contributed by Albert Whale).
351
352 psad-1.4.6 (06/13/2006):
353     - Added ENABLE_AUTO_IDS_REGEX and AUTO_BLOCK_REGEX to allow filtering on
354       logging prefixes.
355     - Added code to save DShield email to a file.
356     - Added IPTABLES_PREREQ_CHECK to allow the administrator to control the
357       frequency of Netfilter checks (for auto-block compatibility).
358     - Added IGNORE_LOG_PREFIXES to allow certain log prefixes to be completely
359       ignored by psad.
360     - Added classification.config file from Snort-2.3.3 so that psad can
361       assign danger levels based upon Snort rule class type.  This is useful
362       when also running fwsnort.
363     - Added snort_rule_dl to allow specific psad to assign specific danger
364       level values to particular signatures.  This is useful if you want to
365       do define certain Snort rules as being particularly evil (or not).
366       Running fwsnort is also necessary to take advantage of this feature.
367     - Added reference.config so that psad can include reference information in
368       email alerts that are derived from attacks detected by fwsnort.
369     - Updated to Snort-2.3.3 signatures.
370     - Updated to whois-4.7.13.
371
372 psad-1.4.5 (01/13/2006):
373     - Bugfix in IPTables::Parse to allow the limit target to apply to
374       logging rules.
375     - Made calls to chain creation and jump rule functions for only every
376       100 block calls in auto-IDS mode.
377     - Bugfix to make sure /var/run/psad directory exists at startup since
378       this directory is removed by some Linux distributions at boot time.
379     - Bugfix for zero masks in auto_dl; this allows a network of "0.0.0.0/0"
380       to be specified.
381     - Added ENABLE_FW_LOGGING_CHECK so that the Netfilter policy check can be
382       enabled/disabled easily via psad.conf.
383     - Enhanced -D output to include "uname -a" and "perl -V" output.
384     - Added ENABLE_RENEW_BLOCK_EMAILS to allow whether renew emails are sent
385       for auto-blocked addresses.
386
387 psad-1.4.4 (11/27/2005):
388     - Added MAC address reporting in psad email alerts.  This feature is
389       enabled via a new config keyword "ENABLE_MAC_ADDR_REPORTING".
390     - Added --fw-rm-block-ip <ip> option to allow IP addresses to be removed
391       from the auto-blocking chains from the command line.
392     - Updated command line firewall arguments to write commands to the
393       AUTO_IPT_SOCK domain socket.
394     - Added the ability to specify ports and port ranges to auto_dl file.
395     - Added --force-mod-install command line argument to installer to force
396       perl modules used by psad to be installed within /usr/lib/psad
397       regardless of whether they already exist in the system perl tree.
398     - Bugfix in the installer to seek() to the end of the fwdata file
399     - Bugfix for psad repeatedly trying to remove the same IP address(es)
400       from the auto-blocking chains.
401       instead of reading the entire thing into memory.
402     - Added the ability to truncate the fwdata file via a new configuration
403       keyword "TRUNCATE_FWDATA" (this is enabled by default).
404     - Bugfix in auto-blocking mode for deleting AUTO_IPT_SOCK when a HUP
405       signal is received.
406     - Bugfix for parsing Netfilter policies that contain ULOG logging rules
407       instead of the standard LOG target.
408     - Removed the smtpdaemon requirement in the RPM because psad might be
409       configured to not send email alerts.
410
411 psad-1.4.3 (09/27/2005):
412     - Bugfixes for auto-blocking code.  Timeouts should be handled
413       properly, including cached IP addresses in the auto_blocked_iptables
414       file that are referenced upon psad startup.  Communication with the
415       running psad is performed over a Unix domain socket in --fw-block
416       mode.
417     - Bugfix to seek to the end of the fwdata file instead of reading the
418       entire thing into memory and then looking for newly written logging
419       messages.  This drastically reduces the amount of memory required
420       by psad.
421     - Updated to only display psad chains if --verbose is set
422     - Updated to automatically flush the psad auto-response Netfilter chains
423       at start time (subject to a new config keyword "FLUSH_IPT_AT_INIT").
424
425 psad-1.4.2 (07/15/2005):
426     - Dependency bugfixes for mail binary.
427     - Bugfix for various IGNORE_* keywords not being honored.
428     - Bugfix for not timing out blocked IP addresses from a previous run.
429     - Updated to version 0.2 of the IPTables::ChainMgr module.
430     - Updated to not truncate the fwdata file upon psad startup.
431     - Added --fw-dump which produces a sanitized (i.e. no IP addresses)
432       version of the local Netfilter policy.  Also added --fw-include-ips
433       to (optionally) not sanitize IPs/nets.  Note that the 0.0.0.0 and
434       0.0.0.0/0 IPs/nets are not sanitized since they give no useful
435       information about specific IPs/nets.
436     - Added ulogd data collection mode.
437     - Bugfix for FW_MSG_SEARCH default (at least "DROP" is included now
438       even if FW_SEARCH_ALL is set to "N").
439     - Bugfix for non-network address for subnet specified with --fw-block.
440     - Bugfix for multiple --fw-block IPs/nets.
441     - Added README.SYSLOG (Francois Marier contributed the content).
442     - Made email alert prefixes (such as "[psad-alert]") customizable via
443       psad.conf.
444
445 psad-1.4.1 (03/12/2005):
446     - Updated to Snort-2.3 rules in the snort_rules directory.
447     - Re-worked syslog installation portion of install.pl.  The user will
448       always be prompted to enter the syslog daemon now, and also added
449       the --syslog-conf arg to allow the config file path to be specified
450       on the install.pl command line.
451     - Bugfix in install.pl for using IP address instead of network address
452       of directly connected subnets.
453     - Updated to version 4.6.23 of the whois client.
454     - Bugfix for distinguishing OPT field associated with --log-tcp-options
455       vs. --log-ip-options.
456     - Bugfix for syslog format that may not include the "kernel:" tag.
457     - Applied patch to only install perl modules that are not already
458       installed (Blair Zajac).
459     - Bugfix for the psad version number that is sent in DShield alerts.
460     - Updated Psad module directory structure to be consistent with current
461       versions of perl (5.8.x).
462     - Added IPTables::ChainMgr module.
463     - Completely re-worked the Netfilter auto-blocking code to use
464       IPTables::ChainMgr functions so that auto-generated rules are placed
465       in chains created by psad.
466     - Added IPT_AUTO_CHAIN keyword in psad.conf which is used to define the
467       set of chains to which auto-generated Netfilter rules are added.
468     - Added --fw-list-auto to display the contents of psad Netfilter
469       chains.
470     - Added the ability to import an IP into the Netfilter auto-blocking
471       chains from the command line with --fw-block-ip.  This allows psad to
472       apply its timeout mechanism against such IPs/nets.
473     - Added the ability to ignore packets based on input interface with
474       IGNORE_INTERFACES in psad.conf.
475     - Re-worked auto_dl code, better hash design and searching function.
476     - Removed dependency on sendmail command unless DShield alerting is
477       enabled and a DShield user id is specified.
478     - Added ALERTING_METHODS keyword in the file alert.conf to allow either
479       syslog or email alerts (or both) to be disabled.  Psad and psadwatchd
480       reference this file.
481
482 psad-1.4.0 (11/26/2004):
483     - Added p0f-style passive OS fingerprinting through the use of the OPT
484       field in iptables log messages (which is only logged through the use
485       of the --log-tcp-options command line arg to iptables).
486     - Bugfix for iptables log messages that include tcp sequence numbers
487       (see the iptables --log-tcp-sequence command line argument).
488     - Bugfix for O_RDONLY open flag when kmsgsd receives a HUP signal.
489
490 psad-1.3.4 (10/17/2004):
491     - Bugfix for init script directory on Slackware systems.
492     - Bugfix for null prefix counters.
493     - Added --whois-analysis argument since whois lookups are now disabled
494       by default when running in analysis (-A) mode.
495     - Updated psad_init() to rework setup() and import orderings vs.
496       --fw-analyze and --Benchmark modes.
497     - Added bidirectional iptables auto-blocking support for all chains
498       except for the INPUT and OUTPUT chains.
499     - Better syslog message support when run in auto-blocking mode.
500     - Added iptables auto-block rules section to --Status output.
501     - Added init script for Fedora systems.
502     - Added default_log() function to IPTables::Parse.  This function
503       parses user defined chains in an effort to find default logging
504       rules.
505     - Added EMAIL_LIMIT_STATUS_MSG to control whether or not psad sends a
506       status email when the PSAD_EMAIL_LIMIT threshold has been reached by
507       an IP address.
508     - Added ENABLE_SCAN_ARCHIVE to control whether or not psad archives old
509       scan data within /var/log/psad/scan_archive at start time.
510
511 psad-1.3.3 (09/09/2004):
512     - Fixed __WARN__ and __DIE__ exception handlers so that they
513       reference global message variables.
514     - Fixed auto danger level assignments.  Network auto assignments as
515       well as per-protocol assignments work now.
516     - Added SYSLOG_DAEMON variable to define which syslog daemon is running
517       on the underlying system instead of just guessing.
518     - Added the ability to ignore both ranges and specific ports/protocols
519       with a new variable IGNORE_PORTS in psad.conf.
520     - Bugfix to make sure email addresses are separated by spaces when
521       Psad::sendmail() is called.
522     - Bugfix for ipt_prefix counters not being parsed correct at import
523       time.
524     - Removed exclude_auto_ignore_ip() since this function was made
525       unnecessary by newly rewritten auto-assign code.
526     - Bugfix for Text::Wrap calls in install.pl uninstall() routine.
527     - Bugfix for using --no-fw-search-all even when FW_SEARCH_ALL is
528       set to "Y".
529     - Removed extraneous ".." and "**" chars from syslog messages, and
530       updated to use [+] prefix strings.
531     - Moved init scripts into init-scripts directory within source tree.
532     - Removed dependency on Bit::Vector (psad does not seem to make use
533       of any Date::Calc functions that require it).
534     - Wrapped copy() and move() calls with "or die()" to make them
535       safer in install.pl.
536     - Added check for existing psad process in install.pl.
537     - Updated to a new psad email alert subject format.  Prefixes of
538       "[psad-alert]", "[psad-error]", and "[psad-status]" are used now.
539     - Permissions fixes with umask() setting in /var/log/psad, permissions
540       fixes for files in /etc/psad at install time.
541
542 psad-1.3.2 (06/25/2004):
543     - Removed FW_MSG_SEARCH from psad.conf, and created a new config
544       file "fw_search.conf" that both psad and kmsgsd use to get the
545       FW_MSG_SEARCH definition(s).
546     - Added default mode of parsing all iptables messages instead of
547       just those that contain specific search strings.  A new config
548       variable "FW_SEARCH_ALL" was added to fw_search.conf that
549       controls this mode.
550     - Updated psad and kmsgsd so that multiple firewall search strings
551       can be specified through multiple FW_MSG_SEARCH variables in
552       fw_search.conf.
553     - Added iptables chain and logging-prefix tracking for current
554       scan interval in email alerts.
555     - Added protocol-specific auto-danger level assignments.
556     - Added total scan source and destination IP address counters in
557       --Status output.
558     - Added number of email alerts sent and OS guess in default
559       --Status output.  The output is getting wide now, so there is
560       also a new option --status-brief that will remove the alerts
561       sent and OS guess columns.
562     - Added getopt() command line arg parsing to kmsgsd with two new
563       options "-c" (for config file path) and "-k" (for fw_search.conf
564       path).
565     - Made iptables parsing code into its own script "fwcheck_psad"
566       that gets called by psad.
567     - Added Dshield stats summary to --Status output.
568     - Bugfix for auto-ignore IP addresses and networks being missed.
569     - Made parsing of ifconfig output language independent (should
570       handle French now for example).
571     - Removed "psad_" prefix on files psad_signatures, psad_auto_ips,
572       psad_posf, and psad_icmp_types in /etc/psad/.
573     - Updated to version 4.6.14 of the whois client.
574
575 psad-1.3.1 (12/25/2003):
576     - Added the ability to import /var/log/psad/<ip> directories
577       back into memory so scan data remains persistent across
578       psad restarts or system reboots.
579     - Added --Analyze-msgs to run psad in analysis mode against an
580       iptables logfile (/var/log/psad/fwdata by default).  The logfile
581       path can be changed with --messages-file.
582     - Added icmp type and code validation against RFC 792.
583     - Bugfix for being too strict with FW_MSG_SEARCH.
584     - Added port ranges for tcp and udp scans in <ip>/<dst>_packet_ctr.
585     - Added <ip>/<dst>_start_time and <ip>/os_guess.
586     - Bugfix for missing --no-signatures code.
587     - Updated to Snort-2.1 signatures.
588
589 psad-1.3 (11/30/2003):
590     - Replaced all signatures in psad_signatures with updated snort
591       rules.
592     - Added support for source and destination ip addresses in
593       signature matching code.  A new variable "HOME_NET" makes this
594       possible.
595     - Added support for the iptables output chain.
596     - Added chain tracking for all signatures.
597     - Replaced match_fastsigs() with two new routines for tcp and
598       udp signature matching that don't autovivify hash keys.
599     - Removed support for ipchains.
600     - Added support for metalog.
601     - Removed all "Undefined Code" signatures from psad_signatures.
602     - Re-worked %auto_blocked_ips hash and corresponding blocking
603       routines.  This (hopefully) fixes a restart bug seen on older
604       systems such as those that are still running versions of perl
605       less than 5.6.
606     - Re-worked firewall policy parsing routines.  Chains that have
607       a default policy of DROP are handled properly now.
608     - Bugfix for missing NULL char in kmsgsd.c.
609     - Updated scan alerting format.  Put current interval protocol
610       status before source and destination addresses.
611     - Buffer overflow fix in kmsgsd.c for size of buf[MAX_LINE_BUF]
612       buffer in read() call.
613     - Added --no-kmsgsd option to aid in psad --debug mode.
614
615 psad-1.2.4 (10/15/2003):
616     - Added danger level to subject line in email alerts.
617     - Removed diskmond altogether since psad now handles disk space
618       thresholds directly.  This allows filehandles to be handled
619       properly.
620     - Added auto_block_ignore_ip() to prevent 0.0.0.0, 127.0.0.1,
621       and local interface ips from being included in auto blocking
622       routines.
623     - Added Bit::Vector module to stop installation warnings from
624       Date::Calc.
625     - Made get_local_ips() called periodically since local addresses
626       may change (dhcp, etc.).
627     - Added installation code and init script for Gentoo Linux.
628     - Bugfix for INIT_DIR in uninstall() routine in install.pl.
629     - Bugfix for auto-blocking loop after timeouts are hit.
630     - Added --status-dl [N] to display status information only for
631       those scans that reach at least [N].
632
633 psad-1.2.3 (09/12/2003):
634     - Added interface tracking for scans.
635     - Bugfix for not opening /etc/hosts.deny the right way in
636       tcpwr_block().
637     - Bugfix for psadfifo path in syslog-ng config.
638     - Better format for summary stats section in email alerts.
639     - Bugfix for INIT_DIR path on non-RedHat systems.
640     - Bugfix for gzip path.
641     - Make Psad.pm installed last of all perl modules installed
642       by psad.
643     - Added additional call to incr_syscall_ctr() in psadwatchd.c
644
645 psad-1.2.2 (08/24/2003):
646     - psad is finally available as an RPM package.
647     - Added chain tracking for iptables.
648     - Added chain counts to --Status output.
649     - Bugfix for psad not taking into account multiple scan
650       destinations.
651     - Reworked auto-blocking code for both tcpwrappers and
652       iptables.  Lines added to /etc/hosts.deny will no longer be
653       duplicated.  Added IPTABLES_AUTO_RULENUM and
654       IPCHAINS_AUTO_RULENUM so auto rules can be inserted at a
655       configurable point within iptables and ipchains policies.
656     - Psad now installs all perl modules within /usr/lib/psad.
657     - Removed /var/log/psad/<ip>/scanlog file since it was wasting
658       too much disk.
659     - Made psad, psadwatchd, and diskmond take the machine hostname
660       from their respective config files.  This makes installation
661       via the rpm easier, and is generally cleaner.
662     - Added scan destination in --Status output.
663     - Added --status-sort-dl (the default status output is now
664       sorted by ip address by default).
665
666 psad-1.2.1 (07/11/2003):
667     - Bugfix for multiple processes being spawned by psadwatchd
668       due to lack of proper config variables in the new split
669       daemon config files.
670     - Bugfix for old scan messages being regenerated if a HUP
671       signal is received.
672     - Bugfix for incorrectly calculating disk utilization in
673       diskmond.c.
674     - Extended install.pl to include compression for archived
675       files in /etc/psad.
676     - Added preserve questions in install.pl for the psad
677       signature and auto ips files.
678     - Bugfix for --USR1 command line switch not mapping to the
679       correct subroutine.
680     - Bugfix for psad man page missing the pipe character in
681       psadfifo line for syslog.conf.
682
683 psad-1.2 (06/18/2003):
684     - Added passive OS fingerprinting based on packet ttl, length,
685       tos, and id fields.
686     - Added dshield.org alerting capability.
687     - Added exec_external_script() for external script execution.
688     - Added auto blocked timeouts.
689     - Implemented config re-imports via HUP signals in a manner
690       similar to various other system daemons (sysylog, apache
691       etc.)
692     - Better --Status output that shows packet counts per protocol
693       for each ip.
694     - Added --ip-status for more verbose status output for a
695       particular ip address.
696     - Added config preservation code to install.pl.
697     - Added Psad::psyslog().
698     - Split psad.conf into a separate config file for each of the
699       four psad daemons.
700     - Completely re-worked the auto blocking code (made dedicated
701       files for iptables and ipchains block methods).
702     - Added danger level hash.
703     - Minor code cleanups (shorter hash keys, etc.).
704
705 psad-1.1.1 (04/26/2003):
706     - Bugfix for incorrect usage of %scan hash keys associated
707       with tcp/udp when the current protocol is icmp.
708     - Bugfix for being too strict on iptable default log string.
709     - Reworked USR1 signal handler so the Data::Dumper function
710       call is made in the main part of the psad code.
711     - Added a startup message for psad.
712     - Minor bugfix for leading whitespace in auto_ips.
713
714 psad-1.1 (04/20/2003):
715     - Added the IPTables::Parse module for better processing of
716       the iptables ruleset.
717     - Added --snort-sids so that iptables messages generated by
718       fwsnort can be included in alerts.  Such alerts now include
719       the content fields of packets (fwsnort uses the iptables
720       string match module).
721     - Added the ability to specify entire networks in the auto
722       ips file through the use of the Net::IPv4Addr module.
723     - Better logging format that reinstates the current interval,
724       and adds an "overall stats" section that includes packet
725       counters per protocol.
726     - Removed the PROTO hash key since it was unnecesssary.
727     - Better benchmarking code.
728     - Bug fix for incorrectly looking for the "MAC" string in
729       iptables messages that could have been generated by the
730       FORWARD chain.
731
732 psad-1.0 (02/27/2003):
733     - Added --Benchmark and --packets command line options to support
734       psad benchmarking.
735     - Bugfix for improperly detecting NULL scans.
736     - Completely redesigned website.
737
738 psad-1.0.0-pre4 (11/26/2002):
739     - Rewrote kmsgsd and psadwatchd in C.
Note: See TracBrowser for help on using the browser.