summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-27 add: more comments into network.cRoman Proskuryakov
2016-01-27 add: comments about hairy codeRoman Proskuryakov
2016-01-27 add: comment about endiannessRoman Proskuryakov
2016-01-27 fix: compare sensitive data with sodium_memcmpRoman Proskuryakov
fix: make increment_nonce & increment_nonce_number independent of user-controlled input fix: make crypto_core more stable agains null ptr dereference
2016-01-24Merge branch 'travis-fix' of https://github.com/nurupo/InsertProjectNameHereirungentoo
2016-01-24Merge branch 'nurupo-tox-bootstrapd-get-nodes-fix'irungentoo
2016-01-24Update Travis scriptMaxim Biro
Reduces the running time from about 8 minutes to about 5, as it uses packaged libraries instead of building them. This is possible because of the Ubuntu Trusty becoming available on Travis. The new check that is in Trusty has different behaviour than the previously user version of it -- it doesn't output the detailed result of tests. To fix this we cat a file where this detailed result is stored.
2016-01-24Add missing newlineMaxim Biro
2016-01-15Merge branch 'mannol-master'irungentoo
2016-01-13Fix issue #1497Eniz Vukovic
2016-01-04Test fix.irungentoo
2016-01-04Cleanups.irungentoo
2016-01-04Merge branch 'tox-bootstrapd-docker-support' of ↵irungentoo
https://github.com/nurupo/InsertProjectNameHere
2016-01-04DHT improvements part 1.irungentoo
2016-01-02Change init.d to SysVinitMaxim Biro
2016-01-02Add information on how to update the bootstrap daemonMaxim Biro
2016-01-01Keep it in alphabetical orderMaxim Biro
2016-01-01Version bumpMaxim Biro
2016-01-01Add Dockerfile for the daemonMaxim Biro
2016-01-01Flush stdout outputMaxim Biro
Apparently when no tty is attached, which is the case for Docker, the buffer size for stdout increases to the point that only half of the entire log might be written.
2016-01-01Unify function comment styleMaxim Biro
Use doxygen java-style function comments already used in log.[c|h].
2016-01-01Fix license headers and file descriptionsMaxim Biro
2016-01-01Fix include pathsMaxim Biro
They are relative to the Makefile instead of the source file itself, which is unintuitive and is messing with my IDE.
2016-01-01Remove dependency on files from testing directoryMaxim Biro
Also remove unneeded includes and refactor sleep define.
2016-01-01Put command-line arguments related functions in a separate fileMaxim Biro
2016-01-01Put config-related functions in a separate fileMaxim Biro
bootstrap_node_packets.c was giving an error as it was being included twice and there were no include guards, so part of it was split into bootstrap_node_packets.h.
2015-12-31Add ability to run the daemon in foregroundMaxim Biro
Useful for things like a Docker container or just running it in the terminal. Complements the stdout logging option. This is actually why the stdout logging was added in the first place -- to be used in the foreground mode, though nothing stops one from using stdout in the background mode, which one could redirect to a file.
2015-12-31Fix wrong filename mentioned above licenseMaxim Biro
2015-12-31Rename LOGGER_BACKEND to LOG_BACKENDMaxim Biro
2015-12-31Add ability to specify multiple command line argumentsMaxim Biro
Needed in order to specify which log backend to use. Init scripts need to be updated to contain --config before the path to the config file.
2015-12-31Make daemon use the new log codeMaxim Biro
"log" is a reserved name (log from math.h), so it got changed into write_log.
2015-12-31Make logger a global object instead of an instanceMaxim Biro
Passing Logger object into every function isn't fun. See for yourself: something as simple as a public key printing function turns from >void print_public_key(const uint8_t *public_key) to >void print_public_key(Logger *logger, const uint8_t *public_key)
2015-12-30Add logger object to be able to support multiple logging backendsMaxim Biro
2015-12-30Change log levelsMaxim Biro
Some of them were set incorrectly, e.g. something that caused the daemon to exit was marked as just a warning, instead of an error. Removed debug level as it was hard to decide whether something should go into info or debug. This is mostly because the use of the debug level wasn't well defined. Debug should be used for information that could help a user to debug an issue, but messages marked as debug were by the most part the "success" log messages, which could go into info level instead.
2015-12-17Fixed possible bug.irungentoo
2015-12-17Allow 0 length sendnode.irungentoo
2015-12-16Send get nodes instead of ping to timing out nodes.irungentoo
2015-12-16This is still useful.irungentoo
2015-12-16Slightly increase ping timeout.irungentoo
2015-12-16Less packet spam.irungentoo
2015-12-16Improved the to_ping list.irungentoo
2015-12-15Fixed use of it after free.irungentoo
2015-12-15Onion test fixed to work with faster DHT.irungentoo
2015-12-15More efficient DHT searching.irungentoo
2015-12-14Sort list if timed out nodes are in the middle of the list.irungentoo
2015-12-14Send get nodes more to closer nodes than further nodes.irungentoo
2015-12-12Merge branch 'LittleVulpix-donatorfile' of ↵irungentoo
https://github.com/LittleVulpix/toxcore
2015-12-12Small onion search improvement.irungentoo
2015-12-12Update so this works with the new distance function.irungentoo
2015-12-12Added my pixfile!LittleVulpix