Hi,

>>>>> On Fri, 11 Feb 2000 19:59:03 +0100 (CET)
>>>>> Blaz Zupan <[EMAIL PROTECTED]> said:

> After doing a buildworld yesterday I noticed that my sshd (1.2.27, with
> libwrap support) immediately closes the connection when a connection is
> made, without logging anything via syslog.
> 
> sshd itself was not changed but I did remember seeing INET6 changes
> being committed for tcp_wrappers. When I backed out those changes and
> remade libwrap, sshd starting working as usual.

blaz> Funny you mention that, I noticed it just yesterday as well. Recompiling
blaz> sshd fixed the problem for me, but this means we have somehow broken
blaz> binary compatibility.

  I brought sshd1 compiled on pure 3.4-RELEASE into 4.0-CURRENT.
Then, I see this problem.
  This is why new libwrap uses getipnodeby*() added by recent IPv6
supported libc.  Though, libc's major version was incremented,
libwrap's major version should be incremented, too.

ume@peace:229# /usr/local/sbin/sshd -d
debug: sshd version 1.2.27 [i386--freebsd3.4]
debug: Initializing random number generator; seed file /etc/ssh_random_seed
log: Server listening on port 22.
log: Generating 768 bit RSA key.
Generating p:  ....++ (distance 72)
Generating q:  .++ (distance 0)
Computing the keys...
Testing the keys...
Key generation complete.
log: RSA key generation complete.
debug: Server will not fork when running in debugging mode.
/usr/libexec/ld-elf.so.1: /usr/lib/libwrap.so.2: Undefined symbol "getipnodebyaddr"
ume@peace:230# ldd /usr/local/sbin/sshd1
/usr/local/sbin/sshd1:
        libgmp.so.3 => /usr/lib/libgmp.so.3 (0x28085000)
        libz.so.2 => /usr/lib/libz.so.2 (0x2809a000)
        libwrap.so.2 => /usr/lib/libwrap.so.2 (0x280a7000)
        libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280ae000)
        libutil.so.2 => /usr/lib/libutil.so.2 (0x280c3000)
        libc.so.3 => /usr/lib/libc.so.3 (0x280cd000)
ume@peace:231# ls -l /usr/lib/libc.*
-r--r--r--  1 root  wheel  1127474 Feb 12 17:22 /usr/lib/libc.a
lrwxr-xr-x  1 root  wheel        9 Feb 12 17:22 /usr/lib/libc.so -> libc.so.4
-r--r--r--  1 root  wheel   561464 Dec 28 05:02 /usr/lib/libc.so.3
-r--r--r--  1 root  wheel   533908 Feb 12 17:22 /usr/lib/libc.so.4

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
[EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL PROTECTED]
http://www.imasy.org/~ume/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to