Commit Graph

2651 Commits

Author SHA1 Message Date
irungentoo
e6e2112350 Commented out now useless code. 2014-01-19 14:00:41 -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
Maxim Biro
885e5898c5 Astyled the code 2014-01-19 13:53:18 -05:00
irungentoo
cdcb8b8600 Added no_replay and added some things to the docs. 2014-01-19 09:44:33 -05:00
Maxim Biro
5a4756a6c0 Fixed build 2014-01-19 05:03:19 -05:00
Maxim Biro
8a80b5e0ac Fixed comments and variables' names 2014-01-19 04:57:46 -05:00
Maxim Biro
50ad4e84c5 Renamed to fix build process 2014-01-19 04:37:21 -05:00
Maxim Biro
f254f3aa1b Fixed some formatting 2014-01-19 04:37:20 -05:00
Maxim Biro
733916ea05 Tell github that README is a markdown file 2014-01-19 04:37:19 -05:00
Maxim Biro
28edc23329 Improved DHT bootstrap daemon
Supports "unlimited" number of bootstrap nodes in the config file, instead of
just 32.
PID and keys file paths are not limited by 512 chars anymore.
Doesn't read the whole list of bootstrap servers into a global datastructure
that just sits there after being processed once -- reads bootstrap servers
one by one, processing them between reads.
Supports IPv6.
Has an option for IPv6.
Supports LAN discovery.
Has an option for LAN discovery.
Writes to syslog.
Uses new functions introduced in the core.
`status` in the bash script now works.
Has a simple README, with instructions for Debian-based distros.
2014-01-19 04:34:58 -05:00
irungentoo
99ae23813b Some optimizations and fixes. 2014-01-18 18:35:28 -05:00
irungentoo
8d1ef66892 Fixed segfault. 2014-01-18 16:35:52 -05:00
irungentoo
91b06da0c3 Fixed spelling. 2014-01-17 18:10:32 -05:00
irungentoo
d11cf9c5a8 Small performance increases. 2014-01-17 15:46:09 -05:00
irungentoo
608330efef Onion servers are now DHT ready. 2014-01-17 14:00:00 -05:00
irungentoo
cd2474a2f6 Incorporated onion into Tox.
Fixed a couple of issues related to that.
2014-01-17 13:35:40 -05:00
Marco Hoyer
db2a4073c5 describe configuration of libsodium path
after failing the installation with described error, I needed some time to realize that there might be a problem with the custom path of libsodium installed by homebrew, needing manual configuration. Hope this saves some time for somebody.
2014-01-16 21:07:06 +01:00
irungentoo
9fcb707ec4 Wrote random_path function.
Added onion_client to the build system.
2014-01-16 10:00:36 -05:00
irungentoo
aff78b159c onion_client almost done. 2014-01-15 20:47:26 -05:00
irungentoo
b345bcea8b Some packet handling code added to onion_client. 2014-01-14 20:25:26 -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
878762a8e4 Added functions to add/remove friends in onion_client.
Added a tiny optimization to net_crypto.
2014-01-13 20:11:54 -05:00
irungentoo
675487936e Some work done in onion_client. 2014-01-12 20:56:39 -05:00
irungentoo
dac7fe0338 Some work done on onion_client 2014-01-11 21:19:50 -05:00
irungentoo
94b5e55189 Some work on onion_client done. 2014-01-10 23:04:39 -05:00
irungentoo
91ce6092b4 Removed useless line. 2014-01-10 22:25:53 -05:00
irungentoo
6cb1e9309f updated TODO. 2014-01-10 11:24:14 -05:00
irungentoo
83e9890d6b Some work done on the client part. 2014-01-09 20:55:45 -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
5e6e503201 Added shell of onion_client.c 2014-01-07 19:38:37 -05:00
irungentoo
566c9f63bc onion_announce seems to be working perfectly.
Stuff added and fixed.
2014-01-06 17:59:44 -05:00
irungentoo
6cd1e7fb70 Tests added and some fixes for the onion part. 2014-01-05 19:22:38 -05:00
irungentoo
7e2d21271a Some work on the onion part done. 2014-01-04 19:40:43 -05:00
irungentoo
d46891c3b7 A bit of work done on the onion part. 2014-01-03 22:13:20 -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
ec429b7fee Some small cleanups.
TODO: remove old todos that have been done.
2014-01-01 22:24:09 -05:00
irungentoo
97b9a9cf04 Added onion.c to build system and added a test. 2013-12-31 23:18:37 -05:00
irungentoo
5341801bf1 Fixed small issues in onion.c 2013-12-31 22:05:33 -05:00
irungentoo
9c9e3b0e45 Added a function to create and send a onion packet. 2013-12-30 12:20:30 -05:00
irungentoo
346dc5265e onion.c now handles another packet type. 2013-12-29 15:10:09 -05:00
irungentoo
822c7d3dca Another packet type is now handled by onion.c 2013-12-28 21:51:09 -05:00
irungentoo
86aff82a9f Another packet type added to onion.c 2013-12-27 15:21:16 -05:00
irungentoo
977aab7f2f It makes more sense for new_keys() to be in new_net_crypto() 2013-12-26 09:47:35 -05:00
irungentoo
042d759847 All recv packets now handled. 2013-12-25 20:23:14 -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
a55437a220 Added some tests. 2013-12-22 22:30:14 -05:00
irungentoo
47436c36f5 Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core 2013-12-21 22:36:27 -05:00