Re: [feature suggestion] sshd should log the listening port number while logging errors/warnings

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On 6/6/23 13:46, Christian Weisgerber wrote:
It has been upgraded over the course of the 13.x branch: 13.2 has OpenSSH 9.2p1.


The current version of OpenSSH in the FreeBSD 13.x branch is 9.3p1


But the log doesn't contain the listening port information,
For example, /var/log/messages has:
> Jun  6 19:05:02 xx sshd[6528]: error: Fssh_kex_exchange_identification: read: Connection reset by peer

The same incident also has these lines in /var/log/auth.log:
> Jun  6 19:05:02 xx sshd[6528]: error: Fssh_kex_exchange_identification: read: Connection reset by peer > Jun  6 19:05:02 xx sshd[6528]: Connection reset by 69.164.217.245 port 47272

But the listening port information isn't printed.


What is wrong?




Yuri


_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux