summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-08-02Don't use exponential notation for integersMatthias Schiffer
2014-08-02Introduce and use alloc helpersMatthias Schiffer
These new helpers will terminate fastd on allocation failures and add some additional convenience (allow strdup with NULL; typesafe new(type) macros).
2014-08-01Fix CMake warning about doc target, only use `doxygen' targetMatthias Schiffer
Also, to avoid conflicts with the doc directory, the default output dir has been changed to doxygen.
2014-08-01Use srandom/random instead of rand_rMatthias Schiffer
There's no need to keep our own seed.
2014-07-10config: fix basic config checks in TUN modeMatthias Schiffer
2014-06-30Development versionMatthias Schiffer
2014-06-30fastd v14v14Matthias Schiffer
2014-06-28Fix build with ENABLE_OPENSSLMatthias Schiffer
2014-06-21Development versionMatthias Schiffer
2014-06-21fastd v13v13Matthias Schiffer
2014-06-21Update manMatthias Schiffer
2014-06-14peer_hashtable: fix address hashing on systems with holes in sockaddr ↵Matthias Schiffer
definitions
2014-06-14Add missing sys/uio.h includesMatthias Schiffer
2014-06-14verify: add missing sys/wait.h includeMatthias Schiffer
2014-06-14shell: add missing signal.h includeMatthias Schiffer
2014-06-14peer: remove always-true conditionMatthias Schiffer
2014-06-14Ensure that peers get their place in the handshake queue even when the async ↵Matthias Schiffer
queue is full When the first resolve return for a newly reset peer is lost, init_handshake() would never be called, and the peer would never get handshakes again. This probably won't ever happen in practice, but since it's easy to fix, better be correct here.
2014-06-14Limit the number of concurrent on-verify runsMatthias Schiffer
2014-06-12Remove an unused variableMatthias Schiffer
2014-06-12Fix an undefined shiftMatthias Schiffer
2014-06-11Fix error message when ENABLE_LIBSODIUM is set and libsodium is not foundMatthias Schiffer
2014-06-10Clean up peer config loadingMatthias Schiffer
Instead of changing the peer list and peer group in the main conf during (re-)loading, add a parser state which contains this information.
2014-06-08Allow async verify for handshake responsesMatthias Schiffer
This will lead to a bit strange handshake as a handshake response is answered with another handshake response, but it won't lead to loops because of the verification and handshake backoff intervals.
2014-06-08Add ENABLE_LTO cmake optionMatthias Schiffer
Tested with GCC and clang; unlikely to work with other toolchains, so it's disabled by default.
2014-06-06Use gcc-provided ar, nm and ranlib if available to allow supporting LTOMatthias Schiffer
2014-06-05Simplify systemd notify socket handlingMatthias Schiffer
2014-06-04Use libsodium by defaultMatthias Schiffer
2014-06-03Create threads in detached stateMatthias Schiffer
2014-05-31dump_state(): used unsigned instead of size_t to ensure correct variadic ↵Matthias Schiffer
function call
2014-05-31Fix dump_state()Matthias Schiffer
2014-05-31Fix poll race condition on *BSDMatthias Schiffer
2014-05-31More signal handling fixesMatthias Schiffer
2014-05-31Fix blocking signals...Matthias Schiffer
2014-05-31Remove EINTR handling where signals are blocked anywaysMatthias Schiffer
2014-05-31Unblock signals only during poll/epoll waitMatthias Schiffer
If signals are normally blocked, we can avoid a lot of EINTR handling.
2014-05-31Make log levels verbose and info more usefulMatthias Schiffer
2014-05-31Split main functionMatthias Schiffer
init() is still a bit long, but much better than before.
2014-05-31Fix signal handling racesMatthias Schiffer
2014-05-29Ensure peer hashtable consistency on address resetsMatthias Schiffer
2014-05-29Document *everything*Matthias Schiffer
2014-05-29Simplify configuration of cipher and MAC implementationsMatthias Schiffer
Let the cipher and MAC handlers just store the chosen implementations themselves instead of relying on the global configuration.
2014-05-28Still more documentationMatthias Schiffer
2014-05-27Remove fastd_true()Matthias Schiffer
2014-05-27More documentationMatthias Schiffer
2014-05-27A bit more fastd.h cleanupMatthias Schiffer
2014-05-27Merge handle_forward into fastd_send_dataMatthias Schiffer
2014-05-27A bit more documentationMatthias Schiffer
2014-05-27Lots and lots of documentationMatthias Schiffer
2014-05-27poll: document the poll APIMatthias Schiffer
2014-05-27Move tuntap handling out of poll.cMatthias Schiffer