summaryrefslogtreecommitdiffstats
path: root/plugin/eurephia-auth.c
Commit message (Collapse)AuthorAgeFilesLines
* Updated Copyright dates to include 2010David Sommerseth2010-05-251-1/+1
|
* Use macros to extract values via get_env()David Sommerseth2009-10-051-2/+3
| | | | | This has two purposes. To make the code more readable and to use the same maximum length of the data being retrieved from the environment table.
* Modified get_env() function to limit number of bytes to extractDavid Sommerseth2009-10-021-3/+5
| | | | | This is to enhance the security and to avoid possible buffer overflows based on input received from the client
* Rewritten the eurephia_log() to support syslog logging as wellDavid Sommerseth2009-09-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Also simplified the initialisation of the logging module. By calling the eurephia_log_init(eurephiaCTX *, char *dest, int loglevel) function, a log context will be setup inside the eurephiaCTX. To close the log file, eurephia_log_close(eurephiaCTX *) must be called. The destination string to eurephia_log_init() can be: - stdout: Log everything to stdout - stderr: Log everything to stderr - none: Do no logging at all - syslog:<facility> Log via syslog. <facility> can be: user, local[0-7], daemon or authpriv. - Filename All logging goes to the given filename. If the filename string is not recognised by any of the reserved words above, it will be handled as a filename.
* Fixed some new Doxygen warnings which came after enabling static functions ↵David Sommerseth2009-09-141-1/+9
| | | | and vars
* Added missing include fileDavid Sommerseth2009-09-051-0/+1
| | | | A compiler warning showed up when --debug mode was enabled.
* Added doxygen commentsDavid Sommerseth2009-09-021-11/+60
|
* Made the licence explicit GPLv2 onlyDavid Sommerseth2009-03-261-1/+1
|
* Cleaned up the code a little bitDavid Sommerseth2009-03-261-5/+4
| | | | | Made sure we only include needed include files and checked that the copyright headers are equal and correct
* Made eurephia_context.h even more generic and independentDavid Sommerseth2008-11-281-0/+3
| | | | | | | | | eurephia_context.h do only need to know about the eurephiaFWINTF * struct when compiling the auth plug-in and firewall modules. To enable this, EUREPHIA_FWINTF needs to be defined as well as the eurephiafw_struct.h must be included before including eurephia_context.h in the source. When this is not done, *fwcfg will just be a void *.
* Reorganised the source codeDavid Sommerseth2008-10-151-0/+179
Moved all OpenVPN plug-in related things into ./plugins, including firewall Moved all shared code into ./common and moved the generic part of the database files into ./database Updated all CMakeLists.txt files and created a new one for the root directory