Using hostap components for radius authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I need to write a standalone binary to authenticate users with a RADIUS server, I need to support EAP-TLS and PEAP. I also need to read RADIUS VSA if the auth is successful. It must be cross platform (linux+windows).

After many researchs, I feel like hostap/wpa_supplicant source has what I need to make this, but I'm a bit lost.

The binary would be used like ./radius_auth -c auth.conf jon password

In the conf file, there would be servers ip (for load balancing), shared secret and client certificate.

I tested eapol_test, and it works with my test server, now I looked into eapol_test.c and it looks similar to what I need, but it seems to do a lot.

I also looked into radius_example.c which seems more like the "minimal example" I need, but I cannot tell if this example would support TLS. When I test it it just communicate in plain text.

What would be the minimal code structure? Do you have other example I could read? I could start with eapol_test.c and remove what I don't need, but there is still so much I do not understand.

Finally, I am a bit confused with all those different standard, I also discovered Radsec which seems a TCP based thing. Do you know a good a good read to get a better grasp of the messages flow and whole architecture?

Thanks

--
Nicolas Goy

Programmer
https://www.kuon.ch

Goyman SA
https://www.goyman.com

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux