Re: match replay log with the request and log rejected request
Alan DeKok <[email protected]>
| Newsgroups | gmane.comp.freeradius.user |
|---|---|
| Message-ID | <[email protected]> |
On Mar 19, 2025, at 2:47 PM, Peter Hudec via Freeradius-Users <[email protected]> wrote: > As there is no username or some knd of session id in the reoply, the default reply_log configuration just logs the reply attributes. > In this scenario I'm not able to pair it with the original request ;( The lazy way is that you can just add an attribute to the reply. Edit raddb/dictionary to add a string attribute like "Copy-Of-User-Name". Then, do: update reply { &Copy-Of-User-Name := &User-Name } reply_log And that will include the User-Name from the request. > By default, the Rejected request are not logged, what should be changed to add logging for them? Edit the "Post-Auth-Type Reject" section, and add logging there. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html