- 14 Mar, 2002 2 commits
-
-
Niels Möller authored
ordinary fucntion remember_Resource instead. Updated all callers. * src/resource.c (concrete_resource_list): Deleted class, put all information directly in the resource_lsit class. (remember_resource): New public function. Rev: src/channel.c:1.109 Rev: src/channel_forward.c:1.6 Rev: src/client_pty.c:1.22 Rev: src/client_session.c:1.16 Rev: src/client_x11.c:1.18 Rev: src/connection.c:1.71 Rev: src/connection_commands.c:1.41 Rev: src/gateway_commands.c:1.15 Rev: src/gc.c:1.30 Rev: src/io_commands.c:1.50 Rev: src/keyexchange.c:1.85 Rev: src/resource.c:1.25 Rev: src/resource.h:1.14 Rev: src/server_session.c:1.79
-
Niels Möller authored
(init_connection_service): Call connection_after_keyexchange, to start reading again after a key exchange. Rev: src/channel.c:1.108 Rev: src/channel.h:1.71
-
- 27 Feb, 2002 1 commit
-
-
Niels Möller authored
timeout timer. Rev: src/channel.c:1.107
-
- 29 Oct, 2001 1 commit
-
-
Niels Möller authored
Rev: ChangeLog:1.437 Rev: src/channel.c:1.106 Rev: src/client_session.c:1.14
-
- 27 Sep, 2001 2 commits
-
-
Niels Möller authored
Rev: ChangeLog:1.420 Rev: src/channel.c:1.105 Rev: src/userauth.h:1.30 Rev: src/zlib.c:1.33
-
Niels Möller authored
connection argument. (make_channel_request_response): Likewise. (channel_request_exception_handler): Deleted connection attribute. (make_channel_request_exception_handler): Deleted connection argument. Rev: src/channel.c:1.104
-
- 01 Sep, 2001 3 commits
-
-
Niels Möller authored
* src/channel.h (ssh_channel): Replaced the write pointer with a pointer to the connection. (channel_request): Deleted connection argument. * src/channel.h (CHANNEL_REQUEST): Likewise. Rev: src/channel.c:1.103 Rev: src/channel.h:1.69 Rev: src/channel_commands.c:1.25 Rev: src/client_pty.c:1.19 Rev: src/gateway_channel.c:1.10 Rev: src/server_session.c:1.66 Rev: src/tcpforward_commands.c:1.35
-
Niels Möller authored
Rev: ChangeLog:1.393 Rev: src/channel.c:1.102
-
Niels Möller authored
Rev: src/channel.c:1.101 Rev: src/channel.h:1.68
-
- 06 Jul, 2001 1 commit
-
-
Niels Möller authored
not DEFINE_COMMAND_SIMPLE. Rev: src/channel.c:1.100 Rev: src/channel.h:1.67
-
- 17 Jun, 2001 1 commit
-
-
Niels Möller authored
NULL. Rev: src/channel.c:1.99
-
- 11 Apr, 2001 1 commit
-
-
Niels Möller authored
Rev: src/channel.c:1.98
-
- 08 Apr, 2001 1 commit
-
-
Niels Möller authored
(#if:ed out) code for raising EXC_FINISH_READ. (channel_close_handler): Deleted old code calling the channel's EOF handler here. Rev: src/channel.c:1.97
-
- 04 Apr, 2001 1 commit
-
-
Niels Möller authored
Packet handlers should no longer free packets. Rev: src/channel.c:1.96
-
- 25 Mar, 2001 1 commit
-
-
Niels Möller authored
Rev: src/channel.c:1.95
-
- 12 Mar, 2001 1 commit
-
-
Niels Möller authored
unexpected packets. (channel_close_handler): Don't display the "unexpected channel close" message if CHANNEL_NO_WAIT_FOR_EOF is set. Don't invoke the CHANNEL_EOF callback. (channel_eof): Use the new CHANNEL_NO_WAIT_FOR_EOF flag. (init_channel): Set CHANNEL_CLOSE_AT_EOF by default. (channel_read_close_callback): Improved comment. Rev: src/channel.c:1.94
-
- 25 Feb, 2001 1 commit
-
-
Niels Möller authored
comments. (GNU coding standard). Rev: src/bignum.c:1.19 Rev: src/channel.c:1.93 Rev: src/channel_commands.c:1.23 Rev: src/client.c:1.106 Rev: src/client_keyexchange.c:1.57 Rev: src/client_userauth.c:1.46 Rev: src/connection.c:1.62 Rev: src/daemon.c:1.7 Rev: src/dh_exchange.c:1.12 Rev: src/gateway_channel.c:1.8 Rev: src/gateway_commands.c:1.8 Rev: src/gc.c:1.15 Rev: src/io.c:1.126 Rev: src/io_commands.c:1.36 Rev: src/jpoll.c:1.7 Rev: src/lsh_proxy.c:1.21 Rev: src/proxy_channel.c:1.5 Rev: src/proxy_session.c:1.9 Rev: src/proxy_tcpforward.c:1.6 Rev: src/proxy_userauth.c:1.7 Rev: src/reaper.c:1.19 Rev: src/server_keyexchange.c:1.47 Rev: src/server_pty.c:1.19 Rev: src/server_session.c:1.58 Rev: src/server_userauth.c:1.31 Rev: src/sexp.c:1.35 Rev: src/sexp_streamed_parser.c:1.29 Rev: src/spki_commands.c:1.18 Rev: src/tcpforward.c:1.60 Rev: src/tcpforward_commands.c:1.29 Rev: src/translate_signal.c:1.3 Rev: src/unix_interact.c:1.4 Rev: src/unix_random.c:1.8 Rev: src/unix_user.c:1.32 Rev: src/werror.c:1.50 Rev: src/zlib.c:1.30
-
- 13 Feb, 2001 1 commit
-
-
Niels Möller authored
channel_count to determine if there are channels left. The code used to just check next_channel, which was broken. (alloc_channel): Update channel_count. (dealloc_channel): Likewise. (do_exc_finish_channel_handler): The handler for EXC_FINISH_PENDING shouldn't raise EXC_FINISH_READ. Rev: src/channel.c:1.92
-
- 30 Jan, 2001 1 commit
-
-
Niels Möller authored
channel_close. (channel_eof_handler): Moved the channel close decision here. Rev: src/channel.c:1.91
-
- 17 Jan, 2001 1 commit
-
-
Niels Möller authored
new_size. Rev: src/channel.c:1.90
-
- 26 Nov, 2000 3 commits
-
-
Niels Möller authored
* src/abstract_io.h: Likewise. * src/channel.c: Likewise. * src/channel.h: Likewise. * src/channel_commands.h: Likewise. * src/connection.h: Likewise. * src/connection_commands.c: Likewise. * src/dh_exchange.c: Likewise. * src/exception.h: Likewise. * src/gateway.c: Likewise. * src/gateway_channel.c: Likewise. * src/gateway_commands.c: Likewise. * src/handshake.c: Likewise. * src/handshake.h: Likewise. * src/io.h: Likewise. * src/io_commands.c: Likewise. * src/io_commands.h: Likewise. * src/keyexchange.h: Likewise. * src/lsh.c: Likewise. * src/lsh_proxy.c: Likewise. * src/lshg.c: Likewise. * src/publickey_crypto.h: Likewise. * src/randomness.c: Likewise. * src/randomness.h: Likewise. * src/read_packet.c: Likewise. * src/rsa.c: Likewise. * src/server_pty.h: Likewise. * src/server_session.c: Likewise. * src/sexp.h: Likewise. * src/sexp_parser.c: Likewise. * src/sexp_streamed_parser.c: Likewise. * src/sexp_test.c: Likewise. * src/spki_commands.c: Likewise. * src/spki_commands.h: Likewise. * src/ssh1_fallback.c: Likewise. * src/tcpforward.c: Likewise. * src/unix_random.c: Likewise. * src/zlib.c: Likewise. Rev: src/abstract_crypto.h:1.34 Rev: src/abstract_io.h:1.33 Rev: src/channel.c:1.89 Rev: src/channel.h:1.63 Rev: src/channel_commands.h:1.18 Rev: src/command.h:1.48 Rev: src/connection.h:1.58 Rev: src/connection_commands.c:1.34 Rev: src/dh_exchange.c:1.11 Rev: src/exception.h:1.24 Rev: src/gateway.c:1.4 Rev: src/gateway_channel.c:1.6 Rev: src/gateway_commands.c:1.7 Rev: src/handshake.c:1.2 Rev: src/handshake.h:1.2 Rev: src/io.h:1.70 Rev: src/io_commands.c:1.35 Rev: src/io_commands.h:1.15 Rev: src/keyexchange.h:1.49 Rev: src/lsh.c:1.128 Rev: src/lsh_proxy.c:1.20 Rev: src/lshg.c:1.5 Rev: src/publickey_crypto.h:1.43 Rev: src/randomness.c:1.22 Rev: src/randomness.h:1.13 Rev: src/read_packet.c:1.49 Rev: src/rsa.c:1.12 Rev: src/server_pty.h:1.12 Rev: src/server_session.c:1.56 Rev: src/sexp.h:1.32 Rev: src/sexp_parser.c:1.19 Rev: src/sexp_streamed_parser.c:1.28 Rev: src/sexp_test.c:1.15 Rev: src/spki_commands.c:1.15 Rev: src/spki_commands.h:1.9 Rev: src/ssh1_fallback.c:1.10 Rev: src/tcpforward.c:1.56 Rev: src/unix_random.c:1.4 Rev: src/zlib.c:1.29
-
Niels Möller authored
(DEFINE_PACKET_HANDLER): Use parse_channel_request. Invoke request fallback if appropriate. (init_channel): Initialize request_fallback = NULL. (format_channel_open_s): Use a struct lsh_string for the type argument. (format_channel_request_i): New function. * src/channel.c (make_channel_table): Initialize open_fallback = NULL; (global_request_handler): Prepared for using a fallback handler. (channel_request_handler): Likewise. (channel_open_continuation): Renamed attributes to send_window_size and send_max_packet. (parse_channel_open): New function. (DEFINE_PACKET_HANDLER): Use parse_channel_open. Invoke open_fallback if there's no more specific handler for the channel type. (format_channel_open_s): New function. (format_channel_open_a): New function (currently #if:ed out). Rev: src/channel.c:1.88
-
Niels Möller authored
NULL; (global_request_handler): Prepared for using a fallback handler. (channel_request_handler): Likewise. (channel_open_continuation): Renamed attributes to send_window_size and send_max_packet. (parse_channel_open): New function. (DEFINE_PACKET_HANDLER): Use parse_channel_open. Invoke open_fallback if there's no more specific handler for the channel type. (format_channel_open_s): New function. (format_channel_open_a): New function (currently #if:ed out). Rev: src/channel.c:1.87
-
- 14 Nov, 2000 1 commit
-
-
Niels Möller authored
DEFINE_COMMAND_SIMPLE macro. Rev: src/channel.c:1.86
-
- 31 Oct, 2000 1 commit
-
-
Niels Möller authored
do_finish_channel_handler. (do_exc_channel_request_handler): Renamed do_channel_request_handler. (do_global_request_success): Replace with a definition that uses DEFINE_PACKET_HANDLER. (do_global_request_failure): Likewise. (do_channel_request): Likewise. (do_channel_open): Likewise. (do_window_adjust): Likewise. (do_channel_data): Likewise. (do_channel_extended_data): Likewise. (do_channel_eof): Likewise. (do_channel_close): Likewise. (do_channel_open_confirm): Likewise. (do_channel_open_failure): Likewise. (do_channel_success): Likewise. (do_channel_failure): Likewise. (init_connection_service): New function. Most of the code in connection_service_command moved here. Rev: src/channel.c:1.85 Rev: src/channel.h:1.60
-
- 06 Oct, 2000 1 commit
-
-
Niels Möller authored
Rev: src/channel.c:1.84 Rev: src/channel.h:1.59
-
- 03 Aug, 2000 1 commit
-
-
Niels Möller authored
Rev: doc/TODO:1.85 Rev: src/abstract_crypto.h:1.29 Rev: src/alist.h:1.13 Rev: src/arcfour.c:1.5 Rev: src/blowfish.c:1.6 Rev: src/cast.c:1.3 Rev: src/channel.c:1.83 Rev: src/channel.h:1.58 Rev: src/client.c:1.96 Rev: src/client.h:1.31 Rev: src/client_keyexchange.c:1.49 Rev: src/connection_commands.h:1.12 Rev: src/des.c:1.9 Rev: src/encrypt.c:1.23
-
- 27 Jun, 2000 1 commit
-
-
Niels Möller authored
src/parse_macros.h, src/server.c, src/erver_pty.c, src/server_session.c, xalloc.c: Minor bugfixes, reported by David Kågedal. Rev: src/algorithms.h:1.6 Rev: src/channel.c:1.82 Rev: src/debug.h:1.14 Rev: src/parse_macros.h:1.2 Rev: src/server.c:1.63 Rev: src/server_pty.c:1.16 Rev: src/server_session.c:1.45 Rev: src/xalloc.c:1.23
-
- 22 May, 2000 1 commit
-
-
Niels Möller authored
channel, and send the SSH_MSG_CHANNEL_WINDOW_ADJUST message only if it makes sense. Rev: src/channel.c:1.81
-
- 06 May, 2000 1 commit
-
-
Niels Möller authored
Rev: src/channel.c:1.80 Rev: src/channel.h:1.57 Rev: src/channel_commands.c:1.19 Rev: src/channel_commands.h:1.14 Rev: src/client_keyexchange.c:1.42 Rev: src/client_password.c:1.9 Rev: src/connection.h:1.49 Rev: src/connection_commands.c:1.26 Rev: src/daemon.c:1.6 Rev: src/disconnect.c:1.19 Rev: src/dsa.c:1.13 Rev: src/format.c:1.37 Rev: src/gateway_channel.c:1.2 Rev: src/io.c:1.103 Rev: src/io_commands.c:1.33 Rev: src/keyexchange.c:1.63 Rev: src/keyexchange.h:1.43 Rev: src/lsh.c:1.106 Rev: src/lsh_proxy.c:1.11 Rev: src/lsh_writekey.c:1.19 Rev: src/lshd.c:1.88 Rev: src/pkcs5.c:1.3 Rev: src/proxy.c:1.7 Rev: src/read_packet.c:1.47 Rev: src/reaper.c:1.13 Rev: src/server_keyexchange.c:1.37 Rev: src/server_publickey.c:1.14 Rev: src/server_session.c:1.38 Rev: src/server_userauth.h:1.10 Rev: src/sexp_streamed_parser.c:1.23 Rev: src/sexp_test.c:1.13 Rev: src/spki.c:1.18 Rev: src/ssh1_fallback.c:1.9 Rev: src/tcpforward.c:1.48 Rev: src/unix_user.c:1.13
-
- 23 Apr, 2000 1 commit
-
-
Niels Möller authored
Rev: src/atoms.c:1.11 Rev: src/atoms.h:1.6 Rev: src/bignum.c:1.15 Rev: src/bignum.h:1.17 Rev: src/channel.c:1.79 Rev: src/client.c:1.93 Rev: src/client_userauth.c:1.30 Rev: src/debug.c:1.33 Rev: src/disconnect.c:1.18 Rev: src/dsa.c:1.12 Rev: src/format.c:1.36 Rev: src/format.h:1.29 Rev: src/md5.c:1.4 Rev: src/parse.c:1.27 Rev: src/parse.h:1.20 Rev: src/publickey_crypto.h:1.31 Rev: src/server_publickey.c:1.13 Rev: src/server_session.c:1.37 Rev: src/sha.c:1.5 Rev: src/tcpforward.c:1.47 Rev: src/tty.c:1.9 Rev: src/tty.h:1.9
-
- 21 Apr, 2000 1 commit
-
-
Niels Möller authored
Rev: src/abstract_crypto.h:1.25 Rev: src/channel.c:1.78 Rev: src/channel.h:1.56 Rev: src/client.c:1.92 Rev: src/client_keyexchange.c:1.41 Rev: src/client_userauth.c:1.29 Rev: src/connection.c:1.51 Rev: src/connection.h:1.48 Rev: src/disconnect.c:1.17 Rev: src/disconnect.h:1.7 Rev: src/exception.h:1.17 Rev: src/io.c:1.99 Rev: src/io.h:1.59 Rev: src/io_commands.c:1.32 Rev: src/lsh.c:1.105 Rev: src/password.c:1.5 Rev: src/read_data.h:1.15 Rev: src/server_password.c:1.30 Rev: src/server_session.c:1.36 Rev: src/server_session.h:1.11 Rev: src/server_userauth.c:1.26 Rev: src/server_userauth.h:1.9 Rev: src/sexp_commands.c:1.10 Rev: src/sexp_streamed_parser.c:1.21 Rev: src/tcpforward.c:1.46 Rev: src/tcpforward.h:1.14
-
- 20 Apr, 2000 1 commit
-
-
Niels Möller authored
* src/server_session.c (make_server_session): Likewise. * src/client.c (make_client_session): Likewise. * src/tcpforward.c (make_tcpip_channel): Likewise Rev: src/channel.c:1.77 Rev: src/channel.h:1.55 Rev: src/client.c:1.91 Rev: src/server_session.c:1.34 Rev: src/tcpforward.c:1.43
-
- 06 Apr, 2000 1 commit
-
-
Niels Möller authored
when we have received EOF but not CLOSE. Noted by Markus Friedl. Rev: src/channel.c:1.76
-
- 26 Mar, 2000 1 commit
-
-
Niels Möller authored
initial_window_size. Removed references to max_window. (format_global_request): New function. Rev: src/channel.c:1.75
-
- 16 Mar, 2000 1 commit
-
-
Niels Möller authored
(do_channel_open): Pass send_packet_size to the CHANNEL_OPEN method, and round it down to SSH_MAX_PACKET if needed. (do_window_adjust): Pass the window adjustment to the CHANNEL_SEND_ADJUST method. Rev: src/channel.c:1.74
-
- 15 Feb, 2000 1 commit
-
-
Niels Möller authored
into consideration. (make_channel_read_stderr): D:o. Rev: src/channel.c:1.73
-
- 06 Feb, 2000 2 commits
-
-
Niels Möller authored
(Bazsi). (global_request_callback): Deleted class (Bazsi). (global_request): Added type, continuation and exception_hnalder arguments do the GLOBAL_REQUEST method (Bazsi). (channel_request): Likewise. * src/channel.c (make_request_status): Renamed from make_global_request_status (Bazsi). (global_request_continuation): New class (Bazsi). (send_global_request_responses): New function (Bazsi). (do_global_request_response): Use send_global_request_responses(). (global_request_exception_handler): New class (Bazsi). (make_global_request_exception_handler): New function (Bazsi). (do_global_request): Pass a continuation and an exception handler to the GLOBAL_REQUEST-method. (send_channel_request_responses): New function (Bazsi). (channel_request_continuation): New class (Bazsi). (channel_request_continuation): New class (Bazsi). (do_channel_request): Pass a continuation and an exception to the CHANNEL_REQUEST-method. (init_channel): Initialize active_requests. * src/channel.c (use_channel): New function to take a channel in use. (register_channel): New argument take_into_use. (lookup_channel_reserved): New function that returns channels that are marked as reserved, but not in use. (do_channel_open_continue): Call register_channel with take_in_use=1. (do_channel_open_confirm): Use lookup_channel_reserved(). Call use_channel(). (do_channel_open_failure): Use lookup_channel_reserved(). (format_channel_open): Renamed from prepare_channel_open. Don't call alloc_channel() or register_channel(). * src/channel.h (CHANNEL_FREE, CHANNEL_RESERVED, CHANNEL_IN_USE): New three-level classification for the in_use table. * src/channel.c (exc_finish_channel_handler): Use pointer to connection rather than to its channel table. Rev: src/channel.c:1.72 Rev: src/channel.h:1.52
-
Niels Möller authored
use. (register_channel): New argument take_into_use. (lookup_channel_reserved): New function that returns channels that are marked as reserved, but not in use. (do_channel_open_continue): Call register_channel with take_in_use=1. (do_channel_open_confirm): Use lookup_channel_reserved(). Call use_channel(). (do_channel_open_failure): Use lookup_channel_reserved(). (format_channel_open): Renamed from prepare_channel_open. Don't call alloc_channel() or register_channel(). * src/channel.h (CHANNEL_FREE, CHANNEL_RESERVED, CHANNEL_IN_USE): New three-level classification for the in_use table. * src/channel.c (exc_finish_channel_handler): Use pointer to connection rather than to its channel table. Rev: src/channel.c:1.71 Rev: src/channel.h:1.51
-
- 05 Feb, 2000 1 commit
-
-
Niels Möller authored
message. (make_channel_read_data, make_channel_read_stderr): Changed return type to io_callback. Rev: src/channel.c:1.70 Rev: src/channel.h:1.50
-