summaryrefslogtreecommitdiff
path: root/doc/security.texi
blob: 37165215ccd96c0581b343a13308d3325fcf2805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@node Security Considerations, Troubleshooting, Running Knot DNS, Top
@chapter Security Considerations

[TODO]
- faces the internet

If libcap-ng is available, Knot DNS on Linux takes advantage of
the POSIX 1003.1e capabilities. This mechanism breaks the a set of privileges
traditionally associated with the root into groups that can be set per-thread
and independently enabled or disabled. For more information, look up manual page
for capabilities(7).

Knot DNS uses strips exposed threads of most capabilities like file access,
privileged socket operations and such.
This mitigates potential remote exploits or at least the impact.