From: Alan T. DeKok Date: Tue, 27 Jul 2021 11:13:16 +0000 (-0400) Subject: minor updates to messages X-Git-Tag: release_3_0_24~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f2db87b00344a2aca40e518db4d92012bba2481;p=thirdparty%2Ffreeradius-server.git minor updates to messages --- diff --git a/src/main/listen.c b/src/main/listen.c index 57a627aa6da..49ab5aaf2da 100644 --- a/src/main/listen.c +++ b/src/main/listen.c @@ -656,7 +656,7 @@ static int tls_sni_callback(SSL *ssl, UNUSED int *al, void *arg) if ((*p >= '0') && (*p <= '9')) continue; /* - * Anything else, ignore fail. + * Anything else, fail. */ return SSL_TLSEXT_ERR_ALERT_FATAL; } diff --git a/src/main/tls.c b/src/main/tls.c index c5fcea9ab0e..fbeff50bee5 100644 --- a/src/main/tls.c +++ b/src/main/tls.c @@ -889,7 +889,7 @@ int tls_handshake_recv(REQUEST *request, tls_session_t *ssn) int err; if (ssn->invalid_hb_used) { - REDEBUG("OpenSSL Heartbeat attack detected. Closing connection"); + REDEBUG("(TLS) OpenSSL Heartbeat attack detected. Closing connection"); return 0; } @@ -1015,7 +1015,6 @@ int tls_handshake_recv(REQUEST *request, tls_session_t *ssn) } else { tls_error_log(NULL, "Error reading from OpenSSL"); record_init(&ssn->dirty_in); - RDEBUG2("(TLS) Tunnel data is established."); return 0; } } else { diff --git a/src/main/tls_listen.c b/src/main/tls_listen.c index 0c3a4cfcb3c..dcea519bf30 100644 --- a/src/main/tls_listen.c +++ b/src/main/tls_listen.c @@ -251,7 +251,7 @@ static int tls_socket_recv(rad_listen_t *listener) check_for_setup: if (!sock->ssn->is_init_finished) { if (!tls_handshake_recv(request, sock->ssn)) { - RDEBUG("FAILED in TLS handshake receive"); + RDEBUG("(TLS) Failed in TLS handshake receive"); goto do_close; }