rpcbind: various hardening fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | rpcbind: only log failures in check_callit() if connection logging is enabledsrc/ | +6 | 0 replies | |
| 2/6 | rpcbind: bound stats lists in rpcbs_getaddr() and rpcbs_rmtcall()src/ | +32 | 0 replies | |
| 3/6 | rpcbind: fully disable remote calls when --enable-rmtcalls is unsetsrc/ src/ src/ +4 more | +33 | 0 replies | |
| 4/6 | rpcbind: restrict RPCBPROC_GETSTAT to loopback callerssrc/ | +1 | 0 replies | |
| 5/6 | rpcbind: check for null netmask in addrmerge()src/ | +2 | 0 replies | |
| 6/6 | rpcbind: only free the forward slot if the reply xid matched the request xidsrc/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [rpcbind PATCH 0/6] rpcbind: various hardening fixes
Various hardening fixes for rpcbind. Many of these are related to CALLIT/BCAST/INDIRECT processing, which in theory should be disabled when --enable-rmtcalls was not passed to the configure script, except currently that only prevents the forwarding port from being created. Patch 3/6 addresses this by completely disabling remote call functionality when --enable-rmtcalls is unset.
Scott Mayhew (6):
rpcbind: only log failures in check_callit() if connection logging is
enabled
rpcbind: bound stats lists in rpcbs_getaddr() and rpcbs_rmtcall()
rpcbind: fully disable remote calls when --enable-rmtcalls is unset
rpcbind: restrict RPCBPROC_GETSTAT to loopback callers
rpcbind: check for null netmask in addrmerge()
rpcbind: only free the forward slot if the reply xid matched the
request xid
src/pmap_svc.c | 2 ++ src/rpcb_stat.c | 37 ++++++++++++++++++++++++++++++++++--- src/rpcb_svc.c | 2 ++ src/rpcb_svc_4.c | 2 ++ src/rpcb_svc_com.c | 24 ++++++++++++++++++++---- src/rpcbind.h | 5 +++++ src/security.c | 16 +++++++++++----- src/util.c | 3 ++- 8 files changed, 78 insertions(+), 13 deletions(-)
Signature · 1 line
2.55.0