mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 19:25:56 +03:00
[GH-ISSUE #1525] Log format to write fail2ban rules #694
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#694
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 @williamdes on GitHub (Jul 19, 2021).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1525
Is your feature request related to a problem? Please describe.
The pizzaseo is filling my logs and wasting performance, I need to have a better way to have a log format.
Now I use
--debugto have the Ip address printed out but it is not practical because it is not on the same line as the requesthttps://www.teaparty.net/technotes/dns-fail2ban.html
Describe the solution you'd like
Custom log format, or format
%type %name %ipDescribe alternatives you've considered
Writing a multi line ruleAdditional context
The pizzaseo attack is one you can Google about, my server I recently started is now filled with the requests 24/7
@williamdes commented on GitHub (Aug 30, 2021):
Hi @bluejekyll
What do you think about this one ?
@bluejekyll commented on GitHub (Aug 30, 2021):
This sounds like a good feature. I'll need to review the logs and see where this can be extracted to make sure we get the information you're interested in.
@williamdes commented on GitHub (Aug 30, 2021):
Thanks, let me know if you need some testing 🚀
The pizzaseo attack is well known and a big pain ..
Needed:
@bluejekyll commented on GitHub (Sep 3, 2021):
Ok, looking at this, I think there are two things. I think we should create a blocklist for query's that would possibly allow for blocking of malicious queries. For this issue though, I will create a simplified log line for this.