Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-24 | Make toxcore code C++ compatible. | iphydf | |
It is still C code, so still compatible with C compilers as well. This change lets us see more clearly where implicit conversions occur by making them explicit. | |||
2016-09-13 | Use <stdbool.h> and replace _Bool with bool. | iphydf | |
This header is a requirement for the public API, therefore is assumed to exist. It is a C99 standard library header, and _Bool is not intended to be used directly, except in legacy code that defines bool (and true/false) itself. We don't use or depend on such code. None of our client code uses or depends on such code. There is no reason to not use bool. | |||
2016-09-13 | Group #include directives in 3-4 groups. | iphydf | |
1. Current module (if C file). 2. Headers from current library. 3. Headers from other library (e.g. toxcore includes in toxav). 4. System headers. | |||
2016-09-02 | Do not use `else` after `return`. | iphydf | |
http://llvm.org/docs/CodingStandards.html#use-early-exits-and-continue-to-simplify-code | |||
2016-08-31 | Add braces to all if statements. | iphydf | |
2016-08-18 | Make tox_callback_friend_name stateless. | iphydf | |
See #27 and #40 for details. | |||
2015-05-01 | Added a define for the length of onion paths. | irungentoo | |
2015-04-20 | Some small fixes. | irungentoo | |
Increased interval between onion key changes to 2 hours. | |||
2015-01-29 | Code cleanups. | irungentoo | |
Rename array in Node_format from client_id to public_key. | |||
2015-01-20 | Fixed gcc warnings. | irungentoo | |
2015-01-13 | Fix TCP server regression. | irungentoo | |
onion.c was parsing recieved packets a bit too strictly and discarding packets that had ips with non valid families. TCP uses a non valid family to send back the packet to the proper connected node. | |||
2015-01-01 | Code cleanups. | irungentoo | |
Moved some functions to onion.c. Fixed possible portability issues. | |||
2014-12-31 | Code cleanup. | irungentoo | |
Added length checks to ipport_pack() function. | |||
2014-12-31 | Check if received ip family is valid for the onion packets. | irungentoo | |
2014-12-25 | Add function to get nodes from onion path. | irungentoo | |
2014-11-21 | Cleaned up packet length types in toxcore. | irungentoo | |
They are now all uint16_t instead of sometimes being uint32_t. Replaced some other uint32_t with unsigned ints. | |||
2014-08-13 | Added function to create onion packets to send via TCP. | irungentoo | |
2014-08-11 | Added length check to onion_send_1(). | irungentoo | |
2014-07-02 | Merge branch 'const_correctness' of https://github.com/schuetzm/ProjectTox-Core | irungentoo | |
2014-06-30 | Const-correctness for onion.c | Marc Schütz | |
2014-06-30 | Const-correctness for toxcore/onion_announce.c | Marc Schütz | |
2014-06-18 | Preparation work to make onion packets go through TCP. | irungentoo | |
2014-06-13 | Const correctness for various packet callbacks | Marc Schütz | |
2014-05-19 | added missing ipport_pack | notsecure | |
2014-05-19 | IP_Port packing unpacking in onion.c | notsecure | |
2014-04-23 | Major cleanups. | irungentoo | |
Fixed circular dependency between DHT and net_crypto: DHT no longer depends on net_crypto. Moved the crypto request packets functions to crypto core and DHT. Cleaned up/added some defines that can be used to get the true maximum length of things like the friends request message. MAX_DATA_SIZE has been replaced in most places by more appropriate defines. | |||
2014-04-22 | Decided pretty much how the handshake would work. | irungentoo | |
Started writing the code. Astyled some files. | |||
2014-04-21 | Crypto related cleanups. | irungentoo | |
Moved Bunch of functions from net_crypto to crypto_core. decrypt_data_fast and decrypt_data_symmetric were the same thing therefore, removed decrypt_data_fast. Replaced all the crypto_secretbox_* defines with the equivalent crypto_box_* one. New define: crypto_box_KEYBYTES that is equal to crypto_box_BEFORENMBYTES. | |||
2014-03-29 | TCP server now has onion functionality. | irungentoo | |
All the IP/Port related structs now have __attribute__ ((__packed__)) | |||
2014-03-28 | TCP server almost ready. | irungentoo | |
2014-03-05 | CPU optimizations. | irungentoo | |
Use get_shared_key() in more places. | |||
2014-02-26 | Major speed/cpu usage/bandwidth improvements to onion. | irungentoo | |
2014-02-13 | Made onion paths expire. | irungentoo | |
2014-01-25 | Fixed possible anonimity leak with the onion routing. | irungentoo | |
2014-01-21 | Fixed some portability issues. | irungentoo | |
2014-01-17 | Incorporated onion into Tox. | irungentoo | |
Fixed a couple of issues related to that. | |||
2014-01-05 | Tests added and some fixes for the onion part. | irungentoo | |
2014-01-03 | A bit of work done on the onion part. | irungentoo | |
2014-01-01 | Some small cleanups. | irungentoo | |
TODO: remove old todos that have been done. | |||
2013-12-31 | Added onion.c to build system and added a test. | irungentoo | |
2013-12-31 | Fixed small issues in onion.c | irungentoo | |
2013-12-30 | Added a function to create and send a onion packet. | irungentoo | |
2013-12-29 | onion.c now handles another packet type. | irungentoo | |
2013-12-28 | Another packet type is now handled by onion.c | irungentoo | |
2013-12-27 | Another packet type added to onion.c | irungentoo | |
2013-12-25 | All recv packets now handled. | irungentoo | |
2013-12-24 | Added the shell of onion.{c, h} | irungentoo | |