mirror of
https://github.com/TokTok/c-toxcore
synced 2026-06-06 13:22:46 +00:00
13 lines
320 B
Markdown
13 lines
320 B
Markdown
|
|
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.
|