mirror of
https://github.com/nsupdate-info/nsupdate.info.git
synced 2026-04-25 08:35:56 +03:00
[GH-ISSUE #413] db perf issue with auth errors #301
Labels
No labels
bug
bug
duplicate
easy
easy
enhancement
enhancement
invalid
needs help
pull-request
scalability
security
task
urgent
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsupdate.info-nsupdate-info#301
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ThomasWaldmann on GitHub (Apr 9, 2019).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/413
some bad dyndns clients just retry again and again in case of e.g. authentication errors.
as we count auth errors in the Host record, this writes to the DB all the time ...
workaround: kill the Host record for such abusers, so there is no record to count something in.
fix: don't count.
@ThomasWaldmann commented on GitHub (Apr 9, 2019):
there is also an issue with the recorded
api_auth_result_msg- due to the timestamp in there, this is always a new message that also needs a db write.@ThomasWaldmann commented on GitHub (Apr 15, 2019):
also added BAD_HOSTS set in configuration, to block abusive hosts early, before they access the database.