mirror of
https://github.com/nsupdate-info/nsupdate.info.git
synced 2026-04-25 08:35:56 +03:00
[PR #429] [MERGED] add BAD_HOSTS setting for nasty clients #506
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#506
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?
📋 Pull Request Information
Original PR: https://github.com/nsupdate-info/nsupdate.info/pull/429
Author: @ThomasWaldmann
Created: 4/15/2019
Status: ✅ Merged
Merged: 4/15/2019
Merged by: @ThomasWaldmann
Base:
master← Head:bad-hosts📝 Commits (1)
4c49ef5add BAD_HOSTS setting for nasty clients📊 Changes
2 files changed (+13 additions, -3 deletions)
View changed files
📝
src/nsupdate/api/views.py(+7 -3)📝
src/nsupdate/settings/base.py(+6 -0)📄 Description
having one who updates every 5s with a invalid password.
this locks the database (due to it increasing auth fail count and msg)
all the time, so i can't even delete that host from django admin.
also: Response now get a status parameter, defaulting to 200.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.