toxcore/core
irungentoo 97f449a2f1 Fixed spam problem. (I broke the API so this will not build)
The friend address is what the byte string that you give away for people
to add you will be called.

1. Every friend address now contains a number set by the friend. This is
to prevent someone from randomly spamming people in the DHT with friend
requests and makes it so you need the person to actually give you the
address in some way to send the friend request. This number is expected
to be encrypted with the friend request. All requests that do not
contain this number will be rejected. This means the spammer can no
longer use the DHT to collect lists of valid addresses to spam. It also
enables users to quickly change the number in case a spammer gets hold
of the address and starts spamming it.

2. A 2 byte checksum will be added (not implemented yet) to prevent
people from accidentally adding random strings as friends. (NOTE that
this has nothing to do with the spam problem I just decided to add a
placeholder for it now.)
2013-08-13 09:32:31 -04:00
..
CMakeLists.txt Implemented Deadline Timer and timer_test 2013-08-12 13:08:03 +01:00
DHT.c tabs -> spaces 2013-08-10 11:27:36 +01:00
DHT.h network_registerhandler 2013-08-10 00:43:50 +01:00
friend_requests.c Fixed spam problem. (I broke the API so this will not build) 2013-08-13 09:32:31 -04:00
friend_requests.h Fixed spam problem. (I broke the API so this will not build) 2013-08-13 09:32:31 -04:00
LAN_discovery.c tabs -> spaces 2013-08-10 11:27:36 +01:00
LAN_discovery.h network_registerhandler 2013-08-10 00:43:50 +01:00
Lossless_UDP.c tabs -> spaces 2013-08-10 11:27:36 +01:00
Lossless_UDP.h network_registerhandler 2013-08-10 00:43:50 +01:00
Messenger.c Fixed spam problem. (I broke the API so this will not build) 2013-08-13 09:32:31 -04:00
Messenger.h Fixed spam problem. (I broke the API so this will not build) 2013-08-13 09:32:31 -04:00
net_crypto.c Merge pull request #422 from slvr/crypto-speed-boost 2013-08-10 16:20:54 -07:00
net_crypto.h Implemented encrypt_data_fast, decrypt_data_fast and crypto tests 2013-08-10 17:41:32 +01:00
network.c tabs -> spaces 2013-08-10 11:27:36 +01:00
network.h Fixed warnings on Windows 2013-08-11 14:17:02 -04:00
packets.h core: Move send ping packets functions to ping.c 2013-08-06 09:21:39 -07:00
ping.c handle_ping_response function signature correction 2013-08-10 19:55:54 +01:00
ping.h network_registerhandler 2013-08-10 00:43:50 +01:00
timer.c Portabily print out uint64_t using PRIu64 2013-08-13 09:55:49 +01:00
timer.h timer_new -> new_timer and timer_delete -> delete_timer to avoid name conflict 2013-08-13 09:45:11 +01:00
util.c core: Move send ping packets functions to ping.c 2013-08-06 09:21:39 -07:00
util.h Kill EOF whitespace. 2013-08-09 20:46:17 +02:00