Changeset 2153

Show
Ignore:
Timestamp:
03/17/08 21:53:16 (9 months ago)
Author:
mbr
Message:

- Bugfix to not include kernel timestamps in iptables log prefixes that
contain spaces like "[ 65.026008] DROP".

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • psad/trunk/ChangeLog

    r2152 r2153  
    11psad-2.1.2 (03//2008): 
     2    - Bugfix to not include kernel timestamps in iptables log prefixes that 
     3      contain spaces like "[   65.026008] DROP". 
    24    - Better p0f output in --debug mode to display when a passive OS 
    35      fingerprint cannot be calculated based on iptables log messages that 
  • psad/trunk/psad

    r2151 r2153  
    12831283    if ($pkt_str =~ /.*kernel:\s+(.*?)\s*IN=/) { 
    12841284        $pkt_hr->{'log_prefix'} = $1; 
    1285         $pkt_hr->{'log_prefix'} =~ s|\[\d+\.\d+\]\s*|| 
     1285        $pkt_hr->{'log_prefix'} =~ s|\[\s*\d+\.\d+\s*\]\s*|| 
    12861286            if ($config{'IGNORE_KERNEL_TIMESTAMP'} eq 'Y'); 
    12871287        if ($pkt_hr->{'log_prefix'} =~ /\S/) {