rlm_perl not working

Vincent, Fabien fabien.vincent at coreye.fr
Tue Oct 18 17:26:29 CEST 2011

Of course ! But to simplify documentation, I've put all in one file radiusd.conf except sql requests / config

Another question with Perl / Accounting :

I want to made accounting on my F5 LTM / GTM. But the F5 uses something "special", because all Audit logs are forwarded to the Radius using syslog-ng. The consequence is that the Accounting-Request is coming with the following format :

Ready to process requests.
rad_recv: Accounting-Request packet from host port 47931, id=4, length=235
        NAS-IP-Address =
        F5-Acct = "Oct 18 17:18:59 local/lb2b notice mcpd[4820]: 01070417:5: AUDIT - user radtest - transaction #40213784-2 - object 0 - modify { pool_member { pool_member_pool_name \"......
  WARNING: Empty section.  Using default return values.
+- entering group accounting {...}
Invalid Accounting Packet
++[perl] returns invalid
Finished request 0.

Did you know if it's normal that the accounting section reject the accounting packet and say "Invalid Accounting Packet" ... Is it due to NAS-IP-Address attribute ?

And one more question, can I replace it dynamically with, for example, rlm_perl using the IP address from sender host (here ?).

Thanks in advance for your helps !

Ingénieur Réseaux & Sécurité / ASSR Produits

-----Message d'origine-----
De : freeradius-users-bounces+fabien.vincent=coreye.fr at lists.freeradius.org [mailto:freeradius-users-bounces+fabien.vincent=coreye.fr at lists.freeradius.org] De la part de Alan Buxey
Envoyé : mardi 18 octobre 2011 16:54
À : FreeRadius users mailing list
Objet : Re: rlm_perl not working

>    Sorry, fixed, a mistake in my radiusd.conf … (lost in brackets ;)

my concern would be that you dont need to touch radiusd.conf at all to use
the rlm_perl module - hope you werent following some old document - you just
need to edit the modules/perl file and then put 'perl' into the required part
of your virtual server  (or use a named instance if you want to call it a different

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

Ce message a ete verifie par MailScanner.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3746 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20111018/0a1f7caa/attachment.bin>

More information about the Freeradius-Users mailing list