From: Alan T. DeKok Date: Tue, 6 Apr 2021 12:46:47 +0000 (-0400) Subject: regularize TLS messages X-Git-Tag: release_3_0_24~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90c31e8aec2899d916a2a77ff18173d85a552e3c;p=thirdparty%2Ffreeradius-server.git regularize TLS messages --- diff --git a/src/main/listen.c b/src/main/listen.c index bc0b2a3fe91..f2af3e16dad 100644 --- a/src/main/listen.c +++ b/src/main/listen.c @@ -2988,10 +2988,14 @@ rad_listen_t *proxy_new_listener(TALLOC_CTX *ctx, home_server_t *home, uint16_t #ifdef WITH_TCP #ifdef WITH_TLS if ((home->proto == IPPROTO_TCP) && home->tls) { - DEBUG("Trying SSL to port %d\n", home->port); + DEBUG("(TLS) Trying new outgoing proxy connection to %s", buffer); + + /* + * This is blocking. :( + */ sock->ssn = tls_new_client_session(sock, home->tls, this->fd, &sock->certs); if (!sock->ssn) { - ERROR("Failed starting SSL to new proxy socket '%s'", buffer); + ERROR("(TLS) Failed opening connection on proxy socket '%s'", buffer); home->last_failed_open = now; listen_free(&this); return NULL;