summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-23Fixed the DHT bootstrap daemon.irungentoo
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-22Decided pretty much how the handshake would work.irungentoo
Started writing the code. Astyled some files.
2014-04-21Fixed test.irungentoo
2014-04-21Fixed a test.irungentoo
Removed function from Messenger.h
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-20Small cleanup.irungentoo
2014-04-19Removed deprecated function from public api.irungentoo
Added upper length check to friendreq_handlepacket().
2014-04-19Small cleanups.irungentoo
2014-04-19Fixed possible buffer overflow in function to send friend requests.irungentoo
2014-04-19Autoconf apparently gives us a nice define for processor endianess.irungentoo
2014-04-19Fixed possible pointer issues.irungentoo
2014-04-18Added text document explaining what needs to be done before TCP can be merged.irungentoo
2014-04-18Added function to increment nonce by specified number.irungentoo
Nonces now behave like big endian numbers.
2014-04-17Fixed build issues.irungentoo
2014-04-16Some speedups and small fixes.irungentoo
2014-04-16DHT_bootstrap.c now has TCP server functionality enabled.irungentoo
Fixed a regression (same type as last commit).
2014-04-15Fixed regression, announce responses can contain 0 nodes.irungentoo
2014-04-15Major protocol changes, this commit breaks all network compatibility.irungentoo
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.
2014-04-14Added function to TCP client and some tests.irungentoo
2014-04-13TCP_client pretty much done?irungentoo
Now next step is integrating it in tox. Added TCP server functionality to bootstrap server (define TCP_RELAY_ENABLED to enable it.)
2014-04-13sockets: support Mac OS X way of disabling SIGPIPE on a socketSteven Noonan
Mac OS X doesn't have MSG_NOSIGNAL, so we need to use SO_NOSIGPIPE. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2014-04-12Pings and onion packets implemented in TCP_Client.cirungentoo
Astyled one test and added a couple lines to another.
2014-04-11Some code written for the TCP part.irungentoo
2014-04-10Added TCP test to build system.irungentoo
2014-04-09Merge branch 'avfix' of https://github.com/aitjcize/ProjectTox-Core into ↵irungentoo
aitjcize-avfix
2014-04-09whitespace fix & proper use of "i.e.,"Carlos E. Garcia
2014-04-10Fix memory leak.AZ Huang
2014-04-09Fix phone.cAZ Huang
2014-04-08Merge branch 'openbsd' of https://github.com/czarkoff/ProjectTox-Core into ↵irungentoo
czarkoff-openbsd
2014-04-08Add /usr/local/{include,lib} to search paths on OpenBSDDmitrij D. Czarkoff
2014-04-08Drop typedef redeclarationsDmitrij D. Czarkoff
C99 doesn't permit redeclaring typedefs in the same scope.
2014-04-08Include 'netinet/in_systm.h' on OpenBSDDmitrij D. Czarkoff
Otherwise 'n_time' is undefined.
2014-04-07Merge branch 'master' of https://github.com/mannol1/ProjectTox-Core into ↵irungentoo
mannol1-master
2014-04-07Bug fixmannol
2014-04-06Added TCP_client.irungentoo
Some work done on the TCP part.
2014-04-06Merge branch 'master' of https://github.com/mannol1/ProjectTox-Core into ↵irungentoo
mannol1-master
2014-04-06Codec settingsmannol
2014-04-05Astyled test.irungentoo
2014-04-05Rename suitemannol
2014-04-05Added testmannol
2014-04-04Added functions to get/set the nospam value to the public api.irungentoo
2014-04-03Maximum name lengths should now be the real maximum and not one byte less.irungentoo
2014-04-02Some code cleanups.irungentoo
2014-04-01Fixed bug where TOX_FAERR_SETNEWNOSPAM would be returned instead ofirungentoo
TOX_FAERR_ALREADYSENT when re adding a confirmed friend.
2014-03-31tox_group_get_names now returns a list of name lengths along with the list ↵irungentoo
of names. TCP test now also tests pings.
2014-03-30TCP server now sends/handles ping packets.irungentoo
2014-03-29TCP server now has onion functionality.irungentoo
All the IP/Port related structs now have __attribute__ ((__packed__))
2014-03-28TCP server almost ready.irungentoo