Age | Commit message (Collapse) | Author |
|
Removed some useless code from toxcore.
Astyled core code with new version of astyle.
|
|
over a huge cookie.
This reduces the size of the onion announce packets by 100 bytes.
|
|
Fixed some issues.
|
|
Fixed circular dependency between DHT and net_crypto: DHT no longer
depends on net_crypto.
Moved the crypto request packets functions to crypto core and DHT.
Cleaned up/added some defines that can be used to get the true maximum
length of things like the friends request message.
MAX_DATA_SIZE has been replaced in most places by more appropriate defines.
|
|
Started writing the code.
Astyled some files.
|
|
Moved Bunch of functions from net_crypto to crypto_core.
decrypt_data_fast and decrypt_data_symmetric were the same thing
therefore, removed decrypt_data_fast.
Replaced all the crypto_secretbox_* defines with the equivalent
crypto_box_* one.
New define: crypto_box_KEYBYTES that is equal to
crypto_box_BEFORENMBYTES.
|
|
|
|
Removed a bunch of useless space from various structs.
pack_nodes() and unpack_nodes() are now used to transmit lists of
nodes for the DHT and onion parts. They provide a way to transmit
both ipv6 and ipv4 nodes in the same packet in a portable way that
takes as little space as possible without compression.
Using pack_nodes, merged the send nodes and send nodes ipv6 packets
into one packet greatly reducing the risk of amplification attacks.
|
|
Use get_shared_key() in more places.
|
|
|
|
|
|
|
|
define DHT_SERVER_EXTRA_PACKETS to enable.
|
|
|
|
see the changes to Prevent_Tracking.txt
|
|
Fixed a couple of issues related to that.
|
|
oniondata_registerhandler(...) can be used to register different packet
types to handle them and send_onion_data(...) can be used to send these
packets.
|
|
|
|
|
|
|
|
It's more useful this way.
|
|
Added a way to know if a announce response is valid.
|
|
Stuff added and fixed.
|
|
|
|
|
|
|
|
|