opnsense-src/usr.sbin/rpcbind
Dmitry Ovsyannikov 9f48eea366 rpcbind: get contact addr from xprt members
Addition to D31491 in order to actually resolve the top root cause.

Currently rpcbind gets contact address from connectionless xprt->xp_p2
member of a transport and will fail to get it when working over
connection oriented transport, leading to a guess game in terms of
contact address on rpcinfo requests like RPCBPROC_GETVERSADDR or
RPCBPROC_GETADDRLIST and poor returns which may influence a user
of a call and specifically reported on OSX clients, which tend to
not provide address hint from rpcinfo request to a server.

MFC after:	1 week
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D35220
2022-06-13 08:54:08 -05:00
..
tests RPCBIND: skip ipv6 link local when request is not from link local address 2021-10-04 10:45:26 -07:00
check_bound.c rpcbind: get contact addr from xprt members 2022-06-13 08:54:08 -05:00
Makefile Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
pmap_svc.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
rpcb_stat.c Remove unused includes. 2018-01-01 09:41:18 +00:00
rpcb_svc.c Partially back out changes in r327464. stdlib.h is used when 2018-03-05 03:34:01 +00:00
rpcb_svc_4.c Remove unused includes. 2018-01-01 09:41:18 +00:00
rpcb_svc_com.c - Remove extra NULL check before free(). 2018-03-05 03:38:31 +00:00
rpcbind.8 rpcbind(8): post-humously document -w (warmstart) support added in r74462 2017-04-19 20:23:27 +00:00
rpcbind.c Plug a possible memory leak. 2018-03-19 05:49:26 +00:00
rpcbind.h rpcbind: Fix race in signal termination 2018-01-02 17:25:13 +00:00
security.c Remove unused includes. 2018-01-01 09:41:18 +00:00
util.c rpcbind: get contact addr from xprt members 2022-06-13 08:54:08 -05:00
warmstart.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00