1. 14 Mar, 2002 2 commits
    • Niels Möller's avatar
      * src/resource.h (REMEMBER_RESOURCE): Deleted method, use an · 998e6993
      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
      998e6993
    • Niels Möller's avatar
      (do_channels_after_keyexchange): New function. · 943c4479
      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
      943c4479
  2. 27 Feb, 2002 1 commit
  3. 29 Oct, 2001 1 commit
  4. 27 Sep, 2001 2 commits
  5. 01 Sep, 2001 3 commits
  6. 06 Jul, 2001 1 commit
  7. 17 Jun, 2001 1 commit
  8. 11 Apr, 2001 1 commit
  9. 08 Apr, 2001 1 commit
  10. 04 Apr, 2001 1 commit
  11. 25 Mar, 2001 1 commit
  12. 12 Mar, 2001 1 commit
    • Niels Möller's avatar
      * src/channel.c (channel_request_handler): Display more info about · 02d95dce
      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
      02d95dce
  13. 25 Feb, 2001 1 commit
    • Niels Möller's avatar
      * Refer to a function foo as "foo", not "foo()", in messages and · 52f1626b
      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
      52f1626b
  14. 13 Feb, 2001 1 commit
    • Niels Möller's avatar
      (do_exc_finish_channel_handler): Check · 1d2e2314
      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
      1d2e2314
  15. 30 Jan, 2001 1 commit
  16. 17 Jan, 2001 1 commit
  17. 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.c (parse_channel_request): New function. · e6b06c53
      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
      e6b06c53
    • Niels Möller's avatar
      * src/channel.c (make_channel_table): Initialize open_fallback = · 079b456e
      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
      079b456e
  18. 14 Nov, 2000 1 commit
  19. 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
  20. 06 Oct, 2000 1 commit
  21. 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
  22. 27 Jun, 2000 1 commit
    • Niels Möller's avatar
      * src/algorithms.h, src/channel.c, src/debug.h, · c4869d2c
      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
      c4869d2c
  23. 22 May, 2000 1 commit
  24. 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
  25. 23 Apr, 2000 1 commit
    • Niels Möller's avatar
      * Constness improvements. · c02242c1
      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
      c02242c1
  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. 06 Apr, 2000 1 commit
  29. 26 Mar, 2000 1 commit
  30. 16 Mar, 2000 1 commit
  31. 15 Feb, 2000 1 commit
  32. 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
  33. 05 Feb, 2000 1 commit