Log Incorrect Password and give Specific IP

Alan DeKok aland at deployingradius.com
Tue Mar 2 01:03:11 CET 2021


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?

  Alan DeKok.




More information about the Freeradius-Users mailing list