]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typos and clarifications
authorAlan T. DeKok <aland@freeradius.org>
Thu, 4 Jul 2024 19:52:10 +0000 (15:52 -0400)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Mon, 8 Jul 2024 19:40:58 +0000 (20:40 +0100)
src/main/listen.c
src/main/process.c

index 2a8c7ecac5ad93ea3b790bbbd5e0769c66de0b16..6429bc7384a33ad3a7e68cd562c0c927b6c0e3a4 100644 (file)
@@ -513,7 +513,7 @@ static void blastradius_checks(RADIUS_PACKET *packet, RADCLIENT *client)
                        ERROR("Setting \"require_message_authenticator = false\" for client %s", client->shortname);
                        ERROR("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
                        ERROR("UPGRADE THE CLIENT AS YOUR NETWORK IS VULNERABLE TO THE BLASTRADIUS ATTACK.");
-                       ERROR("Once the client is upgraded, set \"require_message_authenticator = true\" for this client.");
+                       ERROR("Once the client is upgraded, set \"require_message_authenticator = true\" for  client %s", client->shortname);
                        ERROR("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
                        client->require_ma = FR_BOOL_FALSE;
 
@@ -538,8 +538,8 @@ static void blastradius_checks(RADIUS_PACKET *packet, RADCLIENT *client)
                        ERROR("BlastRADIUS check: Received packet with Message-Authenticator.");
                        ERROR("Setting \"require_message_authenticator = true\" for client %s", client->shortname);
                        ERROR("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
-                       ERROR("It looks like the client has been uppdated to protect from the BlastRADIUS attack.");
-                       ERROR("Please set \"require_message_authenticator = true\" for this client.");
+                       ERROR("It looks like the client has been updated to protect from the BlastRADIUS attack.");
+                       ERROR("Please set \"require_message_authenticator = true\" for client %s", client->shortname);
                        ERROR("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
 
                        client->require_ma = FR_BOOL_TRUE;
@@ -566,7 +566,7 @@ static void blastradius_checks(RADIUS_PACKET *packet, RADCLIENT *client)
                DEBUG("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
                DEBUG("The packet does not contain Message-Authenticator, which is a security issue");
                DEBUG("UPGRADE THE CLIENT AS YOUR NETWORK IS VULNERABLE TO THE BLASTRADIUS ATTACK.");
-               DEBUG("Once the client is upgraded, set \"require_message_authenticator = true\" for this client.");
+               DEBUG("Once the client is upgraded, set \"require_message_authenticator = true\" for client %s", client->shortname);
                DEBUG("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
                return;
        }
@@ -588,7 +588,7 @@ static void blastradius_checks(RADIUS_PACKET *packet, RADCLIENT *client)
                ERROR("Setting \"limit_proxy_state = false\" for client %s", client->shortname);
                ERROR("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
                ERROR("UPGRADE THE CLIENT AS YOUR NETWORK IS VULNERABLE TO THE BLASTRADIUS ATTACK.");
-               ERROR("Once the client is upgraded, set \"require_message_authenticator = true\" for this client.");
+               ERROR("Once the client is upgraded, set \"require_message_authenticator = true\" for client %s", client->shortname);
                ERROR("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
 
                client->limit_proxy_state = FR_BOOL_FALSE;
@@ -609,11 +609,11 @@ static void blastradius_checks(RADIUS_PACKET *packet, RADCLIENT *client)
                if (!packet->message_authenticator) {
                        ERROR("The packet does not contain Message-Authenticator, which is a security issue.");
                        ERROR("UPGRADE THE CLIENT AS YOUR NETWORK MAY BE VULNERABLE TO THE BLASTRADIUS ATTACK.");
-                       ERROR("Once the client is upgraded, set \"require_message_authenticator = true\" for this client.");
+                       ERROR("Once the client is upgraded, set \"require_message_authenticator = true\" for client %s", client->shortname);
                } else {
                        ERROR("The packet contains Message-Authenticator.");
                        if (!packet->eap_message) ERROR("The client has likely been upgraded to protect from the attack.");
-                       ERROR("Please set \"require_message_authenticator = true\" for this client");
+                       ERROR("Please set \"require_message_authenticator = true\" for client %s", client->shortname);
                }
                ERROR("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
        }
index 9db24e31e7b1a51eaf04a518a59132b1b4e673bd..2d20ebf5525b2e5a7c41e12355933157be0b81d0 100644 (file)
@@ -2743,7 +2743,7 @@ int request_proxy_reply(RADIUS_PACKET *packet)
                                        RERROR("Setting \"require_message_authenticator = false\" for home_server %s", request->home_server->name);
                                        RERROR("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
                                        RERROR("UPGRADE THE HOME SERVER AS YOUR NETWORK IS VULNERABLE TO THE BLASTRADIUS ATTACK.");
-                                       RERROR("Once the home_server is upgraded, set \"require_message_authenticator = true\" for this home_server.");
+                                       RERROR("Once the home_server is upgraded, set \"require_message_authenticator = true\" for home_server %s.", request->home_server->name);
                                        RERROR("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
 
                                        request->home_server->require_ma = FR_BOOL_FALSE;
@@ -2752,8 +2752,8 @@ int request_proxy_reply(RADIUS_PACKET *packet)
                                        RERROR("BlastRADIUS check: Received response to Access-Request with Message-Authenticator.");
                                        RERROR("Setting \"require_message_authenticator = true\" for home_server %s", request->home_server->name);
                                        RERROR("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
-                                       RERROR("It looks like the home server has been uppdated to protect from the BlastRADIUS attack.");
-                                       RERROR("Please set \"require_message_authenticator = true\" for this home_server.");
+                                       RERROR("It looks like the home server has been updated to protect from the BlastRADIUS attack.");
+                                       RERROR("Please set \"require_message_authenticator = true\" for home_server %s", request->home_server->name);
                                        RERROR("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
 
                                        request->home_server->require_ma = FR_BOOL_TRUE;
@@ -2768,7 +2768,7 @@ int request_proxy_reply(RADIUS_PACKET *packet)
                                RDEBUG("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
                                RDEBUG("The packet does not contain Message-Authenticator, which is a security issue");
                                RDEBUG("UPGRADE THE HOME SERVER AS YOUR NETWORK IS VULNERABLE TO THE BLASTRADIUS ATTACK.");
-                               RDEBUG("Once the home server is upgraded, set \"require_message_authenticator = true\" for this home_server.");
+                               RDEBUG("Once the home server is upgraded, set \"require_message_authenticator = true\" for home_server %s", request->home_server->name);
                                RDEBUG("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
                        }
                }