1. 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
  2. 16 Jun, 2008 1 commit
  3. 14 Jun, 2008 1 commit
  4. 30 May, 2008 1 commit
  5. 26 May, 2008 1 commit
  6. 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
  7. 15 May, 2008 1 commit
  8. 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
  9. 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
  10. 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
  11. 03 Mar, 2008 1 commit
  12. 08 Jan, 2008 1 commit
  13. 07 Jan, 2008 1 commit
  14. 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
  15. 03 May, 2007 1 commit
  16. 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
  17. 11 Jan, 2007 1 commit
  18. 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:
  19. 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:
  20. 14 Feb, 2006 1 commit
  21. 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:
  22. 09 Oct, 2005 2 commits
  23. 20 Sep, 2005 1 commit
  24. 19 Sep, 2005 1 commit
  25. 16 Sep, 2005 2 commits
  26. 15 Sep, 2005 2 commits
    • Niels Möller's avatar
      (write_packet): Don't use lsh_string_sequence_number. · 34372297
      Niels Möller authored
      (do_lsh_default_handler): Don't handle EXC_USERAUTH.
      Rev: src/lsh.c:
    • Niels Möller's avatar
      (class connection): Inherit channel_table, not resource. · b6a62d4f
      Niels Möller authored
      (kill_connection): Check the alive flag, and don't call exit here.
      (write_packet): Adapted to changes to ssh_write.c. Make sure the
      packet is deallocated.
      (do_write_packet): This is now a method of the channel_table class.
      (make_connection): Deleted exception handler argument.
      (fork_lsh_transport): Deleted exception handler argument. Don't
      call io_set_nonblocking here.
      Rev: src/lsh.c:
  27. 08 Sep, 2005 1 commit
  28. 07 Sep, 2005 1 commit
  29. 06 Sep, 2005 4 commits
  30. 30 Apr, 2005 1 commit
    • Niels Möller's avatar
      * src/crypto.h: Moved declarations here, from abstract_crypto.h · 2a602937
      Niels Möller authored
      and publickey_crypto.h.
      Rev: src/algorithms.c:
      Rev: src/algorithms.h:
      Rev: src/client_keyexchange.c:
      Rev: src/client_userauth.c:
      Rev: src/dh_exchange.c:
      Rev: src/dsa.c:
      Rev: src/keyexchange.c:
      Rev: src/keyexchange.h:
      Rev: src/lsh-decode-key.c:
      Rev: src/lsh-decrypt-key.c:
      Rev: src/lsh-keygen.c:
      Rev: src/lsh-transport.c:
      Rev: src/lsh-writekey.c:
      Rev: src/lsh.c:
      Rev: src/lsh_string.c:
      Rev: src/lshd-userauth.c:
      Rev: src/lshd.c:
      Rev: src/lshd.h:
      Rev: src/randomness.h:
      Rev: src/read_packet.h:
      Rev: src/rsa.c:
      Rev: src/server_keyexchange.c:
      Rev: src/spki.c:
      Rev: src/spki.h:
      Rev: src/srp_exchange.c:
      Rev: src/transport.h:
  31. 14 Apr, 2005 1 commit
  32. 16 Mar, 2005 1 commit
  33. 15 Feb, 2005 1 commit
    • Niels Möller's avatar
      * src/dsa.c (make_ssh_dss_verifier): Take length and pointer as · d0b72adf
      Niels Möller authored
      arguments, not a struct lsh_string *. Updated callers.
      * src/rsa.c (make_ssh_rsa_verifier): Likewise.
      Rev: src/dsa.c:
      Rev: src/lsh.c:
      Rev: src/lsh_proxy.c:
      Rev: src/publickey_crypto.h:
      Rev: src/rsa.c:
      Rev: src/server_authorization.c:
  34. 12 Feb, 2005 1 commit