Commits
- Commit:
36363b011c93814c2677bf8cf87f9829916f621d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop #include <sys/cdefs.h> from vis.h
Doesn't seem to be available on many systems. It is also not strictly
needed since we include vis.h only after headers like stdlib.h that
already pulls in the type it needs.
- Commit:
d13b044d59619a52277c229eb37d38265690fb64
- From:
- Omar Polo <op@omarpolo.com>
- Date:
address the strnvis(3) portability fiasco
strnvis originates on OpenBSD. When NetBSD added it to their libc
they decided to swap the argument. Without starting a holy war on
the "best" argument order, adding an implementation of a function
that's widely available and making its signature purposefully
incompatible is beyond justification. FreeBSD (and so macos too?)
followed NetBSD in this, so we end up with *two* major and incompatible
strnvis implementations. libbsd is in a limbo, they started with
the OpenBSD version but they'll probably switch to the NetBSD version
in the future.
That's why we can't have nice things.
Do the right thing(tm) and check for the presence of the original
strnvis(3), if not available or broken use the bundled one.
- Commit:
ddbcd3c13f2159113bb7e9921a1bec13755c5d43
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use the subject' common name as the user field in log
- Commit:
35579431eb3d6fbdef6bfa6723afcb72cdfd73ee
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove debugging leftover
- Commit:
d72ac636bb2b5c5a6b9c946cc5fc69130ac62653
- From:
- Omar Polo <op@omarpolo.com>
- Date:
unbreak config_test() when !use_privsep_crypto
The new config_test() fails miserably when the privsep crypto engine is
not enabled. As a temporary workaround, forcibly disable it during
config_test() as we're not going to run anyway.
- Commit:
36a98d50e533bf90b952130adbf1ca4ccc866f04
- From:
- Omar Polo <op@omarpolo.com>
- Date:
update changelog
- Commit:
3b431c09d97f86f40f0f57a5d6d2e08681b1c65d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
try hard at loading the configuration during conftest (-n)
Attempt to do also a few more steps that were previously done only
at runtime. This can help verifying that the keypairs are matching
for example, but also that there are no typos in the path to the
root directories.
Was requested some time ago by Marian Mizik, thanks for the feature
request!
- Commit:
9abba172b6f9ff373dd1e45d7b9587d3bdd0afcf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add `log syslog facility' to use a different syslog(3) facility
Was requested ages ago by Karl Jeacle, now that there is some better
support for configuring the logging there's no excuse to add this.
It helps with filtering from syslog.d / syslog.conf.
- Commit:
3a93c90445bc762cbef00d130feffd9a7f6b083f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sort logopt
- Commit:
a250aff257374bdd931e44efef4fc72618e0363d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
comment out the condensed log style in the manpage
- Commit:
f23b708726fbc5c2a985fbdd50449891f4df87dd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
set the default logging style back to legacy
I think the condensed is better but it'll need to change post 2.0
to accomodate for logging the number of bytes read in the body of
a titan request (and it's weird to hardcode a zero there.) 2.0
will ship with the legacy logging style thus.
- Commit:
5d38e5d88d423a7a84f714841cc161829f236b13
- From:
- Omar Polo <op@omarpolo.com>
- Date:
titan: clean up IRI/URI/URL mess; it's a IRI what we parse
- Commit:
11ff7f934e2bb3920b900327c5fb38d30691c2ca
- From:
- Omar Polo <op@omarpolo.com>
- Date:
titan: error if the URI is not titan://
- Commit:
d671434bc76ec81a34e64ae0c164a831cbee4b0d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
titan: better logging for unexpected EOFs
upon an unexpected EOF, tls_error() returns NULL, so log the real
reason iomux returned -1.
- Commit:
59051566657ab3888ef841cf46cf0588bf57e746
- From:
- Omar Polo <op@omarpolo.com>
- Date:
titan: rename parse_err to errstr