Add new parameter -M for max. duration#409
Conversation
Use authdone instead of connect_time as dependency for authentication timeout checking. This prevents connect_time from being set to 0 unnecessarily and allows it to be used for other purposes. Signed-off-by: Martin Schiller <ms@dev.tdt.de>
3451d0c to
362215a
Compare
|
@mkj I don't understand why the check fails here and max_duration_secs seems to be set to 1, even though the default value is actually 0. Make check runs without any problems for me. |
I guess github runners are slower than local systems so it might take longer than a second? max_duration_secs set to 1 looks like a real problem though? |
But I can't see any errors in my changes. |
Some technical guidelines (e.g., TR-03148) and cybersecurity baselines require a hard maximum connection duration / session timeout for remote connections. Therefore, a parameter is hereby introduced that can be used to configure the maximum connection duration. The default value is 0 (disabled). Signed-off-by: Martin Schiller <ms@dev.tdt.de>
362215a to
b849519
Compare
7e1dc96 to
6e354ea
Compare
|
Aah, it'll be because that CI option flips any dropbear/.github/workflows/build.yml Lines 229 to 240 in 75f699b |
6e354ea to
db80283
Compare
Thank you for the clarification. |
|
Thanks, this is merged. While testing I noticed an existing bug in the timeout handling, now fixed. #418 |
|
Thank you very much. |
Some technical guidelines (e.g., TR-03148) and cybersecurity baselines
require a hard maximum connection duration / session timeout for remote
connections. Therefore, a parameter is hereby introduced that can be
used to configure the maximum connection duration. The default value is
0 (disabled).