/freebsd/crypto/openssh/ |
H A D | packet.h | 54 struct ssh { struct 56 struct session_state *state; 59 struct kex *kex; 62 char *remote_ipaddr; 63 int remote_port; 87 struct ssh_channels *chanctxt; argument 93 typedef int (ssh_packet_hook_fn)(struct ssh *, struct sshbuf *, argument
|
H A D | packet.c | 233 struct ssh *ssh = NULL; ssh_alloc_session_state() local 276 ssh_packet_set_input_hook(struct ssh * ssh,ssh_packet_hook_fn * hook,void * ctx) ssh_packet_set_input_hook() argument 284 ssh_packet_is_rekeying(struct ssh * ssh) ssh_packet_is_rekeying() argument 294 ssh_packet_set_connection(struct ssh * ssh,int fd_in,int fd_out) ssh_packet_set_connection() argument 331 ssh_packet_set_timeout(struct ssh * ssh,int timeout,int count) ssh_packet_set_timeout() argument 346 ssh_packet_set_mux(struct ssh * ssh) ssh_packet_set_mux() argument 355 ssh_packet_get_mux(struct ssh * ssh) ssh_packet_get_mux() argument 361 ssh_packet_set_log_preamble(struct ssh * ssh,const char * fmt,...) ssh_packet_set_log_preamble() argument 380 ssh_packet_stop_discard(struct ssh * ssh) ssh_packet_stop_discard() argument 407 ssh_packet_start_discard(struct ssh * ssh,struct sshenc * enc,struct sshmac * mac,size_t mac_already,u_int discard) ssh_packet_start_discard() argument 435 ssh_packet_connection_is_on_socket(struct ssh * ssh) ssh_packet_connection_is_on_socket() argument 468 ssh_packet_get_bytes(struct ssh * ssh,u_int64_t * ibytes,u_int64_t * obytes) ssh_packet_get_bytes() argument 477 ssh_packet_connection_af(struct ssh * ssh) ssh_packet_connection_af() argument 485 ssh_packet_set_nonblocking(struct ssh * ssh) ssh_packet_set_nonblocking() argument 497 ssh_packet_get_connection_in(struct ssh * ssh) ssh_packet_get_connection_in() argument 505 ssh_packet_get_connection_out(struct ssh * ssh) ssh_packet_get_connection_out() argument 516 ssh_remote_ipaddr(struct ssh * ssh) ssh_remote_ipaddr() argument 548 ssh_remote_hostname(struct ssh * ssh) ssh_remote_hostname() argument 633 ssh_remote_port(struct ssh * ssh) ssh_remote_port() argument 645 ssh_local_ipaddr(struct ssh * ssh) ssh_local_ipaddr() argument 654 ssh_local_port(struct ssh * ssh) ssh_local_port() argument 662 ssh_packet_rdomain_in(struct ssh * ssh) ssh_packet_rdomain_in() argument 675 ssh_packet_close_internal(struct ssh * ssh,int do_close) ssh_packet_close_internal() argument 744 ssh_packet_close(struct ssh * ssh) ssh_packet_close() argument 750 ssh_packet_clear_keys(struct ssh * ssh) ssh_packet_clear_keys() argument 758 ssh_packet_set_protocol_flags(struct ssh * ssh,u_int protocol_flags) ssh_packet_set_protocol_flags() argument 766 ssh_packet_get_protocol_flags(struct ssh * ssh) ssh_packet_get_protocol_flags() argument 777 ssh_packet_init_compression(struct ssh * ssh) ssh_packet_init_compression() argument 787 start_compression_out(struct ssh * ssh,int level) start_compression_out() argument 807 start_compression_in(struct ssh * ssh) start_compression_in() argument 825 compress_buffer(struct ssh * ssh,struct sshbuf * in,struct sshbuf * out) compress_buffer() argument 871 uncompress_buffer(struct ssh * ssh,struct sshbuf * in,struct sshbuf * out) uncompress_buffer() argument 920 start_compression_out(struct ssh * ssh,int level) start_compression_out() argument 926 start_compression_in(struct ssh * ssh) start_compression_in() argument 932 compress_buffer(struct ssh * ssh,struct sshbuf * in,struct sshbuf * out) compress_buffer() argument 938 uncompress_buffer(struct ssh * ssh,struct sshbuf * in,struct sshbuf * out) uncompress_buffer() argument 945 ssh_clear_newkeys(struct ssh * ssh,int mode) ssh_clear_newkeys() argument 954 ssh_set_newkeys(struct ssh * ssh,int mode) ssh_set_newkeys() argument 1051 ssh_packet_need_rekeying(struct ssh * ssh,u_int outbound_packet_len) ssh_packet_need_rekeying() argument 1098 ssh_packet_check_rekey(struct ssh * ssh) ssh_packet_check_rekey() argument 1112 ssh_packet_enable_delayed_compress(struct ssh * ssh) ssh_packet_enable_delayed_compress() argument 1164 ssh_packet_send2_wrapped(struct ssh * ssh) ssh_packet_send2_wrapped() argument 1344 ssh_packet_send2(struct ssh * ssh) ssh_packet_send2() argument 1428 ssh_packet_read_seqnr(struct ssh * ssh,u_char * typep,u_int32_t * seqnr_p) ssh_packet_read_seqnr() argument 1510 ssh_packet_read(struct ssh * ssh) ssh_packet_read() argument 1521 ssh_packet_read_poll2_mux(struct ssh * ssh,u_char * typep,u_int32_t * seqnr_p) ssh_packet_read_poll2_mux() argument 1559 ssh_packet_read_poll2(struct ssh * ssh,u_char * typep,u_int32_t * seqnr_p) ssh_packet_read_poll2() argument 1797 ssh_packet_read_poll_seqnr(struct ssh * ssh,u_char * typep,u_int32_t * seqnr_p) ssh_packet_read_poll_seqnr() argument 1898 ssh_packet_process_incoming(struct ssh * ssh,const char * buf,u_int len) ssh_packet_process_incoming() argument 1920 ssh_packet_process_read(struct ssh * ssh,int fd) ssh_packet_process_read() argument 1944 ssh_packet_remaining(struct ssh * ssh) ssh_packet_remaining() argument 1958 ssh_packet_send_debug(struct ssh * ssh,const char * fmt,...) ssh_packet_send_debug() argument 1983 sshpkt_fmt_connection_id(struct ssh * ssh,char * s,size_t l) sshpkt_fmt_connection_id() argument 1995 sshpkt_vfatal(struct ssh * ssh,int r,const char * fmt,va_list ap) sshpkt_vfatal() argument 2047 sshpkt_fatal(struct ssh * ssh,int r,const char * fmt,...) sshpkt_fatal() argument 2065 ssh_packet_disconnect(struct ssh * ssh,const char * fmt,...) ssh_packet_disconnect() argument 2108 ssh_packet_write_poll(struct ssh * ssh) ssh_packet_write_poll() argument 2136 ssh_packet_write_wait(struct ssh * ssh) ssh_packet_write_wait() argument 2183 ssh_packet_have_data_to_write(struct ssh * ssh) ssh_packet_have_data_to_write() argument 2191 ssh_packet_not_very_much_data_to_write(struct ssh * ssh) ssh_packet_not_very_much_data_to_write() argument 2205 ssh_packet_interactive_data_to_write(struct ssh * ssh) ssh_packet_interactive_data_to_write() argument 2212 ssh_packet_set_tos(struct ssh * ssh,int tos) ssh_packet_set_tos() argument 2222 ssh_packet_set_interactive(struct ssh * ssh,int interactive,int qos_interactive,int qos_bulk) ssh_packet_set_interactive() argument 2243 ssh_packet_is_interactive(struct ssh * ssh) ssh_packet_is_interactive() argument 2249 ssh_packet_set_maxsize(struct ssh * ssh,u_int s) ssh_packet_set_maxsize() argument 2269 ssh_packet_inc_alive_timeouts(struct ssh * ssh) ssh_packet_inc_alive_timeouts() argument 2275 ssh_packet_set_alive_timeouts(struct ssh * ssh,int ka) ssh_packet_set_alive_timeouts() argument 2281 ssh_packet_get_maxsize(struct ssh * ssh) ssh_packet_get_maxsize() argument 2287 ssh_packet_set_rekey_limits(struct ssh * ssh,u_int64_t bytes,u_int32_t seconds) ssh_packet_set_rekey_limits() argument 2296 ssh_packet_get_rekey_timeout(struct ssh * ssh) ssh_packet_get_rekey_timeout() argument 2306 ssh_packet_set_server(struct ssh * ssh) ssh_packet_set_server() argument 2313 ssh_packet_set_authenticated(struct ssh * ssh) ssh_packet_set_authenticated() argument 2319 ssh_packet_get_input(struct ssh * ssh) ssh_packet_get_input() argument 2325 ssh_packet_get_output(struct ssh * ssh) ssh_packet_get_output() argument 2332 ssh_packet_set_postauth(struct ssh * ssh) ssh_packet_set_postauth() argument 2371 newkeys_to_blob(struct sshbuf * m,struct ssh * ssh,int mode) newkeys_to_blob() argument 2415 ssh_packet_get_state(struct ssh * ssh,struct sshbuf * m) ssh_packet_get_state() argument 2442 newkeys_from_blob(struct sshbuf * m,struct ssh * ssh,int mode) newkeys_from_blob() argument 2549 ssh_packet_set_state(struct ssh * ssh,struct sshbuf * m) ssh_packet_set_state() argument 2602 sshpkt_put(struct ssh * ssh,const void * v,size_t len) sshpkt_put() argument 2608 sshpkt_putb(struct ssh * ssh,const struct sshbuf * b) sshpkt_putb() argument 2614 sshpkt_put_u8(struct ssh * ssh,u_char val) sshpkt_put_u8() argument 2620 sshpkt_put_u32(struct ssh * ssh,u_int32_t val) sshpkt_put_u32() argument 2626 sshpkt_put_u64(struct ssh * ssh,u_int64_t val) sshpkt_put_u64() argument 2632 sshpkt_put_string(struct ssh * ssh,const void * v,size_t len) sshpkt_put_string() argument 2638 sshpkt_put_cstring(struct ssh * ssh,const void * v) sshpkt_put_cstring() argument 2644 sshpkt_put_stringb(struct ssh * ssh,const struct sshbuf * v) sshpkt_put_stringb() argument 2652 sshpkt_put_ec(struct ssh * ssh,const EC_POINT * v,const EC_GROUP * g) sshpkt_put_ec() argument 2658 sshpkt_put_ec_pkey(struct ssh * ssh,EVP_PKEY * pkey) sshpkt_put_ec_pkey() argument 2665 sshpkt_put_bignum2(struct ssh * ssh,const BIGNUM * v) sshpkt_put_bignum2() argument 2674 sshpkt_get(struct ssh * ssh,void * valp,size_t len) sshpkt_get() argument 2680 sshpkt_get_u8(struct ssh * ssh,u_char * valp) sshpkt_get_u8() argument 2686 sshpkt_get_u32(struct ssh * ssh,u_int32_t * valp) sshpkt_get_u32() argument 2692 sshpkt_get_u64(struct ssh * ssh,u_int64_t * valp) sshpkt_get_u64() argument 2698 sshpkt_get_string(struct ssh * ssh,u_char ** valp,size_t * lenp) sshpkt_get_string() argument 2704 sshpkt_get_string_direct(struct ssh * ssh,const u_char ** valp,size_t * lenp) sshpkt_get_string_direct() argument 2710 sshpkt_peek_string_direct(struct ssh * ssh,const u_char ** valp,size_t * lenp) sshpkt_peek_string_direct() argument 2716 sshpkt_get_cstring(struct ssh * ssh,char ** valp,size_t * lenp) sshpkt_get_cstring() argument 2722 sshpkt_getb_froms(struct ssh * ssh,struct sshbuf ** valp) sshpkt_getb_froms() argument 2730 sshpkt_get_ec(struct ssh * ssh,EC_POINT * v,const EC_GROUP * g) sshpkt_get_ec() argument 2737 sshpkt_get_bignum2(struct ssh * ssh,BIGNUM ** valp) sshpkt_get_bignum2() argument 2744 sshpkt_get_end(struct ssh * ssh) sshpkt_get_end() argument 2752 sshpkt_ptr(struct ssh * ssh,size_t * lenp) sshpkt_ptr() argument 2762 sshpkt_start(struct ssh * ssh,u_char type) sshpkt_start() argument 2774 ssh_packet_send_mux(struct ssh * ssh) ssh_packet_send_mux() argument 2815 sshpkt_msg_ignore(struct ssh * ssh,u_int nbytes) sshpkt_msg_ignore() argument 2837 sshpkt_send(struct ssh * ssh) sshpkt_send() argument 2845 sshpkt_disconnect(struct ssh * ssh,const char * fmt,...) sshpkt_disconnect() argument 2867 sshpkt_add_padding(struct ssh * ssh,u_char pad) sshpkt_add_padding() argument [all...] |
H A D | nchan.c | 113 chan_read_failed(struct ssh *ssh, Channel *c) in chan_read_failed() 129 chan_ibuf_empty(struct ssh *ssh, Channel *c) in chan_ibuf_empty() 151 chan_obuf_empty(struct ssh *ssh, Channel *c) in chan_obuf_empty() 172 chan_rcvd_eow(struct ssh *ssh, Channel *c) in chan_rcvd_eow() 184 chan_send_eof2(struct ssh *ssh, Channel *c) in chan_send_eof2() 207 chan_send_close2(struct ssh *ssh, Channel *c) in chan_send_close2() 232 chan_send_eow2(struct ssh *ssh, Channel *c) in chan_send_eow2() 257 chan_rcvd_ieof(struct ssh *ssh, Channel *c) in chan_rcvd_ieof() 270 chan_rcvd_oclose(struct ssh *ssh, Channel *c) in chan_rcvd_oclose() 310 chan_write_failed(struct ssh *ssh, Channel *c) in chan_write_failed() [all …]
|
H A D | ssh_api.c | 91 struct ssh *ssh; in ssh_init() local 164 ssh_free(struct ssh *ssh) in ssh_free() 190 ssh_set_app_data(struct ssh *ssh, void *app_data) in ssh_set_app_data() 196 ssh_get_app_data(struct ssh *ssh) in ssh_get_app_data() 203 ssh_add_hostkey(struct ssh *ssh, struct sshkey *key) in ssh_add_hostkey() 237 ssh_set_verify_host_key_callback(struct ssh *ssh, in ssh_set_verify_host_key_callback() 249 ssh_input_append(struct ssh *ssh, const u_char *data, size_t len) in ssh_input_append() 255 ssh_packet_next(struct ssh *ssh, u_char *typep) in ssh_packet_next() 296 ssh_packet_payload(struct ssh *ssh, size_t *lenp) in ssh_packet_payload() 302 ssh_packet_put(struct ssh *ssh, int type, const u_char *data, size_t len) in ssh_packet_put() [all …]
|
H A D | channels.c | 233 channel_init_channels(struct ssh *ssh) in channel_init_channels() 248 channel_by_id(struct ssh *ssh, int id) in channel_by_id() 265 channel_by_remote_id(struct ssh *ssh, u_int remote_id) in channel_by_remote_id() 283 channel_lookup(struct ssh *ssh, int id) in channel_lookup() 312 channel_add_timeout(struct ssh *ssh, const char *type_pattern, in channel_add_timeout() 333 channel_clear_timeouts(struct ssh *ssh) in channel_clear_timeouts() 347 lookup_timeout(struct ssh *ssh, const char *type) in lookup_timeout() 367 channel_set_xtype(struct ssh *ssh, int id, const char *xctype) in channel_set_xtype() 387 channel_set_used_time(struct ssh *ssh, Channel *c) in channel_set_used_time() 399 channel_get_expiry(struct ssh *ssh, Channel *c) in channel_get_expiry() [all …]
|
H A D | dispatch.c | 40 dispatch_protocol_error(int type, u_int32_t seq, struct ssh *ssh) in dispatch_protocol_error() 54 dispatch_protocol_ignore(int type, u_int32_t seq, struct ssh *ssh) in dispatch_protocol_ignore() 61 ssh_dispatch_init(struct ssh *ssh, dispatch_fn *dflt) in ssh_dispatch_init() 69 ssh_dispatch_range(struct ssh *ssh, u_int from, u_int to, dispatch_fn *fn) in ssh_dispatch_range() 81 ssh_dispatch_set(struct ssh *ssh, int type, dispatch_fn *fn) in ssh_dispatch_set() 87 ssh_dispatch_run(struct ssh *ssh, int mode, volatile sig_atomic_t *done) in ssh_dispatch_run() 128 ssh_dispatch_run_fatal(struct ssh *ssh, int mode, volatile sig_atomic_t *done) in ssh_dispatch_run_fatal()
|
H A D | serverloop.c | 107 client_alive_check(struct ssh *ssh) in client_alive_check() 145 wait_until_can_do_something(struct ssh *ssh, in wait_until_can_do_something() 259 process_input(struct ssh *ssh, int connection_in) in process_input() 285 process_output(struct ssh *ssh, int connection_out) in process_output() 297 process_buffered_input_packets(struct ssh *ssh) in process_buffered_input_packets() 303 collect_children(struct ssh *ssh) in collect_children() 319 server_loop2(struct ssh *ssh, Authctxt *authctxt) in server_loop2() 380 server_input_keep_alive(int type, u_int32_t seq, struct ssh *ssh) in server_input_keep_alive() 393 server_request_direct_tcpip(struct ssh *ssh, int *reason, const char **errmsg) in server_request_direct_tcpip() 441 server_request_direct_streamlocal(struct ssh *ssh) in server_request_direct_streamlocal() [all …]
|
H A D | kex.c | 91 kex_proposal_populate_entries(struct ssh *ssh, char *prop[PROPOSAL_MAX], in kex_proposal_populate_entries() 236 kex_protocol_error(int type, u_int32_t seq, struct ssh *ssh) in kex_protocol_error() 254 kex_reset_dispatch(struct ssh *ssh) in kex_reset_dispatch() 261 kex_set_server_sig_algs(struct ssh *ssh, const char *allowed_algs) in kex_set_server_sig_algs() 297 kex_compose_ext_info_server(struct ssh *ssh, struct sshbuf *m) in kex_compose_ext_info_server() 319 kex_compose_ext_info_client(struct ssh *ssh, struct sshbuf *m) in kex_compose_ext_info_client() 336 kex_maybe_send_ext_info(struct ssh *ssh) in kex_maybe_send_ext_info() 373 kex_server_update_ext_info(struct ssh *ssh) in kex_server_update_ext_info() 393 kex_send_newkeys(struct ssh *ssh) in kex_send_newkeys() 427 kex_ext_info_client_parse(struct ssh *ssh, const char *name, in kex_ext_info_client_parse() [all …]
|
H A D | monitor.c | 272 monitor_child_preauth(struct ssh * ssh,struct monitor * pmonitor) monitor_child_preauth() argument 398 monitor_child_postauth(struct ssh * ssh,struct monitor * pmonitor) monitor_child_postauth() argument 482 monitor_read(struct ssh * ssh,struct monitor * pmonitor,struct mon_table * ent,struct mon_table ** pent) monitor_read() argument 580 mm_answer_state(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_state() argument 657 mm_answer_moduli(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_moduli() argument 697 mm_answer_sign(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_sign() argument 831 mm_answer_pwnamallow(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_pwnamallow() argument 925 mm_answer_auth2_read_banner(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_auth2_read_banner() argument 941 mm_answer_authserv(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_authserv() argument 990 mm_answer_authpassword(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_authpassword() argument 1030 mm_answer_bsdauthquery(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_bsdauthquery() argument 1064 mm_answer_bsdauthrespond(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_bsdauthrespond() argument 1098 mm_answer_pam_start(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_pam_start() argument 1113 mm_answer_pam_account(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_pam_account() argument 1136 mm_answer_pam_init_ctx(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_pam_init_ctx() argument 1161 mm_answer_pam_query(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_pam_query() argument 1202 mm_answer_pam_respond(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_pam_respond() argument 1244 mm_answer_pam_free_ctx(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_pam_free_ctx() argument 1264 mm_answer_keyallowed(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_keyallowed() argument 1356 monitor_valid_userblob(struct ssh * ssh,const u_char * data,u_int datalen) monitor_valid_userblob() argument 1506 mm_answer_keyverify(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_keyverify() argument 1623 mm_record_login(struct ssh * ssh,Session * s,struct passwd * pw) mm_record_login() argument 1659 mm_answer_pty(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_pty() argument 1729 mm_answer_pty_cleanup(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_pty_cleanup() argument 1747 mm_answer_term(struct ssh * ssh,int sock,struct sshbuf * req) mm_answer_term() argument 1775 mm_answer_audit_event(struct ssh * ssh,int socket,struct sshbuf * m) mm_answer_audit_event() argument 1804 mm_answer_audit_command(struct ssh * ssh,int socket,struct sshbuf * m) mm_answer_audit_command() argument 1820 monitor_clear_keystate(struct ssh * ssh,struct monitor * pmonitor) monitor_clear_keystate() argument 1829 monitor_apply_keystate(struct ssh * ssh,struct monitor * pmonitor) monitor_apply_keystate() argument 1873 mm_get_keystate(struct ssh * ssh,struct monitor * pmonitor) mm_get_keystate() argument 1943 mm_answer_gss_setup_ctx(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_gss_setup_ctx() argument 1976 mm_answer_gss_accept_ctx(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_gss_accept_ctx() argument 2010 mm_answer_gss_checkmic(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_gss_checkmic() argument 2041 mm_answer_gss_userok(struct ssh * ssh,int sock,struct sshbuf * m) mm_answer_gss_userok() argument [all...] |
H A D | session.c | 195 auth_input_request_forwarding(struct ssh *ssh, struct passwd * pw) in auth_input_request_forwarding() 305 set_fwdpermit_from_authopts(struct ssh *ssh, const struct sshauthopt *opts) in set_fwdpermit_from_authopts() 344 do_authenticated(struct ssh *ssh, Authctxt *authctxt) in do_authenticated() 399 do_exec_no_pty(struct ssh *ssh, Session *s, const char *command) in do_exec_no_pty() 568 do_exec_pty(struct ssh *ssh, Session *s, const char *command) in do_exec_pty() 668 do_exec(struct ssh *ssh, Session *s, const char *command) in do_exec() 748 do_login(struct ssh *ssh, Session *s, const char *command) in do_login() 971 do_setup_env(struct ssh *ssh, Session *s, const char *shell) in do_setup_env() 1207 do_rc_files(struct ssh *ssh, Session *s, const char *shell) in do_rc_files() 1473 child_close_fds(struct ssh *ssh) in child_close_fds() [all …]
|
H A D | clientloop.c | 245 set_control_persist_exit_time(struct ssh *ssh) in set_control_persist_exit_time() 289 client_x11_get_proto(struct ssh *ssh, const char *display, in client_x11_get_proto() 460 client_check_window_change(struct ssh *ssh) in client_check_window_change() 470 client_global_request_reply(int type, u_int32_t seq, struct ssh *ssh) in client_global_request_reply() 495 server_alive_check(struct ssh *ssh) in server_alive_check() 515 send_chaff(struct ssh *ssh) in send_chaff() 576 obfuscate_keystroke_timing(struct ssh *ssh, struct timespec *timeout, in obfuscate_keystroke_timing() 684 client_wait_until_can_do_something(struct ssh *ssh, struct pollfd **pfdp, in client_wait_until_can_do_something() 791 client_process_net_input(struct ssh *ssh) in client_process_net_input() 815 client_status_confirm(struct ssh *ssh, int type, Channel *c, void *ctx) in client_status_confirm() [all …]
|
H A D | auth.c | 100 allowed_user(struct ssh *ssh, struct passwd * pw) in allowed_user() argument 267 auth_log(struct ssh *ssh, int authenticated, int partial, in auth_log() argument 337 auth_maxtries_exceeded(struct ssh * ssh) auth_maxtries_exceeded() argument 355 auth_root_allowed(struct ssh * ssh,const char * method) auth_root_allowed() argument 466 getpwnamallow(struct ssh * ssh,const char * user) getpwnamallow() argument 606 auth_debug_send(struct ssh * ssh) auth_debug_send() argument 670 auth_get_canonical_hostname(struct ssh * ssh,int use_dns) auth_get_canonical_hostname() argument 756 auth_activate_options(struct ssh * ssh,struct sshauthopt * opts) auth_activate_options() argument 771 auth_restrict_session(struct ssh * ssh) auth_restrict_session() argument [all...] |
H A D | sshconnect2.c | 94 verify_host_key_callback(struct sshkey *hostkey, struct ssh *ssh) in verify_host_key_callback() 218 ssh_kex2(struct ssh *ssh, char *host, struct sockaddr *hostaddr, u_short port, in ssh_kex2() 423 ssh_userauth2(struct ssh *ssh, const char *local_user, in ssh_userauth2() 491 input_userauth_service_accept(int type, u_int32_t seq, struct ssh *ssh) in input_userauth_service_accept() 524 userauth(struct ssh *ssh, char *authlist) in userauth() 562 input_userauth_error(int type, u_int32_t seq, struct ssh *ssh) in input_userauth_error() 569 input_userauth_banner(int type, u_int32_t seq, struct ssh *ssh) in input_userauth_banner() 588 input_userauth_success(int type, u_int32_t seq, struct ssh *ssh) in input_userauth_success() 621 input_userauth_failure(int type, u_int32_t seq, struct ssh *ssh) in input_userauth_failure() 681 input_userauth_pk_ok(int type, u_int32_t seq, struct ssh *ssh) in input_userauth_pk_ok() [all …]
|
H A D | sshd-session.c | 338 privsep_preauth(struct ssh * ssh) privsep_preauth() argument 423 privsep_postauth(struct ssh * ssh,Authctxt * authctxt) privsep_postauth() argument 481 get_hostkey_by_type(int type,int nid,int need_private,struct ssh * ssh) get_hostkey_by_type() argument 522 get_hostkey_public_by_type(int type,int nid,struct ssh * ssh) get_hostkey_public_by_type() argument 528 get_hostkey_private_by_type(int type,int nid,struct ssh * ssh) get_hostkey_private_by_type() argument 542 get_hostkey_public_by_index(int ind,struct ssh * ssh) get_hostkey_public_by_index() argument 550 get_hostkey_index(struct sshkey * key,int compare,struct ssh * ssh) get_hostkey_index() argument 577 notify_hostkeys(struct ssh * ssh) notify_hostkeys() argument 763 check_ip_options(struct ssh * ssh) check_ip_options() argument 794 set_process_rdomain(struct ssh * ssh,const char * name) set_process_rdomain() argument 838 struct ssh *ssh = NULL; main() local 1386 sshd_hostkey_sign(struct ssh * ssh,struct sshkey * privkey,struct sshkey * pubkey,u_char ** signature,size_t * slenp,const u_char * data,size_t dlen,const char * alg) sshd_hostkey_sign() argument [all...] |
H A D | sshd-auth.c | 292 get_hostkey_public_by_type(int type, int nid, struct ssh *ssh) in get_hostkey_public_by_type() 331 get_hostkey_private_by_type(int type, int nid, struct ssh *ssh) in get_hostkey_private_by_type() 344 get_hostkey_public_by_index(int ind, struct ssh *ssh) in get_hostkey_public_by_index() 352 get_hostkey_index(struct sshkey *key, int compare, struct ssh *ssh) in get_hostkey_index() 424 recv_privsep_state(struct ssh *ssh, struct sshbuf *conf, in recv_privsep_state() 446 struct ssh *ssh = NULL; in main() local 803 sshd_hostkey_sign(struct ssh *ssh, struct sshkey *privkey, in sshd_hostkey_sign() 823 do_ssh2_kex(struct ssh *ssh) in do_ssh2_kex()
|
H A D | auth2-gss.c | 66 userauth_gssapi(struct ssh *ssh, const char *method) in userauth_gssapi() 146 input_gssapi_token(int type, u_int32_t plen, struct ssh *ssh) in input_gssapi_token() 210 input_gssapi_errtok(int type, u_int32_t plen, struct ssh *ssh) in input_gssapi_errtok() 254 input_gssapi_exchange_complete(int type, u_int32_t plen, struct ssh *ssh) in input_gssapi_exchange_complete() 282 input_gssapi_mic(int type, u_int32_t plen, struct ssh *ssh) in input_gssapi_mic()
|
H A D | auth2-chall.c | 193 auth2_challenge(struct ssh *ssh, char *devs) in auth2_challenge() 209 auth2_challenge_stop(struct ssh *ssh) in auth2_challenge_stop() 222 auth2_challenge_start(struct ssh *ssh) in auth2_challenge_start() 253 send_userauth_info_request(struct ssh *ssh) in send_userauth_info_request() 290 input_userauth_info_response(int type, u_int32_t seq, struct ssh *ssh) in input_userauth_info_response()
|
H A D | kexgen.c | 99 kex_gen_client(struct ssh *ssh) in kex_gen_client() 142 input_kex_gen_reply(int type, u_int32_t seq, struct ssh *ssh) in input_kex_gen_reply() 267 kex_gen_server(struct ssh *ssh) in kex_gen_server() 275 input_kex_gen_init(int type, u_int32_t seq, struct ssh *ssh) in input_kex_gen_init()
|
H A D | kexgexs.c | 62 kexgex_server(struct ssh *ssh) in kexgex_server() 71 input_kex_dh_gex_request(int type, u_int32_t seq, struct ssh *ssh) in input_kex_dh_gex_request() 127 input_kex_dh_gex_init(int type, u_int32_t seq, struct ssh *ssh) in input_kex_dh_gex_init()
|
H A D | kexgexc.c | 60 kexgex_client(struct ssh *ssh) in kexgex_client() 95 input_kex_dh_gex_group(int type, u_int32_t seq, struct ssh *ssh) in input_kex_dh_gex_group() 145 input_kex_dh_gex_reply(int type, u_int32_t seq, struct ssh *ssh) in input_kex_dh_gex_reply()
|
H A D | monitor_wrap.c | 253 mm_sshkey_sign(struct ssh *ssh, struct sshkey *key, u_char **sigp, size_t *lenp, in mm_sshkey_sign() 283 mm_decode_activate_server_options(struct ssh *ssh, struct sshbuf *m) in mm_decode_activate_server_options() 335 mm_getpwnamallow(struct ssh *ssh, const char *username) in mm_getpwnamallow() 447 mm_auth_password(struct ssh *ssh, char *password) in mm_auth_password() 484 mm_user_key_allowed(struct ssh *ssh, struct passwd *pw, struct sshkey *key, in mm_user_key_allowed() 492 mm_hostbased_key_allowed(struct ssh *ssh, struct passwd *pw, in mm_hostbased_key_allowed() 599 mm_send_keystate(struct ssh *ssh, struct monitor *monitor) in mm_send_keystate() 691 mm_start_pam(struct ssh *ssh) in mm_start_pam() 857 mm_get_state(struct ssh *ssh, struct include_list *includes, in mm_get_state() 998 mm_audit_event(struct ssh *ssh, ssh_audit_event_t event) in mm_audit_event() [all …]
|
H A D | auth-passwd.c | 77 auth_password(struct ssh *ssh, const char *password) in auth_password() 167 sys_auth_passwd(struct ssh *ssh, const char *password) in sys_auth_passwd() 192 sys_auth_passwd(struct ssh *ssh, const char *password) in sys_auth_passwd()
|
H A D | mux.c | 191 mux_master_session_cleanup_cb(struct ssh *ssh, int cid, int force, void *unused) in mux_master_session_cleanup_cb() 212 mux_master_control_cleanup_cb(struct ssh *ssh, int cid, int force, void *unused) in mux_master_control_cleanup_cb() 266 mux_master_process_hello(struct ssh *ssh, u_int rid, in mux_master_process_hello() 332 mux_master_process_new_session(struct ssh *ssh, u_int rid, in mux_master_process_new_session() 489 mux_master_process_alive_check(struct ssh *ssh, u_int rid, in mux_master_process_alive_check() 506 mux_master_process_terminate(struct ssh *ssh, u_int rid, in mux_master_process_terminate() 594 mux_confirm_remote_forward(struct ssh *ssh, int type, u_int32_t seq, void *ctxt) in mux_confirm_remote_forward() 682 mux_master_process_open_fwd(struct ssh *ssh, u_int rid, in mux_master_process_open_fwd() 847 mux_master_process_close_fwd(struct ssh *ssh, u_int rid, in mux_master_process_close_fwd() 959 mux_master_process_stdio_fwd(struct ssh *ssh, u_int rid, in mux_master_process_stdio_fwd() [all …]
|
H A D | compat.c | 42 compat_banner(struct ssh *ssh, const char *version) in compat_banner() 142 compat_kex_proposal(struct ssh *ssh, const char *p) in compat_kex_proposal()
|
H A D | blacklist_client.h | 51 #define BLACKLIST_NOTIFY(ssh,x,msg) blacklist_notify(ssh,x,msg) argument 56 #define BLACKLIST_NOTIFY(ssh,x,msg) argument
|