Filter attributes at rest module

Herwin Weststrate herwin at quarantainenet.nl
Wed Oct 25 07:40:27 CEST 2017


On 24-10-17 20:33, Alan DeKok wrote:
> On Oct 23, 2017, at 11:20 PM, Mikhail Gaidamaka <mikhail.gaydamaka at eltex.nsk.ru> wrote:
>>
>> I'm using rest module to connect to my java restful service with json format request.
>>
>> It works good, but i get troubles with EAP-TLS - it tries to encode ALL request content. How I can skip unused attributes (EAP-Message and other specific attrs).
> 
>   There's no real way to do that, sorry.

I guess it wouldn't be too hard to use the logic of
https://github.com/FreeRADIUS/freeradius-server/blob/e4629d6922ac6b0ce0e5239d66b193c4e2f8dad9/src/modules/rlm_detail/rlm_detail.c#L133-L186
to make a filter.

-- 
Herwin Weststrate


More information about the Freeradius-Users mailing list