Commit Graph

119 Commits

Author SHA1 Message Date
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
irungentoo
27a7bf5b1e
TCP server now sends/handles ping packets. 2014-03-30 20:56:59 -04:00
irungentoo
8aaa5fe996
TCP server almost ready. 2014-03-28 22:37:42 -04:00
irungentoo
3acf43b76a A bit of work done on the TCP relay server. 2014-03-14 14:12:35 -04:00
irungentoo
2bb5e2c084 Started writing the code for the TCP relay server. 2014-03-12 20:47:07 -04:00
irungentoo
128a0d2444 Detailed docs for TCP server pretty much done.
Implementation coming soon.
2014-03-11 20:01:52 -04:00
Agatha
1cb38abf99 Minor documentation cleanup
This commit fixes some typos and grammar mistakes. It
also fixes some of the long text lines and generally
makes the documentation more readable.
2014-03-04 07:48:38 -05:00
Maxim Biro
5a142bb697 Renamed dht server to dht node 2014-02-22 17:07:15 -05:00
irungentoo
098df5ae31 Added local file sending test to tox_test and updated TODO. 2014-02-19 17:16:47 -05:00
irungentoo
3df67bc6aa Updated TODO. 2014-02-17 09:35:24 -05:00
irungentoo
2772cb318b updated/fixed TODO list. 2014-02-14 12:06:24 -05:00
irungentoo
d6e2f903a7 Added entry to TODO and a public key cracker (vanity key finder) to other/fun. 2014-02-10 19:53:44 -05:00
irungentoo
51d8c41390 Fixed group chat doc. 2014-01-23 09:05:43 -05:00
irungentoo
639b37de67 Small protocol change for more replay attack prevention.
see the changes to Prevent_Tracking.txt
2014-01-19 13:53:24 -05:00
irungentoo
cdcb8b8600 Added no_replay and added some things to the docs. 2014-01-19 09:44:33 -05:00
irungentoo
a49a09f94b Onion data packets can now be handled in onion_client.
oniondata_registerhandler(...) can be used to register different packet
types to handle them and send_onion_data(...) can be used to send these
packets.
2014-01-14 14:20:42 -05:00
irungentoo
6cb1e9309f updated TODO. 2014-01-10 11:24:14 -05:00
irungentoo
ea7d1a726d Putting the sendback outside the encrypted part of the response.
It's more useful this way.
2014-01-09 19:54:42 -05:00
irungentoo
0fd8e49c38 Fixed problem in onion_announce.c
Added a way to know if a announce response is valid.
2014-01-08 20:15:35 -05:00
irungentoo
7e2d21271a Some work on the onion part done. 2014-01-04 19:40:43 -05:00
irungentoo
97a141c0cc Some work done on the onion announce part. 2014-01-02 22:33:46 -05:00
irungentoo
3d5a88f56a Updated TODO. 2014-01-02 19:03:28 -05:00
irungentoo
ad2037e165 Added the shell of onion.{c, h} 2013-12-24 16:22:56 -05:00
irungentoo
01949b6a67 Added proposal on how to solve all the privacy related problems with the DHT. 2013-12-23 16:21:07 -05:00
irungentoo
606c2c12ab Small fixes. 2013-12-07 21:13:07 -05:00
irungentoo
1c45e59938 Added/updated some basic docs and cleaned up some things. 2013-12-07 19:06:41 -05:00
Peter Maatman
7fc3ed009a Update av_api.md
forgot one paragraph
2013-11-01 12:01:39 +01:00
Peter Maatman
52ee379677 Update av_api.md
some markup was fucked up :P
2013-11-01 12:00:42 +01:00
Peter Maatman
21c8c672c1 Update av_api.md
that looks better :)
2013-11-01 11:59:05 +01:00
Peter Maatman
760edd0c56 Update av_api.md
and some more
2013-11-01 11:55:22 +01:00
Peter Maatman
0234609ab1 Update av_api.md
add some more shiny stuff
2013-11-01 11:53:26 +01:00
Peter Maatman
9ff287569e Update av_api.md
add some code blocks in the markup
2013-11-01 11:52:31 +01:00
Peter Maatman
6c0cfd08e6 Update av_api.md 2013-11-01 11:50:46 +01:00
Peter Maatman
fb13210477 Update av_api.md 2013-11-01 11:50:07 +01:00
irungentoo
b41edb05fd Updated hardening doc. 2013-10-30 20:25:02 -04:00
irungentoo
6391208ab3 Added some things to the TODO list. 2013-10-16 16:18:14 -04:00
Alexander Huffman
017860f812 Update TODO 2013-10-15 08:12:37 -03:00
mannol
5bc2560904 tox A/V: integration of A/V code into tox
Also-by: Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc>
2013-10-13 16:40:15 +02:00