Fail2ban on Debian Buster – the right way to configure?

Fail2ban can be configured in so many places. $ fail2ban-client -i Fail2Ban v0.10.2 reads log file that contains password failure report and bans the corresponding IP addresses using firewall rules. On Debian Buster I can edit my settings in several config files: /etc/fail2ban/jail.d/defaults-debian.conf /etc/fail2ban/fail2ban.conf /etc/fail2ban/jail.conf /etc/fail2ban/action.d/ Some tutorials recommend: cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local The Documentation of…

In a docker container based on alpine OS, ls -l doesn’t show the correct path of a soft link, how to deal with it?

In a docker container based on alpine OS, I want to check the JAVA_HOME /app/logs # which java /usr/bin/java /app/logs # ls -l /usr/bin/java lrwxrwxrwx 1 root root 35 Dec 11 15:23 /usr/bin/java -> ../lib/jvm/default-jvm/jre/bin/java /app/logs # ls ../lib/jvm/default-jvm/jre/bin/java ls: ../lib/jvm/default-jvm/jre/bin/java: No such file or directory /app/logs # ls /lib/jvm/default-jvm/jre/bin/java ls: /lib/jvm/default-jvm/jre/bin/java: No such file…