Something is not consistent here: koos@ ... / 2012-09-18

2012-09-18 Something is not consistent here: koos@ ... 8 years ago
Something is not consistent here:
koos@greenblatt:~$ rpcinfo -p eth0-1.idefix.net
rpcinfo: eth0-1.idefix.net is unknown host
koos@greenblatt:~$ rpcinfo -p ip6-loopback
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
The difference is that ip6-localhost comes from the hosts file and eth0-1.idefix.net comes from dns. All IPv4 addresses work fine. Seen both in Ubuntu 8.04 and 10.04.

And for added confusion:
koos@greenblatt:~$ rpcinfo -p ::1
rpcinfo: ::1 is unknown host
Running with strace reveals that rpcinfo -p ip6-loopback still does:
connect(3, {sa_family=AF_INET, sin_port=htons(111), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
Looks like there is a special rule in rpcinfo for this case.

Tags: , ,

IPv6 check

Running test...
, reachable as koos+website@idefix.net. PGP encrypted e-mail preferred. PGP key 5BA9 368B E6F3 34E4 local copy PGP key 5BA9 368B E6F3 34E4 via keyservers

RSS
Meningen zijn die van mezelf, wat ik schrijf is beschermd door auteursrecht. Sommige publicaties bevatten een expliciete vermelding dat ze ongevraagd gedeeld mogen worden.
My opinions are my own, what I write is protected by copyrights. Some publications contain an explicit license statement which allows sharing without asking permission.
Other webprojects: Camp Wireless, wireless Internet access at campsites, The Virtual Bookcase, book reviews
This page generated by $Id: newsitem.cgi,v 1.54 2020/12/31 15:36:31 koos Exp $ in 0.006015 seconds.