From owner-freebsd-current@freebsd.org Mon Feb 11 00:50:47 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D3C8214E33F2 for ; Mon, 11 Feb 2019 00:50:46 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670046.outbound.protection.outlook.com [40.107.67.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3758674916 for ; Mon, 11 Feb 2019 00:50:41 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM (52.132.89.15) by QB1PR01MB2803.CANPRD01.PROD.OUTLOOK.COM (52.132.87.77) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.19; Mon, 11 Feb 2019 00:50:40 +0000 Received: from QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM ([fe80::609b:1ecd:c908:d44c]) by QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM ([fe80::609b:1ecd:c908:d44c%5]) with mapi id 15.20.1601.023; Mon, 11 Feb 2019 00:50:40 +0000 From: Rick Macklem To: "freebsd-current@FreeBSD.org" Subject: what do jails map 127.0.0.1 to? Thread-Topic: what do jails map 127.0.0.1 to? Thread-Index: AQHUwaNdo/1iQbCyIE+3DFhBOoIfkg== Date: Mon, 11 Feb 2019 00:50:40 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; QB1PR01MB2803; 6:FAy15pazkS6h6u2sa9wZkJczJ8qpd12jmvuDia1o0tZpBxFOrB5IBFEidV2uo+0wevWE2aXvQTEMEorADxym152HMw3okLpuQbbt5SloCjYwllk8wx3slUKatYFsC4TOpyBL7gd1dfBWSzSzz5yFnxGgaLBXrx83Xt32hMQb+k/kENPU4Bgm77UAGmB39NrWrlOG7VOBk79im5AMkOOm100ASMIaIKx8ryvofgJFX65veRK3UKIa+6YjuD43OIkbZCwbU93OkH8HUAQ8wFyxKKNQJcB/o6syAnm5aKV4KDJs6IqzjY03oMgfk/WpYcrNcSw9ylfub/pxExTFCT+7PpJY+RQoZv6X2lgFIaanEAJk2Tc+A19INVZzTBiiVANaS4v0smgrEQHmUVXlf4I9Q4jQBwbF+OGbvWv6ois1CeiORE8AKLWYGCPnENP8yoOzopFNeBw5Ebhlp+08uzJj2g==; 5:HiymuTy5iW9/jeXmPbwHeBNwCBj4zpNLEnAxQZiP/9YD+R8LPTlmlPSljmtXDhmtKDYted7JQW7lQa7vAzsI8bMvmEwC2xoJ5KaPVz7dOBDApOYwwNd07g5kgslEkTPCiHFvrojINbkbgdLASZRXYPqkE9bmb44+rgCuuKmwGklys3gt8lnTCMOserTtCrDh4sCIHD+9u87Ta+Q+JCppAw==; 7:NMKFsSWJkxuHwm+u74H80QsbSfxlCAJLncnC4B7vsVcxFRTvN7UgeHnVSHITPggK5P15cmizBCemE4Z/rpvFxx+KkxV3pBFlcq1kQMa3ti98IftAqtj8zQ1PHA3QPK/Si1Nc8zXO/drCvE2S540zYg== x-ms-office365-filtering-correlation-id: f5ebc086-2b85-4859-e404-08d68fbaf1c0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(2017052603328)(7153060)(7193020); SRVR:QB1PR01MB2803; x-ms-traffictypediagnostic: QB1PR01MB2803: x-microsoft-antispam-prvs: x-forefront-prvs: 0945B0CC72 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(396003)(346002)(376002)(366004)(39860400002)(199004)(189003)(55016002)(316002)(305945005)(53936002)(478600001)(14454004)(4744005)(9686003)(74316002)(786003)(86362001)(8936002)(81156014)(81166006)(8676002)(5640700003)(7696005)(6436002)(99286004)(6916009)(68736007)(476003)(486006)(2501003)(74482002)(256004)(97736004)(71200400001)(71190400001)(46003)(33656002)(186003)(105586002)(2906002)(25786009)(106356001)(6506007)(102836004)(2351001); DIR:OUT; SFP:1101; SCL:1; SRVR:QB1PR01MB2803; H:QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: o8Nc+u1kFbQvzSbRtyW63EmS2xgXW9j/Mx7jCkVfyEnCO1j1VUnqVUbXx3c0TxvL3dx9KNBWuALhp6MeMGS1M8qKX75G/xbuA1o7wZszABeqlqH2U+qyuM7NDsxjde/N4SSfmLA+M6379wNbyYuqJIJQag54aWNKjjey33SF+Gm1YiGIPGwauXNmSS3PaWGfAh5pyuNOrK7Ul6/PzVD1RFZ8pkpGQd3ufxWAlooBBe1hLKzxTMjxdNsuUxFqLc+AFQ/q90VQdY1XdTdeahjp3BXpyTzUvweVkLGLZsl4+GWob3l+CRGqw79fDMEZbioALGp1GP471RKwBRzj3/jDKfCk552ySHveMvZROCObPA7RjdBuZ1j6uUhxdOL9pP7dxUs9V79aOBFJuRksvMlIQS3bHA7yNZp62BYnkq6Tphc= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: f5ebc086-2b85-4859-e404-08d68fbaf1c0 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Feb 2019 00:50:40.0702 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: QB1PR01MB2803 X-Rspamd-Queue-Id: 3758674916 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of rmacklem@uoguelph.ca designates 40.107.67.46 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-3.08 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[uoguelph.ca]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-1.03)[ipnet: 40.64.0.0/10(-2.79), asn: 8075(-2.30), country: US(-0.07)]; MX_GOOD(-0.01)[mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com]; NEURAL_HAM_SHORT(-0.74)[-0.740,0]; RCVD_IN_DNSWL_NONE(0.00)[46.67.107.40.list.dnswl.org : 127.0.3.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:8075, ipnet:40.64.0.0/10, country:US]; MIME_TRACE(0.00)[0:+] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2019 00:50:47 -0000 I am finally back to looking at an old PR#205193. 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 syste= m, 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?) 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, but t= hat breaks for some setups. I think it was when the directory the socket was b= eing created in is NFSv4 mounted, but I can't remember exactly how it fails.) Thanks for any help with this, rick