tests: verify that address got by the proxy matches the client

Also measure whether ban points are credited to the right
address for failed attempts.

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
Nikos Mavrogiannopoulos
2023-08-16 13:19:12 +02:00
parent e269f22a43
commit 59400941cf
2 changed files with 44 additions and 1 deletions

View File

@@ -7,7 +7,9 @@ auth = "plain[@SRCDIR@/data/test1.passwd]"
isolate-workers = @ISOLATE_WORKERS@
max-ban-score = 0
max-ban-score = 50
ban-reset-time = 10
ban-points-wrong-password = 10
# A banner to be displayed on clients
#banner = "Welcome"
@@ -131,6 +133,9 @@ pid-file = ./ocserv.pid
# It must be accessible within the chroot environment (if any)
socket-file = ./ocserv-socket
occtl-socket-file = @OCCTL_SOCKET@
use-occtl = true
# The user the worker processes will be run as. It should be
# unique (no other services run as this user).
run-as-user = @USERNAME@