version 1.41.2.1, 2001/09/27 19:03:55 |
version 1.41.2.2, 2002/03/09 00:20:44 |
|
|
|
/* $OpenBSD$ */ |
|
|
/* |
/* |
* Author: Tatu Ylonen <ylo@cs.hut.fi> |
* Author: Tatu Ylonen <ylo@cs.hut.fi> |
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
|
|
* called by a name other than "ssh" or "Secure Shell". |
* called by a name other than "ssh" or "Secure Shell". |
*/ |
*/ |
|
|
/* RCSID("$OpenBSD$"); */ |
|
|
|
#ifndef SERVCONF_H |
#ifndef SERVCONF_H |
#define SERVCONF_H |
#define SERVCONF_H |
|
|
|
|
int x11_forwarding; /* If true, permit inet (spoofing) X11 fwd. */ |
int x11_forwarding; /* If true, permit inet (spoofing) X11 fwd. */ |
int x11_display_offset; /* What DISPLAY number to start |
int x11_display_offset; /* What DISPLAY number to start |
* searching at */ |
* searching at */ |
|
int x11_use_localhost; /* If true, use localhost for fake X11 server. */ |
char *xauth_location; /* Location of xauth program */ |
char *xauth_location; /* Location of xauth program */ |
int strict_modes; /* If true, require string home dir modes. */ |
int strict_modes; /* If true, require string home dir modes. */ |
int keepalives; /* If true, set SO_KEEPALIVE. */ |
int keepalives; /* If true, set SO_KEEPALIVE. */ |
|
|
int max_startups_rate; |
int max_startups_rate; |
int max_startups; |
int max_startups; |
char *banner; /* SSH-2 banner message */ |
char *banner; /* SSH-2 banner message */ |
int reverse_mapping_check; /* cross-check ip and dns */ |
int verify_reverse_mapping; /* cross-check ip and dns */ |
int client_alive_interval; /* |
int client_alive_interval; /* |
* poke the client this often to |
* poke the client this often to |
* see if it's still there |
* see if it's still there |
*/ |
*/ |
int client_alive_count_max; /* |
int client_alive_count_max; /* |
* If the client is unresponsive |
* If the client is unresponsive |
* for this many intervals above, |
* for this many intervals above, |
* disconnect the session |
* disconnect the session |
*/ |
*/ |
|
|
char *authorized_keys_file; /* File containing public keys */ |
char *authorized_keys_file; /* File containing public keys */ |
|
|
void initialize_server_options(ServerOptions *); |
void initialize_server_options(ServerOptions *); |
void read_server_config(ServerOptions *, const char *); |
void read_server_config(ServerOptions *, const char *); |
void fill_default_server_options(ServerOptions *); |
void fill_default_server_options(ServerOptions *); |
|
int process_server_config_line(ServerOptions *, char *, const char *, int); |
|
|
|
|
#endif /* SERVCONF_H */ |
#endif /* SERVCONF_H */ |