mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Added some thoughts on how to harden the DHT.
This commit is contained in:
parent
803fbafc50
commit
ae6f898a9e
17
docs/DHT_hardening.txt
Normal file
17
docs/DHT_hardening.txt
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
List of possible attacks on the current DHT:
|
||||||
|
|
||||||
|
create thousands of fake nodes cloning one client_id and flood our DHT with
|
||||||
|
them.
|
||||||
|
|
||||||
|
create thousands of "real" nodes that do nothing but shit up our DHT with fake
|
||||||
|
crap.
|
||||||
|
|
||||||
|
...
|
||||||
|
|
||||||
|
Possible solutions:
|
||||||
|
|
||||||
|
Each client_id is the public key of the peer so it would be trivial to encrypt
|
||||||
|
the DHT requests with crypto_box(). This would completely defeat the first
|
||||||
|
attack.
|
||||||
|
|
||||||
|
...
|
Loading…
Reference in New Issue
Block a user