bisq-network / bisq2

GNU Affero General Public License v3.0
195 stars 69 forks source link

Use Tor PoW Dos protection #1147

Open HenrikJannsen opened 1 year ago

HenrikJannsen commented 1 year ago

Tor announced their Dos protection mechanism based on PoW [1] which is conceptually similar to Bisq2 P2P network DoS protection.

We should look into the details of their solution and compare it to our solution.

[1] https://blog.torproject.org/introducing-proof-of-work-defense-for-onion-services/

aspire2dev commented 1 year ago

Such an interesting topic...

For those interested, I suggest reading the FAQ, if not the entire thing, the detailed questions section:

Interesting as well is a read on the release notes:

But this also brought me a few questions on regards to the operations of Bisq (1 and 2), as both rely on TOR to connect the different parties.

One other interesting point, it's already available on final builds since.

ChangeLog:
Changes in version 0.4.8.4 - 2023-08-23
 Finally, this is the very first stable release of the 0.4.8.x series making
 Proof-of-Work (prop#327) and Conflux (prop#329) available to the entire
 network.

Just some initial thoughts.

namloan commented 11 months ago

taking this

HenrikJannsen commented 4 months ago

@namloan Are you still working on that?

namloan commented 3 months ago

Nope, free for anyone to take.

HenrikJannsen commented 3 months ago

We could add the tor pow parameters to torrc file to benefit from tor pow protection.