Commit Graph

3237 Commits

Author SHA1 Message Date
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
irungentoo
c2e394c5c2
Fixed bug with auto tests and cleaned up the code a bit. 2014-12-26 20:12:51 -05:00
irungentoo
fe57a72659
Merge branch 'http-proxy-feature' of https://github.com/nurupo/InsertProjectNameHere 2014-12-26 19:38:19 -05:00
irungentoo
a4f0b65ad7
Fixed bug.
Set friend in onion as offline when friend goes offline.
2014-12-25 15:10:47 -05:00
irungentoo
895f269285
Onion client improvements.
Put bootstrap nodes in a separate list than known good nodes.
2014-12-25 15:04:31 -05:00
irungentoo
18b45ffade
Add function to get nodes from onion path. 2014-12-25 15:01:12 -05:00
irungentoo
d8b0d2e19b
Don't populate path nodes too much. 2014-12-24 10:02:53 -05:00
irungentoo
eb033755a0
Merge branch 'instructions' of https://github.com/zetok/ProjectTox-Core 2014-12-23 20:28:08 -05:00
Zetok Zalbavar
3bd983ff62
Update INSTALL.md
pkg-config is required for proper autodetection of opus and vpx,
without it they are not detected by ./configure on Debian 7.
2014-12-23 16:11:15 +00:00
irungentoo
15077f2981
Improved detection of dead paths. 2014-12-22 22:53:17 -05:00
irungentoo
dd59d99a7a
Fixed bug in tox_load where names of size TOX_MAX_NAME_LENGTH didn't
load.
2014-12-21 22:12:12 -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
irungentoo
d1eb793a9c
auto test group titles. 2014-12-20 23:12:43 -05:00
irungentoo
3ce743fa9d
Merge branch 'cscope.files' of https://github.com/jdp5087/toxcore 2014-12-19 22:04:16 -05:00
irungentoo
c2ae083b0e
Merge branch 'logger_init_fix' of https://github.com/jdp5087/toxcore 2014-12-19 22:00:29 -05:00
Jon Poler
098373311d Added cscope.files to .gitignore 2014-12-19 11:59:20 -05:00