Date: Tue, 12 Feb 2019 13:21:18 -0500 From: Allan Jude <allanjude@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: what do jails map 127.0.0.1 to? Message-ID: <a8a640e0-807b-d2d1-9650-aeabc5c81eeb@freebsd.org> In-Reply-To: <QB1PR01MB3537028815A3502AA6BC4B9BDD640@QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM> References: <QB1PR01MB3537028815A3502AA6BC4B9BDD640@QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --QZDZizvKqa8tVtCNmZ2g0I2wBJER8rrme Content-Type: multipart/mixed; boundary="cNOoLpuGPmLKKmVPWBUB6hHGJdFq2vGKa"; protected-headers="v1" From: Allan Jude <allanjude@freebsd.org> To: freebsd-current@freebsd.org Message-ID: <a8a640e0-807b-d2d1-9650-aeabc5c81eeb@freebsd.org> Subject: Re: what do jails map 127.0.0.1 to? References: <QB1PR01MB3537028815A3502AA6BC4B9BDD640@QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM> In-Reply-To: <QB1PR01MB3537028815A3502AA6BC4B9BDD640@QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM> --cNOoLpuGPmLKKmVPWBUB6hHGJdFq2vGKa Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2019-02-10 19:50, Rick Macklem wrote: > I am finally back to looking at an old PR#205193. >=20 > The problem is that the nfsuserd daemon expects upcalls from the kernel= > that are from localhost (127.0.0.1) and when jails are running on the s= ystem, > 127.0.0.1 is mapped to some other IP#. (I think it might be the address= of the > first net interface on the machine, but I'm not sure?) >=20 > Is there a way that nfsuserd.c can find out what this IP# is? > (I have a patch that converts nfsuserd.c to using an AF_LOCAL socket, b= ut that > breaks for some setups. I think it was when the directory the socket w= as being > created in is NFSv4 mounted, but I can't remember exactly how it fails= =2E) >=20 > Thanks for any help with this, rick > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" >=20 normal Jails map 127.0.0.1 to the first IP in the jail. --=20 Allan Jude --cNOoLpuGPmLKKmVPWBUB6hHGJdFq2vGKa-- --QZDZizvKqa8tVtCNmZ2g0I2wBJER8rrme Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJcYw6fAAoJEBmVNT4SmAt+akAP/i547yu08df1EtQyjJsSa4FL x0oJdkGJCJ8/6tAN/mqLpGf84AOZoKhb551KjSTj/q/zaKDgRcCGCBVK1FVcAm9i 3e+3FaHoJDs8k/sWzpvKyKeJ5bBYFhCAud2ry4nNWWHgM5W2BU0mUKQqGipygTLT 8ivfUaeBNFU72YDE1lr8wt/FBDcD+XQsIkaFKBuJMaYZmUsZ921PhOmpVcp44BvO KV1OORRtvwUtmT3rZVmJhOqLOHirKvvMoQRLaoY6jzEdH55BLiTNrxZXviEbLpw3 iO93PYDxJvsRg6HUoIrzkdqsxsKpCq69ZTeczvaU3eLlr5sBsRoYmAohs1FW1BXF 1EGemQbdC7+r5bTfeEiTGUlVFrxGGxQ1gnpOhNbdhS0m1HniO1JC+YuCJEIVvhtt xa4DCXC58i2oIeueF7HQ+oT0rjeXQYGLvMAvG5S7YIlrGF5w/7vtslPwPjqjrchZ wjoxWxEnsw4qNaISXCwC4xPsKvNWuPpigiT5TZP/AykHCBUKPETQOadudX1m8TB3 acYWKT1C7suNu6MAF0akNTwkhHKy5h0XREqtr3qaFAuvINIsxJzemIblBbHZNzvl MVZeVW+/9wO83PVfukpE0PMrBXeObAnXXjpFHvjr+MV3P/W+hIiQYr8TLSmJ52pd CNKV0gw7XpY/1wCz8KXN =sTbQ -----END PGP SIGNATURE----- --QZDZizvKqa8tVtCNmZ2g0I2wBJER8rrme--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a8a640e0-807b-d2d1-9650-aeabc5c81eeb>