Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-08-22 | init_cryptopacket is now called by new_DHT. | irungentoo | |
2013-08-21 | more ID extraction | Michael Rose | |
2013-08-21 | refactoring packet IDs | Michael Rose | |
2013-08-20 | Fixed bug. | irungentoo | |
2013-08-20 | astyle --options=tools/astylerc -r ./*.{c,h} | irungentoo | |
2013-08-20 | Fixed DHT_test.c and added some checks. | irungentoo | |
2013-08-20 | nTox and cmake fixed. | irungentoo | |
2013-08-20 | Refactor of core done. | irungentoo | |
2013-08-20 | More refactoring done. | irungentoo | |
2013-08-19 | Some refactoring done. | irungentoo | |
2013-08-19 | Fixed segfault. | irungentoo | |
2013-08-19 | Realloc apparently doesn't always behave like free() if size is zero. | irungentoo | |
2013-08-19 | Prevented 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-18 | Fixed segfault and removed deprecated code. | irungentoo | |
2013-08-18 | Properly fixed possible realloc with size zero problem. | irungentoo | |
2013-08-18 | Ran it through astyle | Sean Qureshi | |
2013-08-18 | Fixes CERT MEM04-C; CWE-131 in net_crypto.c | Sean Qureshi | |
2013-08-18 | Added minor error checking in Core, this helps prevent CERT MEM04-C; CWE-131 | Sean Qureshi | |
2013-08-18 | Fixed a core memory leak | Sean Qureshi | |
2013-08-17 | Fixed bug. | irungentoo | |
2013-08-17 | Added dynamic memory allocation to crypto connections. | irungentoo | |
Also fixed some possible bugs in Messenger.c | |||
2013-08-17 | Messenger stores / loads nickname | Michael Rose | |
new toxic command to show nickname (mynick) | |||
2013-08-16 | Metadata 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-16 | Passed everything through astyle. | irungentoo | |
2013-08-16 | Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core | irungentoo | |
2013-08-16 | Some DHT hardening done. | irungentoo | |
See comments of added functions for details. | |||
2013-08-15 | Merge pull request #471 from krisl/master | irungentoo | |
Add spam length to data length | |||
2013-08-15 | Fixed loading and a small problem with the length of crypto requests. | irungentoo | |
2013-08-16 | Add spam length to data length in comparison against max size | Aaron Lipinski | |
2013-08-15 | Updated comment. | irungentoo | |
2013-08-15 | Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core | irungentoo | |
2013-08-15 | Small improvement to DHT. Useless file removed. Small fix to toxic. | irungentoo | |
2013-08-15 | Check return value of realloc_friendlist and return FAERR_NOMEM on error | Florian Hahn | |
2013-08-15 | provide access to the close client list | Aaron Lipinski | |
2013-08-15 | move client data struct to header file | Aaron Lipinski | |
2013-08-14 | Metadata 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-14 | Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core | irungentoo | |
2013-08-14 | Add friend now fails if it already is in DHT. | irungentoo | |
2013-08-14 | Merge pull request #464 from slvr/crypto-fix | irungentoo | |
Incorrect constants: s/BOXZERO/ZERO/ | |||
2013-08-14 | Messenger fix from pr #461. | irungentoo | |
2013-08-14 | Reduced redundant code, added new crypto test | slvr | |
2013-08-14 | s/BOXZERO/ZERO/ | slvr | |
2013-08-14 | Incorrect constants: s/BOXZERO/ZERO/ | slvr | |
2013-08-14 | fixing minor memory leak of friendlist | Chris Hall | |
2013-08-14 | removing unnecessary function pointer _isset variables | Chris Hall | |
2013-08-13 | Attempt to quickly fix a test. | irungentoo | |
2013-08-13 | Simple XOR checksum added to address. | irungentoo | |
2013-08-13 | clarified comment. | irungentoo | |
2013-08-13 | Friend requests with different nospam fix and added saving/loading of nospam. | irungentoo | |
2013-08-13 | Fixed spam problem. (I broke the API so this will not build) | irungentoo | |
The friend address is what the byte string that you give away for people to add you will be called. 1. Every friend address now contains a number set by the friend. This is to prevent someone from randomly spamming people in the DHT with friend requests and makes it so you need the person to actually give you the address in some way to send the friend request. This number is expected to be encrypted with the friend request. All requests that do not contain this number will be rejected. This means the spammer can no longer use the DHT to collect lists of valid addresses to spam. It also enables users to quickly change the number in case a spammer gets hold of the address and starts spamming it. 2. A 2 byte checksum will be added (not implemented yet) to prevent people from accidentally adding random strings as friends. (NOTE that this has nothing to do with the spam problem I just decided to add a placeholder for it now.) |