summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-09-18Make CMake fail if json-c is required, but not foundMatthias Schiffer
2014-09-16More fixes for zero-length VLAsMatthias Schiffer
2014-09-16Fix undefined behaviour due to zero length VLAs in null+* methodsMatthias Schiffer
2014-09-16Add status socket option to OpenWrt example filesMatthias Schiffer
2014-09-15Add status.pl example scriptMatthias Schiffer
2014-09-15Don't try to poll on invalid status socket FDMatthias Schiffer
2014-09-15Reorder fields of the peer structureMatthias Schiffer
This tries to get the structure a bit smaller and improve cache locality.
2014-09-15status: add uptime and established timesMatthias Schiffer
2014-09-12Add per-peer statsMatthias Schiffer
2014-09-12Restructure traffics stats to keep all stats in a single structureMatthias Schiffer
2014-09-10ec25519-fhmqvc: refactor old session check codeMatthias Schiffer
2014-09-09Add current method of connections to status outputMatthias Schiffer
2014-09-09Fix copyright of the OpenWrt init scriptMatthias Schiffer
I wrote it myself, so it's better if the copyright notice matches the rest of fastd.
2014-09-08Move systemd unit to a new doc/examples dir, add OpenWrt example config and ↵Matthias Schiffer
init script
2014-09-08Make stats of reordered packetsMatthias Schiffer
2014-09-06Move UNUSED attribute to the start of arguments to help editors understand ↵Matthias Schiffer
the syntax
2014-09-06Don't count stats when WITH_STATUS_SOCKET is not setMatthias Schiffer
2014-09-06Fix async command waitpid error handling (again...)Matthias Schiffer
2014-09-06Fix poll initialization on systems without epollMatthias Schiffer
2014-09-05Add status socket to get the current status as JSONMatthias Schiffer
2014-09-05Dynamically grow hashtable when there are more than twice as many entries as ↵Matthias Schiffer
buckets This allows us to start with a much smaller hashtable and scale much higher.
2014-09-04Support dynamic binds with extra options (interface binds, specific ↵Matthias Schiffer
addresses...)
2014-09-04Nicer handshake error messages instead of "unacceptable value"Matthias Schiffer
2014-09-04Add user manual as Sphinx docMatthias Schiffer
2014-09-03Fix UHASH build on MacOS XMatthias Schiffer
2014-09-03Fix clock_gettime() on MacOS XMatthias Schiffer
2014-09-03Fix UHASH build on *BSDMatthias Schiffer
2014-09-01Remove old state dump featureMatthias Schiffer
It will be replaced by a nicer version.
2014-09-01Add missing docs to secure_memequal and block_equalMatthias Schiffer
2014-09-01Add alloc helpers for aligned allocationsMatthias Schiffer
2014-09-01Add missing stdbool.h include to dlist.hMatthias Schiffer
2014-09-01Ensure peer add/delete messages are printed for the same peersMatthias Schiffer
2014-08-31Replace memcmp with a constant-time version in some placesMatthias Schiffer
2014-08-28Add generic-umac and composed-umac methods based on UMACMatthias Schiffer
2014-08-28Add UHASH implementationMatthias Schiffer
2014-08-28Revert "Experimental HMAC-SHA1 implementation"Matthias Schiffer
We don't really want to support it, and it's slower than GHASH... This reverts commit 9bf498263765328011ee105e5e7b3e1cc1b2bc3f.
2014-08-25Move some utility funtions to a new headerMatthias Schiffer
2014-08-25Experimental HMAC-SHA1 implementationMatthias Schiffer
This adds experimental support for <cipher>+hmac-sha1 methods. It currently depends on OpenSSL and is not yet ready for production use.
2014-08-25MAC: rename hash() to digest() and change length unit from blocks to bytesMatthias Schiffer
2014-08-24Coding style: always add a space between a pointer's type and the *Matthias Schiffer
2014-08-24Use simple int64_t timestamps in ms instead of timespecsMatthias Schiffer
2014-08-24Exit if invalid peers are configured on the command lineMatthias Schiffer
2014-08-24Don't output "adding peer" messages for static peersMatthias Schiffer
Otherwise log messages are emitted to early.
2014-08-24Improve error messages for invalid static peersMatthias Schiffer
2014-08-24Fix function name in commentMatthias Schiffer
2014-08-24Instead of replacing changed peers, delete and re-add themMatthias Schiffer
This ensures they get a new ID, so asychronous replies for the old config aren't associated with the new one.
2014-08-24Fix waitpid EINTR error on SIGCHLDMatthias Schiffer
waitpid may fail with EINTR for SIGCHLD even when all signals are blocked.
2014-08-24Fix connections to peers with static addressesMatthias Schiffer
2014-08-24Merge peer config into peer structureMatthias Schiffer
With this refactoring, the structure fastd_peer_config_t is merged into fastd_peer_t, and fastd_remote_config_t into fastd_remote_t. This also means we now create peers directly when reading their configurations, which significantly simplifies the whole reload process, and prepares for some future optimizations like a key hash table. Note: This commit is too big, but I couldn't come up with a nice way to split it into smaller pieces...
2014-08-22Remove VECTOR_ALLOCMatthias Schiffer
It is done automatically now if the VECTOR is zeroed before.