Commit Graph

3102 Commits

Author SHA1 Message Date
irungentoo
4c220e3363
Merge branch 'bootstrapd-example-nodes' of https://github.com/nurupo/InsertProjectNameHere 2015-01-25 20:38:50 -05:00
Maxim Biro
51b8ac8460 Replace hardcoded nodes with examples
Reverts Proplex'es change.
2015-01-25 18:31:44 -05:00
irungentoo
6e3e812740
Updated TODO. 2015-01-24 20:21:29 -05:00
irungentoo
ff32b4bd28
Code cleanups.
Remove duplicate addfriend code and shoved it in its own function.
2015-01-23 20:56:46 -05:00
irungentoo
eb12d1b5fc
Zero broadcast ips are invalid. 2015-01-22 20:32:09 -05:00
irungentoo
1092bc6e03
Code cleanups. 2015-01-21 21:02:46 -05:00
irungentoo
b10aaecee5
Fixed gcc warnings. 2015-01-20 21:00:08 -05:00
irungentoo
236a13f2ee
Fixed gcc warnings. 2015-01-19 21:01:54 -05:00
irungentoo
bf12a4d1a6
Merge branch 'win_log' of https://github.com/MovingtoMars/toxcore 2015-01-18 20:19:16 -05:00
irungentoo
6e0b807f09
Attempted fix of Tox disconnecting during file transfers by tweaking
some congestion control numbers.
2015-01-17 21:27:38 -05:00
MovingtoMars
b1887414a9 Add 2015 to copyright notice 2015-01-18 12:14:31 +13:00
MovingtoMars
09b33c7ff0 Fix logging on Windows 2015-01-18 12:06:38 +13:00
irungentoo
a8bf060815
Fixed logger build issue. 2015-01-17 13:18:22 -05:00
irungentoo
f1371ad100
Merge branch 'mannol-master' 2015-01-17 12:36:25 -05:00
mannol
e29df66db6 fix_logger-v.0.2 2015-01-17 18:25:47 +01:00
irungentoo
0fff7d9994
Tox should work better on TCP only when some people have broken TCP
nodes and don't update them.

Paths now try to use the same TCP node for their entire lifetime.
2015-01-16 21:33:11 -05:00
irungentoo
553a8dd7bd
Fixed warning. 2015-01-15 21:00:45 -05:00
irungentoo
f07c588ef5
Don't enforce limits on pings for LAN ips. 2015-01-14 20:56:37 -05:00
irungentoo
5e1d6f5183
Fix TCP server regression.
onion.c was parsing recieved packets a bit too strictly and discarding
packets that had ips with non valid families.

TCP uses a non valid family to send back the packet to the proper
connected node.
2015-01-13 15:04:41 -05:00
irungentoo
6650f18b86
Attempted fix of Tox killing routers part 2.
Reduced drastically the number of ips the DHT pings by only pinging
nodes that would be included in one of the close lists.
2015-01-12 20:26:29 -05:00
irungentoo
36b412e381
Merge branch 'nurupo-logger-fix' 2015-01-12 08:19:11 -05:00
Maxim Biro
045ebf11b8 Fixed Windows build
Apparently ERROR was defined as some constant somewhere on Windows.
2015-01-12 02:06:36 -05:00
irungentoo
dfc6be901c
Attempted fix of Tox killing routers.
This commit makes tox use one Onion_Client_Paths struct for all
friends instead of one per friend.

This should lower the number of ips tox sends packets to which is
what I think causes the router issues.
2015-01-11 19:11:33 -05:00
irungentoo
3b991212b7
Fixed use after free. 2015-01-10 22:24:17 -05:00
irungentoo
90f68f578c
Merge branch 'mannol-master' 2015-01-10 21:39:40 -05:00
mannol
ad67259535 Logger fix 2015-01-10 23:29:00 +01:00
irungentoo
dd51e03857
Send lossy packets to less peers.
Send them to the two closest peers that we did not recieve the packet
from.
2015-01-09 22:39:01 -05:00
irungentoo
993f3bfa51
Speed up connection to network on TCP only.
Assume nodes we manage to connect to with TCP are good to use for
the onion.
2015-01-08 21:23:37 -05:00
irungentoo
75b7e0dd46
Send less net_crypto packets.
Increased interval for sending packets that include cookie request
packets, handshake packets and request packets.
2015-01-07 21:43:58 -05:00
irungentoo
139fc8e0f0
Removed unused variables. 2015-01-06 22:56:21 -05:00
irungentoo
4858d2c628
Reduced timeout of onion paths on the first try by 1 second. 2015-01-05 22:30:09 -05:00
irungentoo
979b4bfb48
Merge branch 'patch-1' of https://github.com/tux3/toxcore 2015-01-04 22:19:18 -05:00
Tux3 / Mlkj / !Lev.uXFMLA
4f4967a45e toxav_prepare_transmission: More descriptive error
When trying to prepare an already active call, return av_ErrorAlreadyInCallWithPeer not av_ErrorNoCall
2015-01-04 18:35:50 +01:00
irungentoo
b68d7f0245
Merge branch 'fix-typos' of https://github.com/aaannndddyyy/toxcore 2015-01-03 22:27:00 -05:00
aaannndddyyy
840d182de2 fixed some typos / grammar 2015-01-03 10:20:38 +00:00
irungentoo
d4ea2809db
Removed useless function. 2015-01-02 22:40:53 -05:00
irungentoo
c09b57549b
Merge branch 'master' of https://github.com/aaannndddyyy/toxcore 2015-01-01 21:41:01 -05:00
irungentoo
93a998d15a
Code cleanups.
Moved some functions to onion.c.

Fixed possible portability issues.
2015-01-01 21:30:42 -05:00
irungentoo
3328127f18
Merge branch '1210' of https://github.com/ldrumm/toxcore 2014-12-31 18:04:46 -05:00
irungentoo
473915cced
Remove useless defines. 2014-12-31 18:03:41 -05:00
irungentoo
8ac13beea4
Code cleanup.
Added length checks to ipport_pack() function.
2014-12-31 15:24:09 -05:00
irungentoo
4c8737785a
Removed now useless packet id. 2014-12-31 13:01:01 -05:00
irungentoo
8ff85f09cb
Check if received ip family is valid for the onion packets. 2014-12-31 12:30:39 -05:00
Luke Drummond
bf6fe08d0b fixes #1210 2014-12-31 04:03:40 +00:00
irungentoo
523cc20eb0
Remove useless code. 2014-12-30 21:34:01 -05:00
aaannndddyyy
1e3187cdf6 fixed a typo 2014-12-30 15:11:47 +01:00
irungentoo
87fb1e4119
Adjusted onion timeouts. 2014-12-29 22:15:16 -05:00
irungentoo
ffa7a726b2
Use same jbuf size for group as for one on one chats.
Use define instead of constant.
2014-12-28 15:45:27 -05:00
irungentoo
61dac5c979
onion_isconnected fix attempt.
Try to make it more stable.
2014-12-27 23:32:30 -05: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