Comments (5)
@mitchellh This is special. Apparently linux only applies setuid
to the current thread... https://groups.google.com/forum/?fromgroups=#!topic/golang-nuts/BZWXqv3YSg4
Not sure of a sane way to do this, since the runtime has at least like 9 threads...
from consul.
Maybe it's best to just run bind on 53 and have it forward *.consul to consul instead. It would simplify things a bit and also provides a little insulation / scalability.
from consul.
@andrewwatson Great point. bind can also be used as a recursor instead of consul
from consul.
Agreed that that is the best course of action. CLOSING!
from consul.
I strongly advise not to use setuid for this. It will give the process too much permissions. You should stick to a saner solution like giving the process the kernel capability CAP_NET_BIND_SERVICE
. This will only allow binding on port 1023, nothing else. You can easily set this capability via systemd service files.
from consul.
Related Issues (20)
- Add return code to dns debug log and dns metrics
- Reproducible grpcWeirdError
- Consul HealthCheck timeout
- Link Checker Report
- Nonlocal Datadog Agent Does not Get Properly Configured HOT 1
- Option to deactivate the default subset (Service Mesh)
- Was able to connect to consul-1 over TCP but UDP probes failed, network may be misconfigured
- Link Checker Report
- Cannot set initial_stream_window_size/initial_connection_window_size on service-defaults
- consul server become to nonvoter and fails to select a leader HOT 1
- Link Checker Report
- Incorrect validation of proxy-defaults update HOT 9
- Can the Consul API SDK support custom QueryOptions HOT 4
- Link Checker Report
- Link Checker Report
- Consul web-ui services search-bar, when start typing, loses focus on every character input HOT 3
- Disabling server_rejoin_age_max or its handling HOT 1
- special characters in service id,can not deregister HOT 2
- Terminating Gateway Routing to SM Service Instances
- Incorrect documentation around ACL token deletion.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from consul.