reply_log not happening on failures
Matthew Newton
mcn at freeradius.org
Tue Jan 12 12:57:57 CET 2021
On 11/01/2021 22:29, Dan M wrote:
> Is there a known issue with rejected requests not generating a reply log
> entry.
> For a successful request the reply log is always written.
>
> Is it an order thing maybe in some section?
reply_log is in the post_auth section of the config, which is run on
successful authentication.
However, failed authentications run through the post-auth
"Post-Auth-Type REJECT" section. To log failures you'll need to add
reply_log (or similar) to that section, too, e.g.
post-auth {
...
Post-Auth-Type REJECT {
...
reply_log
...
}
}
--
Matthew
More information about the Freeradius-Users
mailing list