open-consul/agent/configentry
Paul Glass d8d89d4b59
Permissive mTLS (#17035)
This implements permissive mTLS , which allows toggling services into "permissive" mTLS mode.
Permissive mTLS mode allows incoming "non Consul-mTLS" traffic to be forward unmodified to the application.

* Update service-defaults and proxy-defaults config entries with a MutualTLSMode field
* Update the mesh config entry with an AllowEnablingPermissiveMutualTLS field and implement the necessary validation. AllowEnablingPermissiveMutualTLS must be true to allow changing to MutualTLSMode=permissive, but this does not require that all proxy-defaults and service-defaults are currently in strict mode.
* Update xDS listener config to add a "permissive filter chain" when MutualTLSMode=permissive for a particular service. The permissive filter chain matches incoming traffic by the destination port. If the destination port matches the service port from the catalog, then no mTLS is required and the traffic sent is forwarded unmodified to the application.
2023-04-19 14:45:00 -05:00
..
config_entry.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
discoverychain.go Add default resolvers to disco chains based on the default sameness group (#16837) 2023-03-31 14:35:56 -04:00
doc.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
merge_service_config.go Permissive mTLS (#17035) 2023-04-19 14:45:00 -05:00
merge_service_config_test.go Permissive mTLS (#17035) 2023-04-19 14:45:00 -05:00
resolve.go Permissive mTLS (#17035) 2023-04-19 14:45:00 -05:00
resolve_test.go Permissive mTLS (#17035) 2023-04-19 14:45:00 -05:00
service_config.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00