News for hackers. Stuff that matters.
Re:Patch to Log SSH Passwords – One Year Results by joshavant on Thursday November 20, 2014 @01:14AM (#8634643)
If you're going for a security plan of obscurity (which, IMO, is what fail2ban is), I'd just change the SSH port, instead.
Re:Patch to Log SSH Passwords – One Year Results by darklajid on Thursday November 20, 2014 @03:07AM (#8634788)
Now I'm confused. Why do you consider blocking someone that clearly is trying to brute force his way in 'obscure'?
Re:Patch to Log SSH Passwords – One Year Results by joshavant on Friday November 21, 2014 @02:13AM (#8640174)
If you don't improve the 'hardness' of the authentication scheme - that is, if you continue to use a password instead of, say, SSH keys - then, for all intents and purposes, you've just made the system more _obscure_, rather than improving _actual_ security.

To be sure, a dedicated brute forcer could still brute force any system using f2b... it just might take a few months/years instead of a few days.

(However, as noted by other commenters, there's something to be said about obscurity within a system's overall security scheme. You just have to strike a balance...)

Re:Patch to Log SSH Passwords – One Year Results by hoers on Thursday November 20, 2014 @06:11AM (#8635190)
You're right, it's not.
Re:Patch to Log SSH Passwords – One Year Results by jlgaddis on Thursday November 20, 2014 @03:31AM (#8634831)
It's not obscurity, it's rate limiting.
Re:Patch to Log SSH Passwords – One Year Results by SixSigma on Thursday November 20, 2014 @08:03AM (#8635495)
Obscurity is a perfectly legitimate and valid security technique.

Relying on obscurity alone is the mistake you are alluding to.

Why wouldn't you recommend using fail2ban and changing the port?

Re:Patch to Log SSH Passwords – One Year Results by joshavant on Friday November 21, 2014 @02:11AM (#8640171)
>Relying on obscurity alone is the mistake you are alluding to.

Ok, sure.

>Why wouldn't you recommend using fail2ban and changing the port?

IMO, changing the port will have nearly the same overall effect as f2b: minimizing the number of failed password attempts from unknown users.

To that end, changing the port is changing one value in a config file, which has the attractive advantage of being far simpler to setup + maintain.

Re:Patch to Log SSH Passwords – One Year Results by SixSigma on Friday November 21, 2014 @01:22PM (#8642502)
I can confirm that changing the port does drastically reduce login attempts but also that it is not to zero, I had 45 yesterday, for instance but here's the kicker - all from the same IP.

Setup and maintenance are virtually zero though, for f2b. I know, I just installed it.

A one liner to install on most systems and updates along with everything else when your package manager does the updates.