[openssh-commits] [openssh] 01/02: upstream: simplify SIGINFO output: remove list of active channels (too
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Jul 1 11:09:21 AEST 2026
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 0cdead097bde10712cd0635b5d350c16e07ba52a
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Wed Jul 1 01:06:54 2026 +0000
upstream: simplify SIGINFO output: remove list of active channels (too
verbose) and just display destination and connection duration; requested
deraadt@
OpenBSD-Commit-ID: cb36192cd53483f8e452ea91bc42be7bbb2fffa3
---
clientloop.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/clientloop.c b/clientloop.c
index 8f9d16ca8..a34db499a 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clientloop.c,v 1.423 2026/04/19 23:37:22 djm Exp $ */
+/* $OpenBSD: clientloop.c,v 1.424 2026/07/01 01:06:54 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo at cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -107,6 +107,8 @@
/* Uncertainty (in percent) of keystroke timing intervals */
#define SSH_KEYSTROKE_TIMING_FUZZ 10
+extern char *__progname;
+
/* import options */
extern Options options;
@@ -1594,8 +1596,12 @@ client_loop(struct ssh *ssh, int have_pty, int escape_char_arg,
if (sigprocmask(SIG_BLOCK, &bsigset, &osigset) == -1)
error_f("bsigset sigprocmask: %s", strerror(errno));
if (siginfo_received) {
+ char ident[256];
+
+ sshpkt_fmt_connection_id(ssh, ident, sizeof(ident));
+ logit("%s: connection to %s, up %.1f seconds",
+ __progname, ident, monotime_double() - start_time);
siginfo_received = 0;
- channel_report_open(ssh, SYSLOG_LEVEL_INFO);
}
if (quit_pending)
break;
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list