i read Dropbear configuration
is there ClientAliveCountMax parametr ?
and what is the number of clients by default ?
efahl
August 18, 2023, 12:41am
2
There does not appear to be any limit to authorized clients. There are a couple of limits the restrict the number of as-yet unauthorized connections, probably to mitigate flood attacks, but it looks pretty much anything goes if you are a valid user.
/* Save a network roundtrip by sendng a real auth request immediately after
* sending a query for the available methods. This is not yet enabled by default
since it could cause problems with non-compliant servers */
#define DROPBEAR_CLI_IMMEDIATE_AUTH 0
/* Set this to use PRNGD or EGD instead of /dev/urandom */
#define DROPBEAR_USE_PRNGD 0
#define DROPBEAR_PRNGD_SOCKET "/var/run/dropbear-rng"
/* Specify the number of clients we will allow to be connected but
* not yet authenticated. After this limit, connections are rejected */
/* The first setting is per-IP, to avoid denial of service */
#define MAX_UNAUTH_PER_IP 5
/* And then a global limit to avoid chewing memory if connections
* come from many IPs */
#define MAX_UNAUTH_CLIENTS 30
/* Default maximum number of failed authentication tries (server option) */
/* -T server option overrides */
1 Like
so 5 minutes 5 connection
thanks
system
Closed
August 28, 2023, 12:47am
4
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.