Commit Graph

156 Commits

Author SHA1 Message Date
Alexandre Erwin Ittner
c2421e6f21 Update avatar documentation
Add missing function and fixes some typos and formatting.
2015-01-31 20:13:39 -02:00
Alexandre Erwin Ittner
eea4153594 Rename "client id" to "public key" in avatar docs and examples
Commit b8d530c9e0 and some of its
parents changed the public name of "client id" to "public key".
Update the avatar documentation to follow the idea.
2015-01-31 19:45:03 -02:00
irungentoo
6e3e812740
Updated TODO. 2015-01-24 20:21:29 -05:00
aaannndddyyy
840d182de2 fixed some typos / grammar 2015-01-03 10:20:38 +00:00
aaannndddyyy
1e3187cdf6 fixed a typo 2014-12-30 15:11:47 +01:00
irungentoo
3516a0194c
Fixed DHT doc. 2014-12-14 20:38:06 -05:00
irungentoo
015a8b7d75
Sendback data size is always 8 bytes. 2014-12-14 20:33:31 -05:00
irungentoo
f1db6e7d6c
Merge branch 'patch-2' of https://github.com/Aaron1011/toxcore 2014-12-03 19:39:08 -05:00
Aaron1011
3489e33010 Fix usage of 'have' versus 'has' 2014-12-03 15:29:09 -05:00
Aaron1011
7dec6d0e04 Fix typo 2014-12-03 15:19:58 -05:00
irungentoo
607003509b
Fixed bug where group chat would see connection as offline when it was online.
Clarified something in the docs.
2014-12-02 19:35:54 -05:00
Andy Conrad
b19d4ed667 Fix link in TODO 2014-11-26 01:07:27 -06:00
irungentoo
c67bc3399f
Removed some no longer promising clients from the TODO. 2014-11-23 12:18:10 -05:00
irungentoo
3ba48033f6
Updated TODO. 2014-11-23 08:40:59 -05:00
irungentoo
3a6d93f067
Small update to groupchat docs. 2014-11-19 20:57:35 -05:00
irungentoo
a9c2fe99d5
Added an unfinished doc on how groupchats work. 2014-11-16 20:59:10 -05:00
Lance Tuller
2494296207 Update TODO
qTox
2014-10-28 20:50:10 -04:00
irdan
7836ced3f8 Modify DHT.md to render correctly 2014-10-26 14:03:27 -07:00
dubslow
118febcfee change avatar requirements 2014-09-28 21:03:18 -05:00
dubslow
57666d95ba Merge branch 'master' of https://github.com/irungentoo/toxcore 2014-09-28 12:37:47 -05:00
dubslow
6f4ab49f5c Modify avatar recommendations 2014-09-27 17:49:20 -05:00
Alexandre Erwin Ittner
c17fc040a4 Update avatar documentation
Update the documentation to reflect the API changes introduced by
commits 21be438b2b and
d409bad30d
2014-09-25 22:03:36 -03:00
Alexandre Erwin Ittner
fc28c2402e Update documentation after API changes
Commit ba6ae15a73 introduced some API
changes, update the documentation to reflect them.
2014-09-24 22:27:00 -03:00
irungentoo
b52da45aeb
Merge branch 'avatars' of https://github.com/ittner/toxcore 2014-09-22 15:07:14 -04:00
Alexandre Erwin Ittner
b52eb48c15 Remove chattiness from avatar data transfers
The chatty approach for the avatar data transfer was intended as a
security feature to add explicit delays to the transfer and prevent
amplification attacks among authenticated friends. This was deemed
unnecessary in the code review and, therefore, replaced by a simpler
approach that sends all data in a single burst.
2014-09-21 11:37:49 -03:00
Alexandre Erwin Ittner
70b4018069 Remove support for avatar image formats other than PNG
Support for other formats was deemed unnecessary in the code review
and therefore removed. The value for the constant TOX_AVATARFORMAT_PNG
is now set in stone; if the other formats become needed again in the
future, this commit shall be reverted and the enum values reordered to
keep compatibility.
2014-09-21 10:25:46 -03:00
cgar
2bb2bc4163 spelling corrections 2014-09-09 20:31:37 -04:00
irungentoo
fc77cfefdd
Fixed typo. 2014-09-07 09:06:53 -04:00
irungentoo
9ac8a5fe62
Updated docs.
Fixed possible issue in last commit.
2014-09-07 09:04:53 -04:00
Alexandre Erwin Ittner
e4f66475d8 Add support for user avatars in the core protocol
Add a protocol and the APIs to straightforwardly support user avatars
in client applications. The protocol is designed to transfer avatars
in background, between friends only, and minimize network load by
providing a lightweight avatar notification for local cache validation.
Strict safeguards are imposed to avoid damage from non-cooperative or
malicious users and to limit network usage.

The complete documentation is available in docs/Avatars.md and sample
code is available in testing/test_avatars.c.

Code and documentation are released under the GNU GPLv3 or later, as
described in the file COPYING.
2014-08-30 16:43:07 -03:00
Marek Šuppa
f89f189e30 wintox has been renamned to uTox 2014-07-10 03:48:33 +02:00
irungentoo
d6b6ae4b48
Updated some items in the TODO list. 2014-07-01 13:51:10 -04:00
irungentoo
a0d50a6090
Updated TODO. 2014-06-12 11:17:24 -04:00
irungentoo
02f889e52a
Updated documentation. 2014-06-06 23:11:35 -04:00
irungentoo
d540d9f426
Updated outdated crypto doc. 2014-06-06 23:05:35 -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
irungentoo
454cadb91c
Changed cookie/cookie request packet.
Cookie now contains the dht public key of the peer which makes
more sense than including the real public key of the reciever.

It means we no longer have to rely entirely on onion_client to
find the dht public key of the other peer.
2014-05-17 09:21:07 -04:00
irungentoo
c5559e192d
Added OOB packets to the TCP client and server. 2014-05-14 17:15:43 -04:00
irungentoo
1580a5c696
Added kill packets.
There should be no more delay between a peer closing their client
and their friend being notified of them going offline. (unless the
kill packet is lost)
2014-05-11 18:27:23 -04:00
irungentoo
a26ced5fcb
Merge branch 'master' into TCP 2014-05-08 18:26:01 -04:00
irungentoo
fca5e1b99a
Added arrays to store packets on send/recv in net crypto.
Wrote down more of the protocol.

Padding support has been added and implemented which will make it
possible for us to pad packets to mitigate length related attacks.
2014-05-04 20:04:43 -04:00
irungentoo
47aa53a384
Protocol implementation is starting to look ok.
Still need to decide exactly how data packets will work though.
2014-05-01 19:20:28 -04:00
irungentoo
0505df009b
Added number to cookie request/response packets to prevent possible
DoS issue.
2014-04-30 09:24:05 -04:00
irungentoo
3863e01e22
Some more work done on the middle network protocol.
Handshake most likely has no more possible flaws to it, next thing
to do is to do the same with the data packets.

Wrote a couple more functions.
2014-04-29 20:45:32 -04:00
irungentoo
b9370d519f
Added some functions to create/handle middle level protocol packets. 2014-04-28 20:14:07 -04:00
irungentoo
a79eafbb52
The data in the DHT get nodes and send nodes packets can now be of
variable length.
2014-04-25 09:02:49 -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
db3672bf3f
Added text document explaining what needs to be done before TCP can be merged. 2014-04-18 22:00:12 -04:00
Carlos E. Garcia
cf33c2f9ad multiple spelling fixes 2014-04-16 12:14:44 -04:00
irungentoo
f9bf7b074a
Major protocol changes, this commit breaks all network compatibility.
Removed a bunch of useless space from various structs.

pack_nodes() and unpack_nodes() are now used to transmit lists of
nodes for the DHT and onion parts. They provide a way to transmit
both ipv6 and ipv4 nodes in the same packet in a portable way that
takes as little space as possible without compression.

Using pack_nodes, merged the send nodes and send nodes ipv6 packets
into one packet greatly reducing the risk of amplification attacks.
2014-04-15 18:09:07 -04:00