summaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2008-09-17 08:35:17 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2008-09-17 08:35:17 +0200
commitd55bb97b7d2b707ba6b3848a71e034a2225f34d5 (patch)
treee5239a610f01ec9d640c80435439bf69bd52326c /TODO
parent0a07de12c9b842369284650e98dc54eb79533a4e (diff)
downloadeurephia-d55bb97b7d2b707ba6b3848a71e034a2225f34d5.tar.gz
eurephia-d55bb97b7d2b707ba6b3848a71e034a2225f34d5.tar.xz
eurephia-d55bb97b7d2b707ba6b3848a71e034a2225f34d5.zip
Updated TODOs
Diffstat (limited to 'TODO')
-rw-r--r--TODO41
1 files changed, 25 insertions, 16 deletions
diff --git a/TODO b/TODO
index f4686d0..ff5911b 100644
--- a/TODO
+++ b/TODO
@@ -1,19 +1,27 @@
* Write firewall (iptables) implementation
- - Add function declarations in eurephia_firewall.h
- - Enable firewall functionality by checking config:
- firewall_enabled == 1
- - Add eDBget_firewall_profile(ctx, session) in eurephiadb
- - Add eurephia_firewall(ctx, mode{ADD|DELETE}, {profilename|macaddr}
- (eurephiaCTX *, const int mode, char *)
- - This function is located in eurephia_fw_iptables.c
- - iptables -I {INSERT place} is taken from config: iptables_vpnclients
- - iptables -j {vpnuser_profile} is taken from $profilename
+ - Add function declarations in eurephia_firewall.h (DONE)
+ - Enable firewall functionality by checking if firewall_interface
+ config variable is set. (DONE)
+ - Add eDBget_firewall_profile(ctx, session) in eurephiadb (DONE)
+ - Add eurephia_firewall(ctx, mode{ADD|DELETE}, {profilename|macaddr},
+ (eurephiaCTX *, const int mode, char *) (DONE)
+ - This function is located in eurephia_fw_iptables.c (DONE)
+ - iptables -I {INSERT place} is taken from config:
+ firewall_destination (DONE)
+ - iptables -j {vpnuser_profile} is taken from VPN users
+ accessprofile (DONE)
- Needs probably to be an own thread with root permission and a
- socket to send ADD/DELETE commands
+ socket to send ADD/DELETE commands (DONE)
-* Logg MACaddresses per session into openvpn_macaddr_history
+ - Flush iptables chain on startup
+
+* Implement logging of env.variable time_duration on disconnect
+ - Needs to expand the openvpn_lastlog table with connection_duration
+ field.
+
+* Log MACaddresses per session into openvpn_macaddr_history
- Can change during a session
CREATE TABLE openvpn_macaddr_history (
sessionkey varchar(64) NOT NULL,
@@ -34,15 +42,16 @@
- Show blacklist
- Admin program should use eurephiaDB
-* Make new dblink-tpl.c template (started)
+* Make new eurephiadb-driver_template.c - template for creating db driver
- add new parameter to eDBregister_attempt(...) -- attempt_mode
* Write PostgreSQL driver
* A lot of QA
- Writing test program for DB drivers
- - which tests only the driver
- - which tests the API, going through eurephiaDB
- - Check that user gets blocked on too many failing attempts
-
+ - which tests only the driver (loads .so file)
+ - which tests the API, simulating openvpn calls
+ - Check that user gets blocked and blacklisted on too many failing attempts
+ - Check that right connection profiles are used
+ - Check that user/cert matches