News for hackers. Stuff that matters.
Re:Who's Attacking My Server? by tptacek on Sunday March 13, 2022 @01:55PM (#30663884)
You don't, because there's no point.
Re:Who's Attacking My Server? by criddell on Sunday March 13, 2022 @02:10PM (#30664085)
It does get rid of a lot of noise in your log files. Plus, it's foolish to assume ssh is bug free.
Re:Who's Attacking My Server? by tptacek on Sunday March 13, 2022 @02:16PM (#30664154)
There hasn't been a pre-auth remote vulnerability in stock OpenSSH since 2002. It is not for lack of looking. OpenSSH is one of the hardest targets on the Internet: I trust my kernel less.
Re:Who's Attacking My Server? by raggi on Sunday March 13, 2022 @02:18PM (#30664172)
I've been enough in the SSH code to be somewhat terrified by it. The main server loop has so many nested macro conditionals it's exceptionally difficult to read precisely.

That said, fail2ban had an RCE in the last year, so if we're considering trustworthy surfaces, I definitely agree and practice that I trust openssh a whole lot more than a lot of other software that may come up in the discussion.

Re:Who's Attacking My Server? by tptacek on Sunday March 13, 2022 @03:28PM (#30664849)
qmail has one of the most notoriously inscrutable codebases of all time, and it has a startlingly good track record, because there's a coherent security design behind it; the same --- to a greater extent! --- goes for OpenSSH.
Re:Who's Attacking My Server? by raggi on Sunday March 13, 2022 @03:52PM (#30665057)
There's a side of this that I agree with, however there's other sides.

The reason I've been in the code base a bunch is because I've taken on support of forks bootstrapped by others in various scenarios.

Design safety goes a fairly long way, but it's so easy to screw up patching code shaped this way. I might trust the core, but I don't trust external patches.

The problem in practice is, distros can't help themselves.

Re:Who's Attacking My Server? by tptacek on Sunday March 13, 2022 @06:50PM (#30666548)
I wouldn't trust external patches to OpenSSH either.
Re:Who's Attacking My Server? by Eduard on Sunday March 13, 2022 @07:34PM (#30666879)
Maybe qmail and SSH have their good track record because of security by inscrutability
Re:Who's Attacking My Server? by criddell on Sunday March 13, 2022 @04:38PM (#30665463)
Exactly. You are trusting that sshd, the OS, RAM controller and CPU are all bug free.