diff options
| author | David Sommerseth <dazo@users.sourceforge.net> | 2008-09-19 14:03:43 +0200 |
|---|---|---|
| committer | David Sommerseth <dazo@users.sourceforge.net> | 2008-09-19 14:03:43 +0200 |
| commit | e2e5d56c8ea5e1b6fef36a1d298afbb5e8d8810e (patch) | |
| tree | 443164f905402e80ce7a4d6ed4cfcfc0b69dd294 | |
| parent | 8d5e1e0f431b4576211eff115dec82aeb140858f (diff) | |
Removed no longer needed file with firewall ideas
| -rw-r--r-- | FIREWALL_ideas | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/FIREWALL_ideas b/FIREWALL_ideas deleted file mode 100644 index fbf2396..0000000 --- a/FIREWALL_ideas +++ /dev/null @@ -1,31 +0,0 @@ - -1. in eurephia.c - eurephiaInit(...) - - load db driver - - load config data into a eurephiaVALUES struct - - load fw api - api is defined in config: firewall_interface = eurephiafw_iptables.so - - fork out a process and run eurephia_FirewallInit with config values - - forked process will wait for messages via IPC or pipes - file:///home/david/Documents/Programming_in_C/www.cs.cf.ac.uk/Dave/C/node23.html#SECTION002300000000000000000 - file:///home/david/Documents/Programming_in_C/www.cs.cf.ac.uk/Dave/C/node25.html#SECTION002500000000000000000 - - - main process continues - - -2. When a user is authenticated and we have users VPN mac address - - in learn_address(add/del): eurephia_firewall is called, which retrieves users fw profile name - - eurephia_firewall sends a signal and message to the forked process with needed parameters: - - mode: Add/Delete - - MAC addr - - profile name (only for ADD) - (-I parameter is already defined in config, and setup by eurephia_FirewallInit(...)) - - - forked process does whatever the right action in eurephiafw_iptables.so is to update the firewall - - -3. On shutdown (openvpn_plugin_close): - - Send quit signal to the forked process - - Main process waits - - forked process cleans up granted VPN accesses from iptables - - forked process sends confirm signal and dies normally. - - Main process continues to shutdown. - |
