slush0 / stratum-mining

Demo implementation of Bitcoin mining pool on Stratum protocol
Other
246 stars 207 forks source link

ddos protect on stratum-mining protocol #10

Closed originated closed 10 years ago

originated commented 10 years ago

Is there any sevice/method to ddos protect the stratum process?

sicksvt commented 10 years ago

Curious about this also. Services like cloudflare dont work with stratum+tcp://

Because of this it is easy for an attacker to get your direct IP since you show the stratum address publicly.

slush0 commented 10 years ago

Cloudflare and others can protect only HTTP traffic. Stratum is TCP so there's no easy way of DDoS mitigation using these popular services.

I have no experience with hardware firewalls with capability of specifying application protocol filters, but from my experience the most common DDoS attack is dumb SYN flood, so any SYN flooding protection should be enough.

scottie commented 10 years ago

cant you just protect it with TCP, adding a SRV record to DNS?? cloudflare fully supports this.

sicksvt commented 10 years ago

I called cloudflare and they said they do not support this. They will only forward web traffic. Part of the reason might be because they only support a few specific ports.