summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.c
AgeCommit message (Collapse)Author
2014-09-23Added some checks to mutex related functions.irungentoo
2014-09-11Replace fprintf(stderr,...) by LOGGER_*() in net_cryptoTux3 / Mlkj / !Lev.uXFMLA
2014-09-09spelling correctionscgar
2014-08-29Speeded up start of file transfers.irungentoo
2014-08-29Removed useless code.irungentoo
2014-08-29Lossless crypto packets can now be sent without the congestion control ↵irungentoo
applying to them.
2014-08-27Added function to check if packet sent with net_crypto was received.irungentoo
2014-08-16Removed useless line.irungentoo
2014-08-16Some thread safety related fixes to TCP connections in net_crypto.irungentoo
Added a recursive mutex to fix possible thread issues when the A/V thread sends data at the same time as the main thread.
2014-08-16New congestion control algorithm.irungentoo
This new congestion control algorithm uses the increase in size of the send queue to regulate how fast it sends data. When tweaked it should work better than the old one.
2014-08-14When getting disconnected from good relay, try to reconnect.irungentoo
2014-08-14Added basic socks5 proxy support to TCP client.irungentoo
2014-08-11Added functions to receive and send onion packets via TCP to net_crypto.cirungentoo
2014-07-31Adding a new connection while a lossy packet is being sent couldirungentoo
also cause thread related issues.
2014-07-31Fixed possible threading issues.irungentoo
send_lossy_cryptpacket() can get called from another thread meaning the connection can be killed while the packet is sending.
2014-07-29Spreading packets around TCP relays causes issues with the audio and video.irungentoo
Make each connection stick to the same relay.
2014-07-27Only send kill packet when killing established connection.irungentoo
2014-07-21Fixed bug where two Tox clients sometimes didn't reconnect rightirungentoo
after disconnecting due to them getting stuck in a connection loop.
2014-07-21Don't set connection to established if packet is kill packet.irungentoo
Removed now useless defines in network.h
2014-07-19Removed useless function.irungentoo
2014-07-18Spread packets over many TCP relays instead of just using the first one.irungentoo
2014-07-14Change connection status before handling data packets.irungentoo
2014-07-14Set packets_left to default non zero values when creating connection.irungentoo
2014-07-14Packets can now be sent from the connection status callback.irungentoo
2014-07-14Attempted fix of file transfer issue.irungentoo
Instead of dropping the rate to minimum just half it until it drops to the minimum.
2014-07-11.notsecure
2014-07-10fix send rate going up when peer disconnectsnotsecure
2014-07-02Merge branch 'const_correctness' of https://github.com/schuetzm/ProjectTox-Coreirungentoo
2014-06-30Const-correctness for toxcore/net_crypto.cMarc Schütz
2014-06-30Const correctness for toxcore/Messenger.c and related filesMarc Schütz
2014-06-29Core should no longer attempt to send data faster than the links canirungentoo
carry it.
2014-06-25Fixed some more possible issues with file transfers/conjestion control.irungentoo
2014-06-25Tweaked conjestion control algorithm.irungentoo
File transfers should now work better.
2014-06-20Reduced number of realloc calls bs_list doesMaxim Biro
2014-06-15Astyled code.irungentoo
2014-06-13Const correctness for various packet callbacksMarc Schütz
2014-06-12pthread is now a core dependency instead of just a toxav dependency.irungentoo
Fixed possible thread bug with sending A/V packets. TODO: eventually make toxcore thread safe.
2014-06-10Const correctness in various interdependent filesMarc Schütz
2014-06-06Renamed list functions to fix conflict issue on certain machines.irungentoo
2014-06-05Fixed regression that made packet_send_rate increase even whenirungentoo
no data was transmitted.
2014-06-05Optimized net_crypto UDP packet sorting using list.irungentoo
2014-06-04Doubled minimum transfer rate.irungentoo
File transfers got stuck because it was too low.
2014-06-04Request packets are now sent with send_data_packet_helper().irungentoo
This means all data packets are now padded the same way.
2014-06-04Added data packet padding to toxcore.irungentoo
Data sent as lossless or lossy is now padded with: ((MAX_CRYPTO_DATA_SIZE - data_length) % CRYPTO_MAX_PADDING) bytes in order to reduce the possibility of length related attacks. I set CRYPTO_MAX_PADDING to 8 but it can be changed anytime without breaking network compatibility between tox cores.
2014-06-03Tweaked file transfers a bit.irungentoo
2014-06-02Increased some timeouts to try to prevent disconnections whenirungentoo
transferring files on wireless networks.
2014-05-30Renamed tox_do_run_interval to tox_do_interval.irungentoo
tox_do_interval now returns a time in ms based on how much action is going on in net_crypto.
2014-05-26file transfer fixesnotsecure
-removed rate limit -send rate no longer gets reset on local/LAN connections
2014-05-22more conjestion controlnotsecure
needs testing
2014-05-21improved conjestion controlnotsecure