mirror of https://github.com/wolfSSL/wolfssh.git
DefaultUserAuth() holds a failed attempt to a per-user minimum, modeled on OpenSSH sshd: 5 ms plus up to 4.29 ms from a keyed hash of the username, doubled while the time already spent exceeds it, and skipped past 5 s. It sleeps and rechecks until the minimum has passed. The library itself stays non-blocking. - wolfSSHD_AuthInit() draws the per-daemon key before any fork - the hash is SHA-256, else SHA-512 or SHA-384; with none, the floor - Windows times the wait with QueryPerformanceCounter - tests for the delay range, the doubling, an early-waking sleep, and a failing request Issue: F-11938 |
||
|---|---|---|
| .. | ||
| wolfssh | ||
| wolfsshd | ||
| include.am | ||
| wolfssh-options.c | ||