summaryrefslogtreecommitdiffstats
path: root/src/log.c
AgeCommit message (Collapse)Author
2015-11-25log: clean up fastd_logfMatthias Schiffer
Also, return early when no log destination would get the message anyways.
2015-06-25Don't depend on net/if_ether.hMatthias Schiffer
Instead of adding compatiblity code to make this work with musl, just duplicate the needed definitions in fastd.
2015-03-24log: allow escaping % patternsMatthias Schiffer
2015-01-23Add hexdump support to fastd logging functionsMatthias Schiffer
2015-01-14Update copyright yearsMatthias Schiffer
2014-11-15ec25519-fhmqvc: extend describe_peer to return the whole keyMatthias Schiffer
2014-11-15Revert "Use peer specifier from log instead of the peer name for the status ↵Matthias Schiffer
output" This reverts commit be929dbe2dffa82ca1f91538f56a1bb0490000bd.
2014-11-12Use peer specifier from log instead of the peer name for the status outputMatthias Schiffer
This fixes a crash when status sockets are used with peers without names, but the JSON output format is changed: named peers will now use "<name>" as key instead of "name".
2014-09-05Add status socket to get the current status as JSONMatthias Schiffer
2014-08-24Coding style: always add a space between a pointer's type and the *Matthias Schiffer
2014-08-24Merge peer config into peer structureMatthias 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-18Remove a few now unneeded peer->config NULL checksMatthias Schiffer
2014-08-09log: fix port of IPv6 addresses with hidden IP addressesMatthias Schiffer
2014-05-29Document *everything*Matthias Schiffer
2014-05-01Remove support for log filesMatthias 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-20Make ctx globalMatthias Schiffer
2014-04-20Make conf globalMatthias Schiffer
2014-03-14Adjust copyright yearsMatthias Schiffer
2014-01-26Nicer log message on failed link-local bindsMatthias Schiffer
2014-01-26Add support for link-local bind addressesMatthias Schiffer
2013-12-16Never write to syslog/log files during key generationMatthias Schiffer
2013-11-30Move logging defines to a new headerMatthias Schiffer