Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-03-23 | Handle interface creation failure for peer-specific interfaces | Matthias Schiffer | |
2015-03-23 | Use peer-specific interface in TUN mode | Matthias Schiffer | |
2015-03-23 | Set the default interface for all peers | Matthias Schiffer | |
2015-03-22 | First work towards multi-interface support | Matthias Schiffer | |
2015-03-22 | peer: remove free_socket_by_id() | Matthias Schiffer | |
2015-03-22 | Refactor poll API | Matthias Schiffer | |
2015-01-14 | Update copyright years | Matthias Schiffer | |
2015-01-14 | Reset all connections on SIGUSR2 | Matthias Schiffer | |
2014-09-26 | Don't forward frames with local destination MAC address | Matthias Schiffer | |
2014-09-15 | status: add uptime and established times | Matthias Schiffer | |
2014-09-12 | Add per-peer stats | Matthias Schiffer | |
2014-09-01 | Ensure peer add/delete messages are printed for the same peers | Matthias Schiffer | |
2014-08-24 | Coding style: always add a space between a pointer's type and the * | Matthias Schiffer | |
2014-08-24 | Use simple int64_t timestamps in ms instead of timespecs | Matthias Schiffer | |
2014-08-24 | Don't output "adding peer" messages for static peers | Matthias Schiffer | |
Otherwise log messages are emitted to early. | |||
2014-08-24 | Instead of replacing changed peers, delete and re-add them | Matthias Schiffer | |
This ensures they get a new ID, so asychronous replies for the old config aren't associated with the new one. | |||
2014-08-24 | Fix connections to peers with static addresses | Matthias Schiffer | |
2014-08-24 | Merge peer config into peer structure | Matthias Schiffer | |
With this refactoring, the structure fastd_peer_config_t is merged into fastd_peer_t, and fastd_remote_config_t into fastd_remote_t. This also means we now create peers directly when reading their configurations, which significantly simplifies the whole reload process, and prepares for some future optimizations like a key hash table. Note: This commit is too big, but I couldn't come up with a nice way to split it into smaller pieces... | |||
2014-08-22 | Remove VECTOR_ALLOC | Matthias Schiffer | |
It is done automatically now if the VECTOR is zeroed before. | |||
2014-08-19 | Create peer structures for disabled peers as well | Matthias Schiffer | |
We have a 1:1 association between peers and peer configs now. | |||
2014-08-18 | Unify enabled and dynamic flags into a config_state flag | Matthias Schiffer | |
2014-08-18 | Remove a few now unneeded peer->config NULL checks | Matthias Schiffer | |
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 | |