Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Fail2ban to Secure Your Server - A Tutorial Proposed Changes #3433

Open
allanrbo opened this issue Jun 29, 2020 · 0 comments
Open

Using Fail2ban to Secure Your Server - A Tutorial Proposed Changes #3433

allanrbo opened this issue Jun 29, 2020 · 0 comments

Comments

@allanrbo
Copy link

Link: https://linode.com/docs/security/using-fail2ban-to-secure-your-server-a-tutorial/

Issue

This part "Because we defined the day of the month as a two-digit number in a capture group (the parentheses), we can backreference it using \1 (since it is the first capture group)" is nonsense. Using a backref here means that it would only match if the day is for example the 10th and the time also happens to be 10 am.

Suggested Fix

Remove the backref nonsense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant