Rest API for authentication

Herwin Weststrate herwin at quarantainenet.nl
Wed Sep 2 09:10:02 CEST 2015


On 01-09-15 12:53, Randeep wrote:
> Hi Herwin,
> 
> We have our own mpls network. Set top boxes use pppoe to login to our
> network.
> 
> We have some boxes which doesn't have pppoe support. For them we are
> looking for some authentication mechanism. So if it can be done via a respt
> api to the same radius database, it would solve our problem.

That would be possible, but keep in mind that rest only provides a
transport mechanism, all the logic still has to be built in the server
that provides the rest service. You can compare it to the exec module,
it can only execute a program, the logic to make decisions here should
go into that program, not in the module itself.
If you literally mean database, the sql modules would be a far better
choice.

Theres is a demo.pl included with the source. That, along with the
config example are pretty clear on how to configure the rest module
(even though they don't work together out of the box). If that is
complete gibberish to you, than I don't think the rest module is
suitable for you.

-- 
Herwin Weststrate



More information about the Freeradius-Users mailing list