From owner-freebsd-net@freebsd.org Fri Sep 27 21:52:19 2019 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 185BC12EA20 for ; Fri, 27 Sep 2019 21:52:19 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-eopbgr660071.outbound.protection.outlook.com [40.107.66.71]) (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 46g59s587fz4Qgd; Fri, 27 Sep 2019 21:52:17 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VsTMnI79a2sO2uJNl2bGkIkZJF7VKPrcdrQ4jeBl/0lfFY3XA4TQ9k3osZ6qX7jwmgvRKoCKnmH6/jO+nr0pN9C68AzWLENfBIzRiWRfxJbHQexGp5vJuOp84t0WYewwMTTuDa5BzPhiDMEsDEOF8OH4CSAVIQFkCpIX3rKNZYIS6RY7gSYW+lX9G415OOFkQS9HfX78KnYU8PDrfQmAIO6oPQWcNPZE8nFSezlm/Farug1IR5DLiVSwoh1qjJLWZ3NIfENTO1hM7EZmtlMdVnEggAYtBytY2AAhxqjHfZH9/jPRGd7swFuFU7W1TRMYtg3lvtJIUzXl6/vBnmXUXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sqGj3QNq9lBd4qVTOd8McBNMu9xRFFYZj8sEDyYpXy4=; b=KENgDEdy6vulZ8kFmlWPcMUz+0Pe7aU2rPCyZ5b1gvaNfLCligNtGjjdoz+4DlJ5gthdSv3OdLquAJT8P01wvzjyZ/Ss1AzUiqxzeDaJ/AG9kx8zXFo5eij4964mf66fsrfogrT2ChKc1+wXzxkGJyChE8eN3PmJOpuCAWoSINQcwvNufjCIPhHZW0cGAAYSZWX+jMHNPngSIzHIFekL9iAPHh5ODIX7tVyb7IYAJ2d0ZkUCDZGlkCIwd9z219qucUstRReJWbP5yqywKKQid5IyOBn0JLHS7GuJNaK02qkjs4FoOnlUPanOLf1Rhk9+pvqe8y8yQdEzQdrcfHzN5g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uoguelph.ca; dmarc=pass action=none header.from=uoguelph.ca; dkim=pass header.d=uoguelph.ca; arc=none Received: from YTOPR0101MB1163.CANPRD01.PROD.OUTLOOK.COM (52.132.51.22) by YTOPR0101MB1883.CANPRD01.PROD.OUTLOOK.COM (52.132.47.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.20; Fri, 27 Sep 2019 21:52:14 +0000 Received: from YTOPR0101MB1163.CANPRD01.PROD.OUTLOOK.COM ([fe80::157f:eebf:d4d4:451]) by YTOPR0101MB1163.CANPRD01.PROD.OUTLOOK.COM ([fe80::157f:eebf:d4d4:451%4]) with mapi id 15.20.2305.017; Fri, 27 Sep 2019 21:52:14 +0000 From: Rick Macklem To: Mihir Luthra , "Bjoern A. Zeeb" CC: Hiroki Sato , freebsd-net , "hrs@freebsd.org" Subject: Re: rpc.statd already ipv6 clean? Thread-Topic: rpc.statd already ipv6 clean? Thread-Index: AQHVdGd0vvt0AdNYvUi0bBe7GEcLYKc+EjgOgAH25oCAAAjLXg== Date: Fri, 27 Sep 2019 21:52:14 +0000 Message-ID: References: <20190925.085753.1800759957383540219.hrs@allbsd.org> <20190926.054603.242590258844901628.hrs@allbsd.org> , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 077df6ea-aaa1-487d-3060-08d74394f573 x-ms-traffictypediagnostic: YTOPR0101MB1883: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0173C6D4D5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(346002)(136003)(396003)(366004)(189003)(199004)(51914003)(5660300002)(46003)(6436002)(54906003)(2906002)(446003)(110136005)(81166006)(8676002)(8936002)(14454004)(91956017)(256004)(55016002)(25786009)(86362001)(11346002)(9686003)(71200400001)(71190400001)(66946007)(486006)(76116006)(305945005)(66556008)(66446008)(476003)(316002)(4326008)(4744005)(81156014)(229853002)(7696005)(99286004)(52536014)(478600001)(186003)(6506007)(64756008)(66476007)(786003)(6246003)(76176011)(102836004)(33656002)(74316002); DIR:OUT; SFP:1101; SCL:1; SRVR:YTOPR0101MB1883; H:YTOPR0101MB1163.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 924/eKne925r2QHZ2y5TQlmM9ZBV95mFrASVu5jD42RlA81++EeG3ATEf9sUSe6Xgm6JyrGURrsDoM4NUvLDmtR0U4L0Zehlt3UQ7R9Ypf4pd29+M91d+u1plvjp7iQy6xVLV/mIOluCc1vscXC17r6GvNCz91qN/yHTbBx60dccTXUwwARlQJsyKcQ4DBOqEGc3NMOcP/KPjsV7VdrjA/bVGbsY+XqaKDzjzOGNMSxoGDogY5o/nVFaMxhMJK+/vQ5RTR1U91UhX7d+em1SzHASM2OVO3EHRGfKH5wYeorL/Dpj0Z3ODpU30pc+Wcu0T7nOJ2fbDxQm5W0jXZMIBfWGKK498CGqGQ46rfJEgEMF//EJUBgs5JHiGqaDs5J1npspbJ6c/K+WsnSuAplULotG18zYH1j7FeodXd5cTEk= x-ms-exchange-transport-forked: True 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: 077df6ea-aaa1-487d-3060-08d74394f573 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2019 21:52:14.7033 (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-CrossTenant-userprincipalname: /tt0xgcSrkINgacMDIQ4i1hISbdktxM1HjSo0XV4nFnIMEiqxDgi4Tv+TbrFsa/lRs6BnzXnVLAhpkBn/j0oCQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTOPR0101MB1883 X-Rspamd-Queue-Id: 46g59s587fz4Qgd X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rmacklem@uoguelph.ca designates 40.107.66.71 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-3.58 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[uoguelph.ca]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[71.66.107.40.list.dnswl.org : 127.0.3.0]; IP_SCORE(-1.28)[ipnet: 40.64.0.0/10(-3.80), asn: 8075(-2.55), country: US(-0.05)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8075, ipnet:40.64.0.0/10, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_ALLOW(-1.00)[i=1] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2019 21:52:19 -0000 Mihir Luthra wrote:=0A= >Hi Rick,=0A= >Rick wrote:=0A= >>Although I'll admit it isn't something I am particularily fond of, FreeBS= D likes=0A= >>utilities to build/work with only one of ipv4/ipv6.=0A= >>To do this, "#ifdef INET" and "#ifdef INET6" is applied to the code and t= he=0A= >>Makefile is tweaked to define one or both of these.=0A= >>(You can look at usr.sbin/nfsuserd for an example of this.)=0A= >=0A= >Yes I see. Although I was thinking, wouldn't it be better if we can take a= flag via >getopts for ipv6/ipv4 if the machine supports both with macro gu= ards around >too?=0A= bz@ is the guy to ask. I've cc'd him.=0A= =0A= >Btw, these protocols are old Sun Microsystems ones without any published= =0A= >RFC, so what is "correct" is difficult to determine. I suppose the Open=0A= >Solaris sources is the best protocol specification. (Interop. testing with= Linux=0A= >would be nice, since Linux is the "defacto standard" now.)=0A= >=0A= >Good luck with it, rick=0A= >=0A= >Thanks for the tips,=0A= >Mihir=0A= rick=0A=