Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-17 | net_crypto now works again on pure UDP. | irungentoo | |
2014-05-17 | Added a function to get the DHT public key stored in net_crypto. | irungentoo | |
The DHT public keys in onion_client/net_crypto are synced and set to whichever is more recent. Tox peers now try to connect directly even when already connected with a TCP relay. | |||
2014-05-17 | Fixed bug in TCP server where memory was expected to be zero but | irungentoo | |
sometimes wasn't. | |||
2014-05-17 | Added function to set the DHT public key in onion_client. | 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-17 | Changed cookie/cookie request packet. | irungentoo | |
Cookie now contains the dht public key of the peer which makes more sense than including the real public key of the reciever. It means we no longer have to rely entirely on onion_client to find the dht public key of the other peer. | |||
2014-05-16 | Fixed typo. | irungentoo | |
2014-05-16 | Some TCP code added to net_crypto. | irungentoo | |
add_tcp_relay() can be used to connect to some TCP relays. If both Toxes are connected to the same TCP relay(s) and create a connection on which they set the others dht_public_key, they will connect. | |||
2014-05-16 | Removed non spec behaviour. | irungentoo | |
2014-05-16 | Fixed TCP_client connections not timing out correctly. | irungentoo | |
2014-05-16 | TCP_server fix. | irungentoo | |
Clear the connections array when connection is killed. Don't allow duplicate entries in connections array. | |||
2014-05-16 | Fixed some issues in TCP_server. | irungentoo | |
Timed out connections now remove themselves correctly. If a peer with the same public key as another tries to connect, the old connection is killed. | |||
2014-05-15 | Exposed and tested disconnect notification TCP packets. | irungentoo | |
2014-05-15 | Fixed possibility that packet_send_rate would get stuck. | irungentoo | |
2014-05-14 | Added OOB packets to the TCP client and server. | irungentoo | |
2014-05-14 | It's bad to have more than one path with the same first node in the | irungentoo | |
same path array. | |||
2014-05-13 | TCP_client callbacks now have a per connection number that can be set. | irungentoo | |
2014-05-13 | pack/unpack nodes can now pack and unpack TCP nodes. | irungentoo | |
2014-05-13 | Nodes already in the DHT closelist should not be added to the toping list. | irungentoo | |
2014-05-12 | Fixed some issues. | irungentoo | |
Friends with multiple ips (on LAN) should be handled better. Remade the function to check the crypto connection status. | |||
2014-05-12 | Fixed segfault. | irungentoo | |
2014-05-12 | Use ping_array to store onion announce information instead of sending | irungentoo | |
over a huge cookie. This reduces the size of the onion announce packets by 100 bytes. | |||
2014-05-12 | Added ping_array, a special efficient array for use in operations | irungentoo | |
that require sending ping type packets. Made ping packets use it. | |||
2014-05-11 | Fixed issue where callbacks were not set for accepted connection. | irungentoo | |
2014-05-11 | Added kill packets. | irungentoo | |
There should be no more delay between a peer closing their client and their friend being notified of them going offline. (unless the kill packet is lost) | |||
2014-05-10 | Fixed build by adding librt to build system. | irungentoo | |
2014-05-10 | Added basic congestion control to net_crypto. | irungentoo | |
2014-05-09 | Fixed small issues. | irungentoo | |
Added set_buffer_end(). File transfer test now checks if pieces arrive correctly. | |||
2014-05-08 | Merge branch 'master' into TCP | irungentoo | |
2014-05-08 | Fixed major denial of service issue. | irungentoo | |
2014-05-08 | Connection between toxes is lossless once again. | irungentoo | |
2014-05-07 | Fixed 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-06 | Removed useless code. | irungentoo | |
2014-05-05 | Fixed bug. | irungentoo | |
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 | |