Changeset View
Changeset View
Standalone View
Standalone View
servconf.c
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | |||||
#include "groupaccess.h" | #include "groupaccess.h" | ||||
#include "canohost.h" | #include "canohost.h" | ||||
#include "packet.h" | #include "packet.h" | ||||
#include "ssherr.h" | #include "ssherr.h" | ||||
#include "hostfile.h" | #include "hostfile.h" | ||||
#include "auth.h" | #include "auth.h" | ||||
#include "myproposal.h" | #include "myproposal.h" | ||||
#include "digest.h" | #include "digest.h" | ||||
#include "version.h" | |||||
static void add_listen_addr(ServerOptions *, const char *, | static void add_listen_addr(ServerOptions *, const char *, | ||||
const char *, int); | const char *, int); | ||||
static void add_one_listen_addr(ServerOptions *, const char *, | static void add_one_listen_addr(ServerOptions *, const char *, | ||||
const char *, int); | const char *, int); | ||||
static void parse_server_config_depth(ServerOptions *options, | static void parse_server_config_depth(ServerOptions *options, | ||||
const char *filename, struct sshbuf *conf, struct include_list *includes, | const char *filename, struct sshbuf *conf, struct include_list *includes, | ||||
struct connection_info *connectinfo, int flags, int *activep, int depth); | struct connection_info *connectinfo, int flags, int *activep, int depth); | ||||
▲ Show 20 Lines • Show All 345 Lines • ▼ Show 20 Lines | #endif | ||||
} | } | ||||
if (options->permit_tun == -1) | if (options->permit_tun == -1) | ||||
options->permit_tun = SSH_TUNMODE_NO; | options->permit_tun = SSH_TUNMODE_NO; | ||||
if (options->ip_qos_interactive == -1) | if (options->ip_qos_interactive == -1) | ||||
options->ip_qos_interactive = IPTOS_DSCP_AF21; | options->ip_qos_interactive = IPTOS_DSCP_AF21; | ||||
if (options->ip_qos_bulk == -1) | if (options->ip_qos_bulk == -1) | ||||
options->ip_qos_bulk = IPTOS_DSCP_CS1; | options->ip_qos_bulk = IPTOS_DSCP_CS1; | ||||
if (options->version_addendum == NULL) | if (options->version_addendum == NULL) | ||||
options->version_addendum = xstrdup(""); | options->version_addendum = xstrdup(SSH_VERSION_FREEBSD); | ||||
if (options->fwd_opts.streamlocal_bind_mask == (mode_t)-1) | if (options->fwd_opts.streamlocal_bind_mask == (mode_t)-1) | ||||
options->fwd_opts.streamlocal_bind_mask = 0177; | options->fwd_opts.streamlocal_bind_mask = 0177; | ||||
if (options->fwd_opts.streamlocal_bind_unlink == -1) | if (options->fwd_opts.streamlocal_bind_unlink == -1) | ||||
options->fwd_opts.streamlocal_bind_unlink = 0; | options->fwd_opts.streamlocal_bind_unlink = 0; | ||||
if (options->fingerprint_hash == -1) | if (options->fingerprint_hash == -1) | ||||
options->fingerprint_hash = SSH_FP_HASH_DEFAULT; | options->fingerprint_hash = SSH_FP_HASH_DEFAULT; | ||||
if (options->disable_forwarding == -1) | if (options->disable_forwarding == -1) | ||||
options->disable_forwarding = 0; | options->disable_forwarding = 0; | ||||
▲ Show 20 Lines • Show All 2,555 Lines • Show Last 20 Lines |