diff options
author | David Sommerseth <dazo@eurephia.org> | 2015-01-08 15:10:49 +0100 |
---|---|---|
committer | David Sommerseth <dazo@eurephia.org> | 2015-01-08 15:16:03 +0100 |
commit | 0628a765e4ecdf44a966b9a3fd6717aca9b9d09f (patch) | |
tree | 040d39ce702693cb8bbcfbb8b107f79b4c9e8163 | |
parent | 51f8c8e930221cc5feeac4f84be5550b4e5be9dd (diff) | |
download | eurephia-0628a765e4ecdf44a966b9a3fd6717aca9b9d09f.tar.gz eurephia-0628a765e4ecdf44a966b9a3fd6717aca9b9d09f.tar.xz eurephia-0628a765e4ecdf44a966b9a3fd6717aca9b9d09f.zip |
plugin: Improved logging of not found addresses in eurephia_learn_address
If routing subnets over the VPN tunnel, OpenVPN will learn addresses
inside these subnets. As these IP addresses are not directly connected
to a eurephia session, these errors can be silenced in normal operation.
So this logging was moved to DEBUG().
Signed-off-by: David Sommerseth <dazo@eurephia.org>
-rw-r--r-- | plugin/eurephia.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugin/eurephia.c b/plugin/eurephia.c index a716e1d..049d4f6 100644 --- a/plugin/eurephia.c +++ b/plugin/eurephia.c @@ -839,9 +839,7 @@ int eurephia_learn_address(eurephiaCTX *ctx, const char *mode, const char *clien } } if( session == NULL ) { - eurephia_log(ctx, LOG_WARNING, 0, - "Could not find any session connected to the client address %s", - clientaddr); + DEBUG(ctx, 25, "[learn-address] Untracked IP address: %s", clientaddr); ret = 0; goto exit; } |