Lines Matching +full:int +full:- +full:fwd +full:- +full:mask

19 #include <openbsd-compat/sys-queue.h>
24 #define PERMIT_NOT_SET -1
37 #define PERMITOPEN_NONE -2
47 /* Magic name for internal sftp-server */
48 #define INTERNAL_SFTP_NAME "internal-sftp"
64 int port; /* <=0 if unspecified */
77 int ports[MAX_PORTS]; /* Port number to listen on. */
82 int address_family; /* Address family used by the server. */
87 int *host_key_file_userprovided; /* Key was specified by user. */
92 char *host_key_agent; /* ssh-agent socket for host keys. */
94 char *moduli_file; /* moduli file for DH-GEX */
95 int login_grace_time; /* Disconnect if no auth in this time
97 int permit_root_login; /* PERMIT_*, see above */
98 int ignore_rhosts; /* Ignore .rhosts and .shosts. */
99 int ignore_user_known_hosts; /* Ignore ~/.ssh/known_hosts
101 int print_motd; /* If true, print /etc/motd. */
102 int print_lastlog; /* If true, print lastlog */
103 int x11_forwarding; /* If true, permit inet (spoofing) X11 fwd. */
104 int x11_display_offset; /* What DISPLAY number to start
106 int x11_use_localhost; /* If true, use localhost for fake X11 server. */
108 int permit_tty; /* If false, deny pty allocation */
109 int permit_user_rc; /* If false, deny ~/.ssh/rc execution */
110 int strict_modes; /* If true, require string home dir modes. */
111 int tcp_keep_alive; /* If true, set SO_KEEPALIVE. */
112 int ip_qos_interactive; /* IP ToS/DSCP/class for interactive */
113 int ip_qos_bulk; /* IP ToS/DSCP/class for bulk traffic */
122 int hostbased_authentication; /* If true, permit ssh2 hostbased auth */
123 int hostbased_uses_name_from_packet_only; /* experimental */
127 int pubkey_authentication; /* If true, permit ssh2 pubkey authentication. */
129 int pubkey_auth_options; /* -1 or mask of PUBKEYAUTH_* flags */
130 int kerberos_authentication; /* If true, permit Kerberos
132 int kerberos_or_local_passwd; /* If true, permit kerberos
137 int kerberos_ticket_cleanup; /* If true, destroy ticket
139 int kerberos_get_afs_token; /* If true, try to get AFS token if
141 int gss_authentication; /* If true, permit GSSAPI authentication */
142 int gss_cleanup_creds; /* If true, destroy cred cache on logout */
143 int gss_strict_acceptor; /* If true, restrict the GSSAPI acceptor name */
144 int password_authentication; /* If true, permit password
146 int kbd_interactive_authentication; /* If true, permit */
147 int permit_empty_passwd; /* If false, do not permit empty
149 int permit_user_env; /* If true, read ~/.ssh/environment */
150 char *permit_user_env_allowlist; /* pattern-list of allowed env names */
151 int compression; /* If true, compression is allowed */
152 int allow_tcp_forwarding; /* One of FORWARD_* */
153 int allow_streamlocal_forwarding; /* One of FORWARD_* */
154 int allow_agent_forwarding;
155 int disable_forwarding;
175 int max_startups_begin;
176 int max_startups_rate;
177 int max_startups;
178 int per_source_max_startups;
179 int per_source_masklen_ipv4;
180 int per_source_masklen_ipv6;
181 int max_authtries;
182 int max_sessions;
183 char *banner; /* SSH-2 banner message */
184 int use_dns;
185 int client_alive_interval; /*
189 int client_alive_count_max; /*
200 int use_pam; /* Enable auth via PAM */
202 int permit_tun;
219 int rekey_interval;
226 int fingerprint_hash;
227 int expose_userauth_info;
230 int required_rsa_size; /* minimum size of RSA keys */
235 int unused_connection_timeout;
237 int use_blacklist;
246 int lport; /* local port */
248 int test; /* test mode, allow some attributes to be
252 /* List of included files for re-exec from the parsed configuration */
264 * Match sub-config and the main config, and must be sent from the
302 struct connection_info *get_connection_info(struct ssh *, int, int);
305 int process_server_config_line(ServerOptions *, char *, const char *, int,
306 int *, struct connection_info *, struct include_list *includes);
311 struct include_list *includes, struct connection_info *, int);
314 int parse_server_match_testspec(struct connection_info *, char *);
315 int server_match_spec_complete(struct connection_info *);
317 void copy_set_server_options(ServerOptions *, ServerOptions *, int);
320 void servconf_add_hostkey(const char *, const int,
321 ServerOptions *, const char *path, int);
322 void servconf_add_hostcert(const char *, const int,