Remote Authentication Dial-In User Service (**RADIUS**) lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- jonnybravo · 2022-03-26 18:45 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 · 2022-03-26 19:12 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 ---------------------------------------------------------------------- jonnybravo · 2022-03-27 14:02 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 ---------------------------------------------------------------------- MarkMLl · 2022-03-27 15:10 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 ---------------------------------------------------------------------- Thaddy · 2022-03-27 16:33 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. ---------------------------------------------------------------------- MarkMLl · 2022-03-27 17:50 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 ---------------------------------------------------------------------- PascalDragon · 2022-03-28 11:30 Quote from: Thaddy on March 27, 2022, 06:33:14 pmAltough 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.