]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
reword and touchup
authorAlan T. DeKok <aland@freeradius.org>
Sat, 21 Feb 2026 15:23:16 +0000 (10:23 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 21 Feb 2026 16:34:51 +0000 (11:34 -0500)
20 files changed:
doc/antora/modules/troubleshooting/pages/network/attribute_0.adoc
doc/antora/modules/troubleshooting/pages/network/attribute_header.adoc
doc/antora/modules/troubleshooting/pages/network/attribute_invalid_length.adoc
doc/antora/modules/troubleshooting/pages/network/attribute_overflow.adoc
doc/antora/modules/troubleshooting/pages/network/bind.adoc
doc/antora/modules/troubleshooting/pages/network/decode_failure.adoc
doc/antora/modules/troubleshooting/pages/network/io_error.adoc
doc/antora/modules/troubleshooting/pages/network/message_authenticator_missing.adoc
doc/antora/modules/troubleshooting/pages/network/mismatched_length.adoc
doc/antora/modules/troubleshooting/pages/network/no_matching_request.adoc
doc/antora/modules/troubleshooting/pages/network/packet_fails_verification.adoc
doc/antora/modules/troubleshooting/pages/network/packet_too_large.adoc
doc/antora/modules/troubleshooting/pages/network/packet_too_small.adoc
doc/antora/modules/troubleshooting/pages/network/proxy_state_missing.adoc
doc/antora/modules/troubleshooting/pages/network/shared_secret.adoc
doc/antora/modules/troubleshooting/pages/network/too_many_attributes.adoc
doc/antora/modules/troubleshooting/pages/network/unexpected_request_code.adoc
doc/antora/modules/troubleshooting/pages/network/unexpected_response_code.adoc
doc/antora/modules/troubleshooting/pages/network/unknown_packet_code.adoc
doc/antora/modules/troubleshooting/partials/secret_wrong.adoc

index 2be54c6000452b07a4b36adc3db1f7409bfb5fdc..9d7a884f51c6a66e2a81d85b7a6f77d46ab53c31 100644 (file)
@@ -1,14 +1,13 @@
 = Attribute 0 is Invalid
 
-This error indicates that a packet can't be processed as expected and means that:
+This error indicates that a packet can't be processed as expected and
+means that:
 
- * the client is completely broken, or
+* the client is completely broken, or
+* the packet doesn't follow the RADIUS standards.
 
- * the packet doesn't follow the RADIUS standards.
-
-RADIUS packets need to follow a format defined by RADIUS RFCs. These xref:developers:rfc/index.adoc[RFCs] standardise how users are authenticated on a network. If a packet doesn't meet the basic format requirements, it may show a problem with the client or the packet itself. For example, the client could send wrong or incomplete info. The packet might get corrupted during transmission or it could have come from a different protocol.
-
-To fix this issue, check that the client uses the RADIUS protocol. Also, ensure there are no software or hardware problems. Check that the client and server are communicating using the RADIUS protocol. To do this, check the packet capture or network traffic to confirm the packets being sent are properly formatted RADIUS packets.
+Fix the client to stop sending non-RADIUS traffic to the RADIUS
+server.
 
 // Copyright (C) 2026 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.
index 8981e93923f8353358676f699e74bfbe53d1068e..f5009dfb9e6cefb1c57de4c322608635c64f8ce4 100644 (file)
@@ -1,8 +1,10 @@
 = Attribute Header Overflows the Packet
 
-The server detected a serious issue with the structure of a received packet. The attribute header extends beyond the end of the packet, which is not valid. This occurs when the client sending the packet is broken or has an incorrect setup.
+This message indicates that the packet is likely not RADIUS.  Or, it's
+a RADIUS packet which was somehow truncated and corrupted in the
+network.
 
-Another possibility is that the server didn't receive a valid RADIUS packet. The server can't process the packet as a RADIUS message because of this structural error(s). Review your configurations and verify the network's stability and congestion.
+Fix the client to stop sending non-RADIUS traffic to the RADIUS server.
 
 // Copyright (C) 2026 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.
index bee481e6a034d24b7504e09199cc8a75811147a1..4f6a9c1edd4b176b8086aa170cf853ba815c7578 100644 (file)
@@ -1,8 +1,9 @@
 = Attribute has Invalid Length
 
-The server receives a network packet with an attribute that isn't the right length for the RADIUS protocol. The client sending the packet is broken and is sending invalid packets of the wrong size.
+The RADIUS packet is malformed, which means that it's not RADIUS.
 
-Also, the data the server receives may not be a valid RADIUS packet. These packets may be some other network traffic that is unrelated or corrupted. In either case, the server can't process the packet as a valid RADIUS message because the attribute length is incorrect.
+Fix the client to stop sending non-RADIUS traffic to the RADIUS
+server.
 
 // Copyright (C) 2026 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.
index 4b88145db90ca3a7e4ed000406642279ddf0d3ef..92ebe32628dd9ae04b22b13db5fcf1948fc694cd 100644 (file)
@@ -2,9 +2,12 @@
 
 The client is either completely broken, or the packet is not RADIUS.
 
-The server receives a network packet with an attribute that isn't the right length for the RADIUS protocol. The client sending the packet is broken and is sending invalid packets of the wrong size.
+The server receives a network packet with an attribute that isn't the
+right length for the RADIUS protocol. The client sending the packet is
+broken and is sending invalid packets of the wrong size.
 
-Also, the data the server receives may not be a valid RADIUS packet. These packets may be some other network traffic that is unrelated or corrupted. In either case, the server can't process the packet as a valid RADIUS message because the attribute length is incorrect.
+Update the client to stop sending non-RADIUS packets to the RADIUS
+server.
 
 // Copyright (C) 2026 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.
index eff5ded0ba87d6f231fd4709da3c98bf23f8bb8b..dcce7d41dd0677f9155bd91fd474817048e3aed2 100644 (file)
@@ -1,10 +1,21 @@
 = Failed binding to socket
 
-The FreeRADIUS server was unable to open a network socket on the specified port. The most common reason for this is that there's another FreeRADIUS instance running in the background.
+The FreeRADIUS server was unable to open a network socket on the
+specified port. The most common reason for this is that there's
+another FreeRADIUS instance running in the background.
 
-If you start the server in debug mode without stopping the current  process, it can't bind to the port.  To resolve this issue, stop any running FreeRADIUS server before you start it in debug mode.
+If you start the server in debug mode without stopping the current
+process, then the server port is already in use by the background
+process.  The foreground process therefore cannot bind to the port.
+To resolve this issue, stop any running FreeRADIUS server before you
+start it in debug mode.
 
-Another possibility is that the server doesn't have the correct permissions (UID/GID) to open the socket. Security mechanisms like SeLinux can also block the server from accessing the port. To fix these issues, ensure the server has the correct permissions. Also, check your security settings to confirm that nothing is blocking socket access.
+Another possibility is that the server doesn't have the correct
+permissions (UID/GID) to open the socket. Security mechanisms like
+SeLinux can also block the server from accessing the port. To fix
+these issues, ensure the server has the correct permissions. Also,
+check your security settings to confirm that nothing is blocking the
+server from opening sockets on the configured IP address and port.
 
 // Copyright (C) 2026 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.
index 2915059f6190cce8c9ab976c8e2601ebd7f0d4c1..7a735ae9fa889a415055dfee55daadd6d9e5745b 100644 (file)
@@ -1,13 +1,15 @@
 = Failure Decoding the Packet
 
-The message "Failure Decoding the Packet"  means that the server can't interpret a received network packet. This failure may be caused by one of the following:
+The message "Failure Decoding the Packet" means that the server cannot
+process a packet which it has received. This failure may be caused by
+one of the following:
 
-* The server has run out of memory, preventing it from processing the packet.
+* The server has run out of memory,
 * There are malformed Vendor-Specific Attributes (VSAs) within the packet.
 * The Type-Length-Value (TLV) is too deep.
 * Unusual or unexpected packet structures cause packets to be malformed in some weird way.
 
-In all these cases, the server can't process the packet because its format is invalid or corrupt.
+In all these cases, the server discards the packet.
 
 // Copyright (C) 2026 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.
index e9c1e7abaca4cf53088c9d8332c759ea8a581e81..60eb22c64fe3a9ab1800f8a74cd52ce11b0d554a 100644 (file)
@@ -1,19 +1,14 @@
 = IO Error
 
-Network or OS errors can happen due to hardware failures, network issues, or unexpected system behaviour. These factors make diagnosis and resolution difficult. For example, a company might experience frequent downtime from an unreliable internet provider. Similarly, a website may crash when traffic exceeds the server's capacity.
-
-A small mistake in the network settings can cause many errors which may cause more disruptions including system failure. Also, the lack of standardisation and interoperability between systems makes things difficult. It becomes hard to find and fix the root cause of errors.
-
-Administrators can reduce risks by taking these steps:
-
-* Invest in strong infrastructure.
-* Perform regular maintenance and updates.
-* Develop emergency and/or backup plans.
-
-These actions help minimise downtime and keep operations running smoothly.
-
-To identify the issue, you may need to review logs, check system resources, or talk to network administrators. Fixing network and OS errors requires careful troubleshooting and in-depth knowledge of the FreeRADIUS eco-system.
-
+An IO error usually indicates a temporary problem with the local
+operating system or network.  For example, it can be due to
+permissions error, failure of a network interface, routing failure,
+etc.  It should happen rarely.
+
+As the error here is due to the network or operating system, you
+generally cannot fix it by updating the server configuration.  You
+will have to track down the source of the error, which is outside of
+the server.
 
 // Copyright (C) 2026 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.
index 9e5fc84af524ce47b2874a98465d326402771f61..8c5863222df5c9cb60b3bd50b883580b154c4bce 100644 (file)
@@ -1,11 +1,16 @@
 = Message-Authenticator is missing
 
-This error happens when the Message-Authenticator attribute is missing from the RADIUS packet. This attribute is used to check the integrity and authenticity of RADIUS messages. The Message-Authenticator stops malicious attacks. Without it, the server faces serious risks, like the BlastRADIUS attack. BlastRADIUS attacks happen when the Message-Authenticator is missing or used incorrectly. Unauthorised users gain access to network resources and services, putting the system's security and integrity at risk.
+This error happens when the Message-Authenticator attribute is missing
+from the packet. This attribute is used to check the integrity
+and authenticity of RADIUS messages.
 
-The Message-Authenticator attribute acts like a digital fingerprint for RADIUS messages. It verifies that the messages are genuine. Sending a packet without it is like not having a tracking number. It's difficult to check who sent it or what's inside. This error indicates a potential security risk when it appears. The packet may not be trustworthy or follow best practices. This highlights the urgency to fix the issue to prevent security breaches.
+The `Message-Authenticator` attribute acts like a digital signature
+for RADIUS messages. It verifies that the messages are
+genuine, and are from a genuine client.
 
+This error can stem from a misconfigured RADIUS client.
 
-This error can stem from a misconfigured RADIUS server or a faulty client. To resolve it and avoid future problems, understanding the cause is important.
+TBD: EAP requires Message-Authenticator, as does BlastRADIUS
 
 // Copyright (C) 2026 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.
index 113630c52d2a700218cb07c3ad9c4f8b48b064ba..0e17a497f91f6df69f3bb16daf179e23ac6e0347 100644 (file)
@@ -1,8 +1,14 @@
 = Header 'Length' does not match received packet length
 
-The RADIUS protocol defines a header with a 'Length' value to indicate the packet's size. The packet header's 'Length' field shows a size that does not match the actual packet size.  If this value and the packet's actual size do not match, the packet is likely malformed or not a valid RADIUS packet.
+The RADIUS protocol defines a header with a 'Length' value to indicate
+the packet's size. The packet header's 'Length' field shows a size
+that does not match the actual packet size.  If this value and the
+packet's actual size do not match, the packet is likely malformed or
+is not a valid RADIUS packet.
 
-Discrepancies can occur because of network errors, misconfigured clients, or malicious activity. To be safe, we recommend blocking the source IP address to prevent any issues or attacks.
+Discrepancies can occur because of clients sending non-RADIUS traffic
+to the RADIUS server, or possibly an attack. To be safe, we recommend
+blocking the source IP address to prevent any issues or attacks.
 
 // Copyright (C) 2026 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.
index 2cb13b52edcd4089d1d2ce770224a5b353cc6b7b..167d2669d013e8c2b10ee8712f5f4189d2f01253 100644 (file)
@@ -1,6 +1,8 @@
 = Did not find request which matches response
 
-The xref:reference:raddb/mods-available/radius.adoc[radius] module shows this error message when it sends packets. The issue may occur when the server:
+The xref:reference:raddb/mods-available/radius.adoc[radius] module
+shows this error message when it sends packets. The issue may occur
+when the server:
 
 * Sent a request.
 * Never received a response.
index 7dc698e4dfad59e3c20438920785a0bcf140ec61..cecc59cc918fbc6a1d2069e20a80518679295d91 100644 (file)
@@ -2,9 +2,13 @@
 
 include::partial$secret_wrong.adoc[]
 
-If a packet fails verification, the server can't confirm if the packet is authentic, so the authentication process fails. The mismatch can happen during setup or password updates not being the same.
+If a packet fails verification, then the serce will refuse to process
+the packet.  It could be a forgery, attack, or a misconfiguration/
 
-An example is when a network administrator sets up a RADIUS client with a shared secret. But they forget to update the server with the same secret. When the client tries to authenticate, the packet won't be verified, and authentication fails.
+An example is when a network administrator sets up a RADIUS client
+with a shared secret. But they forget to update the server with the
+same secret. When the client tries to authenticate, the packet won't
+be verified, and authentication fails.
 
 // Copyright (C) 2026 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.
index e0503660c01f6545242e9f271f7d6c2a4146cf80..8ca4b1a7ab0aa3f61affdfba8bd7385ed7eab294 100644 (file)
@@ -1,8 +1,13 @@
 = Packet Too Large
 
-The "Packet Too Large" error occurs when a client sends a RADIUS packet with too much data. The RADIUS protocol limits packet size to 4k, ensuring reliable communication and interoperability between network devices. If a packet exceeds this limit, the server can't process it and reports an error.
+The "Packet Too Large" error occurs when a client sends a RADIUS
+packet with too much data. The RADIUS protocol limits packet size to
+4k.  If a packet exceeds this limit, the server can't process it and
+reports an error.
 
-This error means that the client is broken/misconfigured. Either the client sends too much data or doesn't follow the protocol guidelines. To fix this, check the client's setup and make sure it meets the RADIUS packet size limits.
+This error means that the client is broken or is misconfigured.  To
+fix the error, check the client's configuration and make sure that it
+is sending valid RADIUS packets.
 
 // Copyright (C) 2026 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.
index b80d5d159942f5d8625998244ff9f9cad20ed7fc..88ca5e3cd5c08ef1737fa6b26fe7080a83eb3f96 100644 (file)
@@ -1,6 +1,13 @@
 = Packet too small
 
-RADIUS packets must be at least 20 bytes in size. If you see this error, it means that non-RADIUS packets are being sent to the RADIUS port. Update your firewall rules to block traffic from that source IP.
+The RADIUS specifications say rhat packets must be at least 20 bytes
+in size. If you see this error, it means that non-RADIUS packets are
+being sent to the RADIUS port.
+
+Find the system which is sending the non-RADIUS traffic, and update it
+so that it does not send traffic to the RADIUS server.  Or, add a
+firewall rule on the RADIUS server to block traffic from that source
+IP address.
 
 // Copyright (C) 2026 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.
index 3a15f37d4c85ed7a04e9e2df31510668b346202c..943b3d0215744b91f5cfb8f1791d8cb745241a95 100644 (file)
@@ -1,12 +1,10 @@
-= Proxy-State is missing
+= Packet Proxy-State but no Message-Authenticator
 
-This error occurs when the Proxy-State attribute is missing from a RADIUS packet. The Proxy-State attribute is vital for servers to track and manage requests. Without it, servers struggle to manage requests, which impacts authentication and performance.
+This error occurs when the `Proxy-State` attribute is in an
+`Access-Request` packet, but the packet does not contain
+`Message-Authenticator`.
 
-A missing Proxy-State attribute can pose serious security risks, including the BlastRADIUS attack. This attack can cause a denial-of-service or allow unauthorised network access. Without the Proxy-State attribute, the server is more open to attacks.
-
-The Proxy-State attribute also stops replay attacks. An intruder intercepts a real request and then resends it, thereby gaining unauthorized access. By including this attribute in RADIUS packets, servers can process requests securely.
-
-The Proxy-State attribute is critical for maintaining network security. It ensures RADIUS systems remain secure and reliable, but it requires proper configuration and management to function effectively.
+TBD: Point to BlastRADIUS document and `limit_proxy_state`
 
 // Copyright (C) 2026 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.
index cb5b6ef027fbd770a00dedc045c7863c0770aeb8..36c0f37034ffabdde31044d3f011ff848382c53c 100644 (file)
@@ -2,7 +2,5 @@
 
 include::partial$secret_wrong.adoc[]
 
-
-
 // Copyright (C) 2026 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.
index 64411b1603eee3f98fa3bfad744a0da2aae560d0..a1596a5ffe65c3e894c879d785d75d33492dcd53 100644 (file)
@@ -1,10 +1,19 @@
 = Too many attributes
 
-If you see an error about max_attributes, it usually means a client is sending too many attributes. It's probably due to a misconfigured client or a possible attack on the server. Either way, check what the client is doing before changing the configuration.
+This error means that the client is sending too much information in a
+packet.  It is due either to a misconfigured client or a possible
+attack on the server. Either way, you should check what the client is
+sending via `tcpdump` or `wireshark`, before changing the
+server configuration.
 
-The default value for max_attributes is high enough for most common use cases. However, if you do increase this limit, be careful. It might make the server vulnerable to resource exhaustion attacks.
+The default value for `max_attributes` is high enough for most common
+use cases. However, if you do increase this limit, be careful. It
+might make the server vulnerable to resource exhaustion attacks.
 
-Each `listen` section has a `max_attributes` setting to limit the number of attributes that can be included in a single request. By enforcing this limit, the server protects itself from clients that might try to overload it. For example, malicious clients that consume large amounts of memory on the server for each request.
+Each `listen` section has a `max_attributes` setting to limit the
+number of attributes that can be included in a single request. By
+enforcing this limit, the server protects itself from clients that
+might try to overload it.
 
 // Copyright (C) 2026 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.
index 5bb2df34aed89403dd0848d1a1a9081f8736f0d0..8e3f47caa95d09c96dc09e0d75ca7ac4a97a0baa 100644 (file)
@@ -1,16 +1,28 @@
 = Unexpected Request Code
 
-This error occurs when a RADIUS server is set up incorrectly. The listen section specifies which RADIUS packets the server accepts on a port or interface. If a client sends a packet that does not match the configuration, the server rejects it and returns an "Unexpected Request Code" error.
-
-A key aspect of the RADIUS protocol is that it does not have a negotiation phase between the client and server. This is different from other protocols. For example, HTTP allows a client to send an OPTIONS request to check a server's capabilities. In contrast, a RADIUS client cannot discover which packet types a server will accept. This means someone has to manually adjust settings if there’s a mismatch. These issues cause admin problems. Many forum posts show challenges with RADIUS setups. Support requests also highlight these troubles. For instance, in a university, various departments may use different RADIUS clients. Making sure these clients work with the central RADIUS server can be complex.
-
-To fix an Unexpected Request Code error, you have two options. First, change the client to send only the expected packet types. This may involve updating the client’s software or adjusting its configuration files. This ensures the client works within the limits set by the server's listen section.
-
-You can also change the server's listen section to accept the packet types sent by the client. This may mean adding new sections or adjusting existing ones. This flexibility helps network admins configure the RADIUS server to fit their clients' needs. It ensures smooth communication and authentication.
-
-For example, adding a new listen section for a VPN service lets users access the network securely from remote locations. This does not disrupt existing authentication flows. By fixing the Unexpected Request Code issue, admins can build stronger RADIUS configurations. This improves network security and reliability.
-
-
+This error occurs when the RADIUS client and server do not have a
+common configuration.  Each listen section specifies which RADIUS
+requests that the server accepts. If a client sends a request which is
+not listed in the `listen` section configuration, the server will
+reject it and show an "Unexpected Request Code" error.
+
+A key aspect of the RADIUS protocol is that it does not have any way
+to negotiation capabilities between the client and server. This is
+different from many other protocols. For example, HTTP allows a client
+to send an OPTIONS request to check a server's capabilities. In
+contrast, a RADIUS client cannot discover which packet types a server
+will accept. This means that an administrator has to manually update
+the configuration if there’s a mismatch.
+
+To fix an Unexpected Request Code error, you have two options. First,
+reconfigure the client to send only the packet types that the server
+expects. This may involve updating the client’s software or adjusting
+its configuration files. This ensures the client works within the
+limits set by the server's listen section.
+
+You can also change the server's `listen` section to list the packet
+types sent by the client.  See the individual `listen` section for how
+this is done.
 
 // Copyright (C) 2026 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.
index 49fb6770628aa6854f990036f008c3ccb71b6c3d..60078d3060ec69472ba43f3d67e38dcc26d12835 100644 (file)
@@ -1,8 +1,19 @@
 = Unexpected response code
 
-Each request sent has only a few valid responses that can be processed successfully. The next hop, such as a server or device, can send a bad or wrong response. When sending a request within a network protocol, only a limited set of responses is expected from the recipient. The invalid or incorrect response may be due to misconfiguration, software bugs, or unexpected network behavior.
+Each request sent has only a few valid responses that can be processed
+successfully. The next hop, such as a proxy or home network can,
+however send anything in the response.  This capability means that
+it's possible for the next hop to send (for example) a
+`Accounting-Response` reply the local server sent an `Access-Request`.
 
-Receiving a bad or wrong response can disrupt normal operations and may need troubleshooting to find the cause and ensure systems communicate properly.
+The invalid or incorrect response may be due to misconfiguration, or
+software bugs.  The problem is caused by the next hop server which is
+sending the bad response, not by the local server which is received it.
+
+Receiving a bad or wrong response will cause the server to ignore the
+response, as no valid response was received.  The solution is to
+contact the administrator of the next hop server, and ask them to
+correct the issue.
 
 // Copyright (C) 2026 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.
index ba90c864af4b39941abc5b7b5fa936a09c4f89d3..6b1c411754a40edcde61cdd5aada1a6fb646b4bc 100644 (file)
@@ -1,12 +1,30 @@
 = Unknown Packet Code
 
-This error occurs when the network processes RADIUS packets as part of the user authentication process. Each RADIUS packet has a "code" field that defines its type, like Access-Request or Access-Accept. The Internet Engineering Task Force (IETF) specifies valid codes in their documents. These codes must be between 1 and 53. Any code outside this range, such as 0 or above 53, is invalid and cannot be processed.
+This error occurs when the network receives a RADIUS packet which is
+not defined by the standards. Each RADIUS packet has a "code" field
+that defines its type, like `Access-Request` or `Access-Accept`. The
+Internet Engineering Task Force (IETF) specifies valid codes in their
+documents. These codes must be between 1 and 53. Any code outside this
+range, such as 0 or above 53, is invalid and cannot be processed.
 
-When an invalid code appears, it usually means two things. First, the device or client sending the packet may not follow RADIUS rules. This can result in bad packets. It might happen if the manufacturer didn’t implement the protocol correctly or due to a software bug. For instance, a mistake in their RADIUS setup could lead to invalid codes.
+When an invalid code appears, it usually means two things. First, the
+device or client sending the packet is not following the RADIUS
+standards.  Perhaps the manufacturer didn’t implement the protocol
+correctly, or has a bug in their software.
 
-Second, the error might show that traffic not meant for RADIUS is sent to the RADIUS port. This often happens because of a misconfigured network or device. A network administrator may have set up a device to send extra traffic to the RADIUS port. This can overwhelm the server with bad packets.
+Second, the error might show that traffic not meant for RADIUS is sent
+to the RADIUS port. This often happens because of a misconfigured
+network or device. A network administrator may have set up a device to
+send non-RADIUS traffic to the RADIUS port.  These packets will cause
+the server to complain.
 
-In both cases, the server cannot process the packet. This leads to authentication failures and potential network issues. To fix this, network administrators need to find the source of the problem, whether it's a faulty client or misconfigured settings. They must ensure only valid RADIUS packets reach the server. This may involve updating software, adjusting network settings, or blocking non-RADIUS traffic. By fixing the Unknown Packet Code error, administrators can stabilize the network and prevent future authentication issues.
+In both cases, the server cannot process the packet.  To fix this,
+network administrators need to find the source of the problem, whether
+it's a faulty client or misconfigured settings. They must ensure only
+valid RADIUS packets reach the server. This may involve updating
+software, adjusting network settings, or blocking non-RADIUS
+traffic. By fixing the Unknown Packet Code error, administrators can
+stabilize the network and prevent future problems.
 
 // Copyright (C) 2026 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.
index 2abcb17144ef19978197a8311848fe82446176c9..059e86ee6408332204ba7126ca6c020930498d10 100644 (file)
@@ -1,3 +1,9 @@
-The shared secret is wrong. Fix it! RADIUS uses a shared secret, a key security feature, to ensure that communications are secure across the network and devices.  This is a password or key known only to the client and server.
+The shared secret is wrong. Fix it! RADIUS uses a shared secret, a key
+security feature, to ensure that communications are secure across the
+network and devices.  This is a password or key known only to the
+client and server.
 
-If you see this message, it means the shared secret on the client and server don’t match. To resolve this issue, check that the shared secret is identical on both the client and server.
+If you see this message, it means the shared secret on the client and
+server don’t match. To resolve this issue, check that the shared
+secret is identical on both the client and server.  In many cases, you
+should just re-enter the shared secret on both sides.