Question regarding rlm_perl and Access-Challenge

Alan DeKok aland at
Tue Aug 19 14:09:57 CEST 2008

Harry J Walsh wrote:
> I want to develop some test cases for a radius client I am developing
> and I would like to be able to use rlm_perl to simulate various
> scenarios.  The one I am having major problems with is
> Access-Challenge.  I really like rlm_perl and the flexibility it
> provides and I would like to be able to specify the reply type.  I've
> looked through documentation and the rlm_perl code for any hints on
> how to do this and at this stage I'm thinking I'll have to create a
> new interface to allow my perl script to specify the correct reply
> type to rlm_perl.

  Configure the reply with "Response-Packet-Type = Access-Challenge",
and make sure that the authenticate section returns "handled".  That
should do it.

  And yes, this isn't documented.

  Alan DeKok.

More information about the Freeradius-Users mailing list