diff options
| author | David Sommerseth <dazo@users.sourceforge.net> | 2008-12-02 11:23:01 +0100 |
|---|---|---|
| committer | David Sommerseth <dazo@users.sourceforge.net> | 2008-12-02 11:23:01 +0100 |
| commit | 10d775f610b8e96df2d496a86e2a477da4d85cc6 (patch) | |
| tree | 9fd1710df3fbb0d68e027631dea84153c3f7e323 /plugin | |
| parent | b0dcdbcf72417a0203171a613c19b0bc01807967 (diff) | |
| parent | 00e2d0e945a0ef6424da7aeddf4b449423d08790 (diff) | |
| download | eurephia-10d775f610b8e96df2d496a86e2a477da4d85cc6.tar.gz eurephia-10d775f610b8e96df2d496a86e2a477da4d85cc6.tar.xz eurephia-10d775f610b8e96df2d496a86e2a477da4d85cc6.zip | |
Merge branch 'master' into eurephiadm
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/eurephia.c | 2 | ||||
| -rw-r--r-- | plugin/firewall/iptables/efw-iptables.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/plugin/eurephia.c b/plugin/eurephia.c index 67bb682..2d50fc0 100644 --- a/plugin/eurephia.c +++ b/plugin/eurephia.c @@ -419,6 +419,7 @@ int eurephia_connect(eurephiaCTX *ctx, const char **env) { // Register the session login ret = eDBregister_login(ctx, session, certid, uid, proto, remipaddr, remport, vpnipaddr, vpnipmask); eDBfree_session(ctx, session); + eurephia_log(ctx, LOG_INFO, 1, "User '%s' is logged in", uname); DEBUG(ctx, 10, "** Function result: eurephia_connect(...) = %i", ret); return ret; @@ -454,6 +455,7 @@ int eurephia_disconnect(eurephiaCTX *ctx, const char **env) { // 2. eDBregister_logout(ctx, session, env[bytes_sent], env[bytes_received]) ret = eDBregister_logout(ctx, session, bytes_sent, bytes_rec, duration); eDBfree_session(ctx, session); + eurephia_log(ctx, LOG_INFO, 1, "User '%s' is logged out", uname); DEBUG(ctx, 10, "** Function result: eurephia_disconnect(...) = %i", ret); return ret; diff --git a/plugin/firewall/iptables/efw-iptables.c b/plugin/firewall/iptables/efw-iptables.c index a5171f7..6c02fbd 100644 --- a/plugin/firewall/iptables/efw-iptables.c +++ b/plugin/firewall/iptables/efw-iptables.c @@ -100,7 +100,7 @@ void eFW_RunFirewall(void *fwargs) { efwRemoveMessageQueue(ctx, fwargs); - DEBUG(ctx, 28, "eFW_RunFirewall: Telling eFW master that the worker process is about to shutdown"); + DEBUG(ctx, 28, "eFW_RunFirewall: Telling eFW master that the worker process is about to shut down"); sem_post(cfg->semp_worker); DEBUG(ctx, 28, "eFW_RunFirewall: Waiting for eFW master to acknowledge"); @@ -117,7 +117,7 @@ void eFW_RunFirewall(void *fwargs) { eurephia_log(ctx, LOG_PANIC, 0, "eFW_RunFirewall: Did not receive any shutdown ack: %s", strerror(errno)); } else { - eurephia_log(ctx, LOG_INFO, 1, "efw_iptables: Firewall interface shutdown"); + eurephia_log(ctx, LOG_INFO, 1, "efw_iptables: Firewall interface is shut down"); } } efwRemoveSemaphores(ctx, fwargs); |
