Hi guys,<div>I'm working on a project that uses dropbear, and I'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'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'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 'cache' the auth state (or, since it'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'm on dropbear 0.52 (it's very stable for me and I'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>