opnsense-src/sys/rpc
Olivier Certner fb8a978ebf
sys/rpc: UNIX auth: Do not log on bogus AUTH_SYS messages
Remove the printf() stances added in commit d4cc791f3b2e ("sys/rpc: UNIX
auth: Fix OOB reads on too short message").

Even if it can be helpful to know why an authentication message is
rejected, printing explanatory messages on each request attempt is
a remote log filler that could be triggered by accident, and the generic
RPC code generally does not do that.  These printf() calls should be
restored only after some limiting or configuration mechanism is devised.

MFC with:       d4cc791f3b2e ("sys/rpc: UNIX auth: Fix OOB reads on too short message")
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit 2110ae0ef9d6ca8cf52b29fcaf926c4343f56826)
2025-10-16 18:57:46 +02:00
..
rpcsec_gss rpcsec_gss: Rename KRBIMP_HESIOD1 to KRBIMP_HEIMDALV1 2025-08-08 17:32:04 -07:00
rpcsec_tls rpctls_impl.c: Fix handling of hung rpc tls daemon 2025-07-18 11:27:50 -07:00
auth.h sys/rpc: Define AUTH_SYS_MAX_{GROUPS,HOSTNAME} 2025-10-16 18:57:45 +02:00
auth_none.c xdr: provide x_putmbuf method for kernel XDR 2025-02-01 01:00:25 -08:00
auth_unix.c xdr: provide x_putmbuf method for kernel XDR 2025-02-01 01:00:25 -08:00
authunix_prot.c sys/rpc: UNIX auth: Style: Remove unnecessary headers, minor changes 2025-10-16 18:57:46 +02:00
clnt.h krpc: add kernel side client over netlink(4) 2025-02-01 01:00:25 -08:00
clnt_bck.c
clnt_dg.c
clnt_nl.c krpc/clnt_nl: unregister the netlink group, when client is destroyed 2025-02-05 10:09:06 -08:00
clnt_nl.h krpc: add kernel side client over netlink(4) 2025-02-01 01:00:25 -08:00
clnt_rc.c clnt_rc.c: Fix the case where a TLS handshake fails 2025-07-18 17:39:08 -07:00
clnt_stat.h
clnt_vc.c rpcsec_tls/client: API refactoring between kernel and rpc.tlsclntd(8) 2025-02-01 01:00:27 -08:00
getnetconfig.c
krpc.h krpc/clnt_nl: filter RPC replies on vnet 2025-02-01 11:27:22 -08:00
netconfig.h
nettype.h
pmap_prot.h
replay.c
replay.h
rpc.h
rpc_callmsg.c
rpc_com.h
rpc_generic.c krpc: add kernel side client over netlink(4) 2025-02-01 01:00:25 -08:00
rpc_msg.h
rpc_prot.c
rpcb_clnt.c krpc: let the kernel talk to the rpcbind(8) service via netlink(4) 2025-02-01 01:00:26 -08:00
rpcb_clnt.h
rpcb_prot.c
rpcb_prot.h
rpcm_subs.h
rpcsec_gss.h
rpcsec_tls.h rpcsec_tls: cleanup the rpctls_syscall() 2025-02-01 01:00:28 -08:00
svc.c
svc.h rpcsec_tls/server: API refactoring between kernel and rpc.tlsservd(8) 2025-02-01 01:00:27 -08:00
svc_auth.c kern: rename crsetgroups_fallback, document it in ucred(9) 2025-07-31 19:50:48 -05:00
svc_auth.h
svc_auth_unix.c sys/rpc: UNIX auth: Do not log on bogus AUTH_SYS messages 2025-10-16 18:57:46 +02:00
svc_dg.c xdr: provide x_putmbuf method for kernel XDR 2025-02-01 01:00:25 -08:00
svc_generic.c
svc_vc.c rpcsec_tls/server: API refactoring between kernel and rpc.tlsservd(8) 2025-02-01 01:00:27 -08:00
types.h
xdr.h xdr: provide x_putmbuf method for kernel XDR 2025-02-01 01:00:25 -08:00