Skip to content

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

@allanrbo

Description

@allanrbo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions