From: Alan T. DeKok Date: Mon, 22 Dec 2014 20:22:41 +0000 (-0500) Subject: INFO on unknown clients, and rate-limit them X-Git-Tag: release_3_0_7~416 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7af8ca5435beed83bdc6fed79bc17f15deb84dc;p=thirdparty%2Ffreeradius-server.git INFO on unknown clients, and rate-limit them --- diff --git a/src/main/process.c b/src/main/process.c index 9e23ec25ee6..1e845b49d71 100644 --- a/src/main/process.c +++ b/src/main/process.c @@ -1279,7 +1279,7 @@ static int CC_HINT(nonnull) request_pre_handler(REQUEST *request, UNUSED int act } if (rcode < 0) { - RDEBUG("Dropping packet without response because of error: %s", fr_strerror()); + RATE_LIMIT(INFO("Dropping packet without response because of error: %s", fr_strerror())); request->reply->offset = -2; /* bad authenticator */ return 0; }