stal
62e6e9bc07
Daily OS X fix.
...
Patch also fixes NetBSD and OpenBSD, but I can't test that.
<pty.h> is <util.h> on some BSDs.
2014-08-20 09:28:26 -07:00
irungentoo
7330ebdffe
Added tox_shell to testing.
...
tox_shell is a basic secure shell that can be used to control a
computer from any Tox client.
Just run tox_shell and make it add your Tox id.
It's very basic but it works.
2014-08-19 19:01:18 -04:00
irungentoo
f368b67914
Merge branch 'nurupo-bootstrapd-fix'
2014-08-19 12:38:14 -04:00
Maxim Biro
02f90fc604
Added .sh ending to bootstrapd's init script
...
Fixes some build issues.
2014-08-18 22:24:42 -04:00
irungentoo
92dd71cdba
Speeded up onion friend finding.
2014-08-18 20:22:51 -04:00
irungentoo
c959f6c019
Added function to check if we were only connected to LAN DHT peers.
2014-08-18 18:56:02 -04:00
irungentoo
6ca7d86c50
Merge branch 'bootstrapd-update' of https://github.com/nurupo/InsertProjectNameHere
2014-08-17 19:14:56 -04:00
Maxim Biro
d00c3c32d2
Fixed some warnings
2014-08-17 15:59:37 -04:00
Maxim Biro
504160ee57
Fixed daemon taking long time to stop
2014-08-17 02:17:03 -04:00
Maxim Biro
69e619bfa0
Renamed files for less confusion
2014-08-17 01:58:24 -04:00
Maxim Biro
ba7058c891
Made possible to run the daemon under its own user
2014-08-17 01:53:54 -04:00
Maxim Biro
e474a32e71
Made init.d script work with systemd
2014-08-17 00:12:35 -04:00
Maxim Biro
2040fc41d2
Renamed tox_bootstrap_daemon into tox-bootstrapd
2014-08-16 23:19:23 -04:00
irungentoo
0fe6d84768
Removed useless line.
2014-08-16 22:21:47 -04:00
irungentoo
9134048bb5
Some thread safety related fixes to TCP connections in net_crypto.
...
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-16 22:09:29 -04:00
irungentoo
162a900660
New congestion control algorithm.
...
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-16 18:14:47 -04:00
irungentoo
bb1bb58352
Set socket family to family of proxy when using proxy.
2014-08-15 12:06:13 -04:00
irungentoo
7557b92fc9
Modified tox_bootstrap_from_address() function.
...
PORT IS NO LONGER PASSED IN NETWORK BYTE ORDER.
Removed useless ipv6enabled parameter.
2014-08-14 19:01:21 -04:00
irungentoo
ef78169842
Added disabling of UDP and basic SOCKS5 proxy support to public API.
...
tox_new() now takes a Tox_Options struct as argument.
If a NULL pointer is passed to that struct, defaults are used.
2014-08-14 18:34:20 -04:00
irungentoo
f0b2cd7ad2
Function to save path nodes.
...
Forgot to commit it with before last commit.
2014-08-14 17:34:42 -04:00
irungentoo
cb815f7584
When getting disconnected from good relay, try to reconnect.
2014-08-14 17:29:50 -04:00
irungentoo
fb9fc81a35
Save some path nodes to speed up joining network on pure TCP.
2014-08-14 16:56:29 -04:00
irungentoo
5376d40f54
tox_isconnected() now works on TCP only.
2014-08-14 15:41:10 -04:00
irungentoo
1298932deb
UDP can now be disabled.
...
new_messenger() now takes an options struct as an argument.
2014-08-14 15:27:34 -04:00
irungentoo
dbab15cf0c
Remove useless code.
2014-08-14 14:43:01 -04:00
irungentoo
78dd2234e0
Added basic socks5 proxy support to TCP client.
2014-08-14 14:31:26 -04:00
irungentoo
f4b10c99ff
Tox should now work on TCP only networks.
...
Coming soon: a function to disable UDP.
2014-08-13 20:47:56 -04:00
irungentoo
450ad2dd34
Tox now closer to working on TCP only networks.
...
Use TCP paths when UDP is not connected.
Made some code depend less on the UDP only DHT.
2014-08-13 20:29:02 -04:00
irungentoo
6311bf8747
If the path is a TCP one, the onion packet is sent with TCP.
2014-08-13 10:19:09 -04:00
irungentoo
bc4fe2c80d
Decreased maximum onion_test test time.
2014-08-13 10:15:25 -04:00
irungentoo
70d338703d
Added function to create onion packets to send via TCP.
2014-08-13 06:41:35 -04:00
irungentoo
19b07f7e80
Fixed bug that led to increased bandwidth usage.
2014-08-12 20:56:46 -04:00
irungentoo
db655c77f8
Onion packets can now be received via TCP.
2014-08-12 16:20:46 -04:00
irungentoo
2c7654bd9a
No longer rely on source ip to get the path the packet was sent with.
2014-08-12 13:01:28 -04:00
irungentoo
e6f21d0524
Added functions to receive and send onion packets via TCP to net_crypto.c
2014-08-11 20:47:56 -04:00
irungentoo
5a22fbf4bf
Some code refactoring to make passing onion packets through TCP easier.
2014-08-11 18:20:13 -04:00
irungentoo
f83fcbb13c
Added length check to onion_send_1().
2014-08-11 15:48:33 -04:00
irungentoo
0faa2fbad2
Fixed bug.
2014-08-10 14:15:39 -04:00
irungentoo
f6955f2f3e
Merge branch 'remove-sort_list' of https://github.com/pyruvate/toxcore
2014-08-09 17:35:23 -04:00
irungentoo
56624c0af8
Onion paths creation no longer dependent on DHT only.
2014-08-09 15:17:00 -04:00
pyruvate
354f08ec3b
Tests fix for an original behavior for duplicates
2014-08-09 13:31:40 +03:00
pyruvate
bdf1c97273
Refactoring of node replacements in addto_lists function
...
An index for replacement candidate is searched
in one lookup cycle for all types (bad, possibly bad, good).
Sorting of items has been removed (sorting logic can be substituted
by a maximum search).
2014-08-09 11:33:20 +03:00
pyruvate
a460b9fbd0
Added tests for addto_lists function
2014-08-09 11:33:20 +03:00
pyruvate
ec9082f2c3
Remove DEFTESTCASE and DEFTESTCASE_SLOW redefinitions
2014-08-09 11:33:20 +03:00
irungentoo
bb2a6cbbe2
Added path_nodes array and add_path_node() function.
2014-08-08 22:07:28 -04:00
irungentoo
545cc91662
Increased ping interval time to decrease bandwidth usage.
...
This should not increase the time it takes for people to find themselves.
2014-08-07 16:58:17 -04:00
irungentoo
a679756eca
crypto speed test is pretty useless, removed it.
2014-08-06 20:56:27 -04:00
irungentoo
2ef89f6ae0
memset call to zero when killing call.
2014-08-05 20:58:49 -04:00
irungentoo
b0bdc81426
Merge branch 'fr0stycl34r-patch-1'
2014-08-05 19:52:37 -04:00
Ben Praeger
0e70b7cf7d
Update readme
2014-08-05 15:20:01 -04:00