summaryrefslogtreecommitdiff
path: root/protocols/Tox/toxcore/docs/updates/Spam-Prevention.md
blob: a0713fd1e692bb604c353ed008f58d17a5bf4786 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
 
Situation 1:
Someone randomly goes around the DHT sending friend requests to everyone.

Prevented by:
Every friend address: 
[client_id (32 bytes)][nospam number (4 bytes)][checksum (2 bytes)] 
contains a number (nospam).

The nospam in every friend request to that friend must be that number.

If not it is rejected.