summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
AgeCommit message (Collapse)Author
2014-05-23Implement a different fix for the waitpid race condition not needing a ↵Matthias Schiffer
reaper thread for each child
2014-05-23More documentationMatthias Schiffer
2014-05-22More documentationMatthias Schiffer
2014-05-22Move fastd_peer_group{,_config} definitions to peer.hMatthias Schiffer
2014-05-22Remove PACKET_TYPE_LEN defineMatthias Schiffer
2014-05-01Remove support for log filesMatthias Schiffer
syslog/journald do a much better job at organizing logs, with the additional advantage of proper log rotation. If someone really wants to have a log file for fastd, they can just redirect stderr.
2014-04-30Use SOCK_NONBLOCK where availableMatthias Schiffer
2014-04-30Remove now unneeded FD_CLOEXEC flag configMatthias Schiffer
2014-04-30shell: close all fds > 2 after forkingMatthias Schiffer
socket/fcntl to set FD_CLOEXEC isn't thread-safe with async verify handlers, and SOCK_CLOEXEC isn't portable.
2014-04-29Fold fastd_open_pipe into fastd_async_init, simpify fastd_setfl and ↵Matthias Schiffer
fastd_setfd and move to fastd.h
2014-04-26Make on-verify support optionalMatthias Schiffer
2014-04-26Implement async verifyMatthias Schiffer
2014-04-26Revise shell command APIMatthias Schiffer
2014-04-25Move around some codeMatthias Schiffer
2014-04-24Add a sequential number to identify peersMatthias Schiffer
2014-04-24Always use size_t for countersMatthias Schiffer
2014-04-21Remove vector of new temporary peersMatthias Schiffer
The new poll code has made this second peer list obsolete.
2014-04-20Make ctx globalMatthias Schiffer
2014-04-20Make conf globalMatthias Schiffer
2014-04-20Linux: use epoll to handle great numbers of peers with less overheadMatthias Schiffer
2014-04-19Keep peers in a hash table to allow fast address lookupsMatthias Schiffer
2014-04-19Keep a vector of pollfds instead of regenerating it all the timeMatthias Schiffer
2014-04-19Store peers as vectors of pointers instead of linked listsMatthias Schiffer
2014-04-19Make eth_addrs a vectorMatthias Schiffer
2014-04-19Optimize maintenance routine (and don't run it more often than necessary)Matthias Schiffer
2014-04-13Add on-connect hookMatthias Schiffer
2014-04-11Improve shell command config handlingMatthias Schiffer
2014-04-10Add support for multiple async message typesMatthias Schiffer
2014-04-10Move handling of resolve returns requests to a new source fileMatthias Schiffer
2014-04-10Use #pragma onceMatthias Schiffer
2014-03-20Enable secure handshakes by defaultMatthias Schiffer
2014-03-14Adjust copyright yearsMatthias Schiffer
2014-03-10Make --verify-config option more flexibleMatthias Schiffer
2014-03-10Add --verify-config optionMatthias Schiffer
2014-01-26Add support for link-local bind addressesMatthias Schiffer
2014-01-26Get rid of long_ago variable, use timeout helpersMatthias Schiffer
2014-01-26Add timeout helpersMatthias Schiffer
2014-01-26Add support for setting packet marksMatthias Schiffer
2014-01-26Add minimum handshake interval for unknown addresses (handles up to 8 ↵Matthias Schiffer
addresses for now)
2013-12-16resolve: consider all addresses returned for a hostnameMatthias Schiffer
2013-12-16Revert "resolve: save a timestamp in the resolve return to ensure we don't ↵Matthias Schiffer
confuse remotes before and after reconfiguration" This reverts commit 4475652054616ded16485341b081abf42cc6c08e.
2013-12-16resolve: save a timestamp in the resolve return to ensure we don't confuse ↵Matthias Schiffer
remotes before and after reconfiguration
2013-12-16Never write to syslog/log files during key generationMatthias Schiffer
2013-11-30Move buffer-related functions to a new header and add some more utility ↵Matthias Schiffer
functions
2013-11-30Move logging defines to a new headerMatthias Schiffer
2013-11-30Make the crypto implementations independent of fastd.h (and fix more minor bugs)Matthias Schiffer
2013-11-30Perform string-based lookup of method-related information only onceMatthias Schiffer
2013-11-30Remove cipher and MAC contextsMatthias Schiffer
Not a single implementation was using them...
2013-11-29Reorder check: avoid undefined behaviour due to negative or to long shiftsMatthias Schiffer
2013-11-29Compile with -std=c99 and restructure some code to ensure there is no ↵Matthias Schiffer
invalid aliasing (hopefully)