mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 01:59:02 +00:00
b5cde26048
critical fixes: - libtommath: possible integer overflow (CVE-2023-36328) - implement Strict KEX mode (CVE-2023-48795) various fixes: - fix DROPBEAR_DSS and DROPBEAR_RSA config options - y2038 issues - remove SO_LINGER socket option - make banner reading failure non-fatal - fix "noremotetcp" behavior - don't try to shutdown a pty - fix test for multiuser kernels adds new features: - option to bind to interface - allow inetd with non-syslog - ignore unsupported command line options with dropbearkey Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
35 lines
902 B
Diff
35 lines
902 B
Diff
From 383cc8c97a9420aad9cf93d88e77ec636b183a9d Mon Sep 17 00:00:00 2001
|
|
From: Matt Johnston <matt@ucc.asn.au>
|
|
Date: Mon, 11 Dec 2023 23:18:09 +0800
|
|
Subject: Allow inetd with non-syslog
|
|
|
|
An inetd-alike should be able to distinguish stdout and stderr, so
|
|
it's a valid configuration.
|
|
|
|
Fixes #218 on github
|
|
---
|
|
svr-runopts.c | 12 ------------
|
|
1 file changed, 12 deletions(-)
|
|
|
|
--- a/svr-runopts.c
|
|
+++ b/svr-runopts.c
|
|
@@ -443,18 +443,6 @@ void svr_getopts(int argc, char ** argv)
|
|
}
|
|
}
|
|
|
|
-#if INETD_MODE
|
|
- if (svr_opts.inetdmode && (
|
|
- opts.usingsyslog == 0
|
|
-#if DEBUG_TRACE
|
|
- || debug_trace
|
|
-#endif
|
|
- )) {
|
|
- /* log output goes to stderr which would get sent over the inetd network socket */
|
|
- dropbear_exit("Dropbear inetd mode is incompatible with debug -v or non-syslog");
|
|
- }
|
|
-#endif
|
|
-
|
|
if (svr_opts.multiauthmethod && svr_opts.noauthpass) {
|
|
dropbear_exit("-t and -s are incompatible");
|
|
}
|