X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 9 May 2012 20:20:02 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Portmap RPC registration fails Message-ID: <20120509182002.GO17185@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <000001cd2d63$455bd1b0$d0137510$@sixtus.plus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <000001cd2d63$455bd1b0$d0137510$@sixtus.plus.com> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On May 8 22:41, Ken wrote: > Further to this post... With a struggle I built libtirpc.a and traced > execution. Ultimately this is failing in clnt_vc.c. The following call in > clnt_vc_create: > > connect(fd, (struct sockaddr *)raddr->buf, raddr->len) > > supplies an IPV6 address with hex values: > > 006F 0000 0000 0000 0000 0000 0000 0000 0000 0000 0001 0000 0000 3300 > > The codes's own diagnostics report: > > Got ua [::1.0.111] > netbuf len = 28, maxlen = 28 > Address is 23.0.0.111.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.0.0. > rpcbind clnt interface: RPC: Remote system error - Connection refused > > The above doesn't look like a plausible IPV6 address. I have IPV6 enabled on > my network adapter. Is it possible that portmap isn't compatible with IPV6? > That would explain why older code (such as CygWin NFS Server - IPV4) is able > to register with portmap. portmap and the entire sunrpc package is pretty old stuff. They are not used anymore on Linux and BSD afaik, but there's replacement code in a not so easy portable way. Portmap and the rest of the sunrpc code is not overly complicated, though. With a bit of effort it should be possible to make it IPv6-aware. However, http://cygwin.com/acronyms/#SHTDI Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple