this post was submitted on 17 Apr 2024
80 points (97.6% liked)

Cybersecurity

5411 readers
131 users here now

c/cybersecurity is a community centered on the cybersecurity and information security profession. You can come here to discuss news, post something interesting, or just chat with others.

THE RULES

Instance Rules

Community Rules

If you ask someone to hack your "friends" socials you're just going to get banned so don't do that.

Learn about hacking

Hack the Box

Try Hack Me

Pico Capture the flag

Other security-related communities [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

Notable mention to [email protected]

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 14 points 5 months ago (2 children)

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.

[–] [email protected] 8 points 5 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.

[–] [email protected] 3 points 5 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.. :/