1. 13 Jul, 2012 1 commit
  2. 03 Feb, 2012 1 commit
  3. 05 Sep, 2011 1 commit
  4. 02 Sep, 2011 1 commit
  5. 21 Feb, 2011 2 commits
  6. 18 Feb, 2011 1 commit
  7. 07 Jan, 2011 1 commit
  8. 14 Dec, 2010 2 commits
  9. 10 Nov, 2010 1 commit
    • Niels Möller's avatar
      (parse_arg_unsigned): New argument with expected terminator. · ccb17a54
      Niels Möller authored
      (parse_forward_arg): Return targret address on success. Don't
      modify the input string, using updated parse_arg_unsigned. Don't
      use io_lookup_address; names are resolved later.
      (main_argp_parser): Use make_string. Updated to parse_forward_arg
      changes. When setting up tcp forwarding, use "" to denote any
      address, and "localhost" to denote any local addresses.
      Rev: src/lsh.c:1.224
  10. 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
  11. 30 Oct, 2008 1 commit
  12. 01 Sep, 2008 1 commit
  13. 20 Aug, 2008 1 commit
    • Niels Möller's avatar
      (SERVER_PROTOCOL_VERSION): Deleted constant. · 9bfe742d
      Niels Möller authored
      (SERVER_VERSION_LINE): New constant.
      (CLIENT_VERSION_LINE): Likewise.
      Updated all users.
      Rev: src/lsh-transport.c:1.15
      Rev: src/lsh.c:1.220
      Rev: src/lshd-connection.c:1.11
      Rev: src/lshd-userauth.c:1.13
      Rev: src/version.h:1.14
  14. 04 Aug, 2008 1 commit
    • Niels Möller's avatar
      (class lsh_options): Deleted handler attribute. Added · 7e5ee9bd
      Niels Möller authored
      detach flag.
      (make_options): Deleted handler argrment.
      (add_action): Changed argument type to client_connection_action.
      (make_client_session): Deleted handler argument in call to
      (client_shell_session): Changed return type to
      client_connection_action. Use make_open_session_action.
      (client_subsystem_session): Likewise.
      (client_command_session): Likewise.
      (main_argp_parser): Changeed handling of -B, just set detach flag.
      (class lsh_default_handler): Deleted class.
      (do_lsh_default_handler): Deleted function.
      (make_lsh_default_handler): Deleted function.
      (main): Actions are now handled using the client_connection_action
      class, not as commands. Handle detach (-B flag) here.
      Rev: src/lsh.c:1.219
  15. 16 Jun, 2008 1 commit
  16. 14 Jun, 2008 1 commit
  17. 30 May, 2008 1 commit
  18. 26 May, 2008 1 commit
  19. 20 May, 2008 1 commit
    • Niels Möller's avatar
      (class lsh_options): Deleted tty attribute. · 3411e0ce
      Niels Möller authored
      (maybe_pty): Use interact_is_tty and client_request_pty.
      (main_argp_parser): Removed call to suspend_install_handler.
      Pass on --askpass option to lsh-transport.
      (main): Call unix_interact_init.
      Rev: src/lsh.c:1.214
  20. 15 May, 2008 1 commit
  21. 14 May, 2008 1 commit
    • Niels Möller's avatar
      (command gateway_accept): Moved to gateway.c. · dc6863a1
      Niels Möller authored
      (make_gateway_setup): Likewise.
      (maybe_x11): New function, replacing client_maybe_x11 in client.c.
      (client_shell_session, client_command_session): X11 handling.
      (main): Install CHANNEL_OPEN handler for x11.
      Rev: src/lsh.c:1.212
  22. 12 May, 2008 1 commit
    • Niels Möller's avatar
      (DEFAULT_ESCAPE_CHAR, DEFAULT_SOCKS_PORT): Moved from · cebfd9a8
      Niels Möller authored
      (class lsh_options): Don't inherit client_options, its contents is
      moved here.
      (make_options): Moved initialization code from init_client_options.
      (add_action, prepend_action): New functions, moved from client.c.
      (make_client_session): New function, moved from client.c.
      (maybe_pty): New function, moved from client.c.
      (client_shell_session): Rewritten to use client_session_action.
      (client_subsystem_session): Likewise.
      (client_command_session): Likewise.
      (main_options): Copied options from client.c.
      (main_argp_children): Inherit werror_argp, not client_argp.
      (parse_arg_unsigned, parse_forward_arg): Moved from client.c.
      (CASE_ARG, CASE_FLAG): Updated, not member is no longer in super class.
      (main_argp_parser): Moved option parsing from client.c.
      (fork_lsh_transport): Updated to changes in lsh_options.
      (main): Updated to changes in lsh_options. Modify inhibit_actions
      flag around call to env_parse.
      Rev: src/lsh.c:1.211
  23. 04 May, 2008 1 commit
    • Niels Möller's avatar
      * src/lsh.c (class lsh_connection): Moved definition to client.h. · a91ae3e6
      Niels Möller authored
      Renamed to client_connection. Renamed all related function.
      Related i/o code moved to client.c.
      * src/client.h (class client_connection): Moved here from lsh.c.
      New attribute pending_random.
      (client_random_handler): New class.
      * src/client.c: Moved client_connection i/o code here.
      (handle_random_reply): New function.
      (client_random_request): New function.
      (client_gateway_random_request): New function.
      (oop_read_service): Use handle_random_reply.
      Rev: src/client.c:1.173
      Rev: src/client.h:1.64
      Rev: src/lsh.c:1.210
  24. 03 Mar, 2008 1 commit
  25. 08 Jan, 2008 1 commit
  26. 07 Jan, 2008 1 commit
  27. 07 Sep, 2007 1 commit
    • Niels Möller's avatar
      (class lsh_connection): New attributes write_active · 3d1564a5
      Niels Möller authored
      and write_blocked.
      (stop_gateway, start_gateway): New functions.
      (oop_write_service): New function.
      (service_start_write, service_stop_write): New functions.
      (write_packet): Use service_start_write and service_stop_write.
      (oop_read_service): Added assert.
      (make_lsh_connection): Initialize write_active and write_blocked.
      (DEFINE_COMMAND2): Call gateway_start_read.
      (fork_lsh_transport): If messages are logged to file, dup that fd
      to stderr for the child process.
      Rev: src/lsh.c:1.206
  28. 03 May, 2007 1 commit
  29. 28 Feb, 2007 1 commit
    • Niels Möller's avatar
      (gateway_accept): Send hello message. · 8a5708e0
      Niels Möller authored
      (process_hello_message): New function.
      (main): Use process_hello_message. Implies that lsh -B will stay
      in the forground until after user authentication. Better error
      handling if connection fails.
      Rev: src/lsh.c:1.204
  30. 11 Jan, 2007 1 commit
  31. 27 Feb, 2006 1 commit
    • Niels Möller's avatar
      (do_lsh_default_handler): Don't treat · 00d555bb
      Niels Möller authored
      EXC_CHANNEL_REQUEST as an error.
      (transport_exit_callback): Fixed format strings.
      (fork_lsh_transport): Deleted if:ed out code.
      Rev: src/lsh.c:
  32. 23 Feb, 2006 1 commit
    • Niels Möller's avatar
      (class lsh_connection): Renamed, was connection. New · 3d1bce7f
      Niels Möller authored
      attribute gateway_connections.
      (oop_read_service): Fixed cut and paste errors in error messages.
      (make_lsh_connection): Initialize gateway_connections.
      (gateway_accept): New command.
      (expr make_gateway_setup): Moved from gateway_commands.c.
      (class lsh_options): New attributes, use_gateway, start_gateway,
      stop_gateway, and gateway.
      (make_options): Initialize gateway related attributes.
      (main_options): Use an enum to define option values. New options
      --use-gateway, --no-use-gateway, -G, --start-gateway,
      (main_argp_parser): Handle gateway related options.
      (fork_lsh_transport): Return a plain fd, not an object.
      (main): Start and stop gateway, as appropriate. Use a loop with
      object_queue_is_empty and object_queue_remove_head, instead of the
      FOR_OBJECT_QUEUE macro.
      Rev: src/lsh.c:
  33. 14 Feb, 2006 1 commit
  34. 13 Feb, 2006 1 commit
    • Niels Möller's avatar
      (main_argp_children): werror_argp is no longer a · 6a6a5e0b
      Niels Möller authored
      direct child parser, it's a grand child via client_argp.
      (main_argp_parser): At ARGP_KEY_INIT, no longer set
      child_inputs[1]. At ARGP_KEY_END, deleted old transport-level
      setup which has been  moved to lsh-transport.c.
      (fork_lsh_transport): Examing the werror_config object to figure
      out which flags to pass on, instead of using the global variables
      quiet_flag and friends.
      Rev: src/lsh.c:
  35. 09 Oct, 2005 2 commits
  36. 20 Sep, 2005 1 commit
  37. 19 Sep, 2005 1 commit