Log Incorrect Password and give Specific IP

Aurélio de Souza Ribeiro Neto netolistas at mpc.com.br
Tue Mar 2 18:31:26 CET 2021


Alan,

Em 01/03/2021 21:03, Alan DeKok escreveu:
> On Mar 1, 2021, at 6:44 PM, Aurélio de Souza Ribeiro Neto <netolistas at mpc.com.br> wrote:
>>      I have a scenario that I want to LOG Incorrect PAP password in radius.log and give IP from a specific Pool to this user.
>>
>>      I can give an IP from another pool in autenticate session changing update control and update reply in PAP reject case, but how can I log something like:
>>
>>      Mon Mar  1 16:32:20 2021 : Auth: (1072468) Login incorrect (pap: Crypt digest does not match "known good" digest): [testepppoe2/testeppp] (from client ce-pop-encol port 15729869 cli 00:E0:4C:DA:BC:83)
>    The "log" section of radiusd.conf shows what can be logged.  It also shows how you can edit the log messages.
>
>    Where did that example log entry come from?  Can you just copy the configuration from that system to another system?

     Maybe I'm not clear!

     In authorize method I want to log "Login Incorrect" and the give an 
IP from a specified pool to user without reject the user.

     How can I do this?

Thanks




>    Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html






More information about the Freeradius-Users mailing list