perl_rlm and differences FR 1 and 2

David Jones daveyjones at its.zzn.com
Tue Oct 13 05:11:31 CEST 2009


Thanks to some handy hints in here, I've had some success with rlm_perl.  But (and there is always a but)

I've been happily developing against 2.x but have just discovered I need to actually use 1.x because of RHEL.  The rlm_perl link of both version 1 and version 2 points to the same documentation page, so I made the assumption that although theres much different under the covers of FR, by the time you get to perl its all hidden, and I could just take a perl script that works on V2 and run it on V1.

But it doesn't.  There seems to be different handling of the module return values, and of $RAD_CHECK{'Response-Packet-Type'} = "Access-Challenge".  FR V1 seems quite unkeen to send out responses.

So, and finally the question; Are there supposed to be differences in behaviour for rlm_perl between V1 and V2?

Thanks, Davey.





More information about the Freeradius-Users mailing list