1. 23 Feb, 2009 1 commit
  2. 12 Feb, 2009 1 commit
    • Niels Möller's avatar
      (werror_vformat): Don't output any punctuation for · 0074aa6e
      Niels Möller authored
      %e. Changed all callers to use it like "...: %e.\n".
      Rev: src/adns.c:1.5
      Rev: src/channel_forward.c:1.21
      Rev: src/client.c:1.179
      Rev: src/client_tcpforward.c:1.11
      Rev: src/client_x11.c:1.39
      Rev: src/daemon.c:1.22
      Rev: src/gateway.c:1.25
      Rev: src/io.c:1.231
      Rev: src/lsh-decode-key.c:1.26
      Rev: src/lsh-decrypt-key.c:1.7
      Rev: src/lsh-export-key.c:1.24
      Rev: src/lsh-keygen.c:1.25
      Rev: src/lsh-make-seed.c:1.27
      Rev: src/lsh-transport.c:1.20
      Rev: src/lsh.c:1.223
      Rev: src/lshd-connection.c:1.14
      Rev: src/lshd-userauth.c:1.14
      Rev: src/lshd.c:1.186
      Rev: src/reaper.c:1.29
      Rev: src/seed_file.c:1.4
      Rev: src/server_pty.c:1.35
      Rev: src/server_session.c:1.118
      Rev: src/server_x11.c:1.30
      Rev: src/socks.c:1.11
      Rev: src/srp-gen.c:1.28
      Rev: src/transport.c:1.16
      Rev: src/unix_interact.c:1.33
      Rev: src/unix_process.c:1.23
      Rev: src/unix_random.c:1.24
      Rev: src/unix_random_user.c:1.3
      Rev: src/werror.c:1.82
  3. 19 Aug, 2008 1 commit
    • Niels Möller's avatar
      * src/io.c (kill_io_fd_resource): New function, replacing · ed6c071a
      Niels Möller authored
      kill_io_connect_state and kill_io_listen_port.
      (init_io_connect_state): Updated for new super class
      (oop_io_connect): Likewise.
      (io_connect): Likewise.
      (init_io_listen_port): Likewise.
      (oop_io_accept): Likewise.
      (io_listen): Likewise.
      * src/client_tcpforward.c (do_forward_local_port): Likewise.
      * src/client_x11.c (x11_connect): Likewise.
      Comment updates.
      Rev: src/client_x11.c:1.38
  4. 04 Aug, 2008 1 commit
  5. 03 Aug, 2008 1 commit
  6. 14 Jun, 2008 1 commit
  7. 09 Jun, 2008 1 commit
  8. 30 May, 2008 1 commit
    • Niels Möller's avatar
      (make_client_x11_handler): Deleted function. · 5e016222
      Niels Möller authored
      (class client_x11_display): Inherit client_x11_handler.
      (channel_open_x11): Invoke the handler's open method.
      (client_add_x11_handler): Take an argument of type
      client_x11_handler *, not resource *.
      (do_client_x11_display_open): New function.
      (make_client_x11_display): New argument single_connection.
      Initialize super class and open method.
      (do_action_x11_success): Updated for client_x11_display inheriting
      (make_x11_action): New argument single_connection.
      Rev: src/client_x11.c:1.33
  9. 28 May, 2008 2 commits
  10. 26 May, 2008 1 commit
  11. 23 May, 2008 1 commit
  12. 14 May, 2008 1 commit
  13. 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:
      Rev: src/channel.h:
      Rev: src/channel_commands.c:
      Rev: src/channel_commands.h:
      Rev: src/client.c:
      Rev: src/client_pty.c:
      Rev: src/client_x11.c:
      Rev: src/gateway_channel.c:
      Rev: src/gateway_commands.c:
      Rev: src/lshd-userauth.c:
      Rev: src/read_data.c:
      Rev: src/server_session.c:
      Rev: src/server_x11.c:
      Rev: src/tcpforward.c:
      Rev: src/tcpforward_commands.c:
  14. 16 Nov, 2003 1 commit
  15. 22 Oct, 2003 1 commit
  16. 12 May, 2003 1 commit
    • Niels Möller's avatar
      Reordered includes in most or all .c-files. All should now include · 82e82dcd
      Niels Möller authored
      Rev: src/abstract_compress.c:1.6
      Rev: src/abstract_io.c:1.5
      Rev: src/algorithms.c:1.35
      Rev: src/alist.c:1.23
      Rev: src/bignum.c:1.24
      Rev: src/channel_commands.c:1.28
      Rev: src/client_keyexchange.c:1.62
      Rev: src/client_pty.c:1.26
      Rev: src/client_x11.c:1.24
      Rev: src/combinators.c:1.19
      Rev: src/compress.c:1.10
      Rev: src/connection_commands.c:1.43
      Rev: src/crypto.c:1.35
      Rev: src/daemon.c:1.11
      Rev: src/dh_exchange.c:1.16
      Rev: src/dsa.c:1.39
      Rev: src/dsa_keygen.c:1.26
      Rev: src/encrypt.c:1.26
      Rev: src/format.c:1.53
      Rev: src/interact.c:1.7
      Rev: src/jpoll.c:1.8
      Rev: src/list.c:1.10
      Rev: src/lock_file.c:1.7
      Rev: src/lookup_verifier.c:1.4
      Rev: src/lsh-export-key.c:1.18
      Rev: src/lsh-keygen.c:1.17
      Rev: src/lsh-krb-checkpw.c:1.5
      Rev: src/lsh-make-seed.c:1.12
      Rev: src/lsh-writekey.c:1.31
      Rev: src/lsh.c:1.186
      Rev: src/lsh_argp.h:1.3
      Rev: src/lsh_proxy.c:1.36
      Rev: src/lshd.c:1.158
      Rev: src/lshg.c:1.22
      Rev: src/memcmp.c:1.3
      Rev: src/pad.c:1.27
      Rev: src/parse.c:1.38
      Rev: src/pkcs5-test.c:1.7
      Rev: src/pkcs5.c:1.8
      Rev: src/proxy.c:1.17
      Rev: src/proxy_agentforward.c:1.6
      Rev: src/proxy_session.c:1.11
      Rev: src/proxy_tcpforward.c:1.8
      Rev: src/proxy_userauth.c:1.14
      Rev: src/proxy_x11forward.c:1.7
      Rev: src/randomness.c:1.29
      Rev: src/read_packet.c:1.54
      Rev: src/reaper.c:1.26
      Rev: src/resource.c:1.27
      Rev: src/rsa.c:1.28
      Rev: src/rsa_keygen.c:1.16
      Rev: src/server.c:1.74
      Rev: src/server_authorization.c:1.21
      Rev: src/server_keyexchange.c:1.55
      Rev: src/sexp.c:1.48
      Rev: src/spki.c:1.51
      Rev: src/srp-gen.c:1.18
      Rev: src/srp_exchange.c:1.19
      Rev: src/suspend.c:1.5
      Rev: src/testsuite/testutils.h:1.7
      Rev: src/translate_signal.c:1.6
      Rev: src/tty.c:1.18
      Rev: src/unix_random.c:1.15
      Rev: src/userauth.c:1.7
      Rev: src/version.h:1.10
  17. 15 Apr, 2003 1 commit
    • Niels Möller's avatar
      * src/io.c (make_connect_callback): Made non-static. · f921560c
      Niels Möller authored
      (io_connect): Changed interface, to take an io_callback instead of
      a continuation. The caller has to use make_connect_callback to get
      the old functionality.
      (io_connect_local): Adapted to new io_conenct interface, and call
      * src/client_x11.c (channel_open_x11): Likewise.
      Rev: src/client_x11.c:1.23
  18. 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
  19. 23 Oct, 2002 1 commit
  20. 29 Aug, 2002 1 commit
  21. 27 Mar, 2002 1 commit
  22. 14 Mar, 2002 1 commit
    • 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
  23. 12 Dec, 2001 1 commit
    • Niels Möller's avatar
      * src/client_x11.c (make_forward_x11): Assert that the randomness · 6cc2a3b3
      Niels Möller authored
      generator is of "good" quality.
      * src/rsa_keygen.c (rsa_generate_key): Likewise.
      * src/keyexchange.c (make_simple_kexinit): Likewise.
      * src/dsa_keygen.c (dsa_generate_key): Likewise.
      * src/dsa.c (generic_dsa_sign): Likewise.
      * src/dh_exchange.c (make_dh): Likewise.
      Rev: src/client_x11.c:1.17
      Rev: src/dh_exchange.c:1.13
      Rev: src/dsa.c:1.31
      Rev: src/dsa_keygen.c:1.18
      Rev: src/keyexchange.c:1.79
      Rev: src/rsa_keygen.c:1.6
  24. 05 Dec, 2001 1 commit
  25. 27 Sep, 2001 1 commit
    • Niels Möller's avatar
      *** empty log message *** · 5454d957
      Niels Möller authored
      Rev: ChangeLog:1.419
      Rev: src/channel_commands.c:1.26
      Rev: src/client_pty.c:1.21
      Rev: src/client_session.c:1.12
      Rev: src/client_x11.c:1.15
      Rev: src/connection.c:1.65
      Rev: src/gateway_commands.c:1.12
      Rev: src/gc.c:1.25
      Rev: src/lsh.c:1.150
      Rev: src/lshd.c:1.127
      Rev: src/proxy.c:1.14
      Rev: src/server_session.c:1.70
      Rev: src/server_userauth.c:1.35
  26. 26 Sep, 2001 1 commit
  27. 25 Sep, 2001 1 commit
  28. 24 Sep, 2001 1 commit
    • Niels Möller's avatar
      * src/io.c: Deleted class io_backend. Register signal handlers and · 1307f1fc
      Niels Möller authored
      files with gc_global() instead. Deleted all references to
      io_backend in the rest of the source files. Doesn't quite work yet.
      Rev: src/client.c:1.130
      Rev: src/client.h:1.45
      Rev: src/client_x11.c:1.12
      Rev: src/gc.h:1.9
      Rev: src/interact.h:1.9
      Rev: src/io.c:1.148
      Rev: src/io.h:1.80
      Rev: src/io_commands.c:1.45
      Rev: src/io_commands.h:1.20
      Rev: src/lsh-decode-key.c:1.10
      Rev: src/lsh-export-key.c:1.10
      Rev: src/lsh-writekey.c:1.16
      Rev: src/lsh.c:1.147
      Rev: src/lsh.h:1.22
      Rev: src/lsh_proxy.c:1.24
      Rev: src/lshd.c:1.124
      Rev: src/lshg.c:1.14
      Rev: src/reaper.c:1.21
      Rev: src/reaper.h:1.10
      Rev: src/resource.h:1.12
      Rev: src/server_session.c:1.68
      Rev: src/server_session.h:1.16
      Rev: src/server_userauth.h:1.19
      Rev: src/sexp-conv.c:1.9
      Rev: src/srp-gen.c:1.11
      Rev: src/tcpforward_commands.c:1.36
      Rev: src/tcpforward_commands.h:1.6
      Rev: src/unix_interact.c:1.12
      Rev: src/unix_user.c:1.41
  29. 03 Sep, 2001 5 commits
    • Niels Möller's avatar
      * src/client_x11.c (make_client_x11_display): Initialize the fake · 65ff628a
      Niels Möller authored
      cookie properly.
      Rev: src/client_x11.c:1.11
    • Niels Möller's avatar
      * src/xauth.c (xauth_lookup): Deleted address_length argument. Bug · a57e1422
      Niels Möller authored
      Rev: src/client_x11.c:1.10
      Rev: src/xauth.c:1.4
    • Niels Möller's avatar
      * src/client_x11.c (client_x11_auth_info): Deleted class; merged · 9ac18d11
      Niels Möller authored
      with client_x11_display.
      (parse_display): Take a client_x11_display as argument. Do xauth lookup.
      (get_client_x11_auth_info): Deleted function.
      * src/client_x11.c (client_x11_channel): New fields auth_length
      and name_length, for recording the decoded lengths in the setup
      (X11_SETUP_MAX_LENGTH): Defined as 48, which is the size of a message
      with a 16 octet cookie.
      Updated description of the X11 connection setup message.
      (LE_READ_UINT16, LE_WRITE_UINT16): New macros.
      (do_client_channel_x11_receive): Bug fixes, seems to work now.
      Rev: src/client_x11.c:1.9
    • Niels Möller's avatar
      (client_x11_channel): New fields auth_length · cc1d0bc7
      Niels Möller authored
      and name_length, for recording the decoded lengths in the setup
      (X11_SETUP_MAX_LENGTH): Defined as 48, which is the size of a message
      with a 16 octet cookie.
      Updated description of the X11 connection setup message.
      (LE_READ_UINT16, LE_WRITE_UINT16): New macros.
      (do_client_channel_x11_receive): Bug fixes, seems to work now.
      Rev: src/client_x11.c:1.8
    • Niels Möller's avatar
      * src/client_x11.c: Added comment about observed X11 packets (that · 1c8d9ebd
      Niels Möller authored
      seem contrary to the documentation in RFC 1013.
      (do_client_channel_x11_receive): Print received cookie, for
      debugging purposes.
      (make_forward_x11): Print generated fake cookie, for debugging
      (parse_display): Fixed ssh_format invocation creating the local
      socket name.
      (do_channel_open_x11): Fixed invocation of verbose().
      (do_format_request_x11_forward): Get the connection from the
      channel, now that the connection pointer is available there.
      (do_format_request_x11_forward): Hex encode the cookie. That's
      ugly, but needed for compatibility.
      Rev: src/client_x11.c:1.7
  30. 02 Sep, 2001 1 commit
    • Niels Möller's avatar
      * src/client_x11.c: Added comment about observed X11 packets (that · 24532013
      Niels Möller authored
      seem contrary to the documentation in RFC 1013.
      (do_client_channel_x11_receive): Print received cookie, for
      debugging purposes.
      (make_forward_x11): Print generated fake cookie, for debugging
      (parse_display): Fixed ssh_format invocation creating the local
      socket name.
      (do_channel_open_x11): Fixed invocation of verbose().
      (do_format_request_x11_forward): Get the connection from the
      channel, now that the connection pointer is available there.
      (do_format_request_x11_forward): Hex encode the cookie. That's
      ugly, but needed for compatibility.
      Rev: src/client_x11.c:1.6
  31. 01 Sep, 2001 2 commits
  32. 31 Aug, 2001 1 commit
  33. 30 Aug, 2001 2 commits