Guest User

Untitled

a guest
Jun 1st, 2018
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. [Definition]
  2. failregex = .* from ip <HOST>
  3.  
  4. [express-js]
  5. enabled = true
  6. filter = expressjs
  7. logpath = /var/log/expressjs/slowin-killer.log
  8. maxretry = 5
  9. bantime = 3600
  10. findtime = 600
  11.  
  12. [20-5-2017 20:49:57] Failed to authentificate user "dinath.contact@gmail.comdddd" from ip 127.0.0.1
  13. [20-5-2017 20:57:19] Failed to authentificate user "dinath.contact@gmail.comdddd" from ip 127.0.0.1
  14. [20-5-2017 20:59:20] Failed to authentificate user "dinath.contact@gmail.comdddd" from ip 127.0.0.1
  15. [20-5-2017 21:12:47] Failed to authentificate user "dinath.contact@gmail.comdddd" from ip 127.0.0.1
  16. [20-5-2017 21:16:9] Failed to authentificate user "dinath.contact@gmail.comdddd" from ip 127.0.0.1
  17.  
  18. $ fail2ban-client status expressjs
  19. Status for the jail: expressjs
  20. |- Filter
  21. | |- Currently failed: 0
  22. | |- Total failed: 0
  23. | `- File list: /var/log/expressjs/slowin-killer.log
  24. `- Actions
  25. |- Currently banned: 0
  26. |- Total banned: 0
  27. `- Banned IP list:
  28.  
  29. Running tests
  30. =============
  31.  
  32. Use failregex filter file : expressjs, basedir: /etc/fail2ban
  33. Use log file : /var/log/expressjs/slowin-killer.log
  34. Use encoding : UTF-8
  35.  
  36.  
  37. Results
  38. =======
  39.  
  40. Failregex: 27 total
  41. |- #) [# of hits] regular expression
  42. | 1) [27] .* from ip <HOST>
  43. `-
  44.  
  45. Ignoreregex: 0 total
  46.  
  47. Date template hits:
  48. |- [# of hits] date format
  49. | [34] Day(?P<_sep>[-/])Month(?P=_sep)(?:Year|Year2) 24hour:Minute:Second
  50. | [1] (?:DAY )?MON Day Year 24hour:Minute:Second(?:.Microseconds)?
  51. `-
  52.  
  53. Lines: 162 lines, 0 ignored, 27 matched, 135 missed
  54. [processed in 0.01 sec]
  55.  
  56. Missed line(s): too many to print. Use --print-all-missed to print all 135 lines
  57.  
  58. findtime
  59. time interval (in seconds) before the current time where failures will count towards a ban.
  60.  
  61. maxretry
  62. number of failures that have to occur in the last findtime seconds to ban then IP.
Add Comment
Please, Sign In to add comment