Packet-Src-IP-Address Unknown attribute
Hello All, Thanks for your all of answer in advance. I have some trouble about perl module. freeradius rlm_perl module requires libperl5.26 in ubuntu 18.04 but in 20.04 there is per which is version 5.30 so freeradius didn't start. when i install activeperl which has include libperl.so,5.26 I got error like this: /opt/sinecins/bin/freeradius/etc/raddb/mods-enabled/detail[34]: Failed
parsing expanded string: /opt/sinecins/bin/freeradius/etc/raddb/mods-enabled/detail[34]: ...reeradius/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/det... /opt/sinecins/bin/freeradius/etc/raddb/mods-enabled/detail[34]:
But i remove perl module from mods-enable, freeradius begins. I couldn't understand clearly where is the relationship and error Many thanks, With My Best Regards, -- Onur GÜRSOY R&D Engineer in Embedded Systems Master Student at Gebze Institute Of Technology Department Of Electronic Engineering GSM : 0(545) 764 7653 e-mail: onurgursoygyte@gmail.com
On Nov 12, 2020, at 7:51 AM, Onur GURSOY <onurgursoygyte@gmail.com> wrote:
so freeradius didn't start. when i install activeperl which has include libperl.so,5.26 I got error like this:
/opt/sinecins/bin/freeradius/etc/raddb/mods-enabled/detail[34]: Failed
parsing expanded string: /opt/sinecins/bin/freeradius/etc/raddb/mods-enabled/detail[34]: ...reeradius/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/det... /opt/sinecins/bin/freeradius/etc/raddb/mods-enabled/detail[34]:
You've helpfully edited the error messages so that they don't show the actual error. Don't do that. Most of the error messages are pretty clear, and self explanatory. If you're not sure what they mean, post the error message to the list. *All* of it. Don't edit it to remove everything useful.
But i remove perl module from mods-enable, freeradius begins.
I couldn't understand clearly where is the relationship and error
We can't either. We need to see the *actual error*. Not some edited version. And no, disabling Perl won't make the "detail" module work. They're completely independent. If the server is actually complaining that Packet-Src-IP-Address is unknown, then you edited the dictionaries and broke the server. Don't do that. Alan DeKok.
participants (2)
-
Alan DeKok -
Onur GURSOY