Recent

Author Topic: Remote Authentication Dial-In User Service (**RADIUS**)  (Read 1238 times)

jonnybravo

  • New Member
  • *
  • Posts: 13
Remote Authentication Dial-In User Service (**RADIUS**)
« on: March 26, 2022, 07:45:14 pm »
My Synology NAS has a RADIUS Server package.

Remote Authentication Dial-In User Service (**RADIUS**) is a networking protocol that provides centralized authentication, authorization, and accounting for wireless network access.

Was wondering if anyone has ever done any work in this area?  I would like to run a cross platform RADIUS client.

Thanks.

MarkMLl

  • Hero Member
  • *****
  • Posts: 6692
Re: Remote Authentication Dial-In User Service (**RADIUS**)
« Reply #1 on: March 26, 2022, 08:12:44 pm »
Like any unix user I'm aware of it, but haven't done anything specific with it... certainly not recently. If you could find a C library to handle the client authentication it probably wouldn't be too difficult to write Pascal headers for it.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

jonnybravo

  • New Member
  • *
  • Posts: 13
Re: Remote Authentication Dial-In User Service (**RADIUS**)
« Reply #2 on: March 27, 2022, 04:02:16 pm »
Ok.  I have never gone to the process of writing Pascal headers for a C library.  What is a good place to start?
Also (if you know), what level of complexity would I be looking at?

Perhaps there is a more suitable forum for these questions, in that case which?

Thank you
« Last Edit: March 27, 2022, 04:19:35 pm by jonnybravo »

MarkMLl

  • Hero Member
  • *****
  • Posts: 6692
Re: Remote Authentication Dial-In User Service (**RADIUS**)
« Reply #3 on: March 27, 2022, 05:10:53 pm »
I'd say this is as good a place as any. Assuming that there's not already a Pascal port, in principle you should be able to start off with a suitable C library (from Github or wherever) and then apply the standard header translator https://www.freepascal.org/tools/h2pas.html https://wiki.freepascal.org/H2Pas

It's always worth trying to hew as closely to your distro of choice as possible, hence for Debian I see libfreeradius-dev. However I'd also suggest sniffing around any support material provided by whoever it is you want to connect to, at which point I'd like to bang the drum for AAISP in the UK hence any comments from RevK hence e.g. https://www.revk.uk/2010/09/radius-relay-techy-question.html

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Thaddy

  • Hero Member
  • *****
  • Posts: 14377
  • Sensorship about opinions does not belong here.
Re: Remote Authentication Dial-In User Service (**RADIUS**)
« Reply #4 on: March 27, 2022, 06:33:14 pm »
Altough RADIUS was once quite common,  nowadays it has lost it. Why do you want it?  There are many good Pascal bindings, but I would not use it.
https://en.wikipedia.org/wiki/RADIUS


Pay attention to the security chapter.

But if you really need it I have some bindings. Highly NOT recommended.
« Last Edit: March 27, 2022, 06:40:44 pm by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

MarkMLl

  • Hero Member
  • *****
  • Posts: 6692
Re: Remote Authentication Dial-In User Service (**RADIUS**)
« Reply #5 on: March 27, 2022, 07:50:20 pm »
I try to assume that a user asking for this sort of thing knows what he is doing, i.e. that he needs to talk to a preexisitng system: note that he's specifically asking for a client binding rather than how to implement a server.

A comment along the lines of "You really don't want to do that" rather than an answer to the question was something that happened so many times on CIX in the UK that after 30 years it had the status of a running gag.

I'd encourage OP to take you up on your offer, but at the same time I find myself wondering whether any more recent protocols are available to him e.g. DIAMETER.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

PascalDragon

  • Hero Member
  • *****
  • Posts: 5486
  • Compiler Developer
Re: Remote Authentication Dial-In User Service (**RADIUS**)
« Reply #6 on: March 28, 2022, 01:30:02 pm »
Altough RADIUS was once quite common,  nowadays it has lost it. Why do you want it?  There are many good Pascal bindings, but I would not use it.
https://en.wikipedia.org/wiki/RADIUS

Seems like you never had the need to use eduroam then, which is a wifi network provided in universities and such and which you can use anywhere it's available as long as you have suitable credentials (e.g. are a student at a university participating in eduroam). It's based on RADIUS and is probably the biggest example of such a network.

 

TinyPortal © 2005-2018