| /freebsd-14.2/crypto/openssh/ |
| H A D | packet.h | 52 struct ssh { struct 54 struct session_state *state; 57 struct kex *kex; 60 char *remote_ipaddr; 61 int remote_port; 85 struct ssh_channels *chanctxt; argument 91 typedef int (ssh_packet_hook_fn)(struct ssh *, struct sshbuf *, argument
|
| 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() 230 chan_send_eow2(struct ssh *ssh, Channel *c) in chan_send_eow2() 255 chan_rcvd_ieof(struct ssh *ssh, Channel *c) in chan_rcvd_ieof() 268 chan_rcvd_oclose(struct ssh *ssh, Channel *c) in chan_rcvd_oclose() 308 chan_write_failed(struct ssh *ssh, Channel *c) in chan_write_failed() [all …]
|
| H A D | packet.c | 233 struct ssh *ssh = NULL; in ssh_alloc_session_state() local 346 ssh_packet_set_mux(struct ssh *ssh) in ssh_packet_set_mux() 516 ssh_remote_ipaddr(struct ssh *ssh) in ssh_remote_ipaddr() 541 ssh_remote_port(struct ssh *ssh) in ssh_remote_port() 553 ssh_local_ipaddr(struct ssh *ssh) in ssh_local_ipaddr() 562 ssh_local_port(struct ssh *ssh) in ssh_local_port() 652 ssh_packet_close(struct ssh *ssh) in ssh_packet_close() 1253 ssh_packet_send2(struct ssh *ssh) in ssh_packet_send2() 1419 ssh_packet_read(struct ssh *ssh) in ssh_packet_read() 2648 sshpkt_get_end(struct ssh *ssh) in sshpkt_get_end() [all …]
|
| H A D | ssh_api.c | 86 struct ssh *ssh; in ssh_init() local 157 ssh_free(struct ssh *ssh) in ssh_free() 189 ssh_get_app_data(struct ssh *ssh) in ssh_get_app_data() 230 ssh_set_verify_host_key_callback(struct ssh *ssh, in ssh_set_verify_host_key_callback() 248 ssh_packet_next(struct ssh *ssh, u_char *typep) in ssh_packet_next() 307 ssh_output_ptr(struct ssh *ssh, size_t *len) in ssh_output_ptr() 316 ssh_output_consume(struct ssh *ssh, size_t len) in ssh_output_consume() 322 ssh_output_space(struct ssh *ssh, size_t len) in ssh_output_space() 328 ssh_input_space(struct ssh *ssh, size_t len) in ssh_input_space() 438 _ssh_exchange_banner(struct ssh *ssh) in _ssh_exchange_banner() [all …]
|
| H A D | channels.c | 238 channel_init_channels(struct ssh *ssh) in channel_init_channels() 253 channel_by_id(struct ssh *ssh, int id) in channel_by_id() 288 channel_lookup(struct ssh *ssh, int id) in channel_lookup() 338 channel_clear_timeouts(struct ssh *ssh) in channel_clear_timeouts() 807 channel_free_all(struct ssh *ssh) in channel_free_all() 840 channel_close_all(struct ssh *ssh) in channel_close_all() 902 channel_still_open(struct ssh *ssh) in channel_still_open() 945 channel_tty_open(struct ssh *ssh) in channel_tty_open() 962 channel_find_open(struct ssh *ssh) in channel_find_open() 1044 channel_open_message(struct ssh *ssh) in channel_open_message() [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 | 128 client_alive_check(struct ssh *ssh) in client_alive_check() 166 wait_until_can_do_something(struct ssh *ssh, in wait_until_can_do_something() 280 process_input(struct ssh *ssh, int connection_in) in process_input() 306 process_output(struct ssh *ssh, int connection_out) in process_output() 318 process_buffered_input_packets(struct ssh *ssh) in process_buffered_input_packets() 324 collect_children(struct ssh *ssh) in collect_children() 340 server_loop2(struct ssh *ssh, Authctxt *authctxt) in server_loop2() 474 server_request_direct_streamlocal(struct ssh *ssh) in server_request_direct_streamlocal() 517 server_request_tun(struct ssh *ssh) in server_request_tun() 586 server_request_session(struct ssh *ssh) in server_request_session() [all …]
|
| H A D | monitor.c | 267 monitor_child_preauth(struct ssh *ssh, struct monitor *pmonitor) in monitor_child_preauth() 387 monitor_child_postauth(struct ssh *ssh, struct monitor *pmonitor) in monitor_child_postauth() 568 mm_answer_moduli(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_moduli() 608 mm_answer_sign(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_sign() 829 mm_answer_authserv(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_authserv() 986 mm_answer_pam_start(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_pam_start() 1049 mm_answer_pam_query(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_pam_query() 1511 mm_record_login(struct ssh *ssh, Session *s, struct passwd *pw) in mm_record_login() 1547 mm_answer_pty(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_pty() 1635 mm_answer_term(struct ssh *ssh, int sock, struct sshbuf *req) in mm_answer_term() [all …]
|
| H A D | kex.c | 502 kex_reset_dispatch(struct ssh *ssh) in kex_reset_dispatch() 584 kex_maybe_send_ext_info(struct ssh *ssh) in kex_maybe_send_ext_info() 621 kex_server_update_ext_info(struct ssh *ssh) in kex_server_update_ext_info() 641 kex_send_newkeys(struct ssh *ssh) in kex_send_newkeys() 772 kex_input_newkeys(int type, u_int32_t seq, struct ssh *ssh) in kex_input_newkeys() 820 kex_send_kexinit(struct ssh *ssh) in kex_send_kexinit() 997 kex_ready(struct ssh *ssh, char *proposal[PROPOSAL_MAX]) in kex_ready() 1010 kex_setup(struct ssh *ssh, char *proposal[PROPOSAL_MAX]) in kex_setup() 1029 kex_start_rekex(struct ssh *ssh) in kex_start_rekex() 1178 kex_choose_conf(struct ssh *ssh, uint32_t seq) in kex_choose_conf() [all …]
|
| H A D | session.c | 1484 child_close_fds(struct ssh *ssh) in child_close_fds() 1918 session_pty_req(struct ssh *ssh, Session *s) in session_pty_req() 2016 session_x11_req(struct ssh *ssh, Session *s) in session_x11_req() 2052 session_shell_req(struct ssh *ssh, Session *s) in session_shell_req() 2065 session_exec_req(struct ssh *ssh, Session *s) in session_exec_req() 2083 session_break_req(struct ssh *ssh, Session *s) in session_break_req() 2097 session_env_req(struct ssh *ssh, Session *s) in session_env_req() 2158 session_signal_req(struct ssh *ssh, Session *s) in session_signal_req() 2269 session_set_fds(struct ssh *ssh, Session *s, in session_set_fds() 2349 session_close_x11(struct ssh *ssh, int id) in session_close_x11() [all …]
|
| H A D | auth.c | 101 allowed_user(struct ssh *ssh, struct passwd * pw) in allowed_user() 268 auth_log(struct ssh *ssh, int authenticated, int partial, in auth_log() 338 auth_maxtries_exceeded(struct ssh *ssh) in auth_maxtries_exceeded() 356 auth_root_allowed(struct ssh *ssh, const char *method) in auth_root_allowed() 467 getpwnamallow(struct ssh *ssh, const char *user) in getpwnamallow() 606 auth_debug_send(struct ssh *ssh) in auth_debug_send() 672 remote_hostname(struct ssh *ssh) in remote_hostname() 761 auth_get_canonical_hostname(struct ssh *ssh, int use_dns) in auth_get_canonical_hostname() 849 auth_activate_options(struct ssh *ssh, struct sshauthopt *opts) in auth_activate_options() 864 auth_restrict_session(struct ssh *ssh) in auth_restrict_session()
|
| H A D | clientloop.c | 246 set_control_persist_exit_time(struct ssh *ssh) in set_control_persist_exit_time() 461 client_check_window_change(struct ssh *ssh) in client_check_window_change() 496 server_alive_check(struct ssh *ssh) in server_alive_check() 516 send_chaff(struct ssh *ssh) in send_chaff() 791 client_process_net_input(struct ssh *ssh) in client_process_net_input() 985 process_cmdline(struct ssh *ssh) in process_cmdline() 1171 process_escapes(struct ssh *ssh, Channel *c, in process_escapes() 1765 client_request_forwarded_streamlocal(struct ssh *ssh, in client_request_forwarded_streamlocal() 1861 client_request_tun_fwd(struct ssh *ssh, int tun_mode, in client_request_tun_fwd() 2470 client_input_hostkeys(struct ssh *ssh) in client_input_hostkeys() [all …]
|
| H A D | sshconnect2.c | 525 userauth(struct ssh *ssh, char *authlist) in userauth() 756 userauth_gssapi(struct ssh *ssh) in userauth_gssapi() 812 userauth_gssapi_cleanup(struct ssh *ssh) in userauth_gssapi_cleanup() 1020 userauth_none(struct ssh *ssh) in userauth_none() 1036 userauth_passwd(struct ssh *ssh) in userauth_passwd() 1312 sign_and_send_pubkey(struct ssh *ssh, Identity *id) in sign_and_send_pubkey() 1483 send_pubkey_test(struct ssh *ssh, Identity *id) in send_pubkey_test() 1831 pubkey_cleanup(struct ssh *ssh) in pubkey_cleanup() 1859 userauth_pubkey(struct ssh *ssh) in userauth_pubkey() 1911 userauth_kbdint(struct ssh *ssh) in userauth_kbdint() [all …]
|
| H A D | auth2-gss.c | 65 userauth_gssapi(struct ssh *ssh, const char *method) in userauth_gssapi() 145 input_gssapi_token(int type, u_int32_t plen, struct ssh *ssh) in input_gssapi_token() 209 input_gssapi_errtok(int type, u_int32_t plen, struct ssh *ssh) in input_gssapi_errtok() 253 input_gssapi_exchange_complete(int type, u_int32_t plen, struct ssh *ssh) in input_gssapi_exchange_complete() 286 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() 139 input_kex_gen_reply(int type, u_int32_t seq, struct ssh *ssh) in input_kex_gen_reply() 258 kex_gen_server(struct ssh *ssh) in kex_gen_server() 266 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 | 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 | sshd.c | 484 privsep_preauth(struct ssh *ssh) in privsep_preauth() 552 privsep_postauth(struct ssh *ssh, Authctxt *authctxt) 719 get_hostkey_public_by_type(int type, int nid, struct ssh *ssh) 725 get_hostkey_private_by_type(int type, int nid, struct ssh *ssh) 739 get_hostkey_public_by_index(int ind, struct ssh *ssh) 774 notify_hostkeys(struct ssh *ssh) 1468 check_ip_options(struct ssh *ssh) 1500 set_process_rdomain(struct ssh *ssh, const char *name) 1607 struct ssh *ssh = NULL; local 2447 sshd_hostkey_sign(struct ssh *ssh, struct sshkey *privkey, [all …]
|
| H A D | mux.c | 267 mux_master_process_hello(struct ssh *ssh, u_int rid, in mux_master_process_hello() 333 mux_master_process_new_session(struct ssh *ssh, u_int rid, in mux_master_process_new_session() 490 mux_master_process_alive_check(struct ssh *ssh, u_int rid, in mux_master_process_alive_check() 507 mux_master_process_terminate(struct ssh *ssh, u_int rid, in mux_master_process_terminate() 683 mux_master_process_open_fwd(struct ssh *ssh, u_int rid, in mux_master_process_open_fwd() 848 mux_master_process_close_fwd(struct ssh *ssh, u_int rid, in mux_master_process_close_fwd() 960 mux_master_process_stdio_fwd(struct ssh *ssh, u_int rid, in mux_master_process_stdio_fwd() 1133 mux_master_process_proxy(struct ssh *ssh, u_int rid, in mux_master_process_proxy() 1150 mux_master_read_cb(struct ssh *ssh, Channel *c) in mux_master_read_cb() 1249 mux_tty_alloc_failed(struct ssh *ssh, Channel *c) in mux_tty_alloc_failed() [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
|
| H A D | ssh.c | 670 struct ssh *ssh = NULL; in main() local 1896 ssh_confirm_remote_forward(struct ssh *ssh, int type, u_int32_t seq, void *ctxt) in ssh_confirm_remote_forward() 1958 client_cleanup_stdio_fwd(struct ssh *ssh, int id, int force, void *arg) in client_cleanup_stdio_fwd() 1965 ssh_stdio_confirm(struct ssh *ssh, int id, int success, void *arg) in ssh_stdio_confirm() 1972 ssh_tun_confirm(struct ssh *ssh, int id, int success, void *arg) in ssh_tun_confirm() 1985 ssh_init_stdio_forwarding(struct ssh *ssh) in ssh_init_stdio_forwarding() 2008 ssh_init_forward_permissions(struct ssh *ssh, const char *what, char **opens, in ssh_init_forward_permissions() 2044 ssh_init_forwarding(struct ssh *ssh, char **ifname) in ssh_init_forwarding() 2136 ssh_session2_setup(struct ssh *ssh, int id, int success, void *arg) in ssh_session2_setup() 2184 ssh_session2_open(struct ssh *ssh) in ssh_session2_open() [all …]
|
| H A D | auth2.c | 140 userauth_send_banner(struct ssh *ssh, const char *msg) in userauth_send_banner() 153 userauth_banner(struct ssh *ssh) in userauth_banner() 172 do_authentication2(struct ssh *ssh) in do_authentication2() 185 input_service_request(int type, u_int32_t seq, struct ssh *ssh) in input_service_request() 270 input_userauth_request(int type, u_int32_t seq, struct ssh *ssh) in input_userauth_request() 364 userauth_finish(struct ssh *ssh, int authenticated, const char *packet_method, in userauth_finish()
|