Skip to content

Commit

Permalink
INFO on unknown clients, and rate-limit them
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Dec 22, 2014
1 parent 9acfb72 commit e7af8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/process.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit e7af8ca

Please sign in to comment.