holepunchto / hyperswarm-dht-relay

Relaying the Hyperswarm DHT over other transport protocols to bring decentralized networking to everyone
ISC License
43 stars 10 forks source link

Support configurable quality of service controls #9

Open kasperisager opened 2 years ago

kasperisager commented 2 years ago

When running a DHT relay as a service, the service is currently susceptible to DoS attacks as a bad actor can easily saturate the relay. We should provide some sort of configurable QoS controls to allow relay operators to mitigate this.

Some initial ideas:

serapath commented 1 year ago

can this be a modular?

when it is used on localhost any overhead seems unnecessary, because the user is the only one interacting with the relay