Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2017 09:40:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 223729] rpcinfo and IPv6 addresses
Message-ID:  <bug-223729-8@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223729

            Bug ID: 223729
           Summary: rpcinfo and IPv6 addresses
           Product: Base System
           Version: 11.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: pirzyk@FreeBSD.org

rpcinfo (and probably rpcbind) do not seem to support IPv6 addresses:

pirzyk@amigo:~/svn/puppet
25>rpcinfo -p ::1
rpcinfo: ::1: hostname nor servname provided, or not known
pirzyk@amigo:~/svn/puppet
26>rpcinfo -p 127.0.0.1
   program vers proto   port  service
    100000    4   tcp    111  rpcbind
    100000    3   tcp    111  rpcbind
    100000    2   tcp    111  rpcbind
    100000    4   udp    111  rpcbind
    100000    3   udp    111  rpcbind
    100000    2   udp    111  rpcbind
    100000    4 local    111  rpcbind
    100000    3 local    111  rpcbind
    100000    2 local    111  rpcbind
...

This also fails for non localhost IPv6 addresses.  Seems that inet_addr(3) does
not understand IPv6 formatted address.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223729-8>