dropbear: better handle interfaces
authorKonstantin Demin <rockdrilla@gmail.com>
Mon, 15 Jan 2024 07:38:59 +0000 (10:38 +0300)
committerRui Salvaterra <rsalvaterra@gmail.com>
Fri, 9 Feb 2024 09:13:05 +0000 (09:13 +0000)
commit3f96246e97215c4c76ca407a8bca8f3f5de32e1c
tree6b7e1c2f820a417c94ec6611e0411ee6a718eca4
parent865ae1c10c65001813413da95eb1b8cd06a7e1c1
dropbear: better handle interfaces

- introduce 'DirectInterface' option to bind exactly to specified interface;
  fixes #9666 and late IPv4/IPv6 address assignment
- option 'DirectInterface' takes precedence over 'Interface'
- improve interface/address handling,
  e.g. verify count of listening endpoints due to dropbear limit (10 for now)

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
package/network/services/dropbear/files/dropbear.init