baiglin commented on issue #904:
URL: https://github.com/apache/mina-sshd/issues/904#issuecomment-4795749055
Hi Thomas,
I know how hard in such case implement MDC would be. It is more the only
simple way we would have to identify a session would be by logging both the
remote connect address and the **local address** to have the exact socket as we
have simultaneously several connections to the same destination. Still inside
the same session we could have different channel, here I hav a prod example
2026/06/22 14:46:57.953000
universal-distributor-dispatcher-genericloop-7569f87f67-fjl9k DDS_UDD#0-0 APP
DEBUG <o.a.s.s.c.i.DefaultSftpClient$SftpChannelSubsystem#0 TID#00000>
genericLoop [sshd-SshClient[1abf38d1]-nio2-thread-5] {}
handleWindowAdjust(SftpChannelSubsystem[id=1,
recipient=1]-ClientSessionImpl[[email protected]/50.50.50.50:22][sftp])
SSH_MSG_CHANNEL_WINDOW_ADJUST window=131052
2026/06/22 14:46:57.952000
universal-distributor-dispatcher-genericloop-7569f87f67-fjl9k DDS_UDD#0-0 APP
DEBUG <o.a.s.s.c.i.DefaultSftpClient$SftpChannelSubsystem#0 TID#00000>
genericLoop [sshd-SshClient[1abf38d1]-nio2-thread-2] {}
handleWindowAdjust(SftpChannelSubsystem[id=0,
recipient=0]-ClientSessionImpl[[email protected]/50.50.50.50:22][sftp])
SSH_MSG_CHANNEL_WINDOW_ADJUST window=131052
2026/06/22 14:46:57.870000
universal-distributor-dispatcher-genericloop-7569f87f67-fjl9k DDS_UDD#0-0 APP
DEBUG <o.a.s.s.c.i.DefaultSftpClient$SftpChannelSubsystem#0 TID#00000>
genericLoop [sshd-SshClient[1abf38d1]-nio2-thread-8] {}
handleWindowAdjust(SftpChannelSubsystem[id=1,
recipient=1]-ClientSessionImpl[[email protected]/50.50.50.50:22][sftp])
SSH_MSG_CHANNEL_WINDOW_ADJUST window=131052
2026/06/22 14:46:57.869000
universal-distributor-dispatcher-genericloop-7569f87f67-fjl9k DDS_UDD#0-0 APP
WARN <c.a.d.d.t.s.s.l.SetupSessionListener#0 TID#00000> genericLoop
[sshd-SshClient[1abf38d1]-nio2-thread-11] {DOMAIN=RMS, MEDIA_TYPE=SFTP,
DROPBOX=*, PROFILE=RMS_BFF_dest, CORR_ID=d2d0f215-c388-4307-9900-a8f9a2768c2b,
RUN_ID=a4cb8ec9-d1d1-4046-ac5e-fe124fc87690, OL_ID=3693281135,
FILE_NAME=PRD.RMS.NFS.D260622.T120000.AMA.SWA.A.00039.csv.gz, SUBSCRIBER=WN,
SSH_HOST=xxxx.com, SSH_PORT=22} Channel 1 has limited window size (0 bytes,
expected 2097152): server may be rate-limiting this connection, throughput may
be throttled
2026/06/22 14:46:57.869000
universal-distributor-dispatcher-genericloop-7569f87f67-fjl9k DDS_UDD#0-0 APP
DEBUG <o.a.s.c.s.ClientConnectionService#0 TID#00000> genericLoop
[sshd-SshClient[1abf38d1]-nio2-thread-11] {}
channelOpenConfirmation(SftpChannelSubsystem[id=1,
recipient=-1]-ClientSessionImpl[[email protected]/50.50.50.50:22][sftp])
SSH_MSG_CHANNEL_OPEN_CONFIRMATION sender=1, window-size=0, packet-size=32768
the id and recipient are not unique if those are the channel identifier, so
it is hard to correlate exactly all logs.
Maybe I am wrong but I do not see obvious correlator here.
Thnks for the feedback
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]