1. 02 Oct, 1999 1 commit
    • Niels Möller's avatar
      * src/channel.c (do_exc_finish_channel_handler): Kill the channel's · 1d5e62ec
      Niels Möller authored
      resources when it is closed.
      (register_channel): Register the channel's resources list as an
      item on the connection's.
      (init_channel): Initialize resources list.
      (make_channel_read_close_callback): Renamed from
      make_channel_close_callback, for the same reason.
      (channel_io_exception_handler): Exception handler to close the
      channel on i/o errors. Primarily useful for fd:s the channel
      writes to.
      (make_channel_io_exception_handler): New function.
      
      * src/channel.c (channel_read_close_callback): Renamed from
      channel_close_callback. The previous behaviour, which used the
      callback for fd:s the channel writes to, was completely bogus.
      
      * src/channel.c (channel_close): Do nothing if we have already
      sent CHANNEL_CLOSE.
      (channel_eof): Do nothing if we have already sent CHANNEL_EOF, or
      either sent or received CHANNEL_CLOSE.
      
      * src/channel.h (ssh_channel): Added a resources attribute.
      
      Rev: src/channel.c:1.59
      Rev: src/channel.h:1.45
      1d5e62ec
  2. 20 Sep, 1999 1 commit
  3. 07 Sep, 1999 2 commits
    • Niels Möller's avatar
      Cleaned up and deleted old dead code. · aff35468
      Niels Möller authored
      Rev: src/abstract_io.h:1.32
      Rev: src/channel.c:1.56
      Rev: src/channel.h:1.43
      Rev: src/channel_commands.c:1.16
      Rev: src/client.c:1.75
      Rev: src/command.c:1.26
      Rev: src/gc.c:1.11
      Rev: src/gc.h:1.6
      Rev: src/io.c:1.76
      Rev: src/lsh.c:1.71
      Rev: src/lsh.h:1.8
      Rev: src/lsh_writekey.c:1.13
      Rev: src/lshd.c:1.62
      Rev: src/read_data.c:1.24
      Rev: src/read_packet.c:1.44
      Rev: src/read_scan.c:1.9(DEAD)
      Rev: src/read_scan.h:1.9(DEAD)
      Rev: src/server_password.c:1.24
      Rev: src/service.h:1.17
      Rev: src/sexp_conv.c:1.3
      Rev: src/sexp_parser.c:1.9
      Rev: src/sexp_streamed_parser.c:1.11
      Rev: src/tcpforward_commands.c:1.12
      Rev: src/tcpforward_commands.h:1.4
      Rev: src/werror.c:1.35
      aff35468
    • Niels Möller's avatar
      * src/channel.c (register_channel): Take a connections as · 38b0fb8c
      Niels Möller authored
      argument, in order to install the right exception handler.
      (prepare_channel_open): -"-
      
      * src/channel.h (ssh_channel): Added a connection argument to
      CHANNEL_SEND.
      
      Rev: src/channel.c:1.55
      Rev: src/channel.h:1.42
      38b0fb8c
  4. 28 Aug, 1999 1 commit
    • Niels Möller's avatar
      Finally, it compiles. · 4518c536
      Niels Möller authored
      Rev: src/channel.c:1.51
      Rev: src/channel.h:1.41
      Rev: src/channel_commands.c:1.13
      Rev: src/command.h:1.33
      Rev: src/connection.c:1.38
      Rev: src/connection.h:1.34
      Rev: src/connection_commands.c:1.10
      Rev: src/exception.c:1.3
      Rev: src/exception.h:1.4
      Rev: src/format.c:1.30
      Rev: src/io.c:1.69
      Rev: src/keyexchange.c:1.53
      Rev: src/lsh.c:1.67
      Rev: src/lsh_writekey.c:1.10
      Rev: src/lshd.c:1.60
      Rev: src/read_line.c:1.27
      Rev: src/read_line.h:1.15
      Rev: src/read_packet.c:1.40
      Rev: src/read_scan.h:1.7
      Rev: src/server_session.c:1.13
      Rev: src/server_userauth.c:1.14
      Rev: src/sexp.h:1.16
      Rev: src/sexp_streamed_parser.c:1.8
      Rev: src/sexp_test.c:1.10
      Rev: src/ssh1_fallback.c:1.8
      Rev: src/ssh1_fallback.h:1.5
      Rev: src/tcpforward.c:1.27
      Rev: src/tcpforward_commands.c:1.10
      4518c536
  5. 22 Aug, 1999 1 commit
    • Niels Möller's avatar
      Work in progress. · 91d11dfa
      Niels Möller authored
      Rev: src/abstract_io.h:1.29
      Rev: src/channel.c:1.50
      Rev: src/channel.h:1.40
      Rev: src/channel_commands.c:1.12
      Rev: src/client.c:1.70
      Rev: src/client_keyexchange.c:1.30
      Rev: src/client_pty.c:1.9
      Rev: src/client_userauth.c:1.18
      Rev: src/combinators.c:1.7
      Rev: src/command.c:1.24
      Rev: src/command.h:1.32
      Rev: src/compress.c:1.6
      Rev: src/connection.c:1.37
      Rev: src/connection.h:1.33
      Rev: src/connection_commands.c:1.9
      Rev: src/debug.c:1.27
      Rev: src/debug.h:1.11
      Rev: src/disconnect.c:1.15
      Rev: src/encrypt.c:1.20
      Rev: src/exception.c:1.2
      Rev: src/exception.h:1.3
      Rev: src/io.c:1.68
      Rev: src/io.h:1.41
      Rev: src/io_commands.c:1.17
      Rev: src/keyexchange.c:1.52
      Rev: src/keyexchange.h:1.37
      Rev: src/lsh.c:1.66
      Rev: src/lsh.h:1.7
      Rev: src/lsh_keygen.c:1.13
      Rev: src/lsh_writekey.c:1.9
      Rev: src/lshd.c:1.59
      Rev: src/packet_ignore.c:1.9
      Rev: src/pad.c:1.23
      Rev: src/read_data.c:1.21
      Rev: src/read_data.h:1.9
      Rev: src/read_line.c:1.26
      Rev: src/read_line.h:1.14
      Rev: src/read_packet.c:1.39
      Rev: src/read_scan.c:1.8
      Rev: src/read_scan.h:1.6
      Rev: src/server.c:1.57
      Rev: src/server_keyexchange.c:1.28
      Rev: src/server_password.c:1.21
      Rev: src/server_session.c:1.12
      Rev: src/server_userauth.c:1.13
      Rev: src/sexp_test.c:1.9
      Rev: src/tcpforward.c:1.26
      Rev: src/tcpforward_commands.c:1.9
      Rev: src/unpad.c:1.17
      Rev: src/userauth.h:1.14
      Rev: src/werror.c:1.34
      Rev: src/write_buffer.c:1.19
      91d11dfa
  6. 18 Aug, 1999 1 commit
    • Niels Möller's avatar
      Work in progress. · 1d560ceb
      Niels Möller authored
      Rev: src/abstract_io.h:1.28
      Rev: src/blocking_write.c:1.13
      Rev: src/channel.c:1.49
      Rev: src/channel.h:1.39
      Rev: src/channel_commands.c:1.11
      Rev: src/channel_commands.h:1.12
      Rev: src/client.c:1.69
      Rev: src/client_keyexchange.c:1.29
      Rev: src/connection.c:1.36
      Rev: src/connection.h:1.32
      Rev: src/connection_commands.c:1.8
      Rev: src/exception.h:1.2
      Rev: src/io.c:1.67
      Rev: src/io.h:1.40
      Rev: src/io_commands.c:1.16
      Rev: src/lsh.c:1.65
      Rev: src/read_data.c:1.20
      Rev: src/read_data.h:1.8
      Rev: src/read_packet.c:1.38
      1d560ceb
  7. 30 Jun, 1999 1 commit
  8. 21 Jun, 1999 1 commit
  9. 15 Jun, 1999 1 commit
  10. 14 Jun, 1999 1 commit
    • Niels Möller's avatar
      * src/channel.h (ssh_channel): Inherit flow_controlled. · 83bed9a8
      Niels Möller authored
      * src/channel.c (adjust_rec_window): Adapted for flow control.
      (channel_process_status): On LSH_CHANNEL_READY_REC, call
      prepare_window_adjust and c->write directly, rather than
      adjust_rec_window.
      (do_channel_data): Don't call adjust_rec_window.
      (do_channel_extended_data): -"-
      (init_channel): Install adjust_rec_window as flow control callback.
      
      Rev: src/channel.c:1.41
      Rev: src/channel.h:1.35
      83bed9a8
  11. 11 Jun, 1999 2 commits
    • Niels Möller's avatar
      * src/channel.c (make_channel_table): Initialize · b5782e0d
      Niels Möller authored
      active_global_requests and pending_global_requests.
      * src/channel.c, src/channel.h: object_queues should be declared
      as structs.
      
      Rev: src/channel.c:1.40
      Rev: src/channel.h:1.34
      b5782e0d
    • Niels Möller's avatar
      * src/channel.c (global_request_status): New class. · 39f432f3
      Niels Möller authored
      (make_global_request_status): New function.
      (global_request_response): New class.
      (do_global_request_response): New function.
      (make_global_request_response): New function.
      (do_global_request): Pass a callback object to the handler.
      
      * src/channel.h (channel_table): New attributes
      active_global_requests and pending_global_requests.
      (global_request_callback): New class.
      (global_request): Let the handler method take a
      global_request_callback as argument.
      
      Rev: src/channel.c:1.39
      Rev: src/channel.h:1.33
      39f432f3
  12. 25 Apr, 1999 2 commits
    • Niels Möller's avatar
      * src/channel.c, src/channel.h, src/client.c, src/client.h, · d70dd304
      Niels Möller authored
      src/client_pty.c, src/client_pty.c, src/command.h,
      src/connection.c, src/keyexchange.c, src/lsh.c, src/lshd.c,
      src/queue.c, src/resource.c, src/server.h, src/server_password.c,
      src/server_pty.h, src/server_session.c, src/service.c,
      src/service.h, src/session.c, src/tcpforward.c,
      src/write_buffer.c, src/zlib.c: Removed old #if:ed out code.
      
      Rev: src/channel.c:1.37
      Rev: src/channel.h:1.32
      Rev: src/client.c:1.64
      Rev: src/client.h:1.23
      Rev: src/client_pty.c:1.7
      Rev: src/client_pty.h:1.3
      Rev: src/command.h:1.22
      Rev: src/connection.c:1.32
      Rev: src/keyexchange.c:1.49
      Rev: src/lsh.c:1.53
      Rev: src/lshd.c:1.48
      Rev: src/queue.c:1.4
      Rev: src/resource.c:1.9
      Rev: src/server.h:1.18
      Rev: src/server_password.c:1.19
      Rev: src/server_pty.h:1.9
      Rev: src/server_session.c:1.4
      Rev: src/service.c:1.17
      Rev: src/service.h:1.16
      Rev: src/session.c:1.9
      Rev: src/tcpforward.c:1.8
      Rev: src/write_buffer.c:1.17
      Rev: src/zlib.c:1.18
      d70dd304
    • Niels Möller's avatar
      * src/channel.h (ssh_channel): Let the close method return a · 083f3728
      Niels Möller authored
      status value.
      * src/channel.c (channel_process_status): Moved processing of
      LSH_CHANNEL_PENDING_CLOSE after LSH_CHANNEL_FINISHED. This way, it
      is possible for the channels close-callback to return
      LSH_CHANNEL_PENDING_CLOSE.
      
      Rev: src/channel.c:1.36
      Rev: src/channel.h:1.31
      083f3728
  13. 14 Apr, 1999 1 commit
    • Niels Möller's avatar
      * src/channel.c (init_channel): Init pending_requests queue. · e08fe720
      Niels Möller authored
      Deleted channel_success and channel_failure.
      (do_channel_success): Use pending_requests queue rather than
      channel_success and channel_failure.
      (do_channel_failure): Likewise.
      
      * src/channel.h (ssh_channel): New attribute pending_requests
      (a queue). Removed methods channel_success and channel_failure.
      
      Rev: src/channel.c:1.34
      Rev: src/channel.h:1.30
      e08fe720
  14. 11 Apr, 1999 1 commit
  15. 24 Mar, 1999 1 commit
  16. 12 Mar, 1999 1 commit
    • Niels Möller's avatar
      Changed the magic word from CLASS: to GABA: · b555126b
      Niels Möller authored
      Rev: ChangeLog:1.49
      Rev: doc/HACKING:1.9
      Rev: src/Makefile.am.in:1.39
      Rev: src/abstract_compress.c:1.3
      Rev: src/abstract_compress.h:1.4
      Rev: src/abstract_crypto.c:1.9
      Rev: src/abstract_crypto.h:1.21
      Rev: src/abstract_io.c:1.3
      Rev: src/abstract_io.h:1.23
      Rev: src/alist.c:1.17
      Rev: src/alist.h:1.12
      Rev: src/arcfour.c:1.4
      Rev: src/blocking_write.c:1.12
      Rev: src/blowfish.c:1.5
      Rev: src/cascade.c:1.4
      Rev: src/cbc.c:1.5
      Rev: src/channel.c:1.29
      Rev: src/channel.h:1.27
      Rev: src/client.c:1.56
      Rev: src/client_keyexchange.c:1.25
      Rev: src/client_keyexchange.h:1.12
      Rev: src/client_pty.c:1.3
      Rev: src/client_userauth.c:1.15
      Rev: src/command.c:1.7
      Rev: src/command.h:1.9
      Rev: src/compress.c:1.5
      Rev: src/connection.c:1.27
      Rev: src/connection.h:1.26
      Rev: src/debug.c:1.26
      Rev: src/des.c:1.8
      Rev: src/encrypt.c:1.19
      Rev: src/hmac.c:1.5
      Rev: src/io.c:1.52
      Rev: src/io.h:1.31
      Rev: src/keyexchange.c:1.46
      Rev: src/keyexchange.h:1.32
      Rev: src/list.c:1.6
      Rev: src/list.h:1.6
      Rev: src/lsh.c:1.46
      Rev: src/lsh_writekey.c:1.6
      Rev: src/lshd.c:1.42
      Rev: src/make_class:1.12
      Rev: src/md5.c:1.3
      Rev: src/pad.c:1.22
      Rev: src/password.c:1.3
      Rev: src/password.h:1.12
      Rev: src/publickey_crypto.c:1.30
      Rev: src/publickey_crypto.h:1.20
      Rev: src/randomness.c:1.15
      Rev: src/randomness.h:1.9
      Rev: src/read_data.c:1.17
      Rev: src/read_line.c:1.21
      Rev: src/read_line.h:1.13
      Rev: src/read_packet.c:1.33
      Rev: src/read_scan.c:1.5
      Rev: src/read_scan.h:1.5
      Rev: src/reaper.c:1.11
      Rev: src/reaper.h:1.6
      Rev: src/resource.c:1.6
      Rev: src/resource.h:1.6
      Rev: src/server.c:1.49
      Rev: src/server_keyexchange.c:1.25
      Rev: src/server_password.c:1.16
      Rev: src/server_pty.c:1.8
      Rev: src/server_pty.h:1.6
      Rev: src/server_userauth.c:1.9
      Rev: src/service.c:1.14
      Rev: src/service.h:1.13
      Rev: src/sexp.c:1.14
      Rev: src/sexp.h:1.15
      Rev: src/sexp_streamed_parser.c:1.6
      Rev: src/sexp_test.c:1.6
      Rev: src/sha.c:1.3
      Rev: src/ssh1_fallback.c:1.6
      Rev: src/ssh1_fallback.h:1.4
      Rev: src/tcpforward.c:1.4
      Rev: src/tcpforward.h:1.2
      Rev: src/twofish.c:1.3
      Rev: src/userauth.c:1.3
      Rev: src/userauth.h:1.10
      Rev: src/write_buffer.c:1.16
      Rev: src/write_buffer.h:1.15
      Rev: src/zlib.c:1.17
      b555126b
  17. 07 Mar, 1999 2 commits
    • Niels Möller's avatar
      Added copyright header. · 9b586874
      Niels Möller authored
      Rev: src/channel.h:1.26
      9b586874
    • Niels Möller's avatar
      * src/channel.h (channel_open_callback): New class, for · 1c7094eb
      Niels Möller authored
      opening new channels asyncronously.
      * (channel_open): Handler method now takes a channel_open_callback
      argument.
      
      * src/channel.c (channel_open_response): New class.
      (format_global_success): New function.
      (do_channel_open_response): New function.
      (make_channel_open_response): New function.
      (do_channel_open): Moved most processing into do_channel_open
      response.
      
      Rev: src/channel.c:1.28
      Rev: src/channel.h:1.25
      1c7094eb
  18. 16 Feb, 1999 1 commit
  19. 28 Jan, 1999 1 commit
  20. 31 Dec, 1998 1 commit
  21. 17 Dec, 1998 1 commit
  22. 14 Dec, 1998 1 commit
    • J.H.M. Dassen's avatar
      Constness fixes (jdassen@wi.leidenuniv.nl) · f3f3b0ed
      J.H.M. Dassen authored and Niels Möller's avatar Niels Möller committed
      Rev: src/atoms.c:1.6
      Rev: src/channel.c:1.18
      Rev: src/channel.h:1.20
      Rev: src/client.c:1.39
      Rev: src/client.h:1.15
      Rev: src/debug.c:1.18
      Rev: src/debug.h:1.9
      Rev: src/disconnect.c:1.9
      Rev: src/disconnect.h:1.4
      Rev: src/format.c:1.21
      Rev: src/format.h:1.16
      Rev: src/keyexchange.h:1.26
      Rev: src/server.c:1.29
      Rev: src/server.h:1.10
      Rev: src/symmetric/include/blowfish.h:1.2
      Rev: src/symmetric/include/rc4.h:1.3
      f3f3b0ed
  23. 09 Dec, 1998 2 commits
    • Niels Möller's avatar
      *** empty log message *** · 2d95bd75
      Niels Möller authored
      Rev: doc/TODO:1.14
      Rev: src/channel.h:1.19
      Rev: src/lsh.c:1.27
      2d95bd75
    • Niels Möller's avatar
      Cleanup and removal of old #if 0'ed code. · 26e4f8ae
      Niels Möller authored
      Rev: src/abstract_crypto.h:1.15
      Rev: src/abstract_io.h:1.20
      Rev: src/alist.c:1.13
      Rev: src/alist.h:1.9
      Rev: src/channel.c:1.16
      Rev: src/channel.h:1.18
      Rev: src/client.c:1.37
      Rev: src/client_keyexchange.c:1.18
      Rev: src/client_keyexchange.h:1.10
      Rev: src/client_userauth.c:1.6
      Rev: src/connection.h:1.19
      Rev: src/crypto.c:1.15
      Rev: src/debug.c:1.17
      Rev: src/encrypt.c:1.16
      Rev: src/io.c:1.33
      Rev: src/io.h:1.22
      Rev: src/keyexchange.c:1.27
      Rev: src/keyexchange.h:1.25
      Rev: src/lsh.c:1.26
      Rev: src/lsh_types.h:1.22
      Rev: src/pad.c:1.19
      Rev: src/password.h:1.8
      Rev: src/publickey_crypto.c:1.20
      Rev: src/publickey_crypto.h:1.13
      Rev: src/randomness.c:1.9
      Rev: src/randomness.h:1.6
      Rev: src/read_data.c:1.14
      Rev: src/read_line.c:1.15
      Rev: src/read_line.h:1.10
      Rev: src/read_packet.c:1.26
      Rev: src/reaper.c:1.5
      Rev: src/reaper.h:1.4
      Rev: src/server.c:1.26
      Rev: src/server_keyexchange.c:1.17
      Rev: src/server_password.c:1.9
      Rev: src/server_userauth.c:1.7
      Rev: src/service.c:1.11
      Rev: src/service.h:1.11
      Rev: src/userauth.h:1.8
      Rev: src/write_buffer.h:1.12
      Rev: src/xalloc.c:1.16
      Rev: src/xalloc.h:1.16
      26e4f8ae
  24. 04 Dec, 1998 1 commit
    • Niels Möller's avatar
      * (practically every file): Adapted to new gc and object system. · 656da460
      Niels Möller authored
      Rev: ChangeLog:1.2
      Rev: doc/TODO:1.11
      Rev: src/Makefile.am.in:1.6
      Rev: src/abstract_crypto.h:1.14
      Rev: src/abstract_io.h:1.19
      Rev: src/alist.c:1.12
      Rev: src/alist.h:1.7
      Rev: src/blocking_write.c:1.7
      Rev: src/channel.c:1.14
      Rev: src/channel.h:1.17
      Rev: src/client.c:1.36
      Rev: src/client_keyexchange.c:1.17
      Rev: src/client_keyexchange.h:1.9
      Rev: src/client_userauth.c:1.5
      Rev: src/connection.c:1.18
      Rev: src/crypto.c:1.13
      Rev: src/debug.c:1.16
      Rev: src/disconnect.c:1.8
      Rev: src/encrypt.c:1.15
      Rev: src/format.c:1.20
      Rev: src/format.h:1.15
      Rev: src/gc.c:1.2
      Rev: src/io.c:1.31
      Rev: src/io.h:1.21
      Rev: src/keyexchange.c:1.25
      Rev: src/keyexchange.h:1.24
      Rev: src/list.c:1.2
      Rev: src/list.h:1.2
      Rev: src/lsh.c:1.24
      Rev: src/lshd.c:1.21
      Rev: src/make_class:1.6
      Rev: src/packet_ignore.c:1.6
      Rev: src/pad.c:1.18
      Rev: src/parse.c:1.19
      Rev: src/parse.h:1.14
      Rev: src/password.c:1.1
      Rev: src/password.h:1.7
      Rev: src/publickey_crypto.c:1.19
      Rev: src/publickey_crypto.h:1.12
      Rev: src/randomness.c:1.8
      Rev: src/randomness.h:1.5
      Rev: src/read_data.c:1.13
      Rev: src/read_line.c:1.14
      Rev: src/read_line.h:1.9
      Rev: src/read_packet.c:1.25
      Rev: src/reaper.c:1.4
      Rev: src/reaper.h:1.3
      Rev: src/server.c:1.24
      Rev: src/server_keyexchange.c:1.15
      Rev: src/server_keyexchange.h:1.6
      Rev: src/server_password.c:1.7
      Rev: src/server_userauth.c:1.6
      Rev: src/session.h:1.10
      Rev: src/unpad.c:1.14
      Rev: src/userauth.c:1.1
      Rev: src/userauth.h:1.7
      Rev: src/write_buffer.c:1.12
      Rev: src/write_buffer.h:1.11
      Rev: src/xalloc.c:1.14
      Rev: src/xalloc.h:1.14
      Rev: src/zlib.c:1.9
      656da460
  25. 03 Dec, 1998 1 commit
    • Niels Möller's avatar
      Adapted to gc and object system (won't work yet). · d674cd09
      Niels Möller authored
      Rev: src/abstract_crypto.h:1.13
      Rev: src/channel.c:1.13
      Rev: src/channel.h:1.16
      Rev: src/client_keyexchange.h:1.8
      Rev: src/io.h:1.20
      Rev: src/keyexchange.h:1.23
      Rev: src/password.h:1.6
      Rev: src/publickey_crypto.h:1.11
      d674cd09
  26. 26 Nov, 1998 1 commit
    • Niels Möller's avatar
      Bug fix. · 06b94f8c
      Niels Möller authored
      Rev: src/channel.h:1.15
      Rev: src/keyexchange.h:1.22
      06b94f8c
  27. 18 Nov, 1998 1 commit
  28. 17 Nov, 1998 1 commit
  29. 14 Nov, 1998 1 commit
  30. 03 Nov, 1998 1 commit
  31. 30 Oct, 1998 1 commit
  32. 29 Oct, 1998 1 commit
  33. 28 Oct, 1998 1 commit
  34. 27 Oct, 1998 2 commits