~ubuntu-branches/ubuntu/saucy/fail2ban/saucy

« back to all changes in this revision

Viewing changes to config/filter.d/common.conf

  • Committer: Package Import Robot
  • Author(s): Yaroslav Halchenko
  • Date: 2013-05-13 11:58:56 UTC
  • mfrom: (1.1.15) (10.2.13 sid)
  • Revision ID: package-import@ubuntu.com-20130513115856-x7six9p53qcie0vl
Tags: 0.8.9-1
* New upstream release
  - significant improvements in documentation (Closes: #400416)
  - roundcube auth filter (Closes: #699442)
  - enforces C locale for dates (Closes: #686341)
  - provides bash_completion.d/fail2ban
* debian/jail.conf:
  - added findtime and documentation on those basic options from jail.conf
    (Closes: #704568)
  - added new sample jails definitions for ssh-route, ssh-iptables-ipset{4,6},
    roundcube-auth, sogo-auth, mysqld-auth
* debian/control:
  - suggest system-log-daemon (Closes: #691001)
  - boost policy compliance to 3.9.4
* debian/rules:
  - run fail2ban's unittests at build time but ignore the failures
    (there are still some known issues to fix up to guarantee robust testing
    in clean chroots etc).
    Only pyinotify was added to build-depends since gamin might still be
    buggy on older releases and get stuck, which would complicate
    backporting

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#
4
4
# Author: Yaroslav Halchenko
5
5
#
6
 
# $Revision$
7
6
#
8
7
 
9
8
[INCLUDES]
28
27
# EXAMPLES: pam_rhosts_auth, [sshd], pop(pam_unix)
29
28
__daemon_re = [\[\(]?%(_daemon)s(?:\(\S+\))?[\]\)]?:?
30
29
 
 
30
# extra daemon info
 
31
# EXAMPLE: [ID 800047 auth.info]
 
32
__daemon_extra_re = (?:\[ID \d+ \S+\])
 
33
 
31
34
# Combinations of daemon name and PID
32
35
# EXAMPLES: sshd[31607], pop(pam_unix)[4920]
33
36
__daemon_combs_re = (?:%(__pid_re)s?:\s+%(__daemon_re)s|%(__daemon_re)s%(__pid_re)s?:)
38
41
 
39
42
__hostname = \S+
40
43
 
 
44
 
 
45
# bsdverbose is where syslogd is started with -v or -vv and results in <4.3> or
 
46
# <auth.info> appearing before the host as per testcases/files/logs/bsd/*.
 
47
__bsd_syslog_verbose = (<[^.]+\.[^.]+>)
 
48
 
41
49
#
42
50
# Common line prefixes (beginnings) which could be used in filters
43
51
#
44
 
#       [hostname] [vserver tag] daemon_id spaces
45
 
# this can be optional (for instance if we match named native log files)
46
 
__prefix_line = \s*(?:%(__hostname)s )?(?:%(__kernel_prefix)s )?(?:@vserver_\S+ )?%(__daemon_combs_re)s?\s*
 
52
#      [bsdverbose]? [hostname] [vserver tag] daemon_id spaces
 
53
#
 
54
# This can be optional (for instance if we match named native log files)
 
55
__prefix_line = \s*%(__bsd_syslog_verbose)s?\s*(?:%(__hostname)s )?(?:%(__kernel_prefix)s )?(?:@vserver_\S+ )?%(__daemon_combs_re)s?\s%(__daemon_extra_re)s?\s*
47
56