Freeradius 3, Posgresql 14, application_name

Alan DeKok aland at deployingradius.com
Tue Aug 23 03:02:28 UTC 2022


On Aug 22, 2022, at 3:47 PM, Andrey Grigorian <andrey.grigorian at gmail.com> wrote:
> there is a configuration option in /etc/freeradius/3.0/mods-available/sql
> 
> sql {
>     postgresql {
>        send_application_name = yes
>     }
> }
> 
> which makes Freeradius use "application_name" parameter to connect to
> Postgresql.
> 
> is there any way to change the value Freeradius uses to fill this parameter?

  No.  That could be added easily, I think.  See src/modules/rlm_sql/drivers/rlm_sq_postgresql.c

> the default value in the logs "application_name='FreeRADIUS 3.0.20 -
> radiusd (sql)" which is not useful for me as i'm going to have several
> Freeradius servers connected to the same external Postgresql DB.

  OK.

  Alan DeKok.



More information about the Freeradius-Users mailing list