Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-08-18 | Dynamically create peer configs for dynamic peers | Matthias Schiffer | |
This avoids duplicating the protocol_config field. | |||
2014-08-18 | Rename WITH_VERIFY CMake option to WITH_DYNAMIC_PEERS | Matthias Schiffer | |
2014-08-18 | peer: add a flag `dynamic' instead of checking the config field for NULL | Matthias Schiffer | |
2014-08-18 | Rename "temporary peers" to "dynamic peers" | Matthias Schiffer | |
2014-08-18 | peer: remove fastd_remote_is_dynamic() | Matthias Schiffer | |
2014-08-18 | peer: remove dead code fastd_remote_matches_dynamic() | Matthias Schiffer | |
2014-08-02 | Don't use exponential notation for integers | Matthias Schiffer | |
2014-08-02 | Introduce and use alloc helpers | Matthias Schiffer | |
These new helpers will terminate fastd on allocation failures and add some additional convenience (allow strdup with NULL; typesafe new(type) macros). | |||
2014-06-14 | peer: remove always-true condition | Matthias Schiffer | |
2014-06-14 | Ensure 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-10 | Clean up peer config loading | Matthias 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-05-31 | Make log levels verbose and info more useful | Matthias Schiffer | |
2014-05-29 | Ensure peer hashtable consistency on address resets | Matthias Schiffer | |
2014-05-28 | Still more documentation | Matthias Schiffer | |
2014-05-27 | More documentation | Matthias Schiffer | |
2014-05-27 | peer: completely document peer.h and peer.c | Matthias Schiffer | |
2014-05-27 | peer: remove some dead code | Matthias Schiffer | |
2014-05-25 | Unify fastd_peer_group_t and fastd_peer_group_config_t into a single structure | Matthias Schiffer | |
2014-05-25 | Make a few struct fields that are not supposed to be changed defines instead | Matthias Schiffer | |
2014-04-26 | Make on-verify support optional | Matthias Schiffer | |
2014-04-26 | Implement async verify | Matthias Schiffer | |
2014-04-26 | Revise shell command API | Matthias Schiffer | |
2014-04-25 | Move around some code | Matthias Schiffer | |
2014-04-25 | Replace a few more O(n) peer operations with O(log n) using binary search | Matthias Schiffer | |
2014-04-25 | Remove ref-counting on remotes | Matthias 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-25 | fastd_peer_claim_address: add parameter to allow claiming addresses of ↵ | Matthias Schiffer | |
established peers | |||
2014-04-25 | fastd_peer_claim_address: allow claiming addresses from other peers when ↵ | Matthias Schiffer | |
they aren't configured statically | |||
2014-04-25 | vector: add VECTOR_BSEARCH macro and use where appropriate | Matthias Schiffer | |
2014-04-24 | Add a sequential number to identify peers | Matthias Schiffer | |
2014-04-24 | Always use size_t for counters | Matthias Schiffer | |
2014-04-21 | Remove vector of new temporary peers | Matthias Schiffer | |
The new poll code has made this second peer list obsolete. | |||
2014-04-20 | Make ctx global | Matthias Schiffer | |
2014-04-20 | Make conf global | Matthias Schiffer | |
2014-04-20 | Minimize poll interface to simplify implementation of alternative ↵ | Matthias Schiffer | |
implementations | |||
2014-04-19 | Keep peers in a hash table to allow fast address lookups | Matthias Schiffer | |
2014-04-19 | Keep a vector of pollfds instead of regenerating it all the time | Matthias Schiffer | |
2014-04-19 | Store peers as vectors of pointers instead of linked lists | Matthias Schiffer | |
2014-04-19 | Make eth_addrs a vector | Matthias Schiffer | |
2014-04-18 | Clean up shell command handling | Matthias Schiffer | |
2014-04-11 | Add support for async commands | Matthias Schiffer | |
2014-04-11 | Improve shell command config handling | Matthias Schiffer | |
2014-03-20 | peer: add assertion to ensure no addresses are learned on unestablished peers | Matthias Schiffer | |
2014-03-14 | Adjust copyright years | Matthias Schiffer | |
2014-01-26 | Switch to the new timeout helpers where possible | Matthias Schiffer | |
2014-01-26 | Get rid of long_ago variable, use timeout helpers | Matthias Schiffer | |
2013-12-23 | Always reset to the first address of the first remote | Matthias Schiffer | |
2013-12-16 | resolve: consider all addresses returned for a hostname | Matthias Schiffer | |
2013-11-29 | Compile with -std=c99 and restructure some code to ensure there is no ↵ | Matthias Schiffer | |
invalid aliasing (hopefully) | |||
2013-10-31 | Don't delay initial handshakes when no peer limit is set | Matthias Schiffer | |
2013-08-29 | Don't initialize monotone timestamps with zero | Matthias Schiffer | |
The monotone timestamp is near zero on linux systems, confusing fastd. |