dropbear: server support option '-T' max auth tries
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Sun, 25 Jun 2017 20:40:43 +0000 (21:40 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 13 Dec 2017 15:23:38 +0000 (16:23 +0100)
commit8693ab51528b5dbf130ecfb8cb827b2ba490caee
tree271d221b9cf46a31a02067ab25c7746c410dd731
parent0e6a6c84873e8fc9367d0766ced71e0db662e377
dropbear: server support option '-T' max auth tries

Add support for '-T n' for a run-time specification for maximum number
of authentication attempts where 'n' is between 1 and compile time
option MAX_AUTH_TRIES.

A default number of tries can be specified at compile time using
'DEFAULT_AUTH_TRIES' which itself defaults to MAX_AUTH_TRIES for
backwards compatibility.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
(cherry picked from commit 9aaf3d3501642640c9ec74268e671171c8de6103)
package/network/services/dropbear/patches/010-runtime-maxauthtries.patch [new file with mode: 0644]
package/network/services/dropbear/patches/610-skip-default-keys-in-custom-runs.patch