[PR #429] [MERGED] add BAD_HOSTS setting for nasty clients #506

Closed
opened 2026-02-26 10:31:50 +03:00 by kerem · 0 comments
Owner

📋 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: masterHead: bad-hosts


📝 Commits (1)

  • 4c49ef5 add 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.

## 📋 Pull Request Information **Original PR:** https://github.com/nsupdate-info/nsupdate.info/pull/429 **Author:** [@ThomasWaldmann](https://github.com/ThomasWaldmann) **Created:** 4/15/2019 **Status:** ✅ Merged **Merged:** 4/15/2019 **Merged by:** [@ThomasWaldmann](https://github.com/ThomasWaldmann) **Base:** `master` ← **Head:** `bad-hosts` --- ### 📝 Commits (1) - [`4c49ef5`](https://github.com/nsupdate-info/nsupdate.info/commit/4c49ef5613c2f4bc8cdae1320efe4ca6fe47b4c5) add BAD_HOSTS setting for nasty clients ### 📊 Changes **2 files changed** (+13 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/nsupdate/api/views.py` (+7 -3) 📝 `src/nsupdate/settings/base.py` (+6 -0) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 10:31:50 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nsupdate.info-nsupdate-info#506
No description provided.