Add config param to disable the /admin/shutdown endpoint
See original GitHub issueIssue Type:
- Bug report
- Feature request
What happened:
Currently it is possible to shutdown any Linkerd instance by simple posting to the /admin/shutdown
endpoint.
While I can imagine that many scenarios appreciate this behavior, it might not always be the case and could lead to a decrease in availability if attackers repeatedly post to this endpoint.
What you expected to happen:
It would be nice to have a configuration parameter that allows to disable this endpoint.
How to reproduce it (as minimally and precisely as possible):
Start Linkerd locally and run the following command:
$ curl -v -X POST localhost:9990/admin/shutdown
Linkerd will shut down asap.
Anything else we need to know?:
Environment:
- linkerd/namerd version, config files: Latest version, any config that enables the admin server
- Platform, version, and config files (Kubernetes, DC/OS, etc): OS X
- Cloud provider or hardware configuration:
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (10 by maintainers)
Top Results From Across the Web
Server Control Utility Reference - Oracle Help Center
To add, modify, manage environment variables for, list the configuration of, enable, disable, start, stop, and obtain the status of databases, and also...
Read more >NICE DCV Server Parameter Reference - AWS Documentation
The following table describes the configuration parameters in the [display] section of the /etc/dcv/dcv.conf file for Linux NICE DCV servers, and the display ......
Read more >Administration interface — envoy 1.25.0-dev-357bf0 ...
Adds or modifies runtime values as passed in query parameters. To delete a previously added key, use an empty string as the value....
Read more >Agents - Configuration File Reference | Consul
Use agent configuration files to assign attributes to agents and configure multiple agents at once. Learn about agent configuration file parameters and ...
Read more >New-CMTSStepDisableBitLocker (ConfigurationManager)
Note Run Configuration Manager cmdlets from the Configuration Manager site drive, ... Create a Disable BitLocker step, which you can add to a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also a big thanks to @robertpanzer for taking the lead on this long outstanding issue! 🙏
That sounds great. I would just like to also have a whitelist in addition. When we add own pages to the admin ui we should be able to whitelist them explicitly without having to open everything.