Commit Graph

1816 Commits

Author SHA1 Message Date
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
irungentoo
c51b8a9eba Added function to save an encrypted version of the messenger.
Also added some tests.
2013-12-21 22:35:27 -05:00
irungentoo
83cb946db0 Removed upper size limit from encrypt and decrypt_data_symmetric. 2013-12-21 19:42:30 -05:00
irungentoo
f1ba5475d4 Merge pull request #682 from jin-eld/build-dht-bootstrap
Always build DHT_bootstrap
2013-12-20 09:46:08 -08:00
Jin^eLD
92e9ec6674 Always build DHT_bootstrap
DHT_bootstrap is not the same as DHT_bootstrap_serverdaemon, the latter
depends on libconfig and can be enabled/disable via a configure
parameter.

DHT_bootstrap has no dependencies and can always be built.
2013-12-20 18:42:54 +01:00
irungentoo
a6d5a54c79 Fixed ntox building on windows. 2013-12-19 12:36:51 -05:00
irungentoo
d945489aef This might help travis pass the CPU intensive tests.
Gotta go fast.
2013-12-19 10:12:43 -05:00
irungentoo
a576e451ab Added new tox autotest. 2013-12-18 20:34:11 -05:00
irungentoo
7092303823 Added simple test for tox. 2013-12-17 18:55:28 -05:00
irungentoo
15d17b0a3c Astyled the code. 2013-12-16 20:49:24 -05:00
irungentoo
24974ef816 Code cleanups.
No functionality changed.
2013-12-15 18:57:10 -05:00
irungentoo
e05120f74e Fixed comment. 2013-12-14 12:23:25 -05:00
Jfreegman
4391a86556 small fix 2013-12-13 20:38:01 -05:00
Jfreegman
b92cdcf184 added groupchat actions 2013-12-13 20:27:25 -05:00
irungentoo
4a5136f431 Merge pull request #678 from FullName/retipp-fix
Fix a code cleanup.
2013-12-13 11:40:17 -08:00
irungentoo
dfd46a040a Merge branch 'assoc-refresh-distant-data' of https://github.com/FullName/ProjectTox-Core into FullName-assoc-refresh-distant-data 2013-12-12 21:51:17 -05:00
irungentoo
cbee548b0a Fixed arm bug. 2013-12-12 13:49:49 -05:00
irungentoo
08890a2004 Fixed arm bug. 2013-12-12 11:26:19 -05:00
Coren[m]
9a5a5fad87
Fix a code cleanup.
DHT.c:
- get_close_nodes():
    - allow two 'indirect' nodes ('indirect' as in distant from us and therefore not tested regularly, "bad")
    - be consequent when testing for NULLed results, pack nodes_list dense
    - (logging) dump number of found entries from assoc
- returnedip_ports():
    - fix code cleanup, the entry to be added is about the node we were told, not about the node who told us

assoc.c:
- Assoc_get_close_entries(): break from loops as soon as a marking-invalid-node is hit
2013-12-11 20:00:42 +01:00
irungentoo
f3212ab33f Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core 2013-12-11 07:13:29 -05:00
irungentoo
d3ccc00244 Increased some intervals/timeouts to lower network usage. 2013-12-11 07:12:55 -05:00
irungentoo
e0a7565b53 Merge pull request #677 from aitjcize/api-name
More API consistent fix.
2013-12-10 12:00:43 -08:00
AZ Huang
2d841fb791 More API consistent fix. 2013-12-10 17:54:04 +08:00
irungentoo
563664d1a5 Fixed possible issue. 2013-12-09 09:30:35 -05:00
irungentoo
d5092e7cf8 Cleaned up and fixed various things. 2013-12-08 19:48:18 -05:00
irungentoo
48c50b5cef Send groupchat ips like DHT ones. 2013-12-08 18:23:30 -05:00
irungentoo
a4968bdbc5 Compatibility fixes.
AF_INET/AF_INET6 can vary across devices, we introduce TOX_AF_INET and
TOX_AF_INET6 to fix this.
2013-12-08 18:15:30 -05:00
Coren[m]
ad9d20c08b
do_Assoc(): keep the data of the buckets somewhat current 2013-12-08 05:43:24 +01: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
irungentoo
d078c5e9c2 Try to replace not tested/possibly bad nodes before good nodes. 2013-12-07 17:44:30 -05:00
irungentoo
7cd43ecc76 Merge branch 'master' into harden 2013-12-06 22:51:17 -05:00
irungentoo
4207b73ca9 Merge pull request #674 from FullName/RFC6598
Shared address space for stacking NAT (CGN) is LAN.
2013-12-05 16:43:03 -08:00
irungentoo
45785ffed0 Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core 2013-12-05 19:40:32 -05:00
irungentoo
2aae893b6d All nodes returned must be good. 2013-12-05 19:28:13 -05:00
irungentoo
245a1511e6 Added a assoc test.
Changed default assoc so that it behaves correctly.
2013-12-05 19:25:56 -05:00