Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emulate a radius server in .NET

We have a wireless controller that prompts client machines for a username and pass using radius, the wireless controller than relays that request to us, where we need to then send that request to a third party unencrypted.

  1. is it possible to emulate a radius server in .net is there an api.
  2. is there a radius encryption algo short of clear text that allows for decryption with a shared key between my app server and the wireless controller.
  3. anybody done this before?
like image 894
Brandon Grossutti Avatar asked Oct 08 '09 17:10

Brandon Grossutti


People also ask

Does Windows have a RADIUS server?

Windows Server 2016 or Windows Server 2019 Standard/Datacenter Edition. With NPS in Windows Server 2016 Standard or Datacenter, you can configure an unlimited number of RADIUS clients and remote RADIUS server groups. In addition, you can configure RADIUS clients by specifying an IP address range.

Is RADIUS server still used?

RADIUS has evolved far beyond just the dial up networking use-cases it was originally created for. Today it is still used in the same way, carrying the authentication traffic from the network device to the authentication server.


1 Answers

RADIUS is just a network service protocol like any other so...

Question #1 - can you emulate a RADIUS server in .NET?

Yes absolutely. The protocol is documented in

RFC 2865 : Remote Authentication Dial In User Service

Create a server process that hosts a UDP listener that handles the protocol and gives appropriate responses.

Question #2 - shared-secret auth

MS-CHAP enabled a shared-secret challenges

Question #3 - done before?

Yes TekRADIUS was written in .NET so it is certainly possible.

http://www.tekradius.com/

I'd T-shirt size this as a large to extra-large problem if you were looking to create a complete solution. Compatibility is the biggest challenge to completeness - of course you may be able to scope down this problem.

like image 68
stephbu Avatar answered Oct 05 '22 23:10

stephbu