Advertisement
Guest User

Untitled

a guest
Jun 26th, 2015
415
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.96 KB | None | 0 0
  1. 2015-06-26 20:15:28,013 fail2ban.server [5920]: INFO Changed logging target to /var/log/fail2ban.log for Fail2ban v0.9.1
  2. 2015-06-26 20:15:28,015 fail2ban.database [5920]: INFO Connected to fail2ban persistent database '/var/lib/fail2ban/fail2ban.sqlite3'
  3. 2015-06-26 20:15:29,413 fail2ban.database [5920]: WARNING New database created. Version '2'
  4. 2015-06-26 20:15:29,415 fail2ban.jail [5920]: INFO Creating new jail 'ssh-iptables'
  5. 2015-06-26 20:15:29,673 fail2ban.jail [5920]: INFO Jail 'ssh-iptables' uses systemd
  6. 2015-06-26 20:15:30,665 fail2ban.jail [5920]: INFO Initiated 'systemd' backend
  7. 2015-06-26 20:15:30,746 fail2ban.filter [5920]: INFO Set findtime = 600
  8. 2015-06-26 20:15:30,747 fail2ban.filter [5920]: INFO Set maxRetry = 5
  9. 2015-06-26 20:15:30,749 fail2ban.actions [5920]: INFO Set banTime = 1800
  10. 2015-06-26 20:15:30,752 fail2ban.filter [5920]: INFO Set maxlines = 10
  11. 2015-06-26 20:15:30,867 fail2ban.filtersystemd [5920]: INFO Added journal match for: '_SYSTEMD_UNIT=sshd.service + _COMM=sshd'
  12. 2015-06-26 20:15:30,887 fail2ban.jail [5920]: INFO Jail 'ssh-iptables' started
  13. 2015-06-26 20:15:31,202 fail2ban.action [5920]: ERROR iptables -N f2b-SSH
  14. iptables -A f2b-SSH -j RETURN
  15. iptables -I INPUT -p tcp --dport ssh -j f2b-SSH -- stdout: b''
  16. 2015-06-26 20:15:31,202 fail2ban.action [5920]: ERROR iptables -N f2b-SSH
  17. iptables -A f2b-SSH -j RETURN
  18. iptables -I INPUT -p tcp --dport ssh -j f2b-SSH -- stderr: b"iptables v1.4.21: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)\nPerhaps iptables or your kernel needs to be upgraded.\niptables v1.4.21: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)\nPerhaps iptables or your kernel needs to be upgraded.\niptables v1.4.21: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)\nPerhaps iptables or your kernel needs to be upgraded.\n"
  19. 2015-06-26 20:15:31,203 fail2ban.action [5920]: ERROR iptables -N f2b-SSH
  20. iptables -A f2b-SSH -j RETURN
  21. iptables -I INPUT -p tcp --dport ssh -j f2b-SSH -- returned 3
  22. 2015-06-26 20:15:31,203 fail2ban.actions [5920]: ERROR Failed to start jail 'ssh-iptables' action 'iptables': Error starting action
  23. 2015-06-26 20:15:31,408 fail2ban.action [5920]: ERROR printf %b "Subject: [Fail2Ban] SSH: started on `uname -n`
  24. Date: `LC_TIME=C date -u +"%a, %d %h %Y %T +0000"`
  25. From: Fail2Ban <root@localhost>
  26. To: root@localhost\n
  27. Hi,\n
  28. The jail SSH has been started successfully.\n
  29. Regards,\n
  30. Fail2Ban" | /usr/bin/sendmail -f root@localhost root@localhost -- stdout: b''
  31. 2015-06-26 20:15:31,409 fail2ban.action [5920]: ERROR printf %b "Subject: [Fail2Ban] SSH: started on `uname -n`
  32. Date: `LC_TIME=C date -u +"%a, %d %h %Y %T +0000"`
  33. From: Fail2Ban <root@localhost>
  34. To: root@localhost\n
  35. Hi,\n
  36. The jail SSH has been started successfully.\n
  37. Regards,\n
  38. Fail2Ban" | /usr/bin/sendmail -f root@localhost root@localhost -- stderr: b'/bin/sh: line 7: /usr/bin/sendmail: No such file or directory\n'
  39. 2015-06-26 20:15:31,409 fail2ban.action [5920]: ERROR printf %b "Subject: [Fail2Ban] SSH: started on `uname -n`
  40. Date: `LC_TIME=C date -u +"%a, %d %h %Y %T +0000"`
  41. From: Fail2Ban <root@localhost>
  42. To: root@localhost\n
  43. Hi,\n
  44. The jail SSH has been started successfully.\n
  45. Regards,\n
  46. Fail2Ban" | /usr/bin/sendmail -f root@localhost root@localhost -- returned 127
  47. 2015-06-26 20:15:31,409 fail2ban.action [5920]: INFO HINT on 127: "Command not found". Make sure that all commands in 'printf %b "Subject: [Fail2Ban] SSH: started on `uname -n`\nDate: `LC_TIME=C date -u +"%a, %d %h %Y %T +0000"`\nFrom: Fail2Ban <root@localhost>\nTo: root@localhost\\n\nHi,\\n\nThe jail SSH has been started successfully.\\n\nRegards,\\n\nFail2Ban" | /usr/bin/sendmail -f root@localhost root@localhost' are in the PATH of fail2ban-server process (grep -a PATH= /proc/`pidof -x fail2ban-server`/environ). You may want to start "fail2ban-server -f" separately, initiate it with "fail2ban-client reload" in another shell session and observe if additional informative error messages appear in the terminals.
  48. 2015-06-26 20:15:31,410 fail2ban.actions [5920]: ERROR Failed to start jail 'ssh-iptables' action 'sendmail-whois': Error starting action
  49. 2015-06-26 21:08:42,242 fail2ban.server [5920]: INFO Stopping all jails
  50. 2015-06-26 21:08:43,069 fail2ban.action [5920]: ERROR printf %b "Subject: [Fail2Ban] SSH: stopped on `uname -n`
  51. Date: `LC_TIME=C date -u +"%a, %d %h %Y %T +0000"`
  52. From: Fail2Ban <root@localhost>
  53. To: root@localhost\n
  54. Hi,\n
  55. The jail SSH has been stopped.\n
  56. Regards,\n
  57. Fail2Ban" | /usr/bin/sendmail -f root@localhost root@localhost -- stdout: b''
  58. 2015-06-26 21:08:43,069 fail2ban.action [5920]: ERROR printf %b "Subject: [Fail2Ban] SSH: stopped on `uname -n`
  59. Date: `LC_TIME=C date -u +"%a, %d %h %Y %T +0000"`
  60. From: Fail2Ban <root@localhost>
  61. To: root@localhost\n
  62. Hi,\n
  63. The jail SSH has been stopped.\n
  64. Regards,\n
  65. Fail2Ban" | /usr/bin/sendmail -f root@localhost root@localhost -- stderr: b'/bin/sh: line 7: /usr/bin/sendmail: No such file or directory\n'
  66. 2015-06-26 21:08:43,069 fail2ban.action [5920]: ERROR printf %b "Subject: [Fail2Ban] SSH: stopped on `uname -n`
  67. Date: `LC_TIME=C date -u +"%a, %d %h %Y %T +0000"`
  68. From: Fail2Ban <root@localhost>
  69. To: root@localhost\n
  70. Hi,\n
  71. The jail SSH has been stopped.\n
  72. Regards,\n
  73. Fail2Ban" | /usr/bin/sendmail -f root@localhost root@localhost -- returned 127
  74. 2015-06-26 21:08:43,070 fail2ban.action [5920]: INFO HINT on 127: "Command not found". Make sure that all commands in 'printf %b "Subject: [Fail2Ban] SSH: stopped on `uname -n`\nDate: `LC_TIME=C date -u +"%a, %d %h %Y %T +0000"`\nFrom: Fail2Ban <root@localhost>\nTo: root@localhost\\n\nHi,\\n\nThe jail SSH has been stopped.\\n\nRegards,\\n\nFail2Ban" | /usr/bin/sendmail -f root@localhost root@localhost' are in the PATH of fail2ban-server process (grep -a PATH= /proc/`pidof -x fail2ban-server`/environ). You may want to start "fail2ban-server -f" separately, initiate it with "fail2ban-client reload" in another shell session and observe if additional informative error messages appear in the terminals.
  75. 2015-06-26 21:08:43,070 fail2ban.actions [5920]: ERROR Failed to stop jail 'ssh-iptables' action 'sendmail-whois': Error stopping action
  76. 2015-06-26 21:08:43,174 fail2ban.action [5920]: ERROR iptables -D INPUT -p tcp --dport ssh -j f2b-SSH
  77. iptables -F f2b-SSH
  78. iptables -X f2b-SSH -- stdout: b''
  79. 2015-06-26 21:08:43,175 fail2ban.action [5920]: ERROR iptables -D INPUT -p tcp --dport ssh -j f2b-SSH
  80. iptables -F f2b-SSH
  81. iptables -X f2b-SSH -- stderr: b"iptables v1.4.21: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)\nPerhaps iptables or your kernel needs to be upgraded.\niptables v1.4.21: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)\nPerhaps iptables or your kernel needs to be upgraded.\niptables v1.4.21: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)\nPerhaps iptables or your kernel needs to be upgraded.\n"
  82. 2015-06-26 21:08:43,175 fail2ban.action [5920]: ERROR iptables -D INPUT -p tcp --dport ssh -j f2b-SSH
  83. iptables -F f2b-SSH
  84. iptables -X f2b-SSH -- returned 3
  85. 2015-06-26 21:08:43,175 fail2ban.actions [5920]: ERROR Failed to stop jail 'ssh-iptables' action 'iptables': Error stopping action
  86. 2015-06-26 21:08:43,176 fail2ban.jail [5920]: INFO Jail 'ssh-iptables' stopped
  87. 2015-06-26 21:08:43,257 fail2ban.server [5920]: INFO Exiting Fail2ban
  88. 2015-06-26 21:08:43,952 fail2ban.server [6240]: INFO Changed logging target to /var/log/fail2ban.log for Fail2ban v0.9.1
  89. 2015-06-26 21:08:43,955 fail2ban.database [6240]: INFO Connected to fail2ban persistent database '/var/lib/fail2ban/fail2ban.sqlite3'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement