[strongSwan] Strongswan + Radius + MySQL + Hashed Passwords: Possible?

RA ss17 at fea.st
Tue Jan 9 14:07:40 CET 2018


I have been able to follow the guides and tutorials online and successfully setup a Strongswan IKEv2 server which authenticates with a Freeradius server with MySQL back-end. Everywhere I saw instructions like these only:

INSERT INTO radcheck (username, attribute, op, VALUE) VALUES ('test', 'Cleartext-Password', ':=', 'pass123');

Now this works just fine but I don't want to store plain text passwords in database and would prefer the "VALUE" column to be hashed in some way. But being new to this, I just don't know how & would be really glad if someone can provide pointers. Not sure whether its even possible or not.

Thanks in advance.


More information about the Users mailing list