6 Commits

Author SHA1 Message Date
Thomas Waldmann
1792c69223 strip prefix-length / netmask if present, fixes #470 2021-11-08 23:34:33 +01:00
Thomas Waldmann
4c49ef5613 add BAD_HOSTS setting for nasty clients
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.
2019-04-15 18:57:54 +02:00
Thomas Waldmann
a1c090eeb7 fix logging crash, fixes #424 2019-04-09 22:20:22 +02:00
Thomas Waldmann
6f60f66e0d logging: more precise api auth failure logging, fixes #416
log the early failure at DEBUG and only the late failure at WARNING.
2019-04-09 20:28:42 +02:00
Thomas Waldmann
849c06d6d4 logging: demote "no auth" to DEBUG level, fixes #415 2019-04-09 20:28:25 +02:00
Thomas Waldmann
6f5ab5b4c8 git mv nsupdate src/ 2019-04-04 01:04:16 +02:00