summaryrefslogtreecommitdiffstats
path: root/eurephiadm
Commit message (Collapse)AuthorAgeFilesLines
* eurephiadm: Don't try to remove session file if it doesn't existDavid Sommerseth2015-01-281-4/+4
| | | | Signed-off-by: David Sommerseth <dazo@eurephia.org>
* Correct ugly boundary checks in database initDavid Sommerseth2014-12-051-1/+1
| | | | | | | The check if dbargc exceeds MAX_ARGUMENTS was done _after_ it was checked if the array element is NULL. This was not the intention. Signed-off-by: David Sommerseth <dazo@eurephia.org>
* Get rid of bashism in eurephiadm/mk_buildinfo.shDavid Sommerseth2013-07-111-2/+2
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Removed some stray left-over variables no longer in useDavid Sommerseth2013-06-283-11/+3
| | | | | | | These variables where used before the XML based response in the admin API was implemented. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm: Added needed include files to be buildableDavid Sommerseth2013-06-072-0/+2
| | | | | | | This is related to that certinfo has been extended and now need to pull in the openssl/x509.h to compile properly. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm: Removed inclusion of certinfo.h where not neededDavid Sommerseth2013-06-073-3/+0
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* common: Update callers of eurephia_log_init() to comply with the API changesDavid Sommerseth2013-06-051-3/+4
| | | | | | This is to enable an improved logging feature in OpenVPN v2.3 and newer. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm/usercerts: Add support for setting up auth-pluginsDavid Sommerseth2013-05-291-33/+72
| | | | | | | This enables setting authentication plug-in and the alternative authentication username for user-certificate links. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm: Add support for managing plug-insDavid Sommerseth2013-05-284-1/+471
| | | | | | | This adds the 'plugins' command, which is used to register, remove or modify plug-in parameters. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Added the first stab of an authentication plug-in frameworkDavid Sommerseth2013-03-031-2/+2
| | | | | | | | | This enables a run-time loadable support for other authentication modules. This can be used to make eurephia authenticate user's passwords against other sources than the local eurephia database itself. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm/usercerts: Added support for username instead of uid on ↵David Sommerseth2012-11-021-20/+67
| | | | | | | | | | add/delete operations Instead of having to look up the UID manually when adding a user-cert link, it is now possible to user --username | -u instead of --uid | -i and provide a username directly. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Updated copyright datesDavid Sommerseth2012-10-0831-32/+32
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm: Removed several memleaks in error situations or when --help was usedDavid Sommerseth2012-10-087-25/+62
| | | | | | | Most of the eurephiadm commands leaked some memory if an error occured or the --help screen was requested. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm: Fixed some memory cleanup with libxml2 and libxsltDavid Sommerseth2012-10-082-1/+5
| | | | | | | | Valgrind complained about reachable buffers within the libxml2 and libxslt functions. Found some init and cleanup functions which needed to be called to solve this. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Moved generic parts of the config file parser to the common libraryDavid Sommerseth2011-07-251-91/+6
| | | | | | | Modified the eurephiadm client_config section to make use of the common version as well. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Fixed several memleaks in the eurephiadm related code pathsDavid Sommerseth2011-01-104-6/+16
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Do not link in libdl explicitlyDavid Sommerseth2010-12-311-1/+1
| | | | | | | | | The functions related to dynamic loading of shared objects are a part of the standard libc library on FreeBSD, while in Linux it is in libdl. However, the linker on Linux seems to add the libdl linking automatically when needed, so no need to explicitly link this library. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Added ./configure information to eurephiadm buildinfoDavid Sommerseth2010-12-212-1/+7
| | | | | | | This is to help debugging even further, to be able to reproduce as similar builds as possible. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm users: Revoke all admin access privileges when deleting a user ↵David Sommerseth2010-12-141-1/+29
| | | | | | | | | | account Matthew Gyurgyik noticed that when deleting a user account, the users granted access levels was still present. This resulted in a rather odd looking list when showing granted access levels. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm adminaccess: Corrected wrong error messageDavid Sommerseth2010-12-141-1/+1
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm config: Inform if the requested config variable is not foundDavid Sommerseth2010-12-051-1/+5
| | | | | | | This warning is written to stderr, to avoid breaking scripts which might depend on eurephiadm config's behaviour. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Quick fix for Lintian 'manpage-has-bad-whatis-entry' warningDario Minnucci2010-12-019-13/+10
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Fixed a simple spelling typoDavid Sommerseth2010-11-101-1/+1
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Fixed git tree status check once againDavid Sommerseth2010-11-102-7/+7
| | | | | | | It turned out the previous git tree state check misinterpretted the tree state on a clean git repository. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Fixed a last-minute typo on the reg-exp.David Sommerseth2010-11-091-1/+1
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Tackle more git-status variantsDavid Sommerseth2010-11-091-1/+1
| | | | | | | The reg-exp for catching the git status -s variants was too limited. This new reg-exp should be able to handle more variants better and safer. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Further updates to the buildinfoDavid Sommerseth2010-11-092-11/+22
| | | | | | | | | - Reorganised the layout a bit - Added a path to the local git repository - Added '(origin)' identificator to the remote git repo string - Do the 'git status' call from the root of the source tree Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Improved buildinfo, adding some kind of git tree state informationDavid Sommerseth2010-11-092-3/+15
| | | | | | This patch adds a list over uncommitted files. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm: Added a buildinfo commandDavid Sommerseth2010-11-094-0/+154
| | | | | | | This just adds some gathered information about the build, useful for debugging later on. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm/adminaccess: Check granted accesses before modifying themDavid Sommerseth2010-10-221-2/+42
| | | | | | | | | | It was reported that it was possible to grant the same access level several times using the eurephiadm adminaccess command. This is now fixed by quering the access levels for the user before executing the grant or revoke operation. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> Report-URL: https://sourceforge.net/tracker/index.php?func=detail&aid=3092583&group_id=236344&atid=1099760
* Fixed compiler warning: loop could be used uninitialisedDavid Sommerseth2010-07-301-1/+1
|
* Do check the result of fgets()David Sommerseth2010-07-301-2/+6
| | | | If fgets() returns NULL, clear the buffer allocated for the console data.
* Fixed an overflow issue with memset() in eurephiadmDavid Sommerseth2010-07-301-1/+1
|
* Added install rules for man pagesDavid Sommerseth2010-07-301-0/+16
|
* Added man page for eurephiadm usercertDavid Sommerseth2010-07-301-0/+90
|
* Added man page for eurephiadm certsDavid Sommerseth2010-07-301-0/+108
|
* Added man page to eurephiadm adminaccessDavid Sommerseth2010-07-301-0/+84
|
* eurephiadm, adminaccess: Minor updates to the help screensDavid Sommerseth2010-07-301-7/+7
|
* Added man page for the eurephiadm blacklist commandDavid Sommerseth2010-07-301-0/+70
|
* eurephiadm, blacklist: Minor updates to the help screenDavid Sommerseth2010-07-301-6/+6
|
* Added man page for eurephiadm attemptsDavid Sommerseth2010-07-301-0/+74
|
* Moved all man pages from section 8 to the more proper section 7.David Sommerseth2010-07-305-24/+24
|
* Updated eurephiadm.8 to conver the configuration file as well.David Sommerseth2010-07-301-9/+35
|
* Added man page for eurephiadm lastlogDavid Sommerseth2010-07-301-0/+80
|
* eurephiadm, lastlog: Corrected help screenDavid Sommerseth2010-07-301-2/+3
|
* Added man page for eurephiadm fwprofilesDavid Sommerseth2010-07-301-0/+73
|
* Added man pages for eurephiadm users and configDavid Sommerseth2010-07-302-0/+119
|
* Added main man page for the eurephiadm utilityDavid Sommerseth2010-07-301-0/+75
|
* Updated Copyright dates to include 2010David Sommerseth2010-07-3026-27/+27
|
* BUGFIX: eurephiadm session key was truncatedDavid Sommerseth2009-11-121-1/+1
| | | | | The session key was only 65 bytes, instead of 128 bytes due to wrong pointer calculation.