mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-09 16:26:59 +08:00
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:
@@ -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@
|
||||
|
||||
Reference in New Issue
Block a user