summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2014-04-26Revise shell command APIMatthias Schiffer
2014-04-25epoll: update time *after* waiting...Matthias Schiffer
2014-04-25handshake: simplify fastd_handshake_new_replyMatthias Schiffer
This will hopefully lead to an async verify implementation...
2014-04-25Move around some codeMatthias Schiffer
2014-04-25Reduce minimum vector allocationMatthias Schiffer
2014-04-25Replace a few more O(n) peer operations with O(log n) using binary searchMatthias 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-25fastd_peer_claim_address: allow claiming addresses from other peers when ↵Matthias Schiffer
they aren't configured statically
2014-04-25vector: add VECTOR_BSEARCH macro and use where appropriateMatthias Schiffer
2014-04-24Add a sequential number to identify peersMatthias Schiffer
2014-04-24config: remove support for deprecated float syntaxMatthias Schiffer
2014-04-24Convert few more counters to size_t, just for the sake of consistency...Matthias Schiffer
2014-04-24ec25519-fhmqvc: use PUBLICKEYBYTES and SECRETKEYBYTES defines moreMatthias Schiffer
2014-04-24Always use size_t for countersMatthias Schiffer
2014-04-24Make async handle buffer alignedMatthias 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-21Fix peer group tree traversal when reading peer dirsMatthias Schiffer
This broke when conf was made global.
2014-04-21Remove vector of new temporary peersMatthias Schiffer
The new poll code has made this second peer list obsolete.
2014-04-21poll: add pollfd count assertMatthias Schiffer
2014-04-20Define IP_FREEBIND if it is not providedMatthias Schiffer
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-20Minimize poll interface to simplify implementation of alternative ↵Matthias Schiffer
implementations
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-19Add vector macrosMatthias Schiffer
2014-04-19Fix handling of new temporary peersMatthias Schiffer
2014-04-19Free on-connect handler on exitMatthias Schiffer
2014-04-19dlist: remove unused includesMatthias Schiffer
2014-04-19Optimize maintenance routine (and don't run it more often than necessary)Matthias Schiffer
2014-04-18shell: unblock SIGCHLD before execMatthias Schiffer
2014-04-18Fix zombie process cleanupMatthias Schiffer
2014-04-18Clean up shell command handlingMatthias Schiffer
2014-04-13Simplify handling of on-verify commandsMatthias Schiffer
2014-04-13Break very long lineMatthias Schiffer
2014-04-13Add on-connect hookMatthias Schiffer
2014-04-11Add support for async commandsMatthias 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-04-06Set IP_FREEBINDMatthias Schiffer
2014-03-25Various fixes in --bind command line optionMatthias Schiffer
Specifying a port with "any" address and using scoped IPv6 link-local addresses is possible now.
2014-03-25Don't depend on libsystemd-daemon for systemd integration, always use ↵Matthias Schiffer
systemd integration on Linux
2014-03-20Enable secure handshakes by defaultMatthias Schiffer
2014-03-20peer: add assertion to ensure no addresses are learned on unestablished peersMatthias Schiffer