summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* edb-sqlite: Fixed a typos and copyright noticesrelease/1.0David Sommerseth2011-07-251-3/+4
| | | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit 331d3ff806f4d1b146d8599b1e226e7962f7d7b2)
* Fixed several memleaks in the eurephiadm related code pathsDavid Sommerseth2011-01-105-6/+17
| | | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit 44bcb3e74a85b4a53a0dc626db13c3d03d925538)
* Look for endian.h in include/sys as well.David Sommerseth2010-12-312-1/+15
| | | | | | | On FreeBSD the endian.h file is located in sys/endian.h. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit 35502a5b07eff6a0893989a1ea7edb603087a7c6)
* Only look for dlopen() and dlclose() in libdl on LinuxDavid Sommerseth2010-12-311-2/+9
| | | | | | | | Other platforms, like FreeBDS, have these functions in the standard libc library. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit 930bb01fffd23a04d744fab62e94ce8a4bd9e04c)
* Explicit set library path for libxml2 and libxslt librariesDavid Sommerseth2010-12-311-0/+2
| | | | | | | | On some platforms, CMake did not give this needed information to the linker. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit 0be70a290dfe9228cbbe2702132f77f41bdbf962)
* Make use of more cross-platform friendly libc functionsDavid Sommerseth2010-12-311-3/+5
| | | | | | | | | The initial implementation of the SHA512 hashing functions was tightly connected to glibc. This patch changes those few functions which is glibc to more portable functions. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit b02e2db0712f943ad794d98a6e9c01378860960a)
* Add paths and libaries for SQLite3 which pkg-config returnsDavid Sommerseth2010-12-311-1/+3
| | | | | | | | | If SQLite3 was not installed in system paths, it would not be possible to compile the edb-sqlite driver due to include and library paths not being set. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit 0c85e6f1f43d2b432a024d7da88ddfc429f0bba1)
* Do not link in libdl explicitlyDavid Sommerseth2010-12-313-3/+3
| | | | | | | | | | 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> (cherry picked from commit 1b333949479e504017c7dffb6d70eecb53adb34a)
* Call 'find' properly in ./configureDavid Sommerseth2010-12-311-6/+6
| | | | | | | | Some platforms expects a path to be given, so adding a relative path to the 'find' expressions. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit 0baa693d36f59080ff1c474d339b950cefa13dd5)
* eurephiadm adminaccess: Corrected wrong error messageDavid Sommerseth2010-12-311-1/+1
| | | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit 64318873ac1aa92e6377a1a4a53932bcce78d187)
* efw-iptables: Use the iptables conntrack moduleDavid Sommerseth2010-12-312-4/+5
| | | | | | | | Make use of the iptables conntrack module instead of the older state module for stateful firewalling. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (Backported commit f22b7bb5529b816eef840a1180b677e4ea31b124)
* eurephiadm users: Revoke all admin access privileges when deleting a user ↵David Sommerseth2010-12-313-7/+47
| | | | | | | | | | | 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> (cherry picked from commit e4ea19989e97fbecd1b22997cadb8fc5f54ade4a)
* Time to give some creditsDavid Sommerseth2010-12-061-1/+17
| | | | | | | | Big thanks to Konstantin Shabanov, Alberto G. Iniesta, Dario Minnucci and Tavis Paquette. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit 5542fc4a86206d4676407390fd6e8310392ac092)
* Fixed memory leak in eurephiaInit()David Sommerseth2010-12-061-2/+4
| | | | | | | | | This memory leak got introduced with commit 525d75316848f79208101e48a54e2 which moves the daemonisation of the firewall thread. Two environment variables was not freed after usage. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit f4805d70cc4514b2569f8864ac138b5b21409cbc)
* Quick fix for typo 'Unkown'Dario Minnucci2010-12-011-1/+1
| | | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit b23272cf33ac858384e4f970dd214bd3ee79d81b)
* Quick fix for typo 'Quering'Dario Minnucci2010-12-014-8/+8
| | | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit 35d84a44f2bec3754fca0604d8bb6a3a598b8441)
* Quick fix for Lintian 'manpage-has-bad-whatis-entry' warningDario Minnucci2010-12-0110-13/+12
| | | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit 05b5459c5b4451a457920449b6d1756adf6ca4dc)
* Move daemonize() code to be called in the firewall child thread onlyDavid Sommerseth2010-11-265-35/+37
| | | | | | | | | The eurephia plug-in would daemonize the OpenVPN process by calling daemonize() too early. This patch renames daemoinze() to efw_daemonize() and calls it only in the firewall child process. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit 525d75316848f79208101e48a54e21396464c98b)
* SQLite3 eurephiadm fix: sorting lastlog based on session status didn't workDavid Sommerseth2010-11-262-2/+2
| | | | | | | | | | The eDBadminGetLastlog(...) function didn't parse the sortkeys string to match the database layout. In addition the field mapping for the openvpn_lastlog.sessionstatus field was wrong. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit 5581ba10af35b94e750596312a9782255084aaeb)
* Updated eurephia.spec to match v1.0.1David Sommerseth2010-08-291-2/+5
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Set version to 1.0.1v1.0.1David Sommerseth2010-08-271-1/+1
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Indicate that CMake 2.6.1 is needed in Doxygen docs.David Sommerseth2010-08-271-1/+1
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Fixed a SEGV issue when adding values to a value chainDavid Sommerseth2010-08-271-2/+2
| | | | | | | | | eAdd_valuestruct() did not use a nullsafe strdup(). Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit cbaf2c929a1c97cf9fb9c5a058f72c76a60edc52) Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Fixed a buffer overflow issue in eurephia_initDavid Sommerseth2010-08-271-2/+2
| | | | | | (cherry picked from commit 050585311ac7e6f17a0d4e33650ea3a5a4ee182b) Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Fixed compiler warning: loop could be used uninitialisedDavid Sommerseth2010-08-271-1/+1
| | | | | | (cherry picked from commit 38df03d8ec77cb26ac22d73787fe9fee88dd6280) Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Do check the result of fgets()David Sommerseth2010-08-271-2/+6
| | | | | | | If fgets() returns NULL, clear the buffer allocated for the console data. (cherry picked from commit 961b3a85ca6d2ca65360034f5c2b34d276507d6a) Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Fixed an overflow issue with memset() in eurephiadmDavid Sommerseth2010-08-271-1/+1
| | | | | | (cherry picked from commit 7ae14aca46d6299d2ed49640e5eb942a207b3a68) Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Fixed Doxygen complaintsDavid Sommerseth2010-08-274-32/+0
| | | | | | Removed some #defines which was not needed Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Corrected a typo in eurephia_initDavid Sommerseth2010-08-271-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> (cherry picked from commit 43607466b843d77dee8be906c92793f09920fc31) Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Updated with comments from Fedora package reviewsDavid Sommerseth2010-08-271-7/+37
| | | | | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit d520ad19c431c4c2e40f73dad7124e21a9c95ca4) Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Cosmetic debug logging fixDavid Sommerseth2010-08-271-1/+1
| | | | | | (cherry picked from commit 9a7d7249d558c5902e648864ce4ed9da9c8e1cf4) Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Show which cmake version is being used before starting the configurationDavid Sommerseth2010-08-271-1/+3
| | | | | | (cherry picked from commit e3108ea7cfb4b68a63de8f5a1310ea430be9a65d) Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* More updates to eurephia.specDavid Sommerseth2010-08-271-9/+26
| | | | | | | | | | | - Added missing Group tags - Added stricter cmake version requirement - Fixed rpmlint complaints - Added -p when calling install - Changed $RPM_BUILD_ROOT to %{buildroot} for consistency (cherry picked from commit 9f6d447f38c6cb1d0ea690cb453928e36e6b6897) Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Added extra checks for POSIX semaphore functionsDavid Sommerseth2010-08-271-9/+31
| | | | | | | | | On Fedora 13 and Rawhide, the sem_wait(), sem_timedwait() and sem_post() functions is no longer available in librt, only in libpthread. Added extra CMake checks to check if the functions are in libpthread if not found in librt. (cherry picked from commit 6f8aaceabb37e350765bb1f2f895242cbf3e7521) Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Updated errornous URL for eurephia sources in .spec fileDavid Sommerseth2010-08-271-1/+1
| | | | | | (cherry picked from commit 844328ec655f4bc8169a2df4158f67953b292f50) Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Added install rules for man pagesv1.0.0David Sommerseth2010-07-066-6/+45
|
* Ignore utils/eurephia_saltdecode instead of utils/saltdecodeDavid Sommerseth2010-07-061-1/+1
|
* Added man page for eurephiadm usercertDavid Sommerseth2010-07-061-0/+90
|
* Added man page for eurephiadm certsDavid Sommerseth2010-07-061-0/+108
|
* Added man page to eurephiadm adminaccessDavid Sommerseth2010-07-061-0/+84
|
* eurephiadm, adminaccess: Minor updates to the help screensDavid Sommerseth2010-07-061-7/+7
|
* Updated doxygen documentation for eurephia.c:245:eurephia_tlsverify()David Sommerseth2010-07-061-3/+4
| | | | This is related to the changes done in commit c6621d108bb8beb97ca61.
* Updated doxygen related places about saltdecode.c being renamed to ↵David Sommerseth2010-07-062-2/+2
| | | | eurephia_saltdecode.c
* Added man page for the eurephiadm blacklist commandDavid Sommerseth2010-07-051-0/+70
|
* eurephiadm, blacklist: Minor updates to the help screenDavid Sommerseth2010-07-051-6/+6
|
* Added man page for eurephiadm attemptsDavid Sommerseth2010-07-051-0/+74
|
* Moved all man pages from section 8 to the more proper section 7.David Sommerseth2010-07-0510-37/+36
|
* Updated eurephiadm.8 to conver the configuration file as well.David Sommerseth2010-07-051-9/+35
|
* Added man pages for eurephia-auth.so and edb-sqlite.soDavid Sommerseth2010-07-052-0/+80
|
* Added man page for eurephia configuration variables stored in the databaseDavid Sommerseth2010-07-031-0/+58
|