irungentoo
4a987bf751
Removed useless stuff.
2015-04-19 10:34:13 -04:00
irungentoo
4e1f49955a
Some more work on TCP connection.
2015-04-09 20:59:33 -04:00
Maxim Biro
35602e12c0
Further refactoring of proxy code
2014-12-21 21:00:46 -05:00
Maxim Biro
e9bf38499e
Some refactoring of proxy code
2014-12-21 19:59:00 -05:00
Maxim Biro
377da127a1
Added HTTP proxy support
2014-12-13 23:59:50 -05:00
irungentoo
78dd2234e0
Added basic socks5 proxy support to TCP client.
2014-08-14 14:31:26 -04:00
notsecure
e04fff3eac
applied priority queue changes to the TCP client too
2014-07-16 08:33:24 -04:00
irungentoo
1d6c393473
Made TCP a bit more solid.
...
TCP ping requests in TCP_client should have a higher success rate.
2014-07-10 18:15:55 -04:00
irungentoo
422ff3b77b
TCP should be a bit more solid.
...
When a TCP ping request is recieved, try to send the response until
success instead of just dropping it if sending the response fails on
the first try.
2014-07-09 20:11:01 -04:00
Marc Schütz
000692fca0
Const-correctness for TCP_client.c
2014-06-30 21:46:34 +02:00
Marc Schütz
aba594d1f8
Const-correctness for toxcore/net_crypto.c
2014-06-30 21:26:51 +02:00
Marc Schütz
8391417f61
Const correctness for toxcore/Messenger.c and related files
2014-06-30 21:26:50 +02:00
irungentoo
e87929e869
TCP branch now ready for start of real testing.
...
Friends can now exchange TCP relay addresses so that they can
connect together.
Currently all bootstrap nodes are treated as TCP relays.
2014-05-18 10:55:38 -04:00
irungentoo
3ab05b6e2e
Some TCP code added to net_crypto.
...
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 17:29:50 -04:00
irungentoo
a514167952
Exposed and tested disconnect notification TCP packets.
2014-05-15 20:57:55 -04:00
irungentoo
c5559e192d
Added OOB packets to the TCP client and server.
2014-05-14 17:15:43 -04:00
irungentoo
6b1578af3d
TCP_client callbacks now have a per connection number that can be set.
2014-05-13 18:09:38 -04:00
irungentoo
9c6a8432ce
Crypto related cleanups.
...
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-21 16:51:36 -04:00
irungentoo
229b2b2dcd
Added function to TCP client and some tests.
2014-04-14 16:59:48 -04:00
irungentoo
b16af69d92
TCP_client pretty much done?
...
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 20:40:48 -04:00
irungentoo
268172ec41
Pings and onion packets implemented in TCP_Client.c
...
Astyled one test and added a couple lines to another.
2014-04-12 22:00:46 -04:00
irungentoo
bd0d24fc9c
Added TCP_client.
...
Some work done on the TCP part.
2014-04-06 20:51:03 -04:00