Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-27 | Move logging to a callback. | iphydf | |
This removes the global logger (which by the way was deleted when the first tox was killed, so other toxes would then stop logging). Various bits of the code now carry a logger or pass it around. It's a bit less transparent now, but now there is no need to have a global logger, and clients can decide what to log and where. | |||
2016-08-18 | Make tox_callback_friend_name stateless. | iphydf | |
See #27 and #40 for details. | |||
2016-02-27 | Remove magic numbers from addr_resolve | Roman Yepishev | |
* Add #defines for INET/INET6 returns * Remove magic number 3 - exact AF_INET/INET6 result found. * Updated network_test.c | |||
2015-04-13 | Make tox_new return TOX_ERR_NEW_PORT_ALLOC for all socket related errors. | irungentoo | |
2015-04-11 | Enable SO_REUSEADDR on TCP server socket. | irungentoo | |
2015-03-12 | tox_new now sets error to TOX_ERR_NEW_PORT_ALLOC when binding to port fails. | irungentoo | |
2015-02-27 | Allow for specifying the port range to use in Tox_Options | saneki | |
2015-01-01 | Code cleanups. | irungentoo | |
Moved some functions to onion.c. Fixed possible portability issues. | |||
2014-12-31 | Code cleanup. | irungentoo | |
Added length checks to ipport_pack() function. | |||
2014-12-31 | Removed now useless packet id. | irungentoo | |
2014-12-13 | Added HTTP proxy support | Maxim Biro | |
2014-11-21 | Cleaned 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-10-12 | Fixed return value comment of new_networking function | Maxim Biro | |
2014-09-25 | More groupchats code written. | irungentoo | |
2014-09-25 | Removed now useless atributes from structs. | irungentoo | |
2014-09-25 | Removed groupchats from core. | irungentoo | |
2014-09-17 | Reduce max udp packet size to 2K. | irungentoo | |
2014-08-14 | Remove useless code. | irungentoo | |
2014-07-21 | Don't set connection to established if packet is kill packet. | irungentoo | |
Removed now useless defines in network.h | |||
2014-07-20 | Added addr_parse_ip() to network.h header. | irungentoo | |
Removed useless semicolons. | |||
2014-06-13 | Const correctness for various packet callbacks | Marc Schütz | |
2014-06-10 | Astyle and fixes. | irungentoo | |
2014-06-10 | Const correctness in toxcore/network.c | Marc Schütz | |
2014-06-07 | Toxcore closer to building correctly with gcc -std=c99. | irungentoo | |
2014-06-07 | IN6_ARE_ADDR_EQUAL was used only once, replaced it. | irungentoo | |
2014-06-01 | Fixed TOX_MAX_MESSAGE_LENGTH define. | irungentoo | |
Removed some useless code from toxcore. Astyled core code with new version of astyle. | |||
2014-05-21 | Added functions to send and receive lossy encrypted packets over | irungentoo | |
the Tox connection. A/V should now work over TCP. | |||
2014-05-19 | function comments in header | notsecure | |
2014-05-19 | mistakes | notsecure | |
forgot to build before pushing | |||
2014-05-19 | IP_Port packing unpacking in onion.c | notsecure | |
2014-05-18 | Fixed IP_Port packed struct being 1 byte too big on windows. | irungentoo | |
2014-05-17 | Net_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-03 | All time in core is now monotonic. | irungentoo | |
2014-05-01 | Random number functions belong in crypto_core. | irungentoo | |
2014-05-01 | Improved the crypto_cmp function. | irungentoo | |
It now uses the NaCl functions when the length is appropriate. Moved crypto defines to crypto_core.h | |||
2014-04-29 | Some more work done on the middle network protocol. | irungentoo | |
Handshake most likely has no more possible flaws to it, next thing to do is to do the same with the data packets. Wrote a couple more functions. | |||
2014-04-28 | Added some packet defines. | irungentoo | |
2014-04-22 | Decided pretty much how the handshake would work. | irungentoo | |
Started writing the code. Astyled some files. | |||
2014-04-21 | Crypto 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-15 | Major 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-13 | sockets: support Mac OS X way of disabling SIGPIPE on a socket | Steven 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-06 | Added TCP_client. | irungentoo | |
Some work done on the TCP part. | |||
2014-04-02 | Some code cleanups. | irungentoo | |
2014-03-29 | TCP server now has onion functionality. | irungentoo | |
All the IP/Port related structs now have __attribute__ ((__packed__)) | |||
2014-03-18 | Merge branch 'api-fix' | irungentoo | |
Main changes: 1. Strings no longer need to be NULL terminated. 2. tox_get_friend_id is now named tox_get_friend_number. 3. The friend request callback function is now (Tox *tox, uint8_t *, uint8_t *, uint16_t, void *), the Tox object pointer has been added to it. | |||
2014-03-15 | A bit of work done on the TCP relay server. | irungentoo | |
2014-03-07 | Some tox_wait_* improvements | Maxim Biro | |
2014-02-22 | Renamed dht server to dht node | Maxim Biro | |
2014-02-14 | Added custom userpackets. | irungentoo | |
A way to send and handle lossy UDP packets coming from friends. Will be used for A/V. | |||
2014-02-01 | Added DHT bootstrap server info packets. | irungentoo | |
define DHT_SERVER_EXTRA_PACKETS to enable. |