DPSK dynamic filename
Hello everyone, I'm currently working on an authentication system based on the Freeradius DPSK module. To avoid the DPSK scaling issue, I try to adopt a strategy where I would like to split my list of PSK keys in different CSV files. The help file states that it is possible to dynamically expand the csv filename: # The filename is dynamically expanded, so it can reference # other attributes. This expansion lets you split up DPSK # files by location, which can drastically reduce the overall # search space, and thus the CPU requirements. # # filename = "${modconfdir}/${..:name}/psk.csv" I'v tryed many configurations, but it seems the filename is only expanded once when Freeradius is loaded. Has someone been able to achieve this type of configuration and share a sample ? Thank you in advance for your reply. Emile
On Oct 20, 2025, at 11:54 AM, CERON Emile <e.ceron@ipefix.net> wrote:
I'v tryed many configurations, but it seems the filename is only expanded once when Freeradius is loaded.
The filename should be dynamically expanded if it has a '%' expansion in it. See src/modules/rlm_dpsk/rlm_dpsk.c
Has someone been able to achieve this type of configuration and share a sample ?
It should work. What did you configure, and what does the debug output say? i.e. posting the example configuration to the list is not useful. We've seen it already. NOT posting the debug output is unhelpful. ALL of the documentation says to do this. There is no good reason to ask for help, and then ignore all of the documentation about asking for help. Alan DeKok.
participants (2)
-
Alan DeKok -
CERON Emile