OpenSearch/docs/reference/setup/sysconfig
Jason Tedor 2afa7faefd
Override the JVM DNS cache policy (#36570)
When a security manager is present, the JVM will cache positive hostname
lookups indefinitely. This can be problematic, especially in the modern
world with cloud services where DNS addresses can change, or
environments using Docker containers where IP addresses could be
considered ephemeral. This behavior impacts cluster discovery,
cross-cluster replication and cross-cluster search, reindex from remote,
snapshot repositories, webhooks in Watcher, external authentication
mechanisms, and the Elastic Stack Monitoring Service. The experience of
watching a DNS lookup change yet not be reflected within Elasticsearch
is a poor experience for users. The reason the JVM has this is guard
against DNS cache posioning attacks. Yet, there is already a defense in
the modern world against such attacks: TLS. With proper certificate
validation, even if a resolver falls prey to a DNS cache poisoning
attack, using TLS would neuter the attack. Therefore we have a policy
with dubious security value that significantly impacts usability. As
such we make the usability/security tradeoff towards usability, since
the security risks are very low. This commit introduces new system
properties that Elasticsearch observes to override the JVM DNS cache
policy.
2018-12-13 10:23:45 -05:00
..
configuring.asciidoc Reorganize configuring Elasticsearch docs 2017-12-12 10:24:37 -05:00
dns-cache.asciidoc Override the JVM DNS cache policy (#36570) 2018-12-13 10:23:45 -05:00
executable-jna-tmpdir.asciidoc Add docs on JNA temp directory not being noexec (#35355) 2018-11-07 22:25:37 -05:00
file-descriptors.asciidoc
swap.asciidoc Add docs on JNA temp directory not being noexec (#35355) 2018-11-07 22:25:37 -05:00
threads.asciidoc Clarify that number of threads is set by packages 2017-12-15 11:29:13 -05:00
virtual-memory.asciidoc Remove reference to non-existent store type (#32418) 2018-07-27 11:24:03 -04:00