Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2015-06-26 20:15:28,013 fail2ban.server [5920]: INFO Changed logging target to /var/log/fail2ban.log for Fail2ban v0.9.1
- 2015-06-26 20:15:28,015 fail2ban.database [5920]: INFO Connected to fail2ban persistent database '/var/lib/fail2ban/fail2ban.sqlite3'
- 2015-06-26 20:15:29,413 fail2ban.database [5920]: WARNING New database created. Version '2'
- 2015-06-26 20:15:29,415 fail2ban.jail [5920]: INFO Creating new jail 'ssh-iptables'
- 2015-06-26 20:15:29,673 fail2ban.jail [5920]: INFO Jail 'ssh-iptables' uses systemd
- 2015-06-26 20:15:30,665 fail2ban.jail [5920]: INFO Initiated 'systemd' backend
- 2015-06-26 20:15:30,746 fail2ban.filter [5920]: INFO Set findtime = 600
- 2015-06-26 20:15:30,747 fail2ban.filter [5920]: INFO Set maxRetry = 5
- 2015-06-26 20:15:30,749 fail2ban.actions [5920]: INFO Set banTime = 1800
- 2015-06-26 20:15:30,752 fail2ban.filter [5920]: INFO Set maxlines = 10
- 2015-06-26 20:15:30,867 fail2ban.filtersystemd [5920]: INFO Added journal match for: '_SYSTEMD_UNIT=sshd.service + _COMM=sshd'
- 2015-06-26 20:15:30,887 fail2ban.jail [5920]: INFO Jail 'ssh-iptables' started
- 2015-06-26 20:15:31,202 fail2ban.action [5920]: ERROR iptables -N f2b-SSH
- iptables -A f2b-SSH -j RETURN
- iptables -I INPUT -p tcp --dport ssh -j f2b-SSH -- stdout: b''
- 2015-06-26 20:15:31,202 fail2ban.action [5920]: ERROR iptables -N f2b-SSH
- iptables -A f2b-SSH -j RETURN
- 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"
- 2015-06-26 20:15:31,203 fail2ban.action [5920]: ERROR iptables -N f2b-SSH
- iptables -A f2b-SSH -j RETURN
- iptables -I INPUT -p tcp --dport ssh -j f2b-SSH -- returned 3
- 2015-06-26 20:15:31,203 fail2ban.actions [5920]: ERROR Failed to start jail 'ssh-iptables' action 'iptables': Error starting action
- 2015-06-26 20:15:31,408 fail2ban.action [5920]: ERROR printf %b "Subject: [Fail2Ban] SSH: started on `uname -n`
- Date: `LC_TIME=C date -u +"%a, %d %h %Y %T +0000"`
- From: Fail2Ban <root@localhost>
- To: root@localhost\n
- Hi,\n
- The jail SSH has been started successfully.\n
- Regards,\n
- Fail2Ban" | /usr/bin/sendmail -f root@localhost root@localhost -- stdout: b''
- 2015-06-26 20:15:31,409 fail2ban.action [5920]: ERROR printf %b "Subject: [Fail2Ban] SSH: started on `uname -n`
- Date: `LC_TIME=C date -u +"%a, %d %h %Y %T +0000"`
- From: Fail2Ban <root@localhost>
- To: root@localhost\n
- Hi,\n
- The jail SSH has been started successfully.\n
- Regards,\n
- Fail2Ban" | /usr/bin/sendmail -f root@localhost root@localhost -- stderr: b'/bin/sh: line 7: /usr/bin/sendmail: No such file or directory\n'
- 2015-06-26 20:15:31,409 fail2ban.action [5920]: ERROR printf %b "Subject: [Fail2Ban] SSH: started on `uname -n`
- Date: `LC_TIME=C date -u +"%a, %d %h %Y %T +0000"`
- From: Fail2Ban <root@localhost>
- To: root@localhost\n
- Hi,\n
- The jail SSH has been started successfully.\n
- Regards,\n
- Fail2Ban" | /usr/bin/sendmail -f root@localhost root@localhost -- returned 127
- 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.
- 2015-06-26 20:15:31,410 fail2ban.actions [5920]: ERROR Failed to start jail 'ssh-iptables' action 'sendmail-whois': Error starting action
- 2015-06-26 21:08:42,242 fail2ban.server [5920]: INFO Stopping all jails
- 2015-06-26 21:08:43,069 fail2ban.action [5920]: ERROR printf %b "Subject: [Fail2Ban] SSH: stopped on `uname -n`
- Date: `LC_TIME=C date -u +"%a, %d %h %Y %T +0000"`
- From: Fail2Ban <root@localhost>
- To: root@localhost\n
- Hi,\n
- The jail SSH has been stopped.\n
- Regards,\n
- Fail2Ban" | /usr/bin/sendmail -f root@localhost root@localhost -- stdout: b''
- 2015-06-26 21:08:43,069 fail2ban.action [5920]: ERROR printf %b "Subject: [Fail2Ban] SSH: stopped on `uname -n`
- Date: `LC_TIME=C date -u +"%a, %d %h %Y %T +0000"`
- From: Fail2Ban <root@localhost>
- To: root@localhost\n
- Hi,\n
- The jail SSH has been stopped.\n
- Regards,\n
- Fail2Ban" | /usr/bin/sendmail -f root@localhost root@localhost -- stderr: b'/bin/sh: line 7: /usr/bin/sendmail: No such file or directory\n'
- 2015-06-26 21:08:43,069 fail2ban.action [5920]: ERROR printf %b "Subject: [Fail2Ban] SSH: stopped on `uname -n`
- Date: `LC_TIME=C date -u +"%a, %d %h %Y %T +0000"`
- From: Fail2Ban <root@localhost>
- To: root@localhost\n
- Hi,\n
- The jail SSH has been stopped.\n
- Regards,\n
- Fail2Ban" | /usr/bin/sendmail -f root@localhost root@localhost -- returned 127
- 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.
- 2015-06-26 21:08:43,070 fail2ban.actions [5920]: ERROR Failed to stop jail 'ssh-iptables' action 'sendmail-whois': Error stopping action
- 2015-06-26 21:08:43,174 fail2ban.action [5920]: ERROR iptables -D INPUT -p tcp --dport ssh -j f2b-SSH
- iptables -F f2b-SSH
- iptables -X f2b-SSH -- stdout: b''
- 2015-06-26 21:08:43,175 fail2ban.action [5920]: ERROR iptables -D INPUT -p tcp --dport ssh -j f2b-SSH
- iptables -F f2b-SSH
- 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"
- 2015-06-26 21:08:43,175 fail2ban.action [5920]: ERROR iptables -D INPUT -p tcp --dport ssh -j f2b-SSH
- iptables -F f2b-SSH
- iptables -X f2b-SSH -- returned 3
- 2015-06-26 21:08:43,175 fail2ban.actions [5920]: ERROR Failed to stop jail 'ssh-iptables' action 'iptables': Error stopping action
- 2015-06-26 21:08:43,176 fail2ban.jail [5920]: INFO Jail 'ssh-iptables' stopped
- 2015-06-26 21:08:43,257 fail2ban.server [5920]: INFO Exiting Fail2ban
- 2015-06-26 21:08:43,952 fail2ban.server [6240]: INFO Changed logging target to /var/log/fail2ban.log for Fail2ban v0.9.1
- 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