Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-08-25 | Move some utility funtions to a new header | 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 | 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-18 | Fix a few comment typos | Matthias Schiffer | |
2014-08-18 | Rename WITH_VERIFY CMake option to WITH_DYNAMIC_PEERS | Matthias Schiffer | |
2014-08-18 | Rename "temporary peers" to "dynamic peers" | Matthias Schiffer | |
2014-08-09 | Move fastd_config_t.peers to fastd_context_t.peer_configs | Matthias Schiffer | |
2014-08-02 | Encapsulate semaphore handling | 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-08-01 | Use srandom/random instead of rand_r | Matthias Schiffer | |
There's no need to keep our own seed. | |||
2014-06-14 | Limit the number of concurrent on-verify runs | Matthias Schiffer | |
2014-06-03 | Create threads in detached state | Matthias Schiffer | |
2014-05-31 | Fix poll race condition on *BSD | Matthias Schiffer | |
2014-05-31 | More signal handling fixes | Matthias Schiffer | |
2014-05-29 | Document *everything* | Matthias Schiffer | |
2014-05-29 | Simplify configuration of cipher and MAC implementations | Matthias Schiffer | |
Let the cipher and MAC handlers just store the chosen implementations themselves instead of relying on the global configuration. | |||
2014-05-28 | Still more documentation | Matthias Schiffer | |
2014-05-27 | More documentation | Matthias Schiffer | |
2014-05-27 | A bit more fastd.h cleanup | Matthias Schiffer | |
2014-05-27 | Merge handle_forward into fastd_send_data | Matthias Schiffer | |
2014-05-27 | Move tuntap handling out of poll.c | 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 | Completely document fastd.h | Matthias Schiffer | |
2014-05-25 | Make a few struct fields that are not supposed to be changed defines instead | Matthias Schiffer | |
2014-05-25 | fastd.h: more documentation | Matthias Schiffer | |
2014-05-23 | Implement a different fix for the waitpid race condition not needing a ↵ | Matthias Schiffer | |
reaper thread for each child | |||
2014-05-23 | More documentation | Matthias Schiffer | |
2014-05-22 | More documentation | Matthias Schiffer | |
2014-05-22 | Move fastd_peer_group{,_config} definitions to peer.h | Matthias Schiffer | |
2014-05-22 | Remove PACKET_TYPE_LEN define | Matthias Schiffer | |
2014-05-01 | Remove support for log files | Matthias Schiffer | |
syslog/journald do a much better job at organizing logs, with the additional advantage of proper log rotation. If someone really wants to have a log file for fastd, they can just redirect stderr. | |||
2014-04-30 | Use SOCK_NONBLOCK where available | Matthias Schiffer | |
2014-04-30 | Remove now unneeded FD_CLOEXEC flag config | Matthias Schiffer | |
2014-04-30 | shell: close all fds > 2 after forking | Matthias Schiffer | |
socket/fcntl to set FD_CLOEXEC isn't thread-safe with async verify handlers, and SOCK_CLOEXEC isn't portable. | |||
2014-04-29 | Fold fastd_open_pipe into fastd_async_init, simpify fastd_setfl and ↵ | Matthias Schiffer | |
fastd_setfd and move to fastd.h | |||
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-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 | Linux: use epoll to handle great numbers of peers with less overhead | Matthias Schiffer | |
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 | |