Package: swatch
Version: 3.1.1-1
Severity: important

Hi,

When I tried to add 'threshold 5 60' in a rule of the configuration file, 
/etc/swatchrc, Swatch always crashed if it matched that rule. The
following is the error message.

Undefined subroutine &main::threshold called at /root/.swatch_script.26767 line 
125, <TAIL> line3.

And my configuration file is as follows.

watchfor /sshd.*: Failed password for root from/
        echo
        exec /etc/sshblock 1 $_
        threshold 5:60

watchfor /sshd.*: Illegal user/
        echo
        exec /etc/sshblock 2 $_
                                                
-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-rsbac
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages swatch depends on:
ii  libdate-calc-perl             5.4-3      Perl library for accessing dates
ii  libdate-manip-perl            5.42a-2    a perl library for manipulating da
ii  libfile-tail-perl             0.98-5     File::Tail perl module
ii  libtimedate-perl              1.1600-4   Time and date functions for Perl
ii  perl [libtime-hires-perl]     5.8.4-5    Larry Wall's Practical Extraction 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to