sshd doesn't log hostname into utmp correctly [resend]

Hajimu UMEMOTO ume at
Wed Aug 21 01:05:45 EST 2002


>>>>> On Tue, 20 Aug 2002 07:27:57 -0700
>>>>> Kevin Steves <kevin at> said:

kevin> does this defeat utmp_len and verify_reverse_mapping?


Ah yes, FreeBSD has some hack to store utmp entry by calling
realhostname_sa().  Sorry for my lacking of consideration around
FreeBSD hack.
In anyway, it is a potential problem that record_login() copies addr
just sizeof(struct sockaddr) regardless of actual size.  Please
consider to fix it by applying my previous patch.


Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at  ume at  ume@{,jp.}

More information about the openssh-unix-dev mailing list