kore/src
Joris Vink 7350131232 Allow listening of tls/notls ports at the same time.
Before kore needed to be built with NOTLS=1 to be able to do non TLS
connections. This has been like this for years.

It is time to allow non TLS listeners without having to rebuild Kore.

This commit changes your configuration format and will break existing
applications their config.

Configurations now get listener {} contexts:

listen default {
	bind 127.0.0.1 8888
}

The above will create a listener on 127.0.0.1, port 8888 that will serve
TLS (still the default).

If you want to turn off TLS on that listener, specify "tls no" in that
context.

Domains now need to be attached to a listener:

Eg:
	domain * {
		attach	default
	}

For the Python API this kills kore.bind(), and kore.bind_unix(). They are
replaced with:

	kore.listen("name", ip=None, port=None, path=None, tls=True).
2019-09-27 12:27:04 +02:00
..
accesslog.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
auth.c explicitly include sys/types.h 2019-03-06 09:29:46 +01:00
bsd.c Add seccomp syscall filtering to kore. 2019-09-25 14:31:20 +02:00
buf.c explicitly include sys/types.h 2019-03-06 09:29:46 +01:00
cli.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
config.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
connection.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
curl.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
domain.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
filemap.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
fileref.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
http.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
jsonrpc.c JSONRPC Updated to last kore_buf* commit 2016-07-15 13:17:30 +02:00
keymgr.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
kore.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
linux.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
mem.c explicitly include sys/types.h 2019-03-06 09:29:46 +01:00
module.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
msg.c explicitly include sys/types.h 2019-03-06 09:29:46 +01:00
net.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
pgsql.c seccomp improvements. 2019-09-26 13:51:53 +02:00
pool.c explicitly include sys/types.h 2019-03-06 09:29:46 +01:00
python.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
runtime.c explicitly include sys/types.h 2019-03-06 09:29:46 +01:00
seccomp.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
tasks.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
timer.c rework timers so they fire more predictably. 2019-03-21 10:17:08 +01:00
utils.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
validator.c explicitly include sys/types.h 2019-03-06 09:29:46 +01:00
websocket.c http_timeout must be 0 when upgrading to websockets 2019-05-05 14:47:04 +02:00
worker.c Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00