Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-05 | Make systemd support optional again | 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 | 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 | Revise shell command API | Matthias Schiffer | |
2014-04-25 | Move around some code | 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-24 | Always use size_t for counters | 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. | |||
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-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-19 | Fix handling of new temporary peers | Matthias Schiffer | |
2014-04-19 | Optimize maintenance routine (and don't run it more often than necessary) | Matthias Schiffer | |
2014-04-18 | Fix zombie process cleanup | Matthias Schiffer | |
2014-04-18 | Clean up shell command handling | Matthias Schiffer | |
2014-04-11 | Improve shell command config handling | Matthias Schiffer | |
2014-04-10 | Move handling of resolve returns requests to a new source file | Matthias Schiffer | |
2014-03-25 | Don't depend on libsystemd-daemon for systemd integration, always use ↵ | Matthias Schiffer | |
systemd integration on Linux | |||
2014-03-20 | Flood forwarded unicast frames the same way as locally generated ones | Matthias Schiffer | |
2014-03-20 | Flood unicasts for unknown addresses | Matthias Schiffer | |
2014-03-14 | Adjust copyright years | Matthias Schiffer | |
2014-03-13 | Better systemd integration (enable with ENABLE_SYSTEMD cmake flag) | Matthias Schiffer | |
2014-03-13 | Rename USE_LIBSODIUM and USE_OPENSSL cmake flags to ENABLE_LIBSODIUM and ↵ | Matthias Schiffer | |
ENABLE_OPENSSL | |||
2014-03-10 | Make --verify-config option more flexible | Matthias Schiffer | |
2014-03-10 | Add --verify-config option | 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 | |
2014-01-26 | Add minimum handshake interval for unknown addresses (handles up to 8 ↵ | Matthias Schiffer | |
addresses for now) | |||
2013-12-25 | main: reorder a few initialization calls to initialize as little as possible ↵ | Matthias Schiffer | |
before we are sure we must | |||
2013-12-24 | Fix invalid memory accesses after failed resolves | Matthias Schiffer | |
2013-12-24 | Fix segfault on session refresh for peers without remotes | Matthias Schiffer | |
2013-12-23 | Remove a pointless assert | Matthias Schiffer | |
2013-12-23 | After a peer was ignored because of a peer limit, always re-resolve the ↵ | Matthias Schiffer | |
first remote | |||
2013-12-23 | Always reset to the first address of the first remote | Matthias Schiffer | |
2013-12-16 | config: don't check configuration before logging has been set up | Matthias Schiffer | |
2013-12-16 | resolve: consider all addresses returned for a hostname | Matthias Schiffer | |
2013-12-16 | Revert "resolve: save a timestamp in the resolve return to ensure we don't ↵ | Matthias Schiffer | |
confuse remotes before and after reconfiguration" This reverts commit 4475652054616ded16485341b081abf42cc6c08e. | |||
2013-12-16 | resolve: save a timestamp in the resolve return to ensure we don't confuse ↵ | Matthias Schiffer | |
remotes before and after reconfiguration | |||
2013-12-16 | Implement proper double-fork with --daemon | Matthias Schiffer | |