| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
(cherry picked from commit 331d3ff806f4d1b146d8599b1e226e7962f7d7b2)
|
|
|
|
|
| |
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
(cherry picked from commit 44bcb3e74a85b4a53a0dc626db13c3d03d925538)
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
(cherry picked from commit 64318873ac1aa92e6377a1a4a53932bcce78d187)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
(cherry picked from commit b23272cf33ac858384e4f970dd214bd3ee79d81b)
|
|
|
|
|
| |
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
(cherry picked from commit 35d84a44f2bec3754fca0604d8bb6a3a598b8441)
|
|
|
|
|
| |
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
(cherry picked from commit 05b5459c5b4451a457920449b6d1756adf6ca4dc)
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
|
|
|
|
| |
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
|
|
|
|
| |
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
(cherry picked from commit 050585311ac7e6f17a0d4e33650ea3a5a4ee182b)
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
|
|
|
|
|
|
| |
(cherry picked from commit 38df03d8ec77cb26ac22d73787fe9fee88dd6280)
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
(cherry picked from commit 7ae14aca46d6299d2ed49640e5eb942a207b3a68)
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
|
|
|
|
|
|
| |
Removed some #defines which was not needed
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
(cherry picked from commit d520ad19c431c4c2e40f73dad7124e21a9c95ca4)
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
|
|
|
|
|
|
| |
(cherry picked from commit 9a7d7249d558c5902e648864ce4ed9da9c8e1cf4)
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
|
|
|
|
|
|
| |
(cherry picked from commit e3108ea7cfb4b68a63de8f5a1310ea430be9a65d)
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
(cherry picked from commit 844328ec655f4bc8169a2df4158f67953b292f50)
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This is related to the changes done in commit c6621d108bb8beb97ca61.
|
|
|
|
| |
eurephia_saltdecode.c
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|