1. 20 Sep, 2005 3 commits
  2. 16 Sep, 2005 2 commits
  3. 14 Sep, 2005 1 commit
    • Niels Möller's avatar
      (enum channel_data_type): New enum. · 8695b686
      Niels Möller authored
      (enum channel_flag): Use an enum to define the channel flags.
      (CHANNEL_CLOSE_AT_EOF): Deleted.
      (class ssh_channel): Inherit resource, not flow_controlled. New
      attribute local_channel_number. Renamed channel_number to
      remote_channel_number. Deleted resource list and close method.
      New attribute sinks.
      (class channel_table): Inherit resource. Changed attribute write
      to a method. Deleted resource list.
      (CHANNEL_TABLE_WRITE): New method.
      
      Rev: src/channel.h:1.77.2.6
      8695b686
  4. 06 Sep, 2005 2 commits
  5. 18 Feb, 2005 1 commit
  6. 17 Feb, 2005 1 commit
  7. 16 Feb, 2005 1 commit
    • Niels Möller's avatar
      Purged dependence on ssh_connection from channel.c. Updated all users. · f5aa89a8
      Niels Möller authored
      Rev: src/channel.c:1.125.2.1
      Rev: src/channel.h:1.77.2.1
      Rev: src/channel_commands.c:1.30.2.1
      Rev: src/channel_commands.h:1.21.2.1
      Rev: src/client.c:1.166.2.1
      Rev: src/client_pty.c:1.27.2.1
      Rev: src/client_x11.c:1.26.2.1
      Rev: src/gateway_channel.c:1.18.2.1
      Rev: src/gateway_commands.c:1.24.2.1
      Rev: src/lshd-userauth.c:1.1.2.5
      Rev: src/read_data.c:1.37.2.1
      Rev: src/server_session.c:1.103.2.1
      Rev: src/server_x11.c:1.21.2.1
      Rev: src/tcpforward.c:1.69.2.1
      Rev: src/tcpforward_commands.c:1.47.2.1
      f5aa89a8
  8. 08 Feb, 2004 1 commit
    • Niels Möller's avatar
      (window_adjust_handler): Deleted redundant assert. · 0a4932a4
      Niels Möller authored
      (do_channels_after_keyexchange): Renamed to do_channels_wakeup. No
      longer needs to reinstall the handler.
      (init_connection_service): Use connection_wakeup, not
      connection_after_keyexchange.
      
      Rev: src/channel.c:1.124
      Rev: src/channel.h:1.77
      0a4932a4
  9. 22 Oct, 2003 1 commit
  10. 26 Sep, 2003 1 commit
  11. 15 Sep, 2003 1 commit
  12. 16 Feb, 2003 1 commit
    • Niels Möller's avatar
      General cleanup. Use types uint32_t and friends instead of · 10f16aeb
      Niels Möller authored
      UINT32. Include files in the order config.h, C headers, system
      headers, lsh headers. Deleted RCS id stings. Affects most files.
      
      Rev: src/abstract_compress.c:1.5
      Rev: src/abstract_compress.h:1.6
      Rev: src/abstract_crypto.c:1.23
      Rev: src/abstract_crypto.h:1.42
      Rev: src/abstract_io.c:1.4
      Rev: src/abstract_io.h:1.35
      Rev: src/adns.c:1.4
      Rev: src/algorithms.c:1.34
      Rev: src/algorithms.h:1.10
      Rev: src/alist.c:1.22
      Rev: src/alist.h:1.18
      Rev: src/atoms.c:1.13
      Rev: src/atoms.h:1.8
      Rev: src/bignum.c:1.23
      Rev: src/bignum.h:1.21
      Rev: src/channel.c:1.115
      Rev: src/channel.h:1.73
      Rev: src/channel_commands.c:1.27
      Rev: src/channel_commands.h:1.21
      Rev: src/channel_forward.c:1.12
      Rev: src/channel_forward.h:1.6
      Rev: src/charset.c:1.9
      Rev: src/charset.h:1.5
      Rev: src/client.c:1.147
      Rev: src/client.h:1.52
      Rev: src/client_escape.c:1.7
      Rev: src/client_keyexchange.c:1.61
      Rev: src/client_keyexchange.h:1.18
      Rev: src/client_pty.c:1.24
      Rev: src/client_session.c:1.20
      Rev: src/client_userauth.c:1.53
      Rev: src/client_x11.c:1.22
      Rev: src/combinators.c:1.18
      Rev: src/command.c:1.49
      Rev: src/command.h:1.62
      Rev: src/compress.c:1.9
      Rev: src/compress.h:1.4
      Rev: src/connection.c:1.74
      Rev: src/connection.h:1.67
      Rev: src/connection_commands.c:1.42
      Rev: src/connection_commands.h:1.19
      Rev: src/crypto.c:1.34
      Rev: src/crypto.h:1.32
      Rev: src/daemon.c:1.10
      Rev: src/daemon.h:1.4
      Rev: src/debug.c:1.37
      Rev: src/debug.h:1.17
      Rev: src/dh_exchange.c:1.15
      Rev: src/dsa.c:1.38
      Rev: src/dsa_keygen.c:1.25
      Rev: src/encrypt.c:1.25
      Rev: src/encrypt.h:1.11
      Rev: src/exception.c:1.18
      Rev: src/exception.h:1.28
      Rev: src/format.c:1.52
      Rev: src/format.h:1.40
      Rev: src/gateway.c:1.8
      Rev: src/gateway.h:1.2
      Rev: src/gateway_channel.c:1.15
      Rev: src/gateway_channel.h:1.6
      Rev: src/gateway_commands.c:1.19
      Rev: src/gateway_commands.h:1.5
      Rev: src/gc.c:1.31
      Rev: src/gc.h:1.12
      Rev: src/handshake.c:1.16
      Rev: src/handshake.h:1.6
      Rev: src/interact.c:1.6
      Rev: src/interact.h:1.10
      Rev: src/io.c:1.182
      Rev: src/io.h:1.99
      Rev: src/io_commands.c:1.60
      Rev: src/io_commands.h:1.30
      Rev: src/jpoll.h:1.4
      Rev: src/keyexchange.c:1.89
      Rev: src/keyexchange.h:1.57
      Rev: src/list.c:1.9
      Rev: src/list.h:1.10
      Rev: src/lookup_verifier.c:1.3
      Rev: src/lookup_verifier.h:1.8
      Rev: src/lsh-decode-key.c:1.20
      Rev: src/lsh-execuv.c:1.5
      Rev: src/lsh-export-key.c:1.17
      Rev: src/lsh-keygen.c:1.16
      Rev: src/lsh-krb-checkpw.c:1.3
      Rev: src/lsh-make-seed.c:1.11
      Rev: src/lsh-pam-checkpw.c:1.6
      Rev: src/lsh-writekey.c:1.30
      Rev: src/lsh.c:1.178
      Rev: src/lsh.h:1.28
      Rev: src/lsh_argp.h:1.2
      Rev: src/lsh_proxy.c:1.35
      Rev: src/lsh_types.h:1.45
      Rev: src/lshd.c:1.149
      Rev: src/lshg.c:1.19
      Rev: src/memxor.c:1.2
      Rev: src/memxor.h:1.2
      Rev: src/pad.c:1.26
      Rev: src/pad.h:1.12
      Rev: src/parse.c:1.37
      Rev: src/parse.h:1.27
      Rev: src/parse_config.c:1.4
      Rev: src/parse_config.h:1.3
      Rev: src/parse_macros.h:1.4
      Rev: src/pkcs5.c:1.7
      Rev: src/proxy.c:1.16
      Rev: src/proxy.h:1.7
      Rev: src/proxy_agentforward.c:1.5
      Rev: src/proxy_agentforward.h:1.2
      Rev: src/proxy_session.c:1.10
      Rev: src/proxy_session.h:1.5
      Rev: src/proxy_tcpforward.c:1.7
      Rev: src/proxy_tcpforward.h:1.2
      Rev: src/proxy_userauth.c:1.13
      Rev: src/proxy_userauth.h:1.3
      Rev: src/proxy_x11forward.c:1.6
      Rev: src/proxy_x11forward.h:1.2
      Rev: src/publickey_crypto.c:1.45
      Rev: src/publickey_crypto.h:1.48
      Rev: src/queue.c:1.11
      Rev: src/queue.h:1.13
      Rev: src/randomness.c:1.28
      Rev: src/randomness.h:1.16
      Rev: src/read_data.c:1.36
      Rev: src/read_data.h:1.16
      Rev: src/read_file.c:1.5
      Rev: src/read_file.h:1.2
      Rev: src/read_line.c:1.31
      Rev: src/read_line.h:1.17
      Rev: src/read_packet.c:1.53
      Rev: src/read_packet.h:1.11
      Rev: src/reaper.c:1.25
      Rev: src/reaper.h:1.12
      Rev: src/resource.c:1.26
      Rev: src/resource.h:1.15
      Rev: src/rsa.c:1.27
      Rev: src/rsa_keygen.c:1.15
      Rev: src/server.c:1.72
      Rev: src/server.h:1.21
      Rev: src/server_authorization.c:1.20
      Rev: src/server_authorization.h:1.6
      Rev: src/server_keyexchange.c:1.54
      Rev: src/server_keyexchange.h:1.12
      Rev: src/server_password.c:1.34
      Rev: src/server_pty.c:1.25
      Rev: src/server_pty.h:1.14
      Rev: src/server_publickey.c:1.23
      Rev: src/server_session.c:1.99
      Rev: src/server_session.h:1.20
      Rev: src/server_userauth.c:1.38
      Rev: src/server_userauth.h:1.21
      Rev: src/server_x11.c:1.17
      Rev: src/server_x11.h:1.7
      Rev: src/sexp.c:1.47
      Rev: src/sexp.h:1.39
      Rev: src/spki.c:1.48
      Rev: src/spki.h:1.29
      Rev: src/srp-gen.c:1.17
      Rev: src/srp.h:1.7
      Rev: src/srp_exchange.c:1.18
      Rev: src/ssh1_fallback.c:1.14
      Rev: src/ssh1_fallback.h:1.6
      Rev: src/string_buffer.c:1.10
      Rev: src/string_buffer.h:1.5
      Rev: src/suspend.c:1.3
      Rev: src/suspend.h:1.3
      Rev: src/tcpforward.c:1.65
      Rev: src/tcpforward.h:1.19
      Rev: src/tcpforward_commands.c:1.44
      Rev: src/tcpforward_commands.h:1.7
      Rev: src/translate_signal.c:1.5
      Rev: src/translate_signal.h:1.3
      Rev: src/tty.c:1.17
      Rev: src/tty.h:1.13
      Rev: src/unix_interact.c:1.17
      Rev: src/unix_process.c:1.12
      Rev: src/unix_random.c:1.13
      Rev: src/unix_user.c:1.58
      Rev: src/unpad.c:1.21
      Rev: src/unpad.h:1.12
      Rev: src/userauth.h:1.37
      Rev: src/version.h:1.9
      Rev: src/werror.c:1.68
      Rev: src/werror.h:1.32
      Rev: src/write_buffer.c:1.27
      Rev: src/write_buffer.h:1.24
      Rev: src/xalloc.c:1.32
      Rev: src/xalloc.h:1.28
      Rev: src/xauth.c:1.10
      Rev: src/xauth.h:1.3
      Rev: src/zlib.c:1.35
      10f16aeb
  13. 26 Jun, 2002 1 commit
  14. 14 Mar, 2002 1 commit
  15. 26 Sep, 2001 1 commit
  16. 01 Sep, 2001 2 commits
  17. 06 Jul, 2001 1 commit
  18. 14 Mar, 2001 1 commit
  19. 12 Mar, 2001 1 commit
  20. 13 Feb, 2001 1 commit
  21. 26 Nov, 2000 3 commits
    • Niels Möller's avatar
      * src/abstract_crypto.h: Some cleanup. · 16c719b4
      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
      16c719b4
    • Niels Möller's avatar
      * src/channel.h (ssh_channel): Added request_fallback attribute. · 139e3840
      Niels Möller authored
      (channel_request_info): New struct.
      (channel_request): Use a channel_request_info argument.
      
      * src/channel.h (struct channel_open_info): New struct to
      represent the common information in SSH_MSH_CHANNEL_OPEN.
      (channel_table): New attribute open_fallback.
      (channel_open): Use a channel_open_info for the arguments.
      
      Rev: src/channel.h:1.62
      139e3840
    • Niels Möller's avatar
      * src/channel.h (struct channel_open_info): New struct to · fc712d38
      Niels Möller authored
      represent the common information in SSH_MSH_CHANNEL_OPEN.
      (channel_table): New attribute open_fallback.
      (channel_open): Use a channel_open_info for the arguments.
      
      Rev: src/channel.h:1.61
      fc712d38
  22. 31 Oct, 2000 1 commit
    • Niels Möller's avatar
      * src/channel.c (do_exc_finish_channel_handler): Renamed · 7db4451a
      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
      7db4451a
  23. 06 Oct, 2000 1 commit
  24. 03 Aug, 2000 1 commit
    • Niels Möller's avatar
      *** empty log message *** · 9ab4637e
      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
      9ab4637e
  25. 06 May, 2000 1 commit
    • Niels Möller's avatar
      General cleanup and (minor) fixes of some old FIXME:s. · 0f1378b6
      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
      0f1378b6
  26. 21 Apr, 2000 1 commit
    • Niels Möller's avatar
      * Removed lots of old #if:ed out code. · a1cc1c38
      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
      a1cc1c38
  27. 20 Apr, 2000 1 commit
    • Niels Möller's avatar
      * src/channel.c (do_channel_open): Use SSH_CHANNEL_MAX_PACKET_FUZZ · ab39cfdc
      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
      ab39cfdc
  28. 26 Mar, 2000 1 commit
  29. 16 Mar, 2000 1 commit
  30. 06 Feb, 2000 2 commits
    • Niels Möller's avatar
      * src/channel.h (ssh_channel): Added active_requests queue · 23080cd0
      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
      23080cd0
    • Niels Möller's avatar
      * src/channel.c (use_channel): New function to take a channel in · fd6ea746
      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
      fd6ea746
  31. 05 Feb, 2000 1 commit
  32. 26 Jan, 2000 1 commit