irungentoo
e4ae993a80
Some small fixes.
...
Increased interval between onion key changes to 2 hours.
2015-04-20 20:40:32 -04:00
irungentoo
be014f9e3c
Fixed memory leak in TCP connection.
2015-04-15 19:52:13 -04:00
irungentoo
efea858c91
Make it possible to port clients to the new api by just replacing
...
proxy_enabled with proxy_type.
2014-12-26 20:33:34 -05:00
irungentoo
c2e394c5c2
Fixed bug with auto tests and cleaned up the code a bit.
2014-12-26 20:12:51 -05: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
411457dc8f
Fixed gcc warnings.
2014-08-28 20:54:05 -04:00
irungentoo
bb1bb58352
Set socket family to family of proxy when using proxy.
2014-08-15 12:06:13 -04:00
irungentoo
78dd2234e0
Added basic socks5 proxy support to TCP client.
2014-08-14 14:31:26 -04:00
Jfreegman
82c40b9c8a
remove unneeded printf's/prevent stdout spam
2014-08-03 15:56:09 -04:00
irungentoo
bcfb1261ac
Fixed possible bug with TCP nonce not getting incremented.
2014-07-16 20:39:58 -04:00
irungentoo
1e69af8cff
Merge branch 'split-video' of https://github.com/notsecure/toxcore
2014-07-16 20:38:53 -04:00
notsecure
e04fff3eac
applied priority queue changes to the TCP client too
2014-07-16 08:33:24 -04:00
irungentoo
ae7a11cae9
Fixed TCP bug.
...
Packet was being copied with a wrong, smaller length.
2014-07-15 13:39:32 -04:00
irungentoo
078d60ab92
Fixed bug with TCP.
...
Don't increment nonce if packet was discarded instead of being sent.
2014-07-15 12:35:57 -04:00
irungentoo
21e797ac90
Fixed some small TCP issues.
2014-07-11 13:30:10 -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
irungentoo
6d4fdb3597
Merge branch 'const_correctness' of https://github.com/schuetzm/ProjectTox-Core
2014-07-02 15:41:59 -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
376eecafd3
Fixed possible connection issue.
2014-05-18 13:58:41 -04:00
irungentoo
8cb3ddda8b
Fixed TCP client connection isse.
2014-05-18 12:59:21 -04: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
9d4947ffa5
add_tcp_relay_peer() can be used to add relays that we know that
...
peer is connected to.
Some cleanups/fixes.
2014-05-17 21:30:52 -04:00
irungentoo
1f7d8b71f0
Fixed TCP_client connections not timing out correctly.
2014-05-16 13:42:19 -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
1bfe15ee88
Decided pretty much how the handshake would work.
...
Started writing the code.
Astyled some files.
2014-04-22 20:28:40 -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
47fb2e8067
Fixed build issues.
2014-04-17 20:53:12 -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
Steven Noonan
ecf0ff3e7f
sockets: support Mac OS X way of disabling SIGPIPE on a socket
...
Mac OS X doesn't have MSG_NOSIGNAL, so we need to use SO_NOSIGPIPE.
Signed-off-by: Steven Noonan <steven@uplinklabs.net >
2014-04-13 04:01:38 -07: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
881e95671a
Some code written for the TCP part.
2014-04-11 22:09:04 -04:00
irungentoo
736f5f8034
Added TCP test to build system.
2014-04-10 20:46:24 -04:00
irungentoo
bd0d24fc9c
Added TCP_client.
...
Some work done on the TCP part.
2014-04-06 20:51:03 -04:00