question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not sure it goes here, could not find an other place. For anyone that would find this useful 🙂

fail2ban setup on Ubuntu 20.04 LTS Using the scripted install, not sure how it applies for dockerized version but that should not be too different

Create a /etc/fail2ban/jail.d/custom.conf In the default section, add the IPs that should never be blocked then your standard settings for findtime, bantime & maxretry Personnally I use these:

[DEFAULT]
ignoreip = 127.0.0.0/8 <my public IP> <any IP you need here>
findtime = 1h
bantime = 7d
maxretry = 3

Then add this section for wildduck

[wildduck]
enabled  = true
port     = 993,995
filter   = wildduck
logpath  = /var/log/wildduck-server/wildduck-server.log

Then create /etc/fail2ban/filter.d/wildduck.conf

[INCLUDES]
before = common.conf

[Definition]
failregex = \[AUTHFAIL\] .*"_ip":"<HOST>"
ignoreregex =

And restart fail2ban.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
DuredhelFincelebcommented, Apr 21, 2021

OK so I’ve made my very first github contrilb 🙂 If I’ve followed the instructions correctly, you should have received a PR with the document updated.

0reactions
andris9commented, Apr 22, 2021

Thanks! You can see the updated documentation here (might need page refresh)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Use Fail2ban to Secure Your Server (A Tutorial) | Linode
This guide shows you how to set up Fail2Ban, a log-parsing application, to monitor system logs, and detect automated attacks on your Linode....
Read more >
Fail2Ban Installation & Setup: Ubuntu, CentOS, Fedora ...
1. To install Fail2ban on CentOS, you need the EPEL repository. · 2. With the EPEL repository set up, install Fail2ban with the...
Read more >
Using Fail2ban to Secure Your Server - Plesk
How can you get Fail2ban installation right? How about your Fail2ban configuration? This step-by-step guide makes securing your server ...
Read more >
How to Secure Your Linux Server with Fail2Ban Configuration
Before installing a new package, we recommend to update the system repository and software. Run the following command: apt-get update && apt-get ...
Read more >
How To Protect SSH with Fail2Ban on Ubuntu 20.04
Fail2ban can significantly mitigate brute force attacks by creating rules that automatically alter your firewall configuration to ban specific ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found