Skip to content

Commit

Permalink
echo EAP-Key-Name back, if requested
Browse files Browse the repository at this point in the history
as per RFC 7268 Section 2.2
  • Loading branch information
alandekok committed Jul 7, 2020
1 parent e8b4d28 commit 9110859
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions raddb/sites-available/default
Expand Up @@ -881,6 +881,15 @@ post-auth {
# attr_filter.access_challenge.post-auth
}

#
# If the client sends EAP-Key-Name in the request,
# then echo the real value back in the reply.
#
if (EAP-Key-Name && &reply:EAP-Session-Id) {
update reply {
EAP-Key-Name := &reply:EAP-Session-Id
}
}
}

#
Expand Down

0 comments on commit 9110859

Please sign in to comment.