Pulling %{client:} into rlm_perl

Boris Lytochkin lytboris at yandex-team.ru
Sat Oct 22 14:40:09 CEST 2016


Forget about previous message. I made xlat string processing from perl 
script (radiusd::radius_xlat function). Will send pull request after 
some testing.

On 21.10.2016 20:52, Boris Lytochkin wrote:
> Hi.
> I'm implementing support for hash-like access (r/o I guess) to 
> %{client:...} from rlm_perl module. The issue is that CONF_SECTION 
> structure is just typedef'ed and there is no access to 
> pair/section_tree from outside main/conffile.c.
> Should I pull `struct conf_part` into headers or make some sort of 
> walker inside conffile.c?
> p/s. There's declaration of seems-to-be handy function:
> int dump_config(CONF_SECTION const *cs);
> but no code is there anymore :)

Boris Lytochkin
Yandex NOC
+7 (495) 739 70 00 ext. 7671

More information about the Freeradius-Devel mailing list