Questions tagged [fail2ban]

Fail2ban scans log files (e.g. /var/log/apache/error_log) and bans IPs that show the malicious signs -- too many password failures, seeking for exploits, etc.

Filter by
Sorted by
Tagged with
51 votes
5 answers
232k views

vivid - failed to connect to upstart: connection refused

Just updated via do-release-upgrade and now certain upstart jobs such as fail2ban and plexmediaserver will not start (have tried reinstalling) $ sudo service fail2ban start Job for fail2ban.service ...
matty87a's user avatar
  • 511
3 votes
1 answer
3k views

How to prevent x11vnc attacks: attempts to unauthorized logins?

My computer was freezing for 1 second every 5 seconds. I found it was someone repeatedly trying to log in through x11vnc. Is there some way I can have it reject connections from an IP address for a ...
beauxq's user avatar
  • 211
5 votes
2 answers
11k views

Job for fail2ban.service failed because the control process exited with error code

I have installed fail2ban on my server (OS: Ubuntu 16.0.4 LTS). When I try to start it, I get the following error message: Job for fail2ban.service failed because the control process exited with ...
Homunculus Reticulli's user avatar
3 votes
0 answers
3k views

"top" shows fail2ban and sshd at the very top, hogging CPU usage

top shows fail2ban and sshd at the very top and hogging CPU usage. top - 19:30:57 up 1 day, 9:44, 1 user, load average: 41.03, 41.02, 41.02 Tasks: 738 total, 1 running, 737 sleeping, 0 stopped, ...
user14045797's user avatar
0 votes
1 answer
1k views

Regex for fail2ban config file to match pregreet lines in mail.log

The lines in mail.log to match are like: May 6 10:06:16 mikes-serverbox postfix/postscreen[15486]: PREGREET 14 after 0.1 from [173.225.99.104]:57130: EHLO ylmf-pc\r\n May 9 11:36:36 mikes-...
viDim's user avatar
  • 23