openwrt/package/network/services/dropbear
Christian Schoenebeck 8139438fc0 dropbear: close all active clients on shutdown
Override the default shutdown action (stop) and close all processes
of dropbear

Since commit 498fe85, the stop action only closes the process
that's listening for new connections, maintaining the ones with
existing clients.
This poses a problem when restarting or shutting-down a device,
because the connections with existing SSH clients, like OpenSSH,
are not properly closed, causing them to hang.

This situation can be avoided by closing all dropbear processes when
shutting-down the system, which closes properly the connections with
current clients.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
[Luis: Rework commit message]
Signed-off-by: Luis Araneda <luaraneda@gmail.com>

(cherry picked from commit 1e177844bc)
2018-08-08 15:36:46 +02:00
..
files dropbear: close all active clients on shutdown 2018-08-08 15:36:46 +02:00
patches dropbear: disable MD5 HMAC and switch to sha1 fingerprints 2017-12-12 22:24:17 +01:00
Config.in dropbear: make ssh compression support configurable 2017-09-28 21:47:16 +02:00
Makefile dropbear: disable MD5 HMAC and switch to sha1 fingerprints 2017-12-12 22:24:17 +01:00