Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-04 | Added arrays to store packets on send/recv in net crypto. | irungentoo | |
Wrote down more of the protocol. Padding support has been added and implemented which will make it possible for us to pad packets to mitigate length related attacks. | |||
2014-05-03 | All time in core is now monotonic. | irungentoo | |
2014-05-02 | Fixed one test. | irungentoo | |
2014-05-02 | Messenger 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-05-02 | Move the handshake creating code to a function. | irungentoo | |
Fixed another instance where it was not sent. | |||
2014-05-02 | Fixed one case of the handshake not being sent. | irungentoo | |
2014-05-02 | Small fixes. | irungentoo | |
2014-05-02 | Remove Lossless UDP (This breaks Tox.) | irungentoo | |
2014-05-01 | Random number functions belong in crypto_core. | irungentoo | |
2014-05-01 | Protocol implementation is starting to look ok. | irungentoo | |
Still need to decide exactly how data packets will work though. | |||
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-30 | Remove duplicates. | irungentoo | |
2014-04-30 | Some more code written for the middle level protocol stuff. | irungentoo | |
2014-04-30 | Added number to cookie request/response packets to prevent possible | irungentoo | |
DoS issue. | |||
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-28 | Added some functions to create/handle middle level protocol packets. | irungentoo | |
2014-04-27 | Added raw UDP cookie request packet handler. | irungentoo | |
2014-04-27 | Yeah many calls | mannol | |
2014-04-26 | Fixed minor issue. | irungentoo | |
Socket used to find the broadcast ip was not closed when there was more than 16 broadcast interfaces. | |||
2014-04-25 | Fixed issue. | irungentoo | |
2014-04-25 | MAX_SENT_NODE is now 4. | irungentoo | |
This means that in every part of the Tox code that sends nodes will now send a maximum of 4 nodes instead of 8. | |||
2014-04-25 | The data in the DHT get nodes and send nodes packets can now be of | irungentoo | |
variable length. | |||
2014-04-24 | sendnodes packets now contains a byte indicating the number of nodes | irungentoo | |
2014-04-23 | Properly deallocate friends' status messages in kill_messenger | stal | |
Lightly tested. I'm not sure whether this creates a double-free bug | |||
2014-04-23 | Updated some files so that they could build with latest core. | irungentoo | |
Fixed some issues. | |||
2014-04-23 | Major 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-22 | Decided pretty much how the handshake would work. | irungentoo | |
Started writing the code. Astyled some files. | |||
2014-04-21 | Fixed a test. | irungentoo | |
Removed function from Messenger.h | |||
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-20 | Small cleanup. | irungentoo | |
2014-04-19 | Removed deprecated function from public api. | irungentoo | |
Added upper length check to friendreq_handlepacket(). | |||
2014-04-19 | Small cleanups. | irungentoo | |
2014-04-19 | Fixed possible buffer overflow in function to send friend requests. | irungentoo | |
2014-04-19 | Autoconf apparently gives us a nice define for processor endianess. | irungentoo | |
2014-04-19 | Fixed possible pointer issues. | irungentoo | |
2014-04-18 | Added function to increment nonce by specified number. | irungentoo | |
Nonces now behave like big endian numbers. | |||
2014-04-17 | Fixed build issues. | irungentoo | |
2014-04-16 | Some speedups and small fixes. | irungentoo | |
2014-04-16 | multiple spelling fixes | Carlos E. Garcia | |
2014-04-16 | DHT_bootstrap.c now has TCP server functionality enabled. | irungentoo | |
Fixed a regression (same type as last commit). | |||
2014-04-15 | Fixed regression, announce responses can contain 0 nodes. | irungentoo | |
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-14 | Added function to TCP client and some tests. | irungentoo | |
2014-04-13 | TCP_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-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-12 | Pings and onion packets implemented in TCP_Client.c | irungentoo | |
Astyled one test and added a couple lines to another. | |||
2014-04-11 | Some code written for the TCP part. | irungentoo | |
2014-04-10 | Added TCP test to build system. | irungentoo | |
2014-04-08 | Include 'netinet/in_systm.h' on OpenBSD | Dmitrij D. Czarkoff | |
Otherwise 'n_time' is undefined. |