question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add config param to disable the /admin/shutdown endpoint

See original GitHub issue

Issue 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:closed
  • Created 5 years ago
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
adleongcommented, Jul 5, 2018

Also a big thanks to @robertpanzer for taking the lead on this long outstanding issue! 🙏

0reactions
robertpanzercommented, Jul 5, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found