mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
Allow the CSTP layer to operate without TLS
That also introduces a unix domain socket under which connections to the server can occur.
This commit is contained in:
@@ -82,6 +82,7 @@ static struct cfg_options available_options[] = {
|
||||
{ .name = "disconnect-script", .type = OPTION_STRING, .mandatory = 0 },
|
||||
{ .name = "pid-file", .type = OPTION_STRING, .mandatory = 0 },
|
||||
{ .name = "socket-file", .type = OPTION_STRING, .mandatory = 1 },
|
||||
{ .name = "unix-conn-file", .type = OPTION_STRING, .mandatory = 0 },
|
||||
{ .name = "occtl-socket-file", .type = OPTION_STRING, .mandatory = 0 },
|
||||
{ .name = "banner", .type = OPTION_STRING, .mandatory = 0 },
|
||||
{ .name = "use-seccomp", .type = OPTION_BOOLEAN, .mandatory = 0 },
|
||||
@@ -436,6 +437,7 @@ unsigned force_cert_auth;
|
||||
if (reload == 0 && pid_file[0] == 0)
|
||||
READ_STATIC_STRING("pid-file", pid_file);
|
||||
|
||||
READ_STRING("unix-conn-file", config->unix_conn_file);
|
||||
READ_STRING("socket-file", config->socket_file_prefix);
|
||||
READ_STRING("occtl-socket-file", config->occtl_socket_file);
|
||||
if (config->occtl_socket_file == NULL)
|
||||
|
||||
Reference in New Issue
Block a user