Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | 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-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-03 | Create threads in detached state | Matthias Schiffer | |
2014-05-28 | Still more documentation | Matthias Schiffer | |
2014-05-27 | More documentation | Matthias Schiffer | |
2014-05-25 | Make a few struct fields that are not supposed to be changed defines instead | Matthias Schiffer | |
2014-05-22 | More documentation | Matthias Schiffer | |
2014-04-26 | pthread_create returns an error instead of setting errno | 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-20 | Make ctx global | Matthias Schiffer | |
2014-04-20 | Make conf global | Matthias Schiffer | |
2014-04-10 | Add support for multiple async message types | Matthias Schiffer | |
2014-04-10 | Move handling of resolve returns requests to a new source file | Matthias Schiffer | |
2014-03-14 | Adjust copyright years | Matthias Schiffer | |
2014-03-10 | Remove aligned data_t type again | Matthias Schiffer | |
2014-01-27 | Add an aligned uint8_t type data_t and use it to ensure the alignment of ↵ | Matthias Schiffer | |
various buffers on the stack | |||
2014-01-26 | Get rid of long_ago variable, use timeout helpers | Matthias Schiffer | |
2013-12-26 | resolve: avoid using alloca as OpenBSD doesn't find it with -std=c99 | 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-08-20 | Fix lots of -Wextra warnings | Matthias Schiffer | |
Everything clang and GCC warn about, except GCC's missing-field-initializers which are just stupid as they don't allow {} syntax to zero a field. | |||
2013-08-08 | Check for AI_ADDRCONFIG | Matthias Schiffer | |
2013-07-25 | Move _GNU_SOURCE define to types.h | Matthias Schiffer | |
2013-07-25 | Improve handling of similar remote resolves | Matthias Schiffer | |
2013-07-24 | Allow specifying multiple remote entries for a single peer | Matthias Schiffer | |
2013-07-24 | Don't let resolves delay handshakes | Matthias Schiffer | |
2013-04-25 | Minor cleanup in resolver | Matthias Schiffer | |
2013-02-26 | Experimental support for accepting connections from unknown peers | Matthias Schiffer | |
2013-01-24 | Don't reset peer address on repeated resolves | Matthias Schiffer | |
This can lead to handshakes being ignored for an indefinite time. | |||
2013-01-24 | resolver: write whole hostname instead of a pointer to the resolver pipe | Matthias Schiffer | |
Shouldn't make a difference, but feels cleaner now, and silences a clang-analyzer warning. | |||
2013-01-05 | Adjust copyright years | Matthias Schiffer | |
2012-12-18 | Convert type names to _t convention | Matthias Schiffer | |
2012-12-13 | Always convert v4-mapped IPv6 addresses to IPv4 addresses | Matthias Schiffer | |
2012-11-01 | Move unistd.h include to fastd.h | Matthias Schiffer | |
2012-06-06 | Limit resolve frequency | Matthias Schiffer | |
2012-06-06 | Improve some log levels | Matthias Schiffer | |
2012-06-01 | Fix a possible crash involving strange resolve returns | Matthias Schiffer | |
fastd has been seen crashing on some hosts under strange circumstances. As the bug seems to involve invalid address families, try to assure no unsupported address families are returned from resolver. | |||
2012-05-04 | Zero out resolve return to silence valgrind warning | Matthias Schiffer | |
2012-05-03 | Use pipe to transmit resolved addresses to main threadv0.4-rc7 | Matthias Schiffer | |
2012-04-23 | resolve: don't set AI_IDN, it will fail with uClibcv0.4-rc3 | Matthias Schiffer | |
2012-04-16 | Lots of fixes and improvements on the resolver code | Matthias Schiffer | |
2012-04-16 | Add support for peers specified by hostnames | Matthias Schiffer | |