open-nomad/website/content/docs/configuration
Michael Schurter 2965dc6a1a
artifact: fix numerous go-getter security issues
Fix numerous go-getter security issues:

- Add timeouts to http, git, and hg operations to prevent DoS
- Add size limit to http to prevent resource exhaustion
- Disable following symlinks in both artifacts and `job run`
- Stop performing initial HEAD request to avoid file corruption on
  retries and DoS opportunities.

**Approach**

Since Nomad has no ability to differentiate a DoS-via-large-artifact vs
a legitimate workload, all of the new limits are configurable at the
client agent level.

The max size of HTTP downloads is also exposed as a node attribute so
that if some workloads have large artifacts they can specify a high
limit in their jobspecs.

In the future all of this plumbing could be extended to enable/disable
specific getters or artifact downloading entirely on a per-node basis.
2022-05-24 16:29:39 -04:00
..
acl.mdx docs: note that clients need to have ACLs enabled (#11799) 2022-01-07 16:18:41 -05:00
audit.mdx Adds documentation for file mode to sink docs (#10972) 2021-07-29 16:09:18 -04:00
autopilot.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
client.mdx artifact: fix numerous go-getter security issues 2022-05-24 16:29:39 -04:00
consul.mdx add go-sockaddr templating support to nomad consul address (#12084) 2022-02-24 09:34:54 -05:00
index.mdx docs: clairfy advertise.rpc effect 2022-02-25 16:02:29 -06:00
plugin.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
search.mdx docs: Fix minor fuzzy search things (#10423) 2021-04-21 14:55:17 -05:00
sentinel.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
server.mdx core: switch to go.etc.io/bbolt 2022-02-23 14:26:41 -06:00
server_join.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
telemetry.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
tls.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
ui.mdx ui: change Consul/Vault base URL field name (#11589) 2021-11-30 13:20:29 -05:00
vault.mdx vault: revert support for entity aliases (#12723) 2022-04-22 10:46:34 -04:00