summaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* eurephia_init/benchmark: We don't need the result from the password hashingDavid Sommerseth2013-06-281-2/+1
| | | | | | | This hash is only used to measure the hashing speed. We don't need to save this hash at this point. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephia_init: Return with the proper exit codeDavid Sommerseth2013-06-281-1/+1
| | | | 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>
* Updated copyright datesDavid Sommerseth2012-10-086-7/+7
| | | | 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>
* eurephia_init will now suggest a ~/.eurephia/eurephiadm.cfg fileDavid Sommerseth2010-09-062-2/+46
| | | | | | | | A suggestion for this file will be generated based on the command line arguments. It will also honour the EUREPHIA_DIR environment variable as well. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Corrected a typo in eurephia_initDavid Sommerseth2010-08-251-1/+1
| | | | | | | | | This was discovered during a documentation review done by Nate Lieby. sf.net ticket: https://sourceforge.net/tracker/?func=detail&aid=3052422&group_id=236344&atid=1099760 Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Fixed a buffer overflow issue in eurephia_initDavid Sommerseth2010-07-301-2/+2
|
* Updated doxygen related places about saltdecode.c being renamed to ↵David Sommerseth2010-07-301-1/+1
| | | | eurephia_saltdecode.c
* Moved all man pages from section 8 to the more proper section 7.David Sommerseth2010-07-302-4/+2
|
* Renamed utils/saltdecode to utils/eurephia_saltdecodeDavid Sommerseth2010-07-302-2/+2
|
* Added man page for saltdecodeDavid Sommerseth2010-07-301-0/+26
|
* Added man page for eurephia_initDavid Sommerseth2010-07-301-0/+46
|
* Updated Copyright dates to include 2010David Sommerseth2010-07-304-5/+5
|
* Removed duplicated documentationDavid Sommerseth2009-10-051-3/+2
|
* Fixed compile warnings 32bit platformsDavid Sommerseth2009-10-051-1/+3
|
* Merge branch 'syslog'David Sommerseth2009-09-281-1/+1
|\
| * Added extra parameter to eurephia_log_init() to set log ident for syslogDavid Sommerseth2009-09-241-1/+1
| |
* | Fixed some memory leaks in eurephia_init, especially in error situationsDavid Sommerseth2009-09-271-12/+30
| |
* | Reworked eurephia_init to use the new eDBadminUserAccount() APIDavid Sommerseth2009-09-271-14/+66
|/
* Removed duplicated Doxygen documentationDavid Sommerseth2009-09-221-9/+0
|
* Fixed and cleaned up Doxygen commentsDavid Sommerseth2009-09-222-10/+87
|
* Updated eurephia_init to also use eurephiaXML_ParseResultMsg()David Sommerseth2009-09-221-5/+11
|
* Modified eurephiadm and eurephia_init programs to use the new ↵David Sommerseth2009-09-211-2/+2
| | | | eDBadminAccessLevel() function
* BUGFIX: Sometimes get_console_input() would "skip" a prompt if data was ↵David Sommerseth2009-09-151-5/+5
| | | | | | | | | | | | | | still in the stream This happens when more data is entered than what fits into the buffer. Then the remaining input, including the new-line will be accepted automatically on the next get_console_input(). It's important to remember that the length argument of get_console_input() do not restrict how much data the user can type in. It only tells how big the receiving buffer is, thus leaving the remaining data in the file stream. The fix for eurephia_init was to make sure a bigger part of the buffer is used when calling get_console_input(), to be sure that new-line will be accepted into this buffer.
* Fixed missing doxygen comments and improved a description in saltdecode.cDavid Sommerseth2009-09-151-3/+11
|
* Rewritten eurephia_init to use the new unified eDBadminConfiguration() functionDavid Sommerseth2009-09-151-12/+53
|
* Fix some valgrind warnings. Two timeval structs where not initialised ↵David Sommerseth2009-09-151-1/+3
| | | | before being used
* Added debug logging of free_nullsafe() calls as wellDavid Sommerseth2009-09-072-2/+2
|
* Moved all malloc() operations over to a calloc wrapper, malloc_nullsafe()David Sommerseth2009-09-071-4/+3
| | | | This also improves debugging as well, if debug logging is enabled and log level is >= 40.
* Added missing privileges in eurephia_init when creating admin user accountDavid Sommerseth2009-09-031-1/+2
|
* More doxygen commentsDavid Sommerseth2009-09-032-3/+87
|
* Added copyright info in CMake filesDavid Sommerseth2009-09-021-0/+19
|
* Rearranged and cleaned up the utils/CMakeLists.txt fileDavid Sommerseth2009-09-021-16/+20
|
* Changed the short argument for --hash-threshold-maxDavid Sommerseth2009-08-221-3/+3
|
* Rewritten CMake rules to build common/ as static libraryDavid Sommerseth2009-04-111-9/+1
| | | | | | This static library is later on linked in. This is to avoid recompiling the same source files several times during a complete eurephia compilation.
* Rewritten common/passwd.c and utils/benchmark.cDavid Sommerseth2009-04-101-1/+48
| | | | Make them work without the need of defining BENCHMARK during compilation
* Fixed wrong user access on fwprofiles in eurephia_initDavid Sommerseth2009-04-051-1/+1
| | | | Forgot to update eurephia_init after commit 5b6c3ba53f33dfe75ddfbb0cf62996f9b3d8de4c
* Using right plug-in path in eurephia_initDavid Sommerseth2009-03-302-2/+2
| | | | This is a regression introduced in commit cda490e1fc19904d015d8d5853af731d3cd983ea
* Added fwadmin in granted access on db initialisationDavid Sommerseth2009-03-301-1/+1
|
* Added a small utility for decoding password salt informationDavid Sommerseth2009-03-292-0/+91
|
* Made the licence explicit GPLv2 onlyDavid Sommerseth2009-03-262-2/+2
|
* Cleaned up the code a little bitDavid Sommerseth2009-03-262-5/+4
| | | | | Made sure we only include needed include files and checked that the copyright headers are equal and correct
* Added utility to initialise and prepare a eurephia databaseDavid Sommerseth2009-03-222-0/+567
| | | | | | | | | | | Run the utils/eurephia_init program to setup and do the initial configuration of eurephia. It needs 2 required arguments --database-driver <path to database driver> --database-args <arguments to the db driver> This utility will then guide you through a setup for the different configuration parameters used by eurephia.
* Fixed a memory leak in benchmark.cDavid Sommerseth2009-03-221-1/+4
|
* Added benchmarking to suggest minimum and maximum rounds for hashesDavid Sommerseth2009-03-221-0/+115