summaryrefslogtreecommitdiff
path: root/toxcore/onion_client.c
AgeCommit message (Collapse)Author
2014-09-21Tox is now shown as being online only when properly announced.irungentoo
2014-09-07Updated docs.irungentoo
Fixed possible issue in last commit.
2014-09-06This fixes an issue where nodes could stay unannounced for certainirungentoo
periods of time. Online nodes should now be able to announce themselves continuously.
2014-08-28Fixed gcc warnings.irungentoo
2014-08-18Speeded up onion friend finding.irungentoo
2014-08-14Added disabling of UDP and basic SOCKS5 proxy support to public API.irungentoo
tox_new() now takes a Tox_Options struct as argument. If a NULL pointer is passed to that struct, defaults are used.
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-13Tox now closer to working on TCP only networks.irungentoo
Use TCP paths when UDP is not connected. Made some code depend less on the UDP only DHT.
2014-08-13If the path is a TCP one, the onion packet is sent with TCP.irungentoo
2014-08-12Fixed bug that led to increased bandwidth usage.irungentoo
2014-08-12Onion packets can now be received via TCP.irungentoo
2014-08-12No longer rely on source ip to get the path the packet was sent with.irungentoo
2014-08-11Some code refactoring to make passing onion packets through TCP easier.irungentoo
2014-08-10Fixed bug.irungentoo
2014-08-09Merge branch 'remove-sort_list' of https://github.com/pyruvate/toxcoreirungentoo
2014-08-09Onion paths creation no longer dependent on DHT only.irungentoo
2014-08-08Added path_nodes array and add_path_node() function.irungentoo
2014-08-07Increased ping interval time to decrease bandwidth usage.irungentoo
This should not increase the time it takes for people to find themselves.
2014-07-08Fixed possible out of bounds read.irungentoo
2014-07-02Merge branch 'const_correctness' of https://github.com/schuetzm/ProjectTox-Coreirungentoo
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-20Fix CppCheck style errorsTux3 / Mlkj / !Lev.uXFMLA
#if 0 the content of toxav/msi.c : int stringify_message(MSIMessage *msg, char *dest) This function has no effect and does not seem to be used for actively waiting. Fix various other style errors, reduce scope when possible, avoid redundant writes, clarify operator priorities, etc.
2014-06-18Preparation work to make onion packets go through TCP.irungentoo
2014-06-15Astyled code.irungentoo
2014-06-13Const correctness for various packet callbacksMarc 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-17add_tcp_relay_peer() can be used to add relays that we know thatirungentoo
peer is connected to. Some cleanups/fixes.
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-14Added OOB packets to the TCP client and server.irungentoo
2014-05-14It's bad to have more than one path with the same first node in theirungentoo
same path array.
2014-05-13pack/unpack nodes can now pack and unpack TCP nodes.irungentoo
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-07Fixed bug.irungentoo
memcmp is easy to confuse visually with memcpy but they do very different things. It was also comparing (copying) the senders real public key with their DHT public key.
2014-05-06Removed useless code.irungentoo
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-25The data in the DHT get nodes and send nodes packets can now be ofirungentoo
variable length.
2014-04-23Updated some files so that they could build with latest core.irungentoo
Fixed some issues.
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-16Some speedups and small fixes.irungentoo
2014-04-16multiple spelling fixesCarlos E. Garcia