diff options
author | Roberto Bergantinos Corpas <rbergant@redhat.com> | 2022-07-14 15:54:21 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2022-07-16 14:16:55 -0400 |
commit | d81c89c161521c619e5863cd44714094ba14e4b9 (patch) | |
tree | 2fddecba5e4aa8674214762cd5c8c128fd18f1ac /man | |
parent | 63f3b9e883231ca08cf9c3cd8f5d582584412d94 (diff) | |
download | ti-rpc-libtirpc-1-3-3-rc3.tar.gz |
rpcb_clnt.c add mechanism to try v2 protocol firstlibtirpc-1-3-3-rc3
There have been previous attempts to revert protocol tryout
algorithm from v4,v3,v2 to previous v2,v4,v3 :
https://www.spinics.net/lists/linux-nfs/msg89228.html
Apart from GETADDR/NAT issue originating that proposed change,
its possible that some legacy custom applications still use
v2 of protocol with libtirpc.
The change proposed here, introduces an environment variable
"RPCB_V2FIRST" so that, if defined, old behaviour is used.
This is more flexible and allow us to selectively pick what
application reverts to old behaviour instead of a system-wide
change.
Signed-off-by: Roberto Bergantinos Corpas <rbergant@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'man')
-rw-r--r-- | man/rpcbind.3t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/man/rpcbind.3t b/man/rpcbind.3t index ec492cc..4cb271b 100644 --- a/man/rpcbind.3t +++ b/man/rpcbind.3t @@ -187,6 +187,8 @@ in .El .Sh AVAILABILITY These functions are part of libtirpc. +.Sh ENVIRONMENT +If RPCB_V2FIRST is defined, rpcbind protocol version tryout algorithm changes from v4,v2,v3 to v2,v4,v3. .Sh SEE ALSO .Xr rpc_clnt_calls 3 , .Xr rpc_svc_calls 3 , |