commit | fcd135c9df440bcd2d5870405ad3311743d78d97 | [log] [tgz] |
---|---|---|
author | dtucker@openbsd.org <dtucker@openbsd.org> | Thu Jul 21 01:39:35 2016 +0000 |
committer | Damien Miller <djm@mindrot.org> | Fri Jul 22 13:36:40 2016 +1000 |
tree | 0d66a792ade2b7cca30f5df586714fb1cf5f2265 | |
parent | 324583e8fb3935690be58790425793df619c6d4d [diff] |
upstream commit Skip passwords longer than 1k in length so clients can't easily DoS sshd by sending very long passwords, causing it to spend CPU hashing them. feedback djm@, ok markus@. Brought to our attention by tomas.kuthan at oracle.com, shilei-c at 360.cn and coredump at autistici.org Upstream-ID: d0af7d4a2190b63ba1d38eec502bc4be0be9e333