diff options
author | Colin Watson <cjwatson@debian.org> | 2015-08-19 14:23:50 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2015-08-19 14:23:50 +0100 |
commit | baccdb349b31c47cd76fb63211f754ed33a9707e (patch) | |
tree | d03653f975fd4eb8bf71bb0c9d168614401202fa /readconf.h | |
parent | 487bdb3a5ef6075887b830ccb8a0b14f6da78e93 (diff) | |
parent | 9f82e5a9042f2d872e98f48a876fcab3e25dd9bb (diff) |
Import openssh_6.8p1.orig.tar.gz
Diffstat (limited to 'readconf.h')
-rw-r--r-- | readconf.h | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/readconf.h b/readconf.h index 0b9cb777a..576b9e352 100644 --- a/readconf.h +++ b/readconf.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: readconf.h,v 1.102 2014/07/15 15:54:14 millert Exp $ */ | 1 | /* $OpenBSD: readconf.h,v 1.109 2015/02/16 22:13:32 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -93,7 +93,7 @@ typedef struct { | |||
93 | int num_identity_files; /* Number of files for RSA/DSA identities. */ | 93 | int num_identity_files; /* Number of files for RSA/DSA identities. */ |
94 | char *identity_files[SSH_MAX_IDENTITY_FILES]; | 94 | char *identity_files[SSH_MAX_IDENTITY_FILES]; |
95 | int identity_file_userprovided[SSH_MAX_IDENTITY_FILES]; | 95 | int identity_file_userprovided[SSH_MAX_IDENTITY_FILES]; |
96 | Key *identity_keys[SSH_MAX_IDENTITY_FILES]; | 96 | struct sshkey *identity_keys[SSH_MAX_IDENTITY_FILES]; |
97 | 97 | ||
98 | /* Local TCP/IP forward requests. */ | 98 | /* Local TCP/IP forward requests. */ |
99 | int num_local_forwards; | 99 | int num_local_forwards; |
@@ -144,6 +144,14 @@ typedef struct { | |||
144 | int num_permitted_cnames; | 144 | int num_permitted_cnames; |
145 | struct allowed_cname permitted_cnames[MAX_CANON_DOMAINS]; | 145 | struct allowed_cname permitted_cnames[MAX_CANON_DOMAINS]; |
146 | 146 | ||
147 | char *revoked_host_keys; | ||
148 | |||
149 | int fingerprint_hash; | ||
150 | |||
151 | int update_hostkeys; /* one of SSH_UPDATE_HOSTKEYS_* */ | ||
152 | |||
153 | char *hostbased_key_types; | ||
154 | |||
147 | char *ignored_unknown; /* Pattern list of unknown tokens to ignore */ | 155 | char *ignored_unknown; /* Pattern list of unknown tokens to ignore */ |
148 | } Options; | 156 | } Options; |
149 | 157 | ||
@@ -164,17 +172,23 @@ typedef struct { | |||
164 | 172 | ||
165 | #define SSHCONF_CHECKPERM 1 /* check permissions on config file */ | 173 | #define SSHCONF_CHECKPERM 1 /* check permissions on config file */ |
166 | #define SSHCONF_USERCONF 2 /* user provided config file not system */ | 174 | #define SSHCONF_USERCONF 2 /* user provided config file not system */ |
175 | #define SSHCONF_POSTCANON 4 /* After hostname canonicalisation */ | ||
176 | |||
177 | #define SSH_UPDATE_HOSTKEYS_NO 0 | ||
178 | #define SSH_UPDATE_HOSTKEYS_YES 1 | ||
179 | #define SSH_UPDATE_HOSTKEYS_ASK 2 | ||
167 | 180 | ||
168 | void initialize_options(Options *); | 181 | void initialize_options(Options *); |
169 | void fill_default_options(Options *); | 182 | void fill_default_options(Options *); |
170 | void fill_default_options_for_canonicalization(Options *); | 183 | void fill_default_options_for_canonicalization(Options *); |
171 | int process_config_line(Options *, struct passwd *, const char *, char *, | 184 | int process_config_line(Options *, struct passwd *, const char *, |
172 | const char *, int, int *, int); | 185 | const char *, char *, const char *, int, int *, int); |
173 | int read_config_file(const char *, struct passwd *, const char *, | 186 | int read_config_file(const char *, struct passwd *, const char *, |
174 | Options *, int); | 187 | const char *, Options *, int); |
175 | int parse_forward(struct Forward *, const char *, int, int); | 188 | int parse_forward(struct Forward *, const char *, int, int); |
176 | int default_ssh_port(void); | 189 | int default_ssh_port(void); |
177 | int option_clear_or_none(const char *); | 190 | int option_clear_or_none(const char *); |
191 | void dump_client_config(Options *o, const char *host); | ||
178 | 192 | ||
179 | void add_local_forward(Options *, const struct Forward *); | 193 | void add_local_forward(Options *, const struct Forward *); |
180 | void add_remote_forward(Options *, const struct Forward *); | 194 | void add_remote_forward(Options *, const struct Forward *); |