From: Alan T. DeKok Date: Tue, 6 Apr 2021 12:46:47 +0000 (-0400) Subject: regularize TLS messages X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfe34c81ebe9d3b6d15b7089d5374f8758c1a7ef;p=thirdparty%2Ffreeradius-server.git regularize TLS messages --- diff --git a/src/main/listen.c b/src/main/listen.c index e14d86608d..d354094c4f 100644 --- a/src/main/listen.c +++ b/src/main/listen.c @@ -2980,10 +2980,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;