]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
INFO on unknown clients, and rate-limit them
authorAlan T. DeKok <aland@freeradius.org>
Mon, 22 Dec 2014 20:22:41 +0000 (15:22 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 22 Dec 2014 20:22:41 +0000 (15:22 -0500)
src/main/process.c

index 9e23ec25ee6bba64709d2f342369b17cf501e96d..1e845b49d7174160d889b2b67fc090fd9c08c969 100644 (file)
@@ -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;
        }