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

2012-09-18 Something is not consistent here: koos@ ... 6 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: , ,

, 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 pgp key statistics for 0x5BA9368BE6F334E4 Koos van den Hout
RSS
Other webprojects: Camp Wireless, wireless Internet access at campsites, The Virtual Bookcase, book reviews
This page generated in 0.004011 seconds.