tests: test-max-same-1/test-multi-cookie: use update_config

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
This commit is contained in:
Nikos Mavrogiannopoulos
2020-04-06 16:48:03 +02:00
committed by Nikos Mavrogiannopoulos
parent 9246431590
commit e9251a66e8
4 changed files with 59 additions and 49 deletions

View File

@@ -2,16 +2,16 @@
# all should succeed.
# Options: certificate, pam.
#auth = "certificate"
auth = "plain[./data/test1.passwd]"
auth = "plain[@SRCDIR@/data/test1.passwd]"
#auth = "pam"
isolate-workers = false
isolate-workers = @ISOLATE_WORKERS@
# A banner to be displayed on clients
#banner = "Welcome"
# Use listen-host to limit to specific IPs or to the IPs of a provided hostname.
#listen-host = [IP|HOSTNAME]
#listen-host = @ADDRESS@
use-dbus = no
@@ -28,8 +28,8 @@ max-clients = 16
max-same-clients = 2
# TCP and UDP port number
tcp-port = 4500
udp-port = 4500
tcp-port = @PORT@
udp-port = @PORT@
# Keepalive in seconds
keepalive = 32400
@@ -47,8 +47,8 @@ try-mtu-discovery = false
#
# There may be multiple certificate and key pairs and each key
# should correspond to the preceding certificate.
server-cert = ./certs/server-cert.pem
server-key = ./certs/server-key.pem
server-cert = @SRCDIR@/certs/server-cert.pem
server-key = @SRCDIR@/certs/server-key.pem
# Diffie-Hellman parameters. Only needed if you require support
# for the DHE ciphersuites (by default this server supports ECDHE).
@@ -135,8 +135,8 @@ socket-file = /var/run/ocserv-socket
# The user the worker processes will be run as. It should be
# unique (no other services run as this user).
run-as-user = nobody
run-as-group = daemon
run-as-user = @USERNAME@
run-as-group = @GROUP@
# Network settings