Commits


regress: change naming scheme for certs, add GENCERT_FLAGS knob Call the certificates .pem and the keys .key; use contrib/gencert to generate the certificates and provide a GENCERT_FLAGS knob so that regress can be run with EC keys (GENCERT_FLAGS=-e). Still no automatic way of testing with both RSA and EC keys.


use `log syslog off' in regress to avoid spamming syslog


rename ge -> gemexp in regress too


use REGRESS_HOST to specify the host to listen to; use in CI some CI envs don't like `listen on localhost' but tolerate INADDR_ANY or IN6ADDR_ANY_INIT.


implement `listen on' Listening by default on all the addresses is so bad I don't know why I haven't changed this before. Anyway. Add a `listen on $hostname port $port' syntax to the config file and deprecate the old "port" and "ipv6" global setting. Still try to honour them when no "listen on" directive is used for backward compatibily, but this will go away in the next next version hopefully. At the moment the `listen on' in server context don't filter the host, i.e. one can still reach a host from a address not specified in the corresponding `liste on', this will be added later.


use the default prefork in tests


regress: use -P with an absolute path


revert aae8f6bf2b it's just not worth it to inflict this breaking change to the users.


make the various strings in the config fixed-length will help in future restructuring to have fixed-size objects.


don't count twice the failing tests on gmid crash


change the flags to be consistent with other OpenBSD daemons -d is `debug' (run in the foreground) -f to load the configuration file adjust regress and contrib accordingly


adjust regress to use `ge' for the old configless test


count ran/failed tests number


posixify lib.sh: use = instead of == for test(1)


remove unused function