From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Senn, Bruce" Newsgroups: gmane.os.tru64.managers Subject: Tru64 5.1A, IPv6, openssh, and tcp_wrappers Date: Fri, 15 Oct 2004 14:54:02 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <7376CFAAA5435943BBC3E8B73C443504157A3D@mercury.union-mis.union.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1097866401 23887 80.91.229.6 (15 Oct 2004 18:53:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Oct 2004 18:53:21 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Oct 15 20:53:06 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1CIXCM-0001PP-00 for ; Fri, 15 Oct 2004 20:53:06 +0200 Original-Received: (qmail 14549 invoked by uid 5); 15 Oct 2004 18:52:06 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 14476 invoked by uid 49501); 15 Oct 2004 18:52:05 -0000 Original-Received: from sennb@union.edu by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.86.17):SA:0(-4.9/5.0):. Processed in 4.237521 secs); 15 Oct 2004 18:52:05 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 15 Oct 2004 18:52:00 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I5N00HN232JSZ@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 15 Oct 2004 14:51:59 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute2.cind.ornl.gov by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0I5N00302329FD@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 15 Oct 2004 14:51:49 -0400 (EDT) Original-Received: from mercury.union-mis.union.edu (mercury.union.edu [149.106.82.130]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I5N0009X326MJ@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 15 Oct 2004 14:51:42 -0400 (EDT) Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.5.7226.0 Thread-Topic: Tru64 5.1A, IPv6, openssh, and tcp_wrappers Thread-Index: AcSywU9r4TmYKUFXStGb8rDwZmru3w== Content-class: urn:content-classes:message X-Envelope-From: X-ORNL-Envelope-To: tru64-unix-managers@sws1.ctd.ornl.gov rfc822;tru64-unix-managers@ornl.gov X-MS-Has-Attach: X-MS-TNEF-Correlator: Xref: main.gmane.org gmane.os.tru64.managers:7671 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7671 I have upgraded our test server, an Alpha Personal Workstation 600au, to Tru64 5.1A. I am now having problems with ssh connections. The first error message is: Oct 13 14:58:35 testsvr sshd[510671]: refused connect from 0.0.0.0 As a workaround I added 0.0.0.0 the hosts.allow. Connections succeed with the following entry in auth.log. Oct 13 15:09:52 testsvr sshd[517969]: Accepted password for username from ::ffff:149.106.nn.nn port 4498 ssh2 My theory is that sshd is getting the IPv6 address, interpreting some part of it to be 0.0.0.0, and trying to validate that in hosts.allow. This does not happen on my server running Tru64 4.0D. Here is some additional version information. Openssl 3.4.p1 Tcp_wrappers 7.6 Gcc 3.3.1 Gnu-make 3.8 There seem to be a couple of configuration options for ssh, namely --with-ipv4-default and --with-4in6. There also seems to be an IPv6 version of tcp_wrappers. I'm not sure what in Tru64 5.1A is returning the IPv6 address to ssh or if there is a way to change it. Any thoughts or advice would be appreciated. TIA. Bruce. ------------------------------------------------------------------------ ---- Bruce J. Senn Phone: (518) 388-6664 Senior System Manager FAX: (518) 388-6458 Union College E-mail: sennb@union.edu Schenectady, NY 12308 WWW: http://www1.union.edu/~sennb ------------------------------------------------------------------------ ----