Drew DeVault
7af04ea471
tls: move cert/key into host structure
...
We'll later want to set these on the SSL object (rather than SSL_CTX),
so move these into the host struct for later access.
We'll prefer to set it on the SSL object so that we can automatically
use an up-to-date certificate, per ~sircmpwn/gmni#26.
2020-09-24 17:55:10 -04:00
Drew DeVault
0d1137f987
Implement TLS store
...
Includes hands-free certificate generation and loading
2020-09-24 17:51:29 -04:00
Eyal Sawady
e15aca171d
configure: add --libdir
2020-09-24 14:43:16 -04:00
Drew DeVault
85a85b37f8
Log bind addresses on startup
2020-09-24 11:16:51 -04:00
Drew DeVault
b14e33c349
Add README.md
2020-09-24 11:11:48 -04:00
Drew DeVault
b85c64b441
Generalize logging
2020-09-23 14:32:52 -04:00
Drew DeVault
da9db7bc46
Implement basic server event loop
2020-09-23 14:19:28 -04:00
Drew DeVault
f88d817dca
Generalize IPV6_V6ONLY usage
...
Some platforms other than Linux may implement this socket option.
2020-09-23 12:44:42 -04:00
Drew DeVault
65c2a56c6d
Initialize sockets
2020-09-23 12:43:05 -04:00
Drew DeVault
9adc6f34c7
config: parse listen directives
2020-09-23 11:33:05 -04:00
Drew DeVault
58500c8e53
Initial config parser
2020-09-23 11:24:23 -04:00
Drew DeVault
ccae8ffd28
Vendor in some support code
2020-09-23 10:40:14 -04:00
Drew DeVault
61b84a77c0
Initial commit
2020-09-23 10:21:44 -04:00