summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2013-08-23New API done and tested.irungentoo
Some stuff needs to be cleaned a bit though.
2013-08-23Added TOX prefix to enum.irungentoo
2013-08-22New api proposal.irungentoo
2013-08-22init_cryptopacket is now called by new_DHT.irungentoo
2013-08-21more ID extractionMichael Rose
2013-08-21refactoring packet IDsMichael Rose
2013-08-20Fixed bug.irungentoo
2013-08-20astyle --options=tools/astylerc -r ./*.{c,h}irungentoo
2013-08-20Fixed DHT_test.c and added some checks.irungentoo
2013-08-20nTox and cmake fixed.irungentoo
2013-08-20Refactor of core done.irungentoo
2013-08-20More refactoring done.irungentoo
2013-08-19Some refactoring done.irungentoo
2013-08-19Fixed segfault.irungentoo
2013-08-19Realloc apparently doesn't always behave like free() if size is zero.irungentoo
2013-08-19Prevented possible MITM attack.irungentoo
Friends must now send to themselves at least one encrypted ping packet every 5 seconds. If no encrypted ping packets are recieved from a friend within 10 seconds the connection is killed.
2013-08-18Fixed segfault and removed deprecated code.irungentoo
2013-08-18Properly fixed possible realloc with size zero problem.irungentoo
2013-08-18Ran it through astyleSean Qureshi
2013-08-18Fixes CERT MEM04-C; CWE-131 in net_crypto.cSean Qureshi
2013-08-18Added minor error checking in Core, this helps prevent CERT MEM04-C; CWE-131Sean Qureshi
2013-08-18Fixed a core memory leakSean Qureshi
2013-08-17Fixed bug.irungentoo
2013-08-17Added dynamic memory allocation to crypto connections.irungentoo
Also fixed some possible bugs in Messenger.c
2013-08-17Messenger stores / loads nicknameMichael Rose
new toxic command to show nickname (mynick)
2013-08-16Metadata collection prevention part 2 of ???irungentoo
Improved friend request sending. As a side effect friend requests should now be routed less than before. See added comments for details.
2013-08-16Passed everything through astyle.irungentoo
2013-08-16Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Coreirungentoo
2013-08-16Some DHT hardening done.irungentoo
See comments of added functions for details.
2013-08-15Merge pull request #471 from krisl/masterirungentoo
Add spam length to data length
2013-08-15Fixed loading and a small problem with the length of crypto requests.irungentoo
2013-08-16Add spam length to data length in comparison against max sizeAaron Lipinski
2013-08-15Updated comment.irungentoo
2013-08-15Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Coreirungentoo
2013-08-15Small improvement to DHT. Useless file removed. Small fix to toxic.irungentoo
2013-08-15Check return value of realloc_friendlist and return FAERR_NOMEM on errorFlorian Hahn
2013-08-15provide access to the close client listAaron Lipinski
2013-08-15move client data struct to header fileAaron Lipinski
2013-08-14Metadata collection prevention part 1 of ???.irungentoo
Crypto requests packets are packets that can be routed by nodes in the DHT. In this pull request I have merged both Natping requests and friend requests into one common packet (Crypto request packets). Both these packets should now only be distinguishable by the size of the data in them to an outside observer for an example on how to send and recieve data with these packets see: friend_requests.c Note that these packets are prefixed with id 32 (friend request packets) which means this change is compatible with the currently running DHT bootstrap servers. Also changed small thing in DHT_test.c
2013-08-14Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Coreirungentoo
2013-08-14Add friend now fails if it already is in DHT.irungentoo
2013-08-14Merge pull request #464 from slvr/crypto-fixirungentoo
Incorrect constants: s/BOXZERO/ZERO/
2013-08-14Messenger fix from pr #461.irungentoo
2013-08-14Reduced redundant code, added new crypto testslvr
2013-08-14s/BOXZERO/ZERO/slvr
2013-08-14Incorrect constants: s/BOXZERO/ZERO/slvr
2013-08-14fixing minor memory leak of friendlistChris Hall
2013-08-14removing unnecessary function pointer _isset variablesChris Hall
2013-08-13Attempt to quickly fix a test.irungentoo
2013-08-13Simple XOR checksum added to address.irungentoo