Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
12c52fb6
Commit
12c52fb6
authored
Oct 16, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fail2ban: improbe named-refused
parent
c8276258
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
named-refused.conf
fail2ban/filter.d/named-refused.conf
+5
-0
named-refused
fail2ban/test.d/named-refused
+4
-0
No files found.
fail2ban/filter.d/named-refused.conf
View file @
12c52fb6
...
...
@@ -32,6 +32,11 @@ __line_prefix=(?:\s\S+ %(__daemon_combs_re)s\s+)?
failregex
=
error
\(
unexpected
RCODE
SERVFAIL
\)
resolving
\
'.*/IN\'
: <
HOST
>
#53$
error
\(
unexpected
RCODE
REFUSED
\)
resolving
'.*/IN'
: <
HOST
>
#53$
error
\(
FORMERR
\)
resolving
'.*/IN'
: <
HOST
>
#53$
client
<
HOST
>
#.*: query \(cache\) '.*/IN' denied
# Oct 16 03:08:38 ns4 named[4784]: client 121.14.142.9#43360 (37349.info): query (cache) '37349.info/ANY/IN' denied
# http://www.zytrax.com/books/dns/ch7/queries.html
# http://ab.16mb.com/2010/03/errors-dns/
# https://kb.isc.org/article/AA-00503/0/Whats-the-difference-between-allow-query-cache-and-allow-recursion.html
# named[24036]: DNS format error from 204.13.160.143#53 resolving ja.ru/MX for client 91.232.225.46#33549: Name ru (SOA) not subdomain of zone ja.ru -- invalid response
#failregex = $
...
...
fail2ban/test.d/named-refused
View file @
12c52fb6
Oct 15 13:39:23 server named[4111]: error (unexpected RCODE REFUSED) resolving '158.107.4.210.in-addr.arpa/PTR/IN': 202.69.165.8#53
Oct 15 13:38:34 server named[4111]: error (unexpected RCODE SERVFAIL) resolving '221.236.254.85.in-addr.arpa/PTR/IN': 193.0.9.6#53
Oct 15 13:38:34 server named[4111]: error (FORMERR) resolving 'oreol.info/MX/IN': 207.189.109.119#53
Oct 16 03:08:38 ns4 named[4784]: client 121.14.142.9#43360 (37349.info): query (cache) '37349.info/ANY/IN' denied
Oct 16 04:35:47 ns4 named[8532]: client 180.218.34.12#9546 (ALT2.ASPMX.L.GOOGLE.COM): query (cache) 'ALT2.ASPMX.L.GOOGLE.COM/A/IN' denied
#Oct 16 03:10:37 ns4 named[4784]: error (network unreachable) resolving 'bt.nnm-club.ru/AAAA/IN': 2001:470:26:482::2#53
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment