]> git.ipfire.org Git - thirdparty/krb5.git/commit
Disable UDP pass of gssrpc tests on all platforms krb5-1.9
authorGreg Hudson <ghudson@mit.edu>
Wed, 1 May 2013 18:40:31 +0000 (14:40 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 19 Jan 2016 19:37:14 +0000 (14:37 -0500)
commitae54defbcc1b076d91927e14ae9bcb86f758ead3
tree867dbea3da13291dd90ef2f093e2a0ffbbbd79b6
parent7d2c871e55b5483ded057d3492551821c243c544
Disable UDP pass of gssrpc tests on all platforms

The AUTH_GSSAPI flavor of rpc authentication uses IP address channel
bindings.  These are broken over UDP, because svcudp_recv() fails to
get the destination address of incoming packets (it tries to use the
recvmsg() msg_name field to get the destination IP address, which
instead gets the source address; see ticket #5540).

There is no simple or comprehensive way to fix this; using IP_PKTINFO
is a fair amount of code and only works on some platforms.  It's also
not very important--nobody should be using AUTH_GSSAPI except perhaps
for compatibility with really old kadmin, and kadmin only runs over
TCP.  Since the gssrpc tests are closely wedded to AUTH_GSSAPI, the
simplest fix is to only run the TCP pass.
src/configure.in