Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-02-24 | Some minor cleanups suggested by cppcheck. | iphydf | |
DETECTED=cppcheck | |||
2018-02-24 | Minor cleanups: dead stores and avoiding complex macros. | iphydf | |
2018-02-04 | Use more ubuntu packages; remove hstox for now. | iphydf | |
Since trusty has more up-to-date packages, we can remove some of the custom install code. Also, we're not using hstox at the moment, so there is no need to slow down the builds for now. | |||
2018-01-30 | Use nullptr as NULL pointer constant instead of NULL or 0. | iphydf | |
This changes only code, no string literals or comments. | |||
2018-01-16 | Make DHT a module-private type. | iphydf | |
2018-01-16 | Use apidsl to generate LAN_discovery.h. | iphydf | |
2018-01-14 | Make Onion_Announce a module-private type. | iphydf | |
2018-01-11 | Move Networking_Core struct into the .c file. | iphydf | |
To make it an abstract type everywhere except in network.c. | |||
2018-01-10 | Fix formatting in some C files. | iphydf | |
Also replace &(x) with &x for consistency. | |||
2017-10-28 | set onion pingid timeout to announce timeout (300s) | zugz | |
2017-02-21 | Use VLA macro | Maxim Biro | |
2017-02-11 | remove statics used in onion comparison functions | zugz | |
2017-01-28 | Add VLA compatibility macro for C89-ish compilers. | iphydf | |
2017-01-19 | Update license headers and remove redundant file name comment. | iphydf | |
"All rights reserved" was incorrect. The project was licensed under GPL3, which means a lot of rights are licensed to everybody in the world, i.e. not reserved to the "Tox Project". | |||
2016-12-22 | Wrap all sodium/nacl functions in crypto_core.c. | iphydf | |
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 | 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-01 | Remove useless casts. | iphydf | |
These casts are either completely useless (casting T to T) or implicit (x = y). | |||
2016-09-01 | Sort #includes in all source files. | iphydf | |
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. | |||
2016-01-30 | Fixes. | irungentoo | |
Fixed bug from merged PR. Don't build useless files when building with libsodium. | |||
2016-01-27 | fix: compare sensitive data with sodium_memcmp | Roman Proskuryakov | |
fix: make increment_nonce & increment_nonce_number independent of user-controlled input fix: make crypto_core more stable agains null ptr dereference | |||
2015-01-29 | Code cleanups. | irungentoo | |
Rename array in Node_format from client_id to public_key. | |||
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-10-24 | Don't send -1 bytes. There is such check everythere. But if we add it in ↵ | xor2003 | |
side funciton the logic will change | |||
2014-09-06 | This fixes an issue where nodes could stay unannounced for certain | irungentoo | |
periods of time. Online nodes should now be able to announce themselves continuously. | |||
2014-08-28 | Fixed gcc warnings. | irungentoo | |
2014-08-11 | Some code refactoring to make passing onion packets through TCP easier. | irungentoo | |
2014-07-02 | Merge branch 'const_correctness' of https://github.com/schuetzm/ProjectTox-Core | irungentoo | |
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-15 | Astyled code. | irungentoo | |
2014-06-13 | Const correctness for various packet callbacks | Marc Schütz | |
2014-06-01 | Fixed TOX_MAX_MESSAGE_LENGTH define. | irungentoo | |
Removed some useless code from toxcore. Astyled core code with new version of astyle. | |||
2014-05-12 | Use ping_array to store onion announce information instead of sending | irungentoo | |
over a huge cookie. This reduces the size of the onion announce packets by 100 bytes. | |||
2014-04-23 | Updated some files so that they could build with latest core. | irungentoo | |
Fixed some issues. | |||
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-04-15 | Fixed regression, announce responses can contain 0 nodes. | irungentoo | |
2014-04-15 | Major protocol changes, this commit breaks all network compatibility. | irungentoo | |
Removed a bunch of useless space from various structs. pack_nodes() and unpack_nodes() are now used to transmit lists of nodes for the DHT and onion parts. They provide a way to transmit both ipv6 and ipv4 nodes in the same packet in a portable way that takes as little space as possible without compression. Using pack_nodes, merged the send nodes and send nodes ipv6 packets into one packet greatly reducing the risk of amplification attacks. | |||
2014-03-05 | CPU optimizations. | irungentoo | |
Use get_shared_key() in more places. | |||
2014-03-03 | Some CPU optimizations and fixes to onion_announce_request. | irungentoo | |
2014-02-26 | Major speed/cpu usage/bandwidth improvements to onion. | irungentoo | |
2014-02-15 | Fixed some possible issues. | irungentoo | |
2014-02-01 | Added DHT bootstrap server info packets. | irungentoo | |
define DHT_SERVER_EXTRA_PACKETS to enable. | |||
2014-01-25 | Fixed possible anonimity leak with the onion routing. | irungentoo | |
2014-01-19 | Small protocol change for more replay attack prevention. | irungentoo | |
see the changes to Prevent_Tracking.txt | |||
2014-01-17 | Incorporated onion into Tox. | irungentoo | |
Fixed a couple of issues related to that. |