summaryrefslogtreecommitdiffstats
path: root/common/eurephiadb_session_struct.h
Commit message (Collapse)AuthorAgeFilesLines
* Updated copyright datesDavid Sommerseth2012-10-081-1/+1
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Updated Copyright dates to include 2010David Sommerseth2010-07-301-1/+1
|
* More comments in common/David Sommerseth2009-09-041-16/+31
|
* Made the licence explicit GPLv2 onlyDavid Sommerseth2009-03-261-1/+1
|
* Cleaned up the code a little bitDavid Sommerseth2009-03-261-1/+2
| | | | | Made sure we only include needed include files and checked that the copyright headers are equal and correct
* Introduced password caching on authenticated sessionsDavid Sommerseth2009-01-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | This is to prepare eurephia-auth plugin to use other and more CPU intensive hashing algorithms for passwords. In addition, open sessions will now not be rejected/closed due to wrong password if the user changes the password with an open session running. The patch adds a new server_salt attribute in the eurephiaCTX structure. This is used as a temporary salt and is created of random data when OpenVPN is started. When a user is being authenticated (eurephia.c/eurephia_userauth) a authentication session (not the same as a 'normal' session) is opened and checked for a cached password. If it does not exist or match, normal password check will be done against the user database. If a cached password is found and matches, it is considered to be authenticated. The cached password uses the SHA512 algorithm, together with the eurephiaCTX->server_salt.
* Fixed core dump issue with eDBstore_session_value(...) / ↵David Sommerseth2008-11-301-0/+9
| | | | (*eDBstore_session_value)(...)
* Cleaned up eurephiadb_session dependenciesDavid Sommerseth2008-11-281-0/+34
Moved eurephiadb_session_struct.h to the common directory and made sure that eurephiadb_session.h is only included where needed