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

« back to all changes in this revision

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