Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | shell: ensure the signal mask is restored if shell_command_do_exec fails | 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 | Revert "Fix waitpid race condition" | Matthias Schiffer | |
This reverts commit 47d84679d6fe71f56d3a013578007dff92ff72db. | |||
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 | verify: use default tristate constants | Matthias Schiffer | |
2014-05-22 | Document types.h | Matthias Schiffer | |
2014-05-22 | Move fastd_loglevel_t to log.h | Matthias Schiffer | |
2014-05-22 | Move fastd_peer_state_t to peer.h | Matthias Schiffer | |
2014-05-22 | Remove PACKET_TYPE_LEN define | Matthias Schiffer | |
2014-05-22 | Add Doxygen support | Matthias Schiffer | |
2014-05-22 | Clean up fastd.c includes | Matthias Schiffer | |
2014-05-22 | Move fastd_handle_receive() to receive.c | Matthias Schiffer | |
2014-05-22 | Fix waitpid race condition | Matthias Schiffer | |
Doing a waitpid for all processes in the SIGCHLD handler could sometimes steal a signal from a fastd_shell_command_exec_sync call. To fix this, don't reap the children in the SIGCHLD handler anymore, but create a reaper thread for each asynchronous shell command. | |||
2014-05-20 | Use unescaped instance name in systemd unit | Matthias Schiffer | |
2014-05-05 | Make systemd support optional again | Matthias Schiffer | |
2014-05-01 | systemd: use syslog/journald by default | 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 | Fix CMake errors on some config combinations | Matthias Schiffer | |
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-28 | More daemonize cleanup | Matthias Schiffer | |
2014-04-28 | Fix socketpair error message | Matthias Schiffer | |
2014-04-28 | Simpilify daemonize | Matthias Schiffer | |
2014-04-26 | Make on-verify support optional | Matthias Schiffer | |
2014-04-26 | Implement async verify | Matthias Schiffer | |
2014-04-26 | pthread_create returns an error instead of setting errno | Matthias Schiffer | |
2014-04-26 | Revise shell command API | Matthias Schiffer | |
2014-04-25 | epoll: update time *after* waiting... | Matthias Schiffer | |
2014-04-25 | handshake: simplify fastd_handshake_new_reply | Matthias Schiffer | |
This will hopefully lead to an async verify implementation... | |||
2014-04-25 | Move around some code | Matthias Schiffer | |
2014-04-25 | Reduce minimum vector allocation | 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 | config: remove support for deprecated float syntax | Matthias Schiffer | |
2014-04-24 | Convert few more counters to size_t, just for the sake of consistency... | Matthias Schiffer | |
2014-04-24 | ec25519-fhmqvc: use PUBLICKEYBYTES and SECRETKEYBYTES defines more | Matthias Schiffer | |
2014-04-24 | Always use size_t for counters | Matthias Schiffer | |
2014-04-24 | Make async handle buffer aligned | Matthias Schiffer | |
2014-04-23 | Use socketpair instead of pipe for internal message pipes | Matthias Schiffer | |
While pipe2 recently got O_DIRECT on Linux, we'll just use SOCK_DGRAM to stay portable, and get proper handling of full queues. |