summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-20GOGOGOmannol
2014-05-20Merge upstream fo real now?mannol
2014-05-20Merge upstream and other stuffmannol
2014-05-19style, failure check on reallocnotsecure
2014-05-19configure.ac: Don't check for clock_gettime on OS Xstal
We don't need it anymore. jin-eld pls do not kill
2014-05-19tcp relay sharing (PACKET_ID_SHARE_RELAYS)notsecure
2014-05-19listnotsecure
Simple struct with functions to create a list which associates ids with data
2014-05-19Merge branch 'notsecure-master'irungentoo
2014-05-19added missing ipport_packnotsecure
2014-05-19Fixed a bug where someone could just send back the ping request packetirungentoo
with only the first byte set to 1 instead of 0 and the public key set to the one of the reciever as a valid response packet. This breaks network compatibility with all previous cores.
2014-05-19function comments in headernotsecure
2014-05-19mistakesnotsecure
forgot to build before pushing
2014-05-19Merge branch 'bootstrap-daemon-improvements' of ↵irungentoo
https://github.com/nurupo/InsertProjectNameHere into nurupo-bootstrap-daemon-improvements s
2014-05-19Removed now useless code.irungentoo
2014-05-19IP_Port packing unpacking in onion.cnotsecure
2014-05-18Made config file more consistent with default valuesMaxim Biro
2014-05-18Added default ports to the .c file, included 33445 portMaxim Biro
2014-05-18Fixed a bugMaxim Biro
2014-05-18Allow multiple instances of the daemonMaxim Biro
2014-05-18libsodium header should only be included when libsodium is used.irungentoo
2014-05-18Fix current_time_monotonic on OS X.stal
clock_gettime doesn't exist there, so throw in some equivalent mach stuff.
2014-05-18Fixed IP_Port packed struct being 1 byte too big on windows.irungentoo
2014-05-18Fixed out of bounds write.irungentoo
2014-05-18Merge branch 'tcp-bootstrap-daemon' of ↵irungentoo
https://github.com/nurupo/InsertProjectNameHere into nurupo-tcp-bootstrap-daemon
2014-05-18Fixed possible connection issue.irungentoo
2014-05-18Save a couple TCP relays on save and reconnect to them on load.irungentoo
Removed some old code.
2014-05-18Fixed TCP client connection isse.irungentoo
2014-05-18Fixed connection issue.irungentoo
2014-05-18TCP branch now ready for start of real testing.irungentoo
Friends can now exchange TCP relay addresses so that they can connect together. Currently all bootstrap nodes are treated as TCP relays.
2014-05-18Added MOTD functionalityMaxim Biro
2014-05-17Some small fixesMaxim Biro
2014-05-17Extracted min and max allowed port values into named constantsMaxim Biro
2014-05-17add_tcp_relay_peer() can be used to add relays that we know thatirungentoo
peer is connected to. Some cleanups/fixes.
2014-05-17Added TCP server functionalityMaxim Biro
2014-05-17Fixed thismannol
2014-05-17net_crypto now works again on pure UDP.irungentoo
2014-05-17Added 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-17Fixed bug in TCP server where memory was expected to be zero butirungentoo
sometimes wasn't.
2014-05-17Added function to set the DHT public key in onion_client.irungentoo
2014-05-17Net_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-17Changed 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-16Fixed typo.irungentoo
2014-05-16Some 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-16Removed non spec behaviour.irungentoo
2014-05-16This works.mannol
2014-05-16Fixed TCP_client connections not timing out correctly.irungentoo
2014-05-16TCP_server fix.irungentoo
Clear the connections array when connection is killed. Don't allow duplicate entries in connections array.
2014-05-16Fixed 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-15Exposed and tested disconnect notification TCP packets.irungentoo
2014-05-15Fixed possibility that packet_send_rate would get stuck.irungentoo