Home
last modified time | relevance | path

Searched refs:chost (Results 1 – 5 of 5) sorted by relevance

/external/openssh/
Dauth2-hostbased.c63 char *pkalg, *cuser, *chost, *service; in userauth_hostbased() local
75 chost = packet_get_string(NULL); in userauth_hostbased()
80 cuser, chost, pkalg, slen); in userauth_hostbased()
129 buffer_put_cstring(&b, chost); in userauth_hostbased()
136 "client user \"%.100s\", client host \"%.100s\"", cuser, chost); in userauth_hostbased()
140 if (PRIVSEP(hostbased_key_allowed(authctxt->pw, cuser, chost, key)) && in userauth_hostbased()
153 free(chost); in userauth_hostbased()
160 hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost, in hostbased_key_allowed() argument
176 chost, resolvedname, ipaddr); in hostbased_key_allowed()
178 if (((len = strlen(chost)) > 0) && chost[len - 1] == '.') { in hostbased_key_allowed()
[all …]
Dmonitor.c1128 char *cuser, *chost; in mm_answer_keyallowed() local
1138 chost = buffer_get_string(m, NULL); in mm_answer_keyallowed()
1171 cuser, chost, key); in mm_answer_keyallowed()
1174 cuser, chost); in mm_answer_keyallowed()
1198 hostbased_chost = chost; in mm_answer_keyallowed()
1204 free(chost); in mm_answer_keyallowed()
1279 char *chost) in monitor_valid_hostbasedblob() argument
1321 if (strcmp(p, chost) != 0) in monitor_valid_hostbasedblob()
Dmux.c948 char *reserved, *chost; in process_mux_stdio_fwd() local
953 chost = reserved = NULL; in process_mux_stdio_fwd()
955 (chost = buffer_get_string_ret(m, NULL)) == NULL || in process_mux_stdio_fwd()
958 free(chost); in process_mux_stdio_fwd()
965 __func__, c->self, chost, cport); in process_mux_stdio_fwd()
974 free(chost); in process_mux_stdio_fwd()
998 free(chost); in process_mux_stdio_fwd()
1005 chost, cport)) { in process_mux_stdio_fwd()
1021 nc = channel_connect_stdio_fwd(chost, cport, new_fd[0], new_fd[1]); in process_mux_stdio_fwd()
Dsshconnect2.c1732 char *fp = NULL, *chost = NULL, *lname = NULL; in userauth_hostbased() local
1799 xasprintf(&chost, "%s.", lname); in userauth_hostbased()
1800 debug2("%s: chost %s", __func__, chost); in userauth_hostbased()
1821 (r = sshbuf_put_cstring(b, chost)) != 0 || in userauth_hostbased()
1847 (r = sshpkt_put_cstring(ssh, chost)) != 0 || in userauth_hostbased()
1864 free(chost); in userauth_hostbased()
/external/python/cpython2/Lib/
Dxmlrpclib.py1387 chost, self._extra_headers, x509 = self.get_host_info(host)
1389 self._connection = host, httplib.HTTPConnection(chost)
1519 chost, self._extra_headers, x509 = self.get_host_info(host)
1520 self._connection = host, HTTPS(chost, None, context=self.context, **(x509 or {}))