Hi guys,<div>I&#39;m working on a project that uses dropbear, and I&#39;m modifying the code to add a custom lookup mechanism for pub/priv keys that uses a database instead of a file.</div><div>While debugging it, I&#39;ve noticed that the server sometimes receives message type 50 (that I understand it means auth. request) more than once. </div>
<div>The server, every time it receives an auth request, always attempts to authenticate the client like it&#39;s the first time. </div><div>To limit the load on the server and reduce the number of calls to the database, I was wondering if somebody (Matt?) can help me understanding if it is safe to &#39;cache&#39; the auth state (or, since it&#39;s already present in ses.authstate, reuse that value) and send back immediately the previous auth state.</div>
<div><br></div><div>Unfortunately right now I&#39;m on dropbear 0.52 (it&#39;s very stable for me and I&#39;m not very motivated to upgrade to the latest version yet).</div><div><br></div><div>Any help is highly appreciated!!</div>
<div>Regards,</div><div>Fabrizio</div><div><br></div>