From owner-freebsd-net@freebsd.org Fri Sep 27 21:17:41 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 594B812D32F for ; Fri, 27 Sep 2019 21:17:41 +0000 (UTC) (envelope-from luthramihir708@gmail.com) Received: from mail-ua1-x92c.google.com (mail-ua1-x92c.google.com [IPv6:2607:f8b0:4864:20::92c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46g4Pv5gfMz4LGj; Fri, 27 Sep 2019 21:17:39 +0000 (UTC) (envelope-from luthramihir708@gmail.com) Received: by mail-ua1-x92c.google.com with SMTP id b14so2397194uap.6; Fri, 27 Sep 2019 14:17:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XsGQOs6YbR84CciTH4Kk2wIn7wF7YDhpzf7KuNht03U=; b=Z8za7ucKpshHo08yQecrp0RXswWNThL4g8ARfoXANWe2OgGQ+GyekkKIbYvTmiotNT GG/GUliJMwkopJgs4cfIlTrrAjnFaKuRm2VKjKe4wnvCWRB2EZcX6tdB/d/lQF5xWf2N 27H/23PoqKoX+AOQlg+l76vSr5m2vtlUs+pGwcUfWDbiCgbHnerIN/ffVWgEwWheG6pN 5emHfhP2dUrwDs2fo51myrP4GwZG+hcmKdn79+ImXCupIRpiZKyJIf3Lv9ozl6Qk4eoI 5Kg3sUbt9J1xudWL/R4gTeVKkpWP+bcgHc9TH1Ad0S5obUhhSw+Hh+QNOgnR0ogxq+5g SQMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XsGQOs6YbR84CciTH4Kk2wIn7wF7YDhpzf7KuNht03U=; b=tDllstFNHQojuMNzLie3a8woShTRWuj+9nvqJLQUIpRADbpC80K2yX08mUlR1IGJpo 2hrf8Scxl1IYgUCfcLsNtzvAxrNZzPa9dwDOfGXnGhLX7tmiLsxVdj0Yvvemrnl0wrwj cskaiyVXZr/iQqIplGN/Ul+QxRBabau2HyAxIkVp73qZ56CTxfLdfmED1ph89WUsnSi+ JMUltPlPIcG9TlbHJChxb653ROv0z9rvahDodjq5QNVYiprbQtAz6ezssOyCZ2asXfan zbYkySa4UAo25uyVRvAPO9KTE/P8Hsg+K0cVZ1ZXLOiHaC5iBEH9uYjFaorIe4DYs2RC lNww== X-Gm-Message-State: APjAAAUNhg4ro/zBUftpqYU3u/tYqtKntlnfBupmt+9zFH68C8GQ0vsa 33claIcb9UxeHXCQQ3u9sSFee3Jo8gD/m8H7ziA= X-Google-Smtp-Source: APXvYqwmM+Qvidiymygk+6/wgHRZsBFghpiFc2MyyINAf8fR/XOjUcQ2H9AkD5LZ3JZh3Ix/KJm/Dhyfp+pu+541R7I= X-Received: by 2002:ab0:6046:: with SMTP id o6mr5708265ual.75.1569619058612; Fri, 27 Sep 2019 14:17:38 -0700 (PDT) MIME-Version: 1.0 References: <20190925.085753.1800759957383540219.hrs@allbsd.org> <20190926.054603.242590258844901628.hrs@allbsd.org> In-Reply-To: From: Mihir Luthra Date: Sat, 28 Sep 2019 02:47:27 +0530 Message-ID: Subject: Re: rpc.statd already ipv6 clean? To: Rick Macklem Cc: Hiroki Sato , freebsd-net , "hrs@freebsd.org" X-Rspamd-Queue-Id: 46g4Pv5gfMz4LGj X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Z8za7ucK; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of luthramihir708@gmail.com designates 2607:f8b0:4864:20::92c as permitted sender) smtp.mailfrom=luthramihir708@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[c.2.9.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (-9.36), ipnet: 2607:f8b0::/32(-2.59), asn: 15169(-2.17), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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:17:41 -0000 Hi Rick, > Although I'll admit it isn't something I am particularily fond of, FreeBSD > likes > utilities to build/work with only one of ipv4/ipv6. > To do this, "#ifdef INET" and "#ifdef INET6" is applied to the code and the > Makefile is tweaked to define one or both of these. > (You can look at usr.sbin/nfsuserd for an example of this.) > 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 guards around too? > > Btw, these protocols are old Sun Microsystems ones without any published > RFC, so what is "correct" is difficult to determine. I suppose the Open > Solaris sources is the best protocol specification. (Interop. testing with > Linux > would be nice, since Linux is the "defacto standard" now.) > > Good luck with it, rick > Thanks for the tips, Mihir