Commit Graph

2862 Commits

Author SHA1 Message Date
irungentoo
9d53bc5d1d
This function only needs to be ran once per second when epoll is
enabled because all it does then is send pings and check timeouts
which are calculated by the second.
2014-05-24 22:20:24 -04:00
mannol
08ca08dcd9 Small fix 2014-05-24 16:40:17 +02:00
mannol
565e95301f Tests works and some fixes 2014-05-24 16:02:01 +02:00
irungentoo
f295125e41
Merge branch 'net' of https://github.com/notsecure/ProjectTox-Core into notsecure-net 2014-05-23 08:18:04 -04:00
notsecure
e3bc591b3b more conjestion control
needs testing
2014-05-22 20:19:19 -04:00
irungentoo
ad28acd18e
Fixed an issue in list.
Cleaned up TCP server a bit.
2014-05-22 17:12:46 -04:00
irungentoo
b6cbdefb55
Merge branch 'fix' of https://github.com/notsecure/ProjectTox-Core into notsecure-epoll 2014-05-22 16:14:50 -04:00
notsecure
49ab5ac0e5 fixed list_remove 2014-05-22 16:06:12 -04:00
irungentoo
d765d91ed0
Merge branch 'epoll' of https://github.com/notsecure/ProjectTox-Core into notsecure-epoll 2014-05-22 15:10:31 -04:00
irungentoo
a54d098f6f
Changed lossy packet function names to better ones.
Fixed rtp checking the wrong return value for one.
2014-05-22 10:18:22 -04:00
irungentoo
9a33e0f3e1
Merge branch 'msi-fix' of https://github.com/nurupo/InsertProjectNameHere 2014-05-22 09:33:03 -04:00
irungentoo
3ed7a3257f
Merge branch 'nurupo-assoc-fix' 2014-05-22 09:16:40 -04:00
Maxim Biro
0f0ef7af63 Fixed nodes never being marked as used 2014-05-22 04:06:32 -04:00
Maxim Biro
d9f5e01bd7 Fixed memory allocation type inconsistency 2014-05-21 23:00:48 -04:00
irungentoo
acc25436f8
Merge branch 'net' of https://github.com/notsecure/ProjectTox-Core into notsecure-net 2014-05-21 21:01:00 -04:00
irungentoo
b25e575e7b
Merge branch 'stqism-master' 2014-05-21 20:51:34 -04:00
notsecure
1e4eb83880 improved conjestion control 2014-05-21 20:49:37 -04:00
Sean Qureshi
e3a4755b78 Adds --disable-rt to configure, fixing Android 2014-05-21 17:39:53 -07:00
mannol
9db41e7582 Merge remote-tracking branch 'upstream/master' into Multicalls-patch 2014-05-22 00:08:19 +02:00
irungentoo
be4559de73
Merge branch 'patch-5' of https://github.com/stal888/ProjectTox-Core into stal888-patch-5 2014-05-21 15:31:25 -04:00
irungentoo
f818c1a197
Added functions to send and receive lossy encrypted packets over
the Tox connection.

A/V should now work over TCP.
2014-05-21 15:28:14 -04:00
stal
83d4d8ea5d Install tox_bootstrap_daemon
I call on the venerable @jin_eld once again to verify that this change is correct.
2014-05-20 18:57:20 -07:00
notsecure
2c8f6ffc3f epoll for tcp server 2014-05-20 20:46:51 +00:00
irungentoo
248fd212ba
Merge branch 'notsecure-work' 2014-05-20 09:30:55 -04:00
notsecure
6eae3d5ad7 fixed some mistakes 2014-05-20 09:21:26 -04:00
notsecure
b034be4162 use LIST in TCP_server 2014-05-20 07:08:03 -04:00
notsecure
35ae6cb90e list takes data to remove faster 2014-05-20 07:04:41 -04:00
notsecure
d65ea9bc8d equivalent bitwise not 2014-05-20 06:30:15 -04:00
irungentoo
0fa5feb8b7
Merge branch 'notsecure-work3' 2014-05-19 19:47:05 -04:00
notsecure
403ab7c2ab misplaced bracket 2014-05-19 19:28:20 -04:00
notsecure
1810d1e20e proper realloc failure check 2014-05-19 19:07:47 -04:00
notsecure
1b0a810a65 max number of shared relays 2014-05-19 19:03:52 -04:00
notsecure
9ae2fde0b9 style (again) 2014-05-19 18:55:24 -04:00
mannol
0620d1f064 GOGOGO 2014-05-20 00:48:53 +02:00
mannol
c9f1c6882d Merge upstream fo real now? 2014-05-20 00:27:02 +02:00
mannol
a1f2a18ae4 Merge upstream and other stuff 2014-05-20 00:10:40 +02:00
notsecure
410294da48 style, failure check on realloc 2014-05-19 17:53:29 -04:00
stal
8e5e89b871 configure.ac: Don't check for clock_gettime on OS X
We don't need it anymore. jin-eld pls do not kill
2014-05-19 14:43:36 -07:00
notsecure
987a8d9850 tcp relay sharing (PACKET_ID_SHARE_RELAYS) 2014-05-19 17:39:50 -04:00
notsecure
fe66fcc7e4 list
Simple struct with functions to create a list which associates ids with
data
2014-05-19 16:42:09 -04:00
irungentoo
fc19327dcc
Merge branch 'notsecure-master' 2014-05-19 14:22:43 -04:00
notsecure
d27a83820c added missing ipport_pack 2014-05-19 14:18:26 -04:00
irungentoo
e85feb8a3d
Fixed a bug where someone could just send back the ping request packet
with only the first byte set to 1 instead of 0 and the public key set
to the one of the reciever as a valid response packet.

This breaks network compatibility with all previous cores.
2014-05-19 12:56:36 -04:00
notsecure
ede8455a5a function comments in header 2014-05-19 11:56:45 -04:00
notsecure
cecefd290a mistakes
forgot to build before pushing
2014-05-19 11:34:40 -04:00
irungentoo
8cec3cdd66
Merge branch 'bootstrap-daemon-improvements' of https://github.com/nurupo/InsertProjectNameHere into nurupo-bootstrap-daemon-improvements
s
2014-05-19 10:59:35 -04:00
irungentoo
116f3d46e8
Removed now useless code. 2014-05-19 10:57:56 -04:00
notsecure
0d711afbec IP_Port packing unpacking in onion.c 2014-05-19 09:18:04 -04:00
Maxim Biro
286d8d9661 Made config file more consistent with default values 2014-05-18 21:04:42 -04:00
Maxim Biro
fe1694fa69 Added default ports to the .c file, included 33445 port 2014-05-18 19:59:01 -04:00