summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-14Really fixed TCP_test.irungentoo
2014-05-13Fixed TCP_test.irungentoo
TCP_test now tests set_tcp_connection_number.
2014-05-13TCP_client callbacks now have a per connection number that can be set.irungentoo
2014-05-13pack/unpack nodes can now pack and unpack TCP nodes.irungentoo
2014-05-13Nodes already in the DHT closelist should not be added to the toping list.irungentoo
2014-05-13Fixed tox_test sometimes timing out.irungentoo
2014-05-12Fixed some issues.irungentoo
Friends with multiple ips (on LAN) should be handled better. Remade the function to check the crypto connection status.
2014-05-12Fixed segfault.irungentoo
2014-05-12Fixed onion test.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-12Added ping_array, a special efficient array for use in operationsirungentoo
that require sending ping type packets. Made ping packets use it.
2014-05-11Fixed issue where callbacks were not set for accepted connection.irungentoo
2014-05-11Added 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-10Fixed build by adding librt to build system.irungentoo
2014-05-10Added basic congestion control to net_crypto.irungentoo
2014-05-10This should workmannol
2014-05-09Fixed small issues.irungentoo
Added set_buffer_end(). File transfer test now checks if pieces arrive correctly.
2014-05-08Merge branch 'master' into TCPirungentoo
2014-05-08Fixed major denial of service issue.irungentoo
2014-05-08Connection between toxes is lossless once again.irungentoo
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-06Merge branch 'zetok-readme'irungentoo
2014-05-05Update README.mdZetok Zalbavar
fixes #828 closes #829
2014-05-05Fixed bug.irungentoo
2014-05-04Updated A/V to new time function.irungentoo
2014-05-04Added 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-03All time in core is now monotonic.irungentoo
2014-05-02Fixed other test.irungentoo
2014-05-02Fixed one test.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-05-03Bunch of random changesmannol
2014-05-02Move the handshake creating code to a function.irungentoo
Fixed another instance where it was not sent.
2014-05-02Fixed one case of the handshake not being sent.irungentoo
2014-05-02Small fixes.irungentoo
2014-05-02Remove Lossless UDP (This breaks Tox.)irungentoo
2014-05-01Random number functions belong in crypto_core.irungentoo
2014-05-01Protocol implementation is starting to look ok.irungentoo
Still need to decide exactly how data packets will work though.
2014-05-01Improved 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-30Remove duplicates.irungentoo
2014-04-30Some more code written for the middle level protocol stuff.irungentoo
2014-04-30Added number to cookie request/response packets to prevent possibleirungentoo
DoS issue.
2014-04-29Some 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-28Added some packet defines.irungentoo
2014-04-28Added some functions to create/handle middle level protocol packets.irungentoo
2014-04-27Added raw UDP cookie request packet handler.irungentoo
2014-04-27Yeah many callsmannol
2014-04-26Fixed minor issue.irungentoo
Socket used to find the broadcast ip was not closed when there was more than 16 broadcast interfaces.