Packet-Src-IP-Address Unknown attribute

classic Classic list List threaded Threaded
2 messages Options
| Threaded
Open this post in threaded view
|

Packet-Src-IP-Address Unknown attribute

Onur GURSOY
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: [hidden email]
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

Re: Packet-Src-IP-Address Unknown attribute

Alan DeKok-2
On Nov 12, 2020, at 7:51 AM, Onur GURSOY <[hidden email]> 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.


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