1. 17 Nov, 2010 2 commits
  2. 16 Nov, 2010 6 commits
  3. 15 Nov, 2010 14 commits
  4. 14 Nov, 2010 5 commits
  5. 13 Nov, 2010 7 commits
    • Niels Möller's avatar
      *** empty log message *** · a10d1409
      Niels Möller authored
      Rev: ChangeLog:1.1080
      a10d1409
    • Niels Möller's avatar
      Use new config file options to enable all features. · 7994c839
      Niels Möller authored
      Rev: src/testsuite/config/lshd-connection.conf:1.5
      7994c839
    • Niels Möller's avatar
      (enum tcpforward_type): New enum. · 689ff8d6
      Niels Möller authored
      (class lshd_connection_config): Added attributes subsystem_config,
      allow_tcpforward, allow_session, allow_shell, allow_exec,
      allow_pty, allow_x11.
      (make_lshd_connection): Make all session and forwarding features
      configurable.
      (make_lshd_connection_config): Initialize new atttributes, and
      link to new lshd_connection_config_parser.
      (main_options): New command line options: --allow-tcpip-forward,
      --deny-tcpip-forward, --allow-session, --deny-session,
      --allow-shell, --deny-shell, --allow-exec, --deny-exec,
      --subsystem, and --add-subsystem.
      (CASE_FLAG): New macro.
      (main_argp_parser): Sanity check configuration at ARGP_KEY_END.
      Handle new command line options (see above).
      (lshd_connection_config_options): New list of config file options.
      (lshd_connection_config_handler): New function.
      (lshd_connection_config_parser): New config file parser.
      
      Rev: src/lshd-connection.c:1.16
      689ff8d6
    • Niels Möller's avatar
      (class subsystem_request): Use · 6c266bb8
      Niels Möller authored
      service_config to represent subsystems.
      (quote_argument_length): New function.
      (quote_argument): New function.
      (subsystem_command_line): New function.
      (do_spawn_subsystem): Rewritten to use service_config_lookup and
      subsystem_command_line.
      (make_subsystem_handler): Changed argument type to const struct
      service_config *.
      
      Rev: src/server_session.c:1.120
      Rev: src/server_session.h:1.22
      6c266bb8
    • Niels Möller's avatar
      * src/lshd-userauth.c (main): Use libexec_dir from the · 045ff3ac
      Niels Möller authored
      service_config class.
      (start_service): Propagate environment variable $LSHD_LIBEXEC_DIR.
      
      * src/lshd.c (lshd_service_request_handler): Use libexec_dir from
      the service_config class.
      
      Rev: src/lshd-userauth.c:1.28
      Rev: src/lshd.c:1.201
      045ff3ac
    • Niels Möller's avatar
      (server_lookup_module): Deleted function. · b10cfc5a
      Niels Möller authored
      (make_service_config): Set libexec_dir, taking environment
      variable $LSHD_LIBEXEC_DIR into account.
      (service_config_lookup): Declare argument const.
      
      Rev: src/server.c:1.86
      b10cfc5a
    • Niels Möller's avatar
      (class service_config): New attribute libexec_dir. · e18948d3
      Niels Möller authored
      Rev: src/server.h:1.28
      e18948d3
  6. 12 Nov, 2010 4 commits
  7. 10 Nov, 2010 2 commits
    • Niels Möller's avatar
      *** empty log message *** · c881db07
      Niels Möller authored
      Rev: ChangeLog:1.1078
      c881db07
    • 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
      ccb17a54