summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
AgeCommit message (Collapse)Author
2014-04-26Revise shell command APIMatthias Schiffer
2014-04-25Move around some codeMatthias Schiffer
2014-04-25Remove ref-counting on remotesMatthias Schiffer
Now that peers have a peer id we can use that to specify a peer in a resolve return. As the remote list of a peer doesn't change without the peer id changing, instead of taking a remote ref we can just use the peer id and remote index.
2014-04-25fastd_peer_claim_address: add parameter to allow claiming addresses of ↵Matthias Schiffer
established peers
2014-04-24Always use size_t for countersMatthias Schiffer
2014-04-23Use socketpair instead of pipe for internal message pipesMatthias Schiffer
While pipe2 recently got O_DIRECT on Linux, we'll just use SOCK_DGRAM to stay portable, and get proper handling of full queues.
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-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-19Fix handling of new temporary peersMatthias Schiffer
2014-04-19Optimize maintenance routine (and don't run it more often than necessary)Matthias Schiffer
2014-04-18Fix zombie process cleanupMatthias Schiffer
2014-04-18Clean up shell command handlingMatthias Schiffer
2014-04-11Improve shell command config handlingMatthias Schiffer
2014-04-10Move handling of resolve returns requests to a new source fileMatthias Schiffer
2014-03-25Don't depend on libsystemd-daemon for systemd integration, always use ↵Matthias Schiffer
systemd integration on Linux
2014-03-20Flood forwarded unicast frames the same way as locally generated onesMatthias Schiffer
2014-03-20Flood unicasts for unknown addressesMatthias Schiffer
2014-03-14Adjust copyright yearsMatthias Schiffer
2014-03-13Better systemd integration (enable with ENABLE_SYSTEMD cmake flag)Matthias Schiffer
2014-03-13Rename USE_LIBSODIUM and USE_OPENSSL cmake flags to ENABLE_LIBSODIUM and ↵Matthias Schiffer
ENABLE_OPENSSL
2014-03-10Make --verify-config option more flexibleMatthias Schiffer
2014-03-10Add --verify-config optionMatthias Schiffer
2014-01-26Switch to the new timeout helpers where possibleMatthias Schiffer
2014-01-26Get rid of long_ago variable, use timeout helpersMatthias Schiffer
2014-01-26Add minimum handshake interval for unknown addresses (handles up to 8 ↵Matthias Schiffer
addresses for now)
2013-12-25main: reorder a few initialization calls to initialize as little as possible ↵Matthias Schiffer
before we are sure we must
2013-12-24Fix invalid memory accesses after failed resolvesMatthias Schiffer
2013-12-24Fix segfault on session refresh for peers without remotesMatthias Schiffer
2013-12-23Remove a pointless assertMatthias Schiffer
2013-12-23After a peer was ignored because of a peer limit, always re-resolve the ↵Matthias Schiffer
first remote
2013-12-23Always reset to the first address of the first remoteMatthias Schiffer
2013-12-16config: don't check configuration before logging has been set upMatthias Schiffer
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-16Implement proper double-fork with --daemonMatthias Schiffer
2013-12-16Never write to syslog/log files during key generationMatthias Schiffer
2013-11-30Remove cipher and MAC contextsMatthias Schiffer
Not a single implementation was using them...
2013-11-29Compile with -std=c99 and restructure some code to ensure there is no ↵Matthias Schiffer
invalid aliasing (hopefully)
2013-11-27Correctly initialize OpenSSLMatthias Schiffer
2013-11-25Move crypto algorithm information out of implementationMatthias Schiffer
2013-11-03Allow building without NaCl againMatthias Schiffer
2013-11-02Move a few prototypes from fastd.h into a new config.hMatthias Schiffer
2013-11-02Convert ghash to the new crypto algorithm schemeMatthias Schiffer
2013-11-02Implement the first step towards a more flexible way to support crypto methodsMatthias Schiffer