1. 19 Aug, 2008 1 commit
    • Niels Möller's avatar
      * src/io.c (kill_io_fd_resource): New function, replacing · 509c8a5f
      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.
      * src/gateway.c (do_gateway_port_accept): Likewise.
      (make_gateway_port): Likewise.
      * src/server_session.c (do_kill_server_session): Likewise.
      * src/server_tcpforward.c (make_server_forward): Likewise.
      * src/server_x11.c (do_kill_x11_listen_port): Likewise.
      (do_x11_listen_port_accept): Likewise.
      (make_x11_listen_port): Likewise.
      (server_x11_setup): Likewise.
      * src/socks.c (do_make_socks_server): Likewise.
      * src/tcpforward.c (tcpforward_connect): Likewise.
      Rev: src/server_tcpforward.c:1.9
      Rev: src/server_x11.c:1.26
      Rev: src/socks.c:1.10
      Rev: src/tcpforward.c:1.75
  2. 03 Aug, 2008 1 commit
  3. 26 May, 2008 1 commit
    • Niels Möller's avatar
      (make_x11_server_info): Deleted function. · fd3b3230
      Niels Möller authored
      (class server_x11_socket): Deleted class.
      (do_kill_x11_socket): Deleted function.
      (make_server_x11_socket): Deleted function.
      (do_kill_x11_listen_port): New function.
      (do_x11_listen_port_accept): New function.
      (make_x11_listen_port): New function.
      (open_x11_socket): Use make_x11_listen_port.
      (server_x11_setup): Use new io_listen. Return port object.
      Rev: src/server_x11.c:1.24
  4. 23 May, 2008 1 commit
    • Niels Möller's avatar
      * src/server_x11.h (class server_x11_info): Use const strings. · 242269b6
      Niels Möller authored
      * src/server_x11.c (make_x11_server_info): New function.
      (class forwarded_x11_callback): New class, replacing
      (do_open_forwarded_x11): New function, replacing new_x11_channel.
      (make_forwarded_x11_callback): New function.
      (class open_forwarded_x11): Deleted.
      (expr server_x11_callback): Deleted.
      (class server_x11_socket): Replaced old lsh_fd pointer by an fd.
      This class should be merged with the corresponding port object.
      (make_server_x11_socket): New function.
      (open_x11_socket): Updated to new io_bind_sockaddr. Use
      make_server_x11_socket. Don't call io_listen, leave that to the
      (class xauth_exit_callback): Deleted.
      (make_xauth_exit_callback): Deleted function.
      (bad_string): Deleted function.
      (create_xauth): New function using XauWriteAuth.
      (server_x11_setup): Support the single flag. Deleted code for
      spawnign an xauth process, use create_xauth and libXau instead.
      Use io_listen and make_forwarded_x11_callback. Deleted
      continuation and exception handling arguments. Changed DISPLAY to
      Rev: src/server_x11.c:1.23
      Rev: src/server_x11.h:1.9
  5. 09 Oct, 2005 1 commit
  6. 20 Sep, 2005 1 commit
  7. 14 Apr, 2005 1 commit
    • Niels Möller's avatar
      (class server_x11_socket): Deleted uid · ea114c8b
      Niels Möller authored
      (delete_x11_socket): Deleted function, folded into...
      (do_kill_x11_socket): ... deleted uid-changing code.
      (server_x11_listen) Deleted function responsible for uid changes.
      open_x11_socket is sufficient.
      (server_x11_setup): Deleted user argument. Use the display number
      instead of the user name when forming the name of the Xauthority
      file. Use the new function spawn_shell.
      Rev: src/server_x11.c:
      Rev: src/server_x11.h:
  8. 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:
  9. 08 Jun, 2004 1 commit
  10. 16 Nov, 2003 1 commit
    • Niels Möller's avatar
      #include lsh_string.h. · 280238d3
      Niels Möller authored
      Rev: src/lock_file.c:1.8
      Rev: src/lsh-make-seed.c:1.14
      Rev: src/server_session.c:1.102
      Rev: src/server_x11.c:1.20
  11. 22 Oct, 2003 1 commit
  12. 24 May, 2003 1 commit
  13. 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
  14. 12 Jan, 2003 1 commit
    • Niels Möller's avatar
      * src/client.c: Include environ.h, and use those macros for all · 6bf69794
      Niels Möller authored
      getenv calls.
      * src/client_pty.c: Likewise.
      * src/gateway.c: Likewise.
      * src/lsh-keygen.c: Likewise.
      * src/lsh-make-seed.c: Likewise.
      * src/lsh-writekey.c: Likewise.
      * src/lsh.c: Likewise.
      * src/server_session.c: Likewise.
      * src/server_x11.c: Likewise.
      * src/srp-gen.c: Likewise.
      * src/unix_random.c: Likewise.
      * src/xauth.c: Likewise.
      Rev: src/server_session.c:1.98
      Rev: src/server_x11.c:1.16
      Rev: src/srp-gen.c:1.16
      Rev: src/unix_random.c:1.12
      Rev: src/xauth.c:1.9
  15. 03 Sep, 2002 1 commit
  16. 28 Aug, 2002 1 commit
  17. 27 Aug, 2002 3 commits
  18. 26 Aug, 2002 2 commits
    • Niels Möller's avatar
      (OPEN_FORWARDED_X11): Added forward · 62bbe200
      Niels Möller authored
      (server_x11_callback): Renamed (was server_x11_forward), and
      (server_x11_socket): New attribute display_number.
      (open_x11_socket): Pass an exception handler to io_bind_sockaddr.
      Start listening on the socket. Record the display_number.
      (server_x11_setup): Added argument single (and fail if it is
      non-zero). Updated caller in server_session.c. Call
      server_x11_setup. Ues the real display number when formatting the
      DISPLAY string.
      Rev: src/server_session.c:1.95
      Rev: src/server_x11.c:1.10
      Rev: src/server_x11.h:1.5
    • Niels Möller's avatar
      (werror_vformat): Added %e specifier. Updated all · 2c718667
      Niels Möller authored
      errno printing functions to use it.
      (werror_format): New function.
      (fatal): Compile time flag to display pid and hang, instead of
      aborting. Useful for debugging.
      Rev: src/adns.c:1.3
      Rev: src/client.c:1.141
      Rev: src/daemon.c:1.8
      Rev: src/io.c:1.174
      Rev: src/lock_file.c:1.6
      Rev: src/lsh-decode-key.c:1.17
      Rev: src/lsh-export-key.c:1.15
      Rev: src/lsh-make-seed.c:1.9
      Rev: src/lsh-writekey.c:1.26
      Rev: src/lsh.c:1.166
      Rev: src/lshd.c:1.144
      Rev: src/reaper.c:1.24
      Rev: src/server.c:1.70
      Rev: src/server_pty.c:1.23
      Rev: src/server_session.c:1.94
      Rev: src/server_x11.c:1.9
      Rev: src/ssh1_fallback.c:1.13
      Rev: src/suspend.c:1.2
      Rev: src/unix_interact.c:1.16
      Rev: src/unix_process.c:1.11
      Rev: src/unix_random.c:1.11
      Rev: src/unix_user.c:1.54
      Rev: src/werror.c:1.67
  19. 25 Aug, 2002 1 commit
  20. 24 Aug, 2002 1 commit
  21. 11 Aug, 2002 1 commit
    • Niels Möller's avatar
      (server_x11_socket): New class. · 6334607d
      Niels Möller authored
      (delete_x11_socket): New function.
      (do_kill_x11_socket): New function.
      (open_x11_socket): New function.
      (server_x11_listen): New function.
      Rev: src/server_x11.c:1.6
  22. 05 Jul, 2002 1 commit
  23. 02 Jul, 2002 1 commit
    • Niels Möller's avatar
      (do_xauth_exit): Log a message if xauth failed. · b917f6f1
      Niels Möller authored
      (server_x11_setup): Fixed format of display string.
      (server_x11_setup): Use an absolute filename for the xauth program.
      (server_x11_setup): Added missing new line on the xauth command
      Rev: src/server_x11.c:1.4
  24. 27 Jun, 2002 1 commit
  25. 25 Jun, 2002 2 commits
  26. 04 Jul, 2001 1 commit
  27. 16 Mar, 2000 1 commit
  28. 06 Feb, 2000 1 commit
  29. 12 Jan, 2000 1 commit
  30. 29 Nov, 1999 1 commit
    • Balázs Scheidler's avatar
      * src/proxy.c, src/proxy.h, src/proxy_session.c, · b7d0ab48
      Balázs Scheidler authored and Niels Möller's avatar Niels Möller committed
      src/proxy_session.h, src/proxy_userauth.h, src/proxy_userauth.c:
      New files (Bazsi)
      Rev: src/proxy.c:1.1
      Rev: src/proxy.h:1.1
      Rev: src/proxy_session.c:1.1
      Rev: src/proxy_session.h:1.1
      Rev: src/proxy_userauth.c:1.1
      Rev: src/proxy_userauth.h:1.1
  31. 16 Nov, 1999 1 commit
    • Niels Möller's avatar
      Changed "Balazs" to "Balázs" in many files. · 9fd9a973
      Niels Möller authored
      Rev: ChangeLog:1.119
      Rev: NEWS:1.29
      Rev: src/abstract_compress.c:1.4
      Rev: src/abstract_compress.h:1.5
      Rev: src/client_pty.c:1.11
      Rev: src/client_pty.h:1.4
      Rev: src/client_userauth.c:1.23
      Rev: src/compress.c:1.8
      Rev: src/compress.h:1.3
      Rev: src/idea.c:1.2
      Rev: src/lookup_verifier.c:1.2
      Rev: src/lookup_verifier.h:1.4
      Rev: src/server_authorization.c:1.6
      Rev: src/server_authorization.h:1.3
      Rev: src/server_pty.c:1.14
      Rev: src/server_pty.h:1.10
      Rev: src/server_publickey.c:1.7
      Rev: src/sexp_commands.c:1.5
      Rev: src/sexp_conv.c:1.11
      Rev: src/spki.c:1.7
      Rev: src/spki.h:1.6
      Rev: src/tcpforward.c:1.34
      Rev: src/tcpforward.h:1.11
      Rev: src/tcpforward_commands.c:1.15
      Rev: src/tcpforward_commands.h:1.5
      Rev: src/tty.c:1.7
      Rev: src/tty.h:1.7
      Rev: src/zlib.c:1.21
  32. 25 Apr, 1999 1 commit
    • 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
  33. 19 Apr, 1999 1 commit
  34. 26 Jan, 1999 1 commit
    • Niels Möller's avatar
      New files · 8a8d614a
      Niels Möller authored
      Rev: src/client_pty.c:1.1
      Rev: src/client_pty.h:1.1
      Rev: src/server_pty.c:1.1
      Rev: src/server_pty.h:1.1
      Rev: src/tty.c:1.1
      Rev: src/tty.h:1.1
  35. 23 Oct, 1998 1 commit
  36. 20 Oct, 1998 1 commit
    • Niels Möller's avatar
      New files. · a5c91a7d
      Niels Möller authored
      Rev: src/charset.c:1.1
      Rev: src/charset.h:1.1
      Rev: src/client_password.c:1.1
      Rev: src/client_userauth.c:1.1
      Rev: src/client_userauth.h:1.1
      Rev: src/password.h:1.1
      Rev: src/server_password.c:1.1