Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-03 | peer: fix potential integer overflows in fastd_peer_eth_addr_add | Matthias Schiffer | |
Fix potential integer overflows in binary search. | |||
2016-02-22 | Update copyright years | Matthias Schiffer | |
2016-02-22 | peer: remove dead code in fastd_peer_reset_socket() | Matthias Schiffer | |
2016-02-22 | types: replace static consts with defines | Matthias Schiffer | |
2015-11-18 | Unify periodic handshakes and peer maintenance | Matthias Schiffer | |
2015-11-18 | Clean up peer task handling | Matthias Schiffer | |
2015-11-17 | Use task queue for peer resets and keepalives | Matthias Schiffer | |
This makes it unnecessary to iterate over all peers for maintenance, and desynchronizes different peers' keepalives. | |||
2015-11-16 | Call ethernet address cleanup from generic maintenance task | Matthias Schiffer | |
2015-11-10 | Implement generic task queue to handle handshakes and maintenance | Matthias Schiffer | |
2015-11-10 | Use heap-based priority queue to schedule handshakes instead of a linked list | Matthias Schiffer | |
2015-10-18 | peer_group: add fastd_peer_group_lookup_peer_shell_command macro to simplify ↵ | Matthias Schiffer | |
shell command lookup | |||
2015-10-18 | config: make on_up/down/establish/disestablish commands configurable per ↵ | Matthias Schiffer | |
peer group | |||
2015-10-18 | peer_group: move to a new header, add recursive lookup macros | Matthias Schiffer | |
2015-06-25 | Don't depend on net/if_ether.h | Matthias Schiffer | |
Instead of adding compatiblity code to make this work with musl, just duplicate the needed definitions in fastd. | |||
2015-03-24 | peer: fix segfault on on-connect with unknown peer | Matthias Schiffer | |
2015-03-23 | Move ifname logic from peer to iface | Matthias Schiffer | |
2015-03-23 | peer: compare interface names when checking peer config equality | Matthias Schiffer | |
2015-03-23 | peer: create interface when the connection has been established and no ↵ | Matthias Schiffer | |
interface exists yet Allows using dynamic interfaces with dynamic peers. | |||
2015-03-23 | Improve sync/async execution of up/down scripts | Matthias Schiffer | |
2015-03-23 | peer: set peer name in on-up environment for peer-specific interfaces | Matthias Schiffer | |
2015-03-23 | peer: free ifname | Matthias Schiffer | |
2015-03-23 | peer: don't create interfaces for disabled peers | Matthias Schiffer | |
2015-03-23 | peer: make interface name configurable per peer | Matthias Schiffer | |
2015-03-23 | iface: add ifname argument | Matthias Schiffer | |
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 | |