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

« back to all changes in this revision

Viewing changes to config/action.d/ipfilter.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:
34
34
# Option:  actionban
35
35
# Notes.:  command executed when banning an IP. Take care that the
36
36
#          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
 
37
# Tags:    See jail.conf(5) man page
40
38
# Values:  CMD
41
39
#
42
 
actionban = echo block in quick from <ip>/32 | /sbin/ipf -f -
 
40
actionban = echo block <blocktype> in quick from <ip>/32 | /sbin/ipf -f -
43
41
 
44
42
 
45
43
# Option:  actionunban
46
44
# Notes.:  command executed when unbanning an IP. Take care that the
47
45
#          command is executed with Fail2Ban user rights.
48
 
# Tags:    <ip>  IP address
49
 
#          <failures>  number of failures
50
 
#          <time>  unix timestamp of the ban time
 
46
# Tags:    See jail.conf(5) man page
51
47
# Values:  CMD
52
48
#
53
49
# note -r option used to remove matching rule
54
 
actionunban = echo block in quick from <ip>/32 | /sbin/ipf -r -f -
 
50
actionunban = echo block <blocktype> in quick from <ip>/32 | /sbin/ipf -r -f -
55
51
 
56
52
[Init]
57
53
 
 
54
# Option: Blocktype
 
55
# Notes : This is the return-icmp[return-code] mentioned in the ipf man page section 5. Keep this quoted to prevent
 
56
#         Shell expansion. This should be blank (unquoted) to drop the packet.
 
57
# Values: STRING
 
58
blocktype = "return-icmp(port-unr)"