[krbdev.mit.edu #8838] kinit - reuse the TCP/HTTPS connection

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[krbdev.mit.edu #8838] kinit - reuse the TCP/HTTPS connection

Jeffrey Arbuckle via RT

Fri Oct 04 09:58:07 2019: Request 8838 was acted upon.
 Transaction: Ticket created by [hidden email]
       Queue: krb5
     Subject: kinit - reuse the TCP/HTTPS connection
       Owner: Nobody
  Requestors: [hidden email]
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8838 >


Hello,

using 1.17 with kdc.conf containing
[realms]
AEGEE.ORG = {
        kdc = https://mail.aegee.org/KdcProxy
        kpasswd_server = https://mail.aegee.org/KdcProxy/
        dns_lookup_kdc = no
}

this
  echo abc | KRB5_TRACE=/dev/stdout kinit [hidden email]

sends three POST requests and prints three times
  Terminating TCP connection to https 144.76.142.78:443

kinit shall reuse the TCP connection for all HTTP POST calls and terminate it only once.

Likewise, when the communication is done over TCP (not HTTPS), with udp_preference_limit=1 in [libdefaults], without the
AEGEE.ORG in [realms],

  echo abc | KRB5_TRACE=/dev/stdout kinit [hidden email]

prints three times “Terminating TCP connection to stream 144.76.142.78:88”.  It shall reuse the TCP connection.

Regards
  Дилян


_______________________________________________
krb5-bugs mailing list
[hidden email]
https://mailman.mit.edu/mailman/listinfo/krb5-bugs