+

:4736 Function create_function() is deprecated [8192]

Last commit for action.d/jsonfile.conf: 64c8ef57e9dfac97b2f342165aa9bebebfb0163e

Initial commit

Benjamin Renard [2014-12-31 15:04:38]
Initial commit
  1. # Fail2Ban configuration file
  2. #
  3. # Author: Benjamin Renard
  4. #
  5. # $Revision$
  6. #
  7.  
  8. [Definition]
  9.  
  10. # Option: actionstart
  11. # Notes.: command executed once at the start of Fail2Ban.
  12. # Values: CMD
  13. #
  14. actionstart = <bin> -j <jsonpath> -a start -u <umask>
  15.  
  16. # Option: actionstop
  17. # Notes.: command executed once at the end of Fail2Ban
  18. # Values: CMD
  19. #
  20. actionstop = <bin> -j <jsonpath> -a stop
  21.  
  22. # Option: actioncheck
  23. # Notes.: command executed once before each actionban command
  24. # Values: CMD
  25. #
  26.  
  27. # Option: actionban
  28. # Notes.: command executed when banning an IP. Take care that the
  29. # command is executed with Fail2Ban user rights.
  30. # Tags: <ip> IP address
  31. # <failures> number of failures
  32. # <time> unix timestamp of the ban time
  33. # Values: CMD
  34. #
  35. actionban = <bin> -j <jsonpath> -a ban -i "<ip>" -f "<failures>" -t "<time>" -u <umask>
  36.  
  37. # Option: actionunban
  38. # Notes.: command executed when unbanning an IP. Take care that the
  39. # command is executed with Fail2Ban user rights.
  40. # Tags: <ip> IP address
  41. # <failures> number of failures
  42. # <time> unix timestamp of the ban time
  43. # Values: CMD
  44. #
  45. actionunban = <bin> -j <jsonpath> -a unban -i "<ip>" -u <umask>
  46.  
  47. [Init]
  48.  
  49. # Option: bin
  50. # Note Specify the path to fail2ban-jsonfile script
  51. #
  52. # Values: Path to fail2ban-jsonfile script Default : /usr/local/bin/fail2ban-jsonfile
  53. bin = /usr/local/bin/fail2ban-jsonfile
  54.  
  55. # Option: jsonpath
  56. # Note The path of JSON file
  57. #
  58. # Values: Path to JSON file Default : /tmp/fail2ban-jsonfile.json
  59. jsonpath = /tmp/fail2ban-jsonfile.json
  60.  
  61.  
  62. # Option: umask
  63. # Note Umask use on JSON file creation
  64. #
  65. # Values: INTEGER (UMASK) Default : 0077
  66. umask = 0077