madf / async-radius

Simple RADIUS server with C++ and Boost.ASIO
MIT License
7 stars 3 forks source link

Feature to add multiple secrets by its hostname #28

Open rjjrbatarao opened 11 months ago

rjjrbatarao commented 11 months ago

add ability to specify secret on different hostname like in freeradius

madf commented 10 months ago

Can you, please, elaborate? Because there is no notion of hostname in the RADIUS protocol.

I guess, you mean having different secrets for instances of FreeRADIUS listening on different local ips, but it can be achieved by creating multiple instances of Server with different binding endpoints and different secrets.

madf commented 10 months ago

A followup after reading some FreeRADIUS docs: do you mean 'virtual servers'?

https://github.com/FreeRADIUS/freeradius-server/blob/v3.2.x/raddb/sites-available/README

rjjrbatarao commented 2 months ago

I realized to just run different instance on different ports with different secrets does the job