Re:Raspberry Pi update removes the default user
by jachee on Thursday April 07, 2022 @08:51PM
(#30952102)
This is why I run `fail2ban` on my pi.
[ Parent
| on HN ]
Re:Raspberry Pi update removes the default user
by spydum on Thursday April 07, 2022 @09:06PM
(#30952188)
If I know the default login, how would fail2ban help you? Doesn't it mine only the failures?
Re:Raspberry Pi update removes the default user
by jachee on Thursday April 07, 2022 @10:32PM
(#30952710)
Right, I changed the default, and now I ban anyone who tries it.
Re:Raspberry Pi update removes the default user
by Brian_K_White on Friday April 08, 2022 @03:14AM
(#30954197)
Then what's making a difference for you is that you changed a default name or password.
fail2ban is nice and all, but irrelevant to this post about a default login.
Re:Raspberry Pi update removes the default user
by jachee on Friday April 08, 2022 @01:57PM
(#30960382)
I guess I should’ve said “Scripts like this…” instead of just “This”.
My entire point being that any client that tries a default account should be insta-banned. That’s what I get from this.
Re:Raspberry Pi update removes the default user
by Brian_K_White on Friday April 08, 2022 @09:26PM
(#30964450)
stout policy
Re:Raspberry Pi update removes the default user
by stjohnswarts on Thursday April 07, 2022 @09:33PM
(#30952354)
fail2ban wouldn't help as he used the default password, it would have let him in. All you have to do is change the password or force key only logins (which is what most security conscious people do)
Re:Raspberry Pi update removes the default user
by oynqr on Friday April 08, 2022 @03:56AM
(#30954446)
fail2ban is such a clumsy solution when one can just disable password authentication and change the default port.
Re:Raspberry Pi update removes the default user
by kmbfjr on Friday April 08, 2022 @08:17AM
(#30955972)
It is. If you really want to get after the password scans, iptables and connection tracking. After N number of new connection requests, drop for X minutes.
Any IPs that are trusted, put ahead of that logic.