diff --git a/cherokee/connection.c b/cherokee/connection.c index e11c01c3f..f8ad1c624 100644 --- a/cherokee/connection.c +++ b/cherokee/connection.c @@ -2390,6 +2390,7 @@ cherokee_connection_check_ip_validation (cherokee_connection_t *conn, cherokee_c return ret_ok; } + LOG_ERROR_S(CHEROKEE_ERROR_CONNECTION_CHECK_IP); conn->error_code = http_access_denied; return ret_error; } diff --git a/cherokee/error_list.py b/cherokee/error_list.py index 146c6f90c..2320b7506 100644 --- a/cherokee/error_list.py +++ b/cherokee/error_list.py @@ -981,6 +981,10 @@ title = "Could not get virtual server: '%s'", desc = CODING_BUG) +e('CONNECTION_INVALID_IP', + title = "The connection's IP is not allowed", + desc = "This IP is not allowed, please check IP or subnet configuration.") + # cherokee/ncpus.c #