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

« back to all changes in this revision

Viewing changes to config/action.d/iptables-new.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:
4
4
# Copied from iptables.conf and modified by Yaroslav Halchenko 
5
5
#  to fullfill the needs of bugreporter dbts#350746.
6
6
#
7
 
# $Revision$
8
7
#
9
8
 
 
9
[INCLUDES]
 
10
 
 
11
before = iptables-blocktype.conf
 
12
 
 
13
 
10
14
[Definition]
11
15
 
12
16
# Option:  actionstart
34
38
# Option:  actionban
35
39
# Notes.:  command executed when banning an IP. Take care that the
36
40
#          command is executed with Fail2Ban user rights.
37
 
# Tags:    <ip>  IP address
38
 
#          <failures>  number of failures
39
 
#          <time>  unix timestamp of the ban time
 
41
# Tags:    See jail.conf(5) man page
40
42
# Values:  CMD
41
43
#
42
 
actionban = iptables -I fail2ban-<name> 1 -s <ip> -j DROP
 
44
actionban = iptables -I fail2ban-<name> 1 -s <ip> -j <blocktype>
43
45
 
44
46
# Option:  actionunban
45
47
# Notes.:  command executed when unbanning an IP. Take care that the
46
48
#          command is executed with Fail2Ban user rights.
47
 
# Tags:    <ip>  IP address
48
 
#          <failures>  number of failures
49
 
#          <time>  unix timestamp of the ban time
 
49
# Tags:    See jail.conf(5) man page
50
50
# Values:  CMD
51
51
#
52
 
actionunban = iptables -D fail2ban-<name> -s <ip> -j DROP
 
52
actionunban = iptables -D fail2ban-<name> -s <ip> -j <blocktype>
53
53
 
54
54
[Init]
55
55
 
56
 
# Defaut name of the chain
 
56
# Default name of the chain
57
57
#
58
58
name = default
59
59