summaryrefslogtreecommitdiff
path: root/toxcore/onion_client.h
AgeCommit message (Collapse)Author
2015-03-11tox_callback_connection_status() implemented.irungentoo
Attempted fix of connection checking to make it more stable.
2015-02-14Code cleanups.irungentoo
2015-02-12Code Cleanups.irungentoo
2015-02-11Code Cleanups.irungentoo
2015-02-09Code Cleanups.irungentoo
2015-02-09Code Cleanups.irungentoo
2015-02-09Code cleanups.irungentoo
2015-02-09Code cleanups.irungentoo
2015-01-21Code cleanups.irungentoo
2015-01-11Attempted fix of Tox killing routers.irungentoo
This commit makes tox use one Onion_Client_Paths struct for all friends instead of one per friend. This should lower the number of ips tox sends packets to which is what I think causes the router issues.
2015-01-05Reduced timeout of onion paths on the first try by 1 second.irungentoo
2014-12-29Adjusted onion timeouts.irungentoo
2014-12-25Onion client improvements.irungentoo
Put bootstrap nodes in a separate list than known good nodes.
2014-12-22Improved detection of dead paths.irungentoo
2014-11-21Cleaned up packet length types in toxcore.irungentoo
They are now all uint16_t instead of sometimes being uint32_t. Replaced some other uint32_t with unsigned ints.
2014-11-20Tox clients now should show they are offline with much better precision.irungentoo
2014-11-02This might fix some peer finding issues.irungentoo
2014-09-27Increasing max number of onion paths might increase initial connectionirungentoo
speed.
2014-09-26Removed useless code from onion_client.irungentoo
Astyled.
2014-09-26Added callbacks to onion_client and net_crypto for the temp dht key.irungentoo
Better than the polling mess. Moved DHT to Messenger from onion_client (still needs some cleanups).
2014-08-18Speeded up onion friend finding.irungentoo
2014-08-14Function to save path nodes.irungentoo
Forgot to commit it with before last commit.
2014-08-14tox_isconnected() now works on TCP only.irungentoo
2014-08-13Tox should now work on TCP only networks.irungentoo
Coming soon: a function to disable UDP.
2014-08-08Added path_nodes array and add_path_node() function.irungentoo
2014-06-30Const-correctness for onion_client.cMarc Schütz
2014-06-30Const correctness for toxcore/Messenger.c and related filesMarc Schütz
2014-06-13Const correctness in toxcore/onion_client.cMarc Schütz
2014-06-10Astyle and fixes.irungentoo
2014-06-10Const correctness in various interdependent filesMarc Schütz
2014-05-19Removed now useless code.irungentoo
2014-05-18TCP branch now ready for start of real testing.irungentoo
Friends can now exchange TCP relay addresses so that they can connect together. Currently all bootstrap nodes are treated as TCP relays.
2014-05-17Added function to set the DHT public key in onion_client.irungentoo
2014-05-17Net_crypto can now handle packets sent as TCP OOB packets.irungentoo
Added timestamp to know which DHT public key is good in case onion_client and net_crypto report different ones.
2014-05-12Use ping_array to store onion announce information instead of sendingirungentoo
over a huge cookie. This reduces the size of the onion announce packets by 100 bytes.
2014-05-08Merge branch 'master' into TCPirungentoo
2014-05-02Messenger now works with the new net_crypto api.irungentoo
Added callbacks in net_crypto for the data packets and status changes. Added onion_getfriend_DHT_pubkey to onion_client. Net crypto isn't done yet so connections between toxes are not lossless, this means file sending is broken hence why the test fails.
2014-04-23Major cleanups.irungentoo
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.
2014-04-21Crypto related cleanups.irungentoo
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.
2014-04-16multiple spelling fixesCarlos E. Garcia
2014-03-09Reduced the number of useless onion packets sent.irungentoo
2014-03-03Some small changes/fixes.irungentoo
Changed some timeouts and made cryptopacket_handle return correctly.
2014-03-03Made onion paths expire eventually client side.irungentoo
2014-02-28Very simple fix to lower bandwidth usage at startup.irungentoo
2014-02-26Major speed/cpu usage/bandwidth improvements to onion.irungentoo
2014-02-13Onion now eventualy deletes friends from the DHT search.irungentoo
This should improve long term bandwidth usage by a bit.
2014-01-21Adjusted some timeouts.irungentoo
2014-01-20Fakeid packets are now also sent via the DHT.irungentoo
2014-01-19Small protocol change for more replay attack prevention.irungentoo
see the changes to Prevent_Tracking.txt
2014-01-19Added no_replay and added some things to the docs.irungentoo