* Various changes to allow channel bindings to work with both UDP
authorBarry Jaspan <bjaspan@mit.edu>
Wed, 4 Dec 1996 17:47:19 +0000 (17:47 +0000)
committerBarry Jaspan <bjaspan@mit.edu>
Wed, 4 Dec 1996 17:47:19 +0000 (17:47 +0000)
commit7b1defb77eb5450be7d4cf48221d1d6e05fd9065
tree61cf8721f35404ffab35be4f0c5fa53794d46fac
parent37f94362d977e2af27a5ecd0f2a921c53edab9ac
* Various changes to allow channel bindings to work with both UDP
  and TCP cleanly [krb5-libs/180]:

* auth_gssapi.c: remove the special-case exception to channel
  bindings failure added in the previous revision, since we now
  solve the problem by making channel bindings not fail

* clnt_udp.c: use a connected socket so that the client can
  determine its own source address with getsockname

* svc.h: add xp_laddr and xp_laddrlen fields to SVCXPRT structure

* svc_tcp.c: set xp_laddr and xp_laddrlen when a connection is
  established

* svc_udp.c (svcudp_recv): use recvmsg with MSG_PEEK followed by
  recvfrom in order to determine both source and dest address on
  unconnected UDP socket, set xp_laddr and xp_laddrlen

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9600 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/rpc/ChangeLog
src/lib/rpc/auth_gssapi.c
src/lib/rpc/clnt_udp.c
src/lib/rpc/svc.h
src/lib/rpc/svc_auth_gssapi.c
src/lib/rpc/svc_tcp.c
src/lib/rpc/svc_udp.c