From owner-freebsd-net@freebsd.org Wed Sep 25 20:48:42 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 D15D2132D65 for ; Wed, 25 Sep 2019 20:48:42 +0000 (UTC) (envelope-from hrs@allbsd.org) Received: from mail.allbsd.org (mx.allbsd.org [IPv6:2001:2f0:104:e001::41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail.allbsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46dqsL22rmz4XXw; Wed, 25 Sep 2019 20:48:37 +0000 (UTC) (envelope-from hrs@allbsd.org) Received: from mail-d.allbsd.org ([IPv6:2409:11:a740:4700:58:65ff:fe00:b0b]) (authenticated bits=56) by mail.allbsd.org (8.15.2/8.15.2) with ESMTPSA id x8PKmBUV080710 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK) (Client CN "/CN=mail-d.allbsd.org", Issuer "/C=US/O=Let's+20Encrypt/CN=Let's+20Encrypt+20Authority+20X3"); Thu, 26 Sep 2019 05:48:22 +0900 (JST) (envelope-from hrs@allbsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=allbsd.org; s=20190220; t=1569444510; bh=5PKUg44HmXNF7xyXRVlhzUnJ4H3zyltxsB8iIEIDLOM=; h=Date:To:Cc:From:In-Reply-To:References; b=lWesD7QivCUkf2yQ/hu+/53DUzmpvec+b7W/lJ6lJ9Xrp5Rj2d8VaxkkyhjyQdmet enK21WVsNDvnAkE5UMB6pVYRdOmxDgrjStvNCThzLYpQ/soMjKD7npAfHqj/SAfknd mquaoJ8K7QInLbA2uVQaflM9D7w714NAtn/2SNdo= Received: from alph.d.allbsd.org ([IPv6:2409:11:a740:4700:16:ceff:fe34:2700]) by mail-d.allbsd.org (8.15.2/8.15.2) with ESMTPS id x8PKm5pY035023 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 26 Sep 2019 05:48:06 +0900 (JST) (envelope-from hrs@allbsd.org) Received: from localhost (localhost [[UNIX: localhost]]) (authenticated bits=0) by alph.d.allbsd.org (8.15.2/8.15.2) with ESMTPA id x8PKm4aJ035019; Thu, 26 Sep 2019 05:48:05 +0900 (JST) (envelope-from hrs@allbsd.org) Date: Thu, 26 Sep 2019 05:46:03 +0900 (JST) Message-Id: <20190926.054603.242590258844901628.hrs@allbsd.org> To: luthramihir708@gmail.com Cc: freebsd-net@freebsd.org, hrs@freebsd.org Subject: Re: rpc.statd already ipv6 clean? From: Hiroki Sato In-Reply-To: References: <20190925.085753.1800759957383540219.hrs@allbsd.org> X-Old-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-PGPkey-fingerprint: 6C0D 2353 27CF 80C7 901E FDD2 DBB0 7DC6 6F1F 737F X-Mailer: Mew version 6.8 on Emacs 26.2 Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="--Security_Multipart(Thu_Sep_26_05_46_03_2019_274)--" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (mail.allbsd.org [IPv6:2001:2f0:104:e001:0:0:0:41]); Thu, 26 Sep 2019 05:48:30 +0900 (JST) X-Rspamd-Queue-Id: 46dqsL22rmz4XXw X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=allbsd.org header.s=20190220 header.b=lWesD7Qi; dmarc=none; spf=pass (mx1.freebsd.org: domain of hrs@allbsd.org designates 2001:2f0:104:e001::41 as permitted sender) smtp.mailfrom=hrs@allbsd.org X-Spamd-Result: default: False [-4.31 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[allbsd.org:s=20190220]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[allbsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[allbsd.org:+]; MID_CONTAINS_FROM(1.00)[]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:7514, ipnet:2001:2f0::/32, country:JP]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-2.21)[ip: (-9.07), ipnet: 2001:2f0::/32(-4.22), asn: 7514(2.28), country: JP(-0.02)] 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: Wed, 25 Sep 2019 20:48:42 -0000 ----Security_Multipart(Thu_Sep_26_05_46_03_2019_274)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mihir Luthra wrote in : lu> > I think the project page has wrong information regarding rpc.statd. lu> > Although it is not clean from the viewpoint of transport independent, lu> > it works with IPv6. lu> > lu> > lu> I see, in file.c/procs.c , clnt_create() calls are hardcoded to "udp". Code lu> in `statd.c` is handled correctly for tcp/udp/tcp6/udp6? .Did I get your lu> point correctly? lu> Also, going through man page of clnt_create, it states usage for only lu> tcp/udp and not udp6/tcp6. I think you should learn TI-RPC API first. The nettype specifies a class of transport protocol, not address family. -- Hiroki ----Security_Multipart(Thu_Sep_26_05_46_03_2019_274)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iMgEABMKAC0WIQRsDSNTJ8+Ax5Ae/dLbsH3Gbx9zfwUCXYvSCw8caHJzQGFsbGJz ZC5vcmcACgkQ27B9xm8fc3/3owIJAa3r+tH+6qN0j6f28A9oAAEHclN0NsSvZmx6 e0oc+ppLV2bcyjI49trt6lBEbZr3pJ3oM24bZ48NtNn5yN7xi0GxAgin7Xzd/+Ji +wDWGrE41jmMBmZ8tOYDUj1A6LtYYM89HfvxfICzEpks6Q19/c2Y82t+pGVwavzr Miz7pdDwl4Nl6w== =KQPS -----END PGP SIGNATURE----- ----Security_Multipart(Thu_Sep_26_05_46_03_2019_274)----