Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

[Request] Add sentry node configuration #264

Closed
asmodat opened this issue May 20, 2019 · 8 comments
Closed

[Request] Add sentry node configuration #264

asmodat opened this issue May 20, 2019 · 8 comments
Assignees
Labels
J0-enhancement An additional feature request.

Comments

@asmodat
Copy link

asmodat commented May 20, 2019

Enable sentry node configuration of polkadot service in order not to expose validator node directly to the hostile environment.

That is provide a way to mitigate DDOS, and disallow external connections to be made directly to validator node.

@rphmeier rphmeier added the J0-enhancement An additional feature request. label May 28, 2019
@lsaether
Copy link
Contributor

lsaether commented Jun 8, 2019

As I understand sentry nodes, they are nodes which are connected to the gossip network and provide a layer of separation to the validator. That way in case of DDOS attacks, it would only take down the sentries and hopefully a validator is running a few of them to be resilient.

Would it be possible to mimic this function by passing flags to the cli? Something like this:

$ polkadot  --no-mdns --validator  --out-peers 1 --in-peers 0 --bootnodes <URL_of_your_sentry>

@xlc
Copy link
Contributor

xlc commented Jun 8, 2019

there is reserved-nodes flag that can be used for this purpose.

@dbpatty
Copy link

dbpatty commented Jun 27, 2019

so is it now possible in Alexander to configure a sentry?

@lsaether
Copy link
Contributor

It should be possible if you're willing to do some tinkering :)

Otherwise, there is currently a bounty being worked on w3f/General-Grants-Program#122 that will deliver a configuration and guide for setting up sentry nodes.

@gavofyork
Copy link
Member

@mxinden is working on this.

@mxinden
Copy link
Contributor

mxinden commented Jul 10, 2019

Current status: Sentry node setup can be simulated via substrate/blob/master/scripts/sentry-node/docker-compose.yml with blocks being produced and finalized.

Next up: A way to authenticate a sentry node as a valid sentry node for a given validator. This enables validators to keep long living connections to other validators even when only accessible through sentry nodes.

@dbpatty
Copy link

dbpatty commented Jul 15, 2019

Ty I'll study it

@gilescope
Copy link
Contributor

closing as sentry nodes are not needed any more.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
J0-enhancement An additional feature request.
Projects
None yet
Development

No branches or pull requests

8 participants