Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Completed login/logout from eurephiadm. Added config file parser. | David Sommerseth | 2008-11-30 | 1 | -19/+160 | |
| | | | | | | | | | | | | The config file parser will put all configuration parameters into an eurephiaVALUES stack. eGet_value(...) functions can be used for further processing. | |||||
* | | BUGFIX: Avoid core dump on eurephia_log(...) if eurephiaCTX is NULL | David Sommerseth | 2008-11-30 | 1 | -1/+1 | |
| | | ||||||
* | | BUGFIX: Fixed several errors in eurephia_values.c | David Sommerseth | 2008-11-30 | 1 | -34/+47 | |
| | | | | | | | | | | | | - DEBUG logging now shows proper evgid value - evid is correctly incremented for each record - Rewrote eAdd_valuestruct(...) function to avoid empty pointer head. | |||||
* | | Splittet eAdd_value(...) up and put parts of it into eAdd_valuestruct(...) ↵ | David Sommerseth | 2008-11-30 | 2 | -10/+22 | |
| | | | | | | | | to add a eurephiaVALUES struct to an existing chain | |||||
* | | Added eDBadminLogout(...) function in database driver | David Sommerseth | 2008-11-30 | 3 | -3/+44 | |
| | | | | | | | | | | Added one more status code, for active sessions. Auto-logout will now also delete session variables | |||||
* | | eurephiadm can now use eDBadminValidateSession(...) to use open session. ↵ | David Sommerseth | 2008-11-30 | 2 | -51/+108 | |
| | | | | | | | | Auto-logout implemented as well | |||||
* | | eurephiadm can now login properly and reads and writes session file | David Sommerseth | 2008-11-30 | 1 | -18/+124 | |
| | | ||||||
* | | Unified define flags | David Sommerseth | 2008-11-30 | 3 | -5/+5 | |
| | | ||||||
* | | Completed the change of authentication model in database driver | David Sommerseth | 2008-11-30 | 5 | -89/+134 | |
| | | | | | | | | | | | | Follow up of commit 103acd7c2e1467401f0795930be9140dc5ed47ff. Seems to work fine via both plugin mode and eurephiadm, regarding core dumping too. | |||||
* | | Fixed core dump issue with eDBstore_session_value(...) / ↵ | David Sommerseth | 2008-11-30 | 4 | -13/+14 | |
| | | | | | | | | (*eDBstore_session_value)(...) | |||||
* | | Changed the id's for ECTX_ADMIN_* values, to make them more bitwise wiser | David Sommerseth | 2008-11-30 | 1 | -2/+2 | |
| | | ||||||
* | | Improved admin authentication model | David Sommerseth | 2008-11-30 | 2 | -1/+5 | |
| | | | | | | | | | | | | Remove the session creation logic from the database layer, as that should be located in the application instead. Database layer should do as strictly as possible database things. | |||||
* | | Merge branch 'master' into eurephiadm | David Sommerseth | 2008-11-29 | 2 | -5/+9 | |
|\| | ||||||
| * | BUGFIX: Use hard coded default values when checking against openvpn_attempts ↵ | David Sommerseth | 2008-11-29 | 2 | -5/+9 | |
| | | | | | | | | if config parameters is not set | |||||
* | | Login seems to work from database driver side | David Sommerseth | 2008-11-29 | 3 | -7/+256 | |
| | | ||||||
* | | Corrected silly typo | David Sommerseth | 2008-11-29 | 1 | -1/+1 | |
| | | ||||||
* | | Updated the eurephiadm utility to manage simple login | David Sommerseth | 2008-11-29 | 4 | -2/+154 | |
| | | ||||||
* | | Added context_type into eurephiaCTX struct. Database queries limited due to ↵ | David Sommerseth | 2008-11-29 | 4 | -0/+12 | |
| | | | | | | | | context type. | |||||
* | | Removed unneeded declaraion of eDBset_session_value(...) after commit ↵ | David Sommerseth | 2008-11-28 | 1 | -2/+0 | |
| | | | | | | | | 0c35035dc8ac5d099f53353938a66b33227d3342 | |||||
* | | Added drafts for structs needed for admin utils | David Sommerseth | 2008-11-28 | 1 | -0/+74 | |
| | | ||||||
* | | Splitted plugin/eurephiadb_session.[ch] into two parts | David Sommerseth | 2008-11-28 | 8 | -121/+179 | |
| | | | | | | | | | | | | | | | | | | One part is a generic session handling part (common/eurephiadb_session_common.[ch]) and the other part is left in the old plugin/eurephiadb_session.[ch]. This splitting should make it easiser to reuse some of the session handling functions for the admin utils. | |||||
* | | Rough preparation of the db drivers for API ver 2 | David Sommerseth | 2008-11-28 | 2 | -3/+29 | |
| | | ||||||
* | | Added some needed admin functions | David Sommerseth | 2008-11-28 | 2 | -1/+34 | |
| | | ||||||
* | | Added first skeleton of a command line admin util | David Sommerseth | 2008-11-28 | 5 | -0/+156 | |
|/ | ||||||
* | Added minimum API version check when loading database driver. | David Sommerseth | 2008-11-28 | 3 | -3/+12 | |
| | ||||||
* | BUGFIX: Added missing linking against crypto | David Sommerseth | 2008-11-28 | 1 | -1/+1 | |
| | ||||||
* | Cleaned up eurephiadb_session dependencies | David Sommerseth | 2008-11-28 | 4 | -2/+1 | |
| | | | | | Moved eurephiadb_session_struct.h to the common directory and made sure that eurephiadb_session.h is only included where needed | |||||
* | Made eurephia_context.h even more generic and independent | David Sommerseth | 2008-11-28 | 7 | -2/+18 | |
| | | | | | | | | | 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 *. | |||||
* | Renamed eurephia_struct.h to eurephia_context.h | David Sommerseth | 2008-11-27 | 15 | -23/+21 | |
| | | | | | | | | | | | | | Since this include file now only consists of eurephiaCTX definition, it was moved to the common/ directory and renamed. Moved the SESSION_* definitions out of this file and into plugin/eurephiadb_session.h where they belong. Moved the Posix MQ definitions into plugin/firewall/eurephiafw_struct.h where they belong. eurephia_context.h is now containing only context related things. | |||||
* | Code cleanup: Splitted all structures defined in eurephia_struct.h into ↵ | David Sommerseth | 2008-11-05 | 9 | -53/+157 | |
| | | | | separate include files | |||||
* | BUGFIX: Corrected misbehaviour when no firewall interfaces is requested to ↵ | David Sommerseth | 2008-11-05 | 1 | -1/+4 | |
| | | | | be built | |||||
* | Added check for sem_timedwait() function in CMake rules. Needed for fw ↵ | David Sommerseth | 2008-11-05 | 1 | -2/+3 | |
| | | | | implementation | |||||
* | Added uninstall rule | David Sommerseth | 2008-11-05 | 1 | -12/+27 | |
| | ||||||
* | Renamed efw_iptables to efw-iptables (underscore -> dash) | David Sommerseth | 2008-11-05 | 2 | -6/+6 | |
| | ||||||
* | Renamed eurephiadb-sqlite to edb-sqlite | David Sommerseth | 2008-11-05 | 2 | -7/+7 | |
| | ||||||
* | FEATURE: Enhanced firewall blacklisting to make it more flexible | David Sommerseth | 2008-11-05 | 3 | -3/+28 | |
| | | | | | | It will now support config option 'firewall_blacklist_send_to'. If set it will send all blacklisted IP addresses to this chain (iptables -j). If this option is not set, it will default to DROP. | |||||
* | Code improvement - using already assigned (char *) pointer instead of ↵ | David Sommerseth | 2008-11-03 | 1 | -1/+1 | |
| | | | | calling sqlite_get_value(...) once again | |||||
* | BUGFIX: Fixed wrong attempt count reset during eurephia_tlsverify(...)v0.9.2_beta | David Sommerseth | 2008-11-01 | 1 | -3/+0 | |
| | | | | | | The attempt counter for certificates was reset too early. It was reset on successful TLS verification. But the only place these counters should be reset is after successful authentication in eurephia_userauth(...) | |||||
* | Updated TODO ... ready for next beta v0.9.2_beta | David Sommerseth | 2008-11-01 | 2 | -14/+14 | |
| | | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> | |||||
* | Added double check that IP addr is not null before calling ↵ | David Sommerseth | 2008-11-01 | 1 | -1/+3 | |
| | | | | eFW_UpdateFirewall(...) | |||||
* | Added double check if ip address is NULL or not | David Sommerseth | 2008-11-01 | 1 | -1/+4 | |
| | ||||||
* | Fixed missing WHERE clause in SQL for extracting blacklisted IP addresses | David Sommerseth | 2008-11-01 | 2 | -2/+2 | |
| | ||||||
* | Fixed wrong registration of IP addresses in eDBget_blacklisted_ip(...) | David Sommerseth | 2008-11-01 | 2 | -2/+2 | |
| | ||||||
* | Added eDBget_blacklisted_ip(ctx) functions into db drivers | David Sommerseth | 2008-11-01 | 2 | -0/+44 | |
| | ||||||
* | Code cleanup in eurephiadb.c | David Sommerseth | 2008-11-01 | 1 | -18/+18 | |
| | ||||||
* | Updated eurephiadb driver to implement eDBget_blacklisted_ip() function | David Sommerseth | 2008-11-01 | 2 | -1/+2 | |
| | ||||||
* | Fixed some typos | David Sommerseth | 2008-11-01 | 1 | -2/+2 | |
| | ||||||
* | Added firewall update of blacklisted IP addresses in eFW_StartFirewall(...) | David Sommerseth | 2008-11-01 | 1 | -0/+20 | |
| | ||||||
* | Registering all IP addr blacklisted via eFW_UpdateFirewall(...) to avoid ↵ | David Sommerseth | 2008-11-01 | 2 | -2/+16 | |
| | | | | duplicates in firewall rules | |||||
* | BUGFIX (2/2) ... implemented master side fix of shutdown bug | David Sommerseth | 2008-11-01 | 2 | -4/+40 | |
| | | | | | Also changed the worker side to use sem_timedwait(), to not wait forever on shutdown acknowledge |