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

"Дилян Палауз ов via RT" <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
Fri Oct 04 09:58:07 2019: Request 8838 was acted upon.
 Transaction: Ticket created by [email protected]
       Queue: krb5
     Subject: kinit - reuse the TCP/HTTPS connection
       Owner: Nobody
  Requestors: [email protected]
      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 [email protected] 

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 [email protected]

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

Regards
  Дилян


_______________________________________________
krb5-bugs mailing list
[email protected]
https://mailman.mit.edu/mailman/listinfo/krb5-bugs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.