Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2013-08-29 | Replace old task queue | Matthias Schiffer | |
The handshakes are now schedules in a doubly-linked list that is maintained as a part of the peer structure. | |||
2013-08-28 | ec25519: ensure that there is always a handshake enqueued after sending a ↵ | Matthias Schiffer | |
handshake finish This ensures that the handshake is repeated in case the finish packet is lost. | |||
2013-08-20 | Use v4-mapped addresses for IPv4 peers on IPv6 sockets | Matthias Schiffer | |
This is needed at least on FreeBSD | |||
2013-08-20 | Fix lots of -Wextra warnings | Matthias Schiffer | |
Everything clang and GCC warn about, except GCC's missing-field-initializers which are just stupid as they don't allow {} syntax to zero a field. | |||
2013-08-07 | Add sys/wait.h includes where necessary on FreeBSD | Matthias Schiffer | |
2013-07-25 | Move _GNU_SOURCE define to types.h | Matthias Schiffer | |
2013-07-25 | Improve handling of similar remote resolves | Matthias Schiffer | |
2013-07-24 | Fix remote record memory leak | Matthias Schiffer | |
2013-07-24 | Fix fastd_peer_claim_address for peers with different addresses | Matthias Schiffer | |
2013-07-24 | Allow specifying multiple remote entries for a single peer | Matthias Schiffer | |
2013-07-24 | Don't let resolves delay handshakes | Matthias Schiffer | |
2013-07-23 | Prepare for improved peer state handling | Matthias Schiffer | |
2013-07-19 | Generalize float attribute, deprecate old float syntax | Matthias Schiffer | |
2013-07-17 | Use calloc to allocate peer configs | Matthias Schiffer | |
2013-04-24 | Initialize local address on peer creation | Matthias Schiffer | |
2013-04-20 | Greatly improve handling of hosts with multiple IP addresses | Matthias Schiffer | |
2013-04-17 | Fix handling of the local address in shell commands | Matthias Schiffer | |
Without this fix, using on-establish/disestablish/verify would cause a strange zero port when a bind with a random port was used, and a segmentation fault with dynamic binds. | |||
2013-03-08 | Disable peer configs by default, enable on peer creation | Matthias Schiffer | |
This allows to remove some duplicate code, and will simplify the detection and handling of duplicate keys. | |||
2013-03-03 | Make 'peer limit 0' allow no connections | Matthias Schiffer | |
2013-02-27 | Don't set the peer address for temporary peers before the session is ↵ | Matthias Schiffer | |
actually established Doing so could lead to duplicate address entries in different peers, causing very strange behaviour. Add additional parameters for the local and the peer address to fastd_shell_exec() to allow the on-verify script to use this information nevertheless. | |||
2013-02-27 | Refactor fastd_peer_claim_address | Matthias Schiffer | |
2013-02-26 | Don't reset "seen" timestamp on peer reset | Matthias Schiffer | |
2013-02-26 | Experimental support for accepting connections from unknown peers | Matthias Schiffer | |
2013-02-25 | Get rid of some duplicate code for calling shell commands | Matthias Schiffer | |