开发者

Emulate a radius server in .NET

开发者 https://www.devze.com 2022-12-08 15:36 出处:网络
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 th

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 a开发者_JAVA百科n 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?


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.


It's a lot of work but yes you can do in .NET. Here are two links for you:

nRadius

TinyRadius (it's a java project, could be ported with some work...)

There are other library but huge (such as http://www.freeradius.net/), too much work!

0

精彩评论

暂无评论...
验证码 换一张
取 消