• Darkassassin07
    link
    fedilink
    English
    arrow-up
    15
    ·
    8 months ago

    There’s a few ways to do it; but if they block based on username it can lockout legitimate users too.

    This is what fail2ban is for. Too many failed auths from an IP and that whole IP is blacklisted for a day or two. This can still catchout vpn users, but it’s still less disruptive.

    • HubertManne@kbin.social
      link
      fedilink
      arrow-up
      8
      ·
      8 months ago

      Many blocked for an hour or even just 10 mins. at the time it was enough to get the attack scripts to change targets.

    • SemiAuto@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 months ago

      I went a bit overboard I think with my fail2ban configuration. If you fail 2 times to login in any admin interfaces (ssh, web, etc), you get banned for around 4880 days… I have too many banned IPs already… :/