Portmap RPC registration fails
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed May 9 18:20:00 GMT 2012
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
More information about the Cygwin
mailing list