summaryrefslogtreecommitdiff
path: root/accel-pppd/radius/dm_coa.c
diff options
context:
space:
mode:
authorDenys Fedoryshchenko <denys.f@collabora.com>2025-08-05 01:35:42 +0300
committerGitHub <noreply@github.com>2025-08-05 01:35:42 +0300
commit7351d79ab52964bbf4185c14c458064180f756f9 (patch)
treed4eac61f8c5aabf53f9d66d3e37d7fe165e92f3a /accel-pppd/radius/dm_coa.c
parentcc6322310a537247a63aa21de6ce18e0b0195a2c (diff)
parent1ce263f13ac0b3aed3b14b4a9bb6a51afe210684 (diff)
downloadaccel-ppp-7351d79ab52964bbf4185c14c458064180f756f9.tar.gz
accel-ppp-7351d79ab52964bbf4185c14c458064180f756f9.zip
Merge pull request #244 from nuclearcat/blast-protection
Add RADIUS blast attack protection with Message-Authenticator
Diffstat (limited to 'accel-pppd/radius/dm_coa.c')
-rw-r--r--accel-pppd/radius/dm_coa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/radius/dm_coa.c b/accel-pppd/radius/dm_coa.c
index e88cc347..8eb45a60 100644
--- a/accel-pppd/radius/dm_coa.c
+++ b/accel-pppd/radius/dm_coa.c
@@ -106,6 +106,7 @@ static int dm_coa_send_nak(int fd, struct rad_packet_t *req, struct sockaddr_in
if (err_code)
rad_packet_add_int(reply, NULL, "Error-Cause", err_code);
+ // TODO: We need to add Message-Authenticator attribute here
if (rad_packet_build(reply, RA)) {
rad_packet_free(reply);
return -1;