diff --git a/sslh-conf.c b/sslh-conf.c index 0afdfb6..3dd5345 100644 --- a/sslh-conf.c +++ b/sslh-conf.c @@ -1,5 +1,5 @@ /* Generated by conf2struct (https://www.rutschle.net/tech/conf2struct/README) - * on Mon Sep 27 13:21:48 2021. + * on Sat Oct 2 09:01:25 2021. # conf2struct: generate libconf parsers that read to structs # Copyright (C) 2018-2021 Yves Rutschle @@ -2078,17 +2078,17 @@ int sslhcfg_cl_parse(int argc, char* argv[], struct sslhcfg_item* cfg) #ifdef LIBCONFIG sslhcfg_conffile = arg_filen("F", "config", "", 0, 1, "Specify configuration file"), #endif - sslhcfg_verbose_config = arg_intn(NULL, "verbose-config", "", 0, 1, ""), - sslhcfg_verbose_config_error = arg_intn(NULL, "verbose-config-error", "", 0, 1, ""), - sslhcfg_verbose_connections = arg_intn(NULL, "verbose-connections", "", 0, 1, ""), - sslhcfg_verbose_connections_try = arg_intn(NULL, "verbose-connections-try", "", 0, 1, ""), - sslhcfg_verbose_connections_error = arg_intn(NULL, "verbose-connections-error", "", 0, 1, ""), - sslhcfg_verbose_fd = arg_intn(NULL, "verbose-fd", "", 0, 1, ""), - sslhcfg_verbose_packets = arg_intn(NULL, "verbose-packets", "", 0, 1, ""), - sslhcfg_verbose_probe_info = arg_intn(NULL, "verbose-probe-info", "", 0, 1, ""), - sslhcfg_verbose_probe_error = arg_intn(NULL, "verbose-probe-error", "", 0, 1, ""), - sslhcfg_verbose_system_error = arg_intn(NULL, "verbose-system-error", "", 0, 1, ""), - sslhcfg_verbose_int_error = arg_intn(NULL, "verbose-int-error", "", 0, 1, ""), + sslhcfg_verbose_config = arg_intn(NULL, "verbose-config", "", 0, 1, "Print configuration at startup"), + sslhcfg_verbose_config_error = arg_intn(NULL, "verbose-config-error", "", 0, 1, "Print configuration errors"), + sslhcfg_verbose_connections = arg_intn(NULL, "verbose-connections", "", 0, 1, "Trace established incoming address to forward address"), + sslhcfg_verbose_connections_try = arg_intn(NULL, "verbose-connections-try", "", 0, 1, "Connection errors"), + sslhcfg_verbose_connections_error = arg_intn(NULL, "verbose-connections-error", "", 0, 1, "Connection attempts towards targets"), + sslhcfg_verbose_fd = arg_intn(NULL, "verbose-fd", "", 0, 1, "File descriptor activity, open/close/whatnot"), + sslhcfg_verbose_packets = arg_intn(NULL, "verbose-packets", "", 0, 1, "Hexdump packets on which probing is done"), + sslhcfg_verbose_probe_info = arg_intn(NULL, "verbose-probe-info", "", 0, 1, "Trace the probe process"), + sslhcfg_verbose_probe_error = arg_intn(NULL, "verbose-probe-error", "", 0, 1, "Failures and problems during probing"), + sslhcfg_verbose_system_error = arg_intn(NULL, "verbose-system-error", "", 0, 1, "System call failures"), + sslhcfg_verbose_int_error = arg_intn(NULL, "verbose-int-error", "", 0, 1, "Internal errors that should never happen"), sslhcfg_version = arg_litn("V", "version", 0, 1, "Print version information and exit"), sslhcfg_foreground = arg_litn("f", "foreground", 0, 1, "Run in foreground instead of as a daemon"), sslhcfg_inetd = arg_litn("i", "inetd", 0, 1, "Run in inetd mode: use stdin/stdout instead of network listen"), diff --git a/sslh-conf.h b/sslh-conf.h index e50197d..e284232 100644 --- a/sslh-conf.h +++ b/sslh-conf.h @@ -1,5 +1,5 @@ /* Generated by conf2struct (https://www.rutschle.net/tech/conf2struct/README) - * on Mon Sep 27 13:21:48 2021. + * on Sat Oct 2 09:01:25 2021. # conf2struct: generate libconf parsers that read to structs # Copyright (C) 2018-2021 Yves Rutschle diff --git a/sslhconf.cfg b/sslhconf.cfg index d84c081..a0ad4ec 100644 --- a/sslhconf.cfg +++ b/sslhconf.cfg @@ -25,19 +25,30 @@ config: { name : "sslhcfg", type: "list", items: ( - { name: "verbose-config"; type: "int"; default: 0; }, - { name: "verbose-config-error"; type: "int"; default: 3; }, - { name: "verbose-connections"; type: "int"; default: 3; }, - { name: "verbose-connections-try"; type: "int"; default: 0; }, - { name: "verbose-connections-error"; type: "int"; default: 3; }, - { name: "verbose-fd"; type: "int"; default: 0; }, - { name: "verbose-packets"; type: "int"; default: 0; }, + { name: "verbose-config"; type: "int"; default: 0; + description: "Print configuration at startup" }, + { name: "verbose-config-error"; type: "int"; default: 3; + description: "Print configuration errors" }, + { name: "verbose-connections"; type: "int"; default: 3; + description: "Trace established incoming address to forward address" }, + { name: "verbose-connections-try"; type: "int"; default: 0; + description: "Connection errors" }, + { name: "verbose-connections-error"; type: "int"; default: 3; + description: "Connection attempts towards targets" }, + { name: "verbose-fd"; type: "int"; default: 0; + description: "File descriptor activity, open/close/whatnot" }, + { name: "verbose-packets"; type: "int"; default: 0; + description: "Hexdump packets on which probing is done" }, - { name: "verbose-probe-info"; type: "int"; default: 0; }, - { name: "verbose-probe-error"; type: "int"; default: 3; }, + { name: "verbose-probe-info"; type: "int"; default: 0; + description: "Trace the probe process" }, + { name: "verbose-probe-error"; type: "int"; default: 3; + description: "Failures and problems during probing" }, - { name: "verbose-system-error"; type: "int"; default: 3; }, - { name: "verbose-int-error"; type: "int"; default: 3; }, + { name: "verbose-system-error"; type: "int"; default: 3; + description: "System call failures" }, + { name: "verbose-int-error"; type: "int"; default: 3; + description: "Internal errors that should never happen" }, { name: "version"; type: "bool"; default: false; short: "V";