1. 29 Nov, 2000 10 commits
  2. 28 Nov, 2000 1 commit
    • Niels Möller's avatar
      * src/argp/argp-parse.c: Deleted getopt-related code. · b04e81f6
      Niels Möller authored
      (struct parser): New field nextchar. Deleted fields try_getotp and long_opts.
      (find_short_option): New function.
      (match_option): New function.
      (find_long_option): New function.
      (struct parser_convert_state): Deleted field long_end.
      (convert_options): Don't build getopt_long-style option array.
      (parser_convert): Deleted FLAGS arument.
      (struct parser_sizes): Deleted field long_len.
      (parser_init): Set short_opts to NULL, unless ARGP_LONG_ONLY is
      (classify_arg): New function.
      (parser_parse_next): Don't use getopt_long().
      Rev: src/argp/argp-parse.c:1.8
  3. 27 Nov, 2000 15 commits
  4. 26 Nov, 2000 14 commits
    • Niels Möller's avatar
      *** empty log message *** · dfb9b232
      Niels Möller authored
      Rev: ChangeLog:1.274
    • Niels Möller's avatar
      * src/abstract_crypto.h: Some cleanup. · 16c719b4
      Niels Möller authored
      * src/abstract_io.h: Likewise.
      * src/channel.c: Likewise.
      * src/channel.h: Likewise.
      * src/channel_commands.h: Likewise.
      * src/connection.h: Likewise.
      * src/connection_commands.c: Likewise.
      * src/dh_exchange.c: Likewise.
      * src/exception.h: Likewise.
      * src/gateway.c: Likewise.
      * src/gateway_channel.c: Likewise.
      * src/gateway_commands.c: Likewise.
      * src/handshake.c: Likewise.
      * src/handshake.h: Likewise.
      * src/io.h: Likewise.
      * src/io_commands.c: Likewise.
      * src/io_commands.h: Likewise.
      * src/keyexchange.h: Likewise.
      * src/lsh.c: Likewise.
      * src/lsh_proxy.c: Likewise.
      * src/lshg.c: Likewise.
      * src/publickey_crypto.h: Likewise.
      * src/randomness.c: Likewise.
      * src/randomness.h: Likewise.
      * src/read_packet.c: Likewise.
      * src/rsa.c: Likewise.
      * src/server_pty.h: Likewise.
      * src/server_session.c: Likewise.
      * src/sexp.h: Likewise.
      * src/sexp_parser.c: Likewise.
      * src/sexp_streamed_parser.c: Likewise.
      * src/sexp_test.c: Likewise.
      * src/spki_commands.c: Likewise.
      * src/spki_commands.h: Likewise.
      * src/ssh1_fallback.c: Likewise.
      * src/tcpforward.c: Likewise.
      * src/unix_random.c: Likewise.
      * src/zlib.c: Likewise.
      Rev: src/abstract_crypto.h:1.34
      Rev: src/abstract_io.h:1.33
      Rev: src/channel.c:1.89
      Rev: src/channel.h:1.63
      Rev: src/channel_commands.h:1.18
      Rev: src/command.h:1.48
      Rev: src/connection.h:1.58
      Rev: src/connection_commands.c:1.34
      Rev: src/dh_exchange.c:1.11
      Rev: src/exception.h:1.24
      Rev: src/gateway.c:1.4
      Rev: src/gateway_channel.c:1.6
      Rev: src/gateway_commands.c:1.7
      Rev: src/handshake.c:1.2
      Rev: src/handshake.h:1.2
      Rev: src/io.h:1.70
      Rev: src/io_commands.c:1.35
      Rev: src/io_commands.h:1.15
      Rev: src/keyexchange.h:1.49
      Rev: src/lsh.c:1.128
      Rev: src/lsh_proxy.c:1.20
      Rev: src/lshg.c:1.5
      Rev: src/publickey_crypto.h:1.43
      Rev: src/randomness.c:1.22
      Rev: src/randomness.h:1.13
      Rev: src/read_packet.c:1.49
      Rev: src/rsa.c:1.12
      Rev: src/server_pty.h:1.12
      Rev: src/server_session.c:1.56
      Rev: src/sexp.h:1.32
      Rev: src/sexp_parser.c:1.19
      Rev: src/sexp_streamed_parser.c:1.28
      Rev: src/sexp_test.c:1.15
      Rev: src/spki_commands.c:1.15
      Rev: src/spki_commands.h:1.9
      Rev: src/ssh1_fallback.c:1.10
      Rev: src/tcpforward.c:1.56
      Rev: src/unix_random.c:1.4
      Rev: src/zlib.c:1.29
    • Niels Möller's avatar
      *** empty log message *** · 1f2b70e7
      Niels Möller authored
      Rev: src/client.h:1.36
      Rev: src/client_password.c:1.11
    • Niels Möller's avatar
      * src/client.c (client_argp_parser): Handle remote_forward · 4478de16
      Niels Möller authored
      properly, and install a channel_open_forwarded_tcpip handler if
      needed (recovered from an earlier lsh.c). Some other cleanup.
      Rev: src/client.c:1.103
    • Niels Möller's avatar
      *** empty log message *** · d0e05b4d
      Niels Möller authored
      Rev: ChangeLog:1.273
      Rev: src/client.c:1.102
      Rev: src/proxy_agentforward.c:1.4
      Rev: src/proxy_session.c:1.8
      Rev: src/proxy_tcpforward.c:1.5
      Rev: src/proxy_x11forward.c:1.4
      Rev: src/server_session.c:1.55
    • Niels Möller's avatar
      ChangeLog · fa872487
      Niels Möller authored
      Rev: NEWS:1.67
    • Niels Möller's avatar
      * src/parse.c (parse_rest, parse_rest_copy): Renamed parse_rest to · 5fce20ab
      Niels Möller authored
      parse_rest_copy. New function parse_rest.
      * src/parse.c (parse_rest): New function.
      Rev: src/parse.c:1.33
      Rev: src/parse.h:1.25
    • Niels Möller's avatar
      * src/lshg.c: Use new client.c option parsing. · 8b094b3e
      Niels Möller authored
      Rev: src/lshg.c:1.4
    • Niels Möller's avatar
      * src/gateway_channel.c (do_gateway_channel_request): Use · 5d454663
      Niels Möller authored
      (gateway_channel_open_continuation): New attribute fallback.
      (do_gateway_channel_open_continuation): Set the target channel's
      request_fallback pointer.
      (do_channel_open_forward): Set the origin channel's
      request_fallback pointer.
      * src/gateway_channel.c (gateway_channel_open_command): Use a
      string instead of an atom to represent the chennel type.
      (do_gateway_channel_open): Use format_channel_opn_s().
      (make_gateway_channel_open_command): Take an struct
      channel_open_info * as argument.
      (do_channel_open_forward): New function.
      (gateway_channel_open_forward): Channel open handler that forwards
      any channel open request, of any type.
      Rev: src/gateway_channel.c:1.5
      Rev: src/gateway_channel.h:1.4
    • Niels Möller's avatar
      * src/channel.h (ssh_channel): Added request_fallback attribute. · 139e3840
      Niels Möller authored
      (channel_request_info): New struct.
      (channel_request): Use a channel_request_info argument.
      * src/channel.h (struct channel_open_info): New struct to
      represent the common information in SSH_MSH_CHANNEL_OPEN.
      (channel_table): New attribute open_fallback.
      (channel_open): Use a channel_open_info for the arguments.
      Rev: src/channel.h:1.62
    • Niels Möller's avatar
      * src/channel.c (parse_channel_request): New function. · e6b06c53
      Niels Möller authored
      (DEFINE_PACKET_HANDLER): Use parse_channel_request. Invoke request
      fallback if appropriate.
      (init_channel): Initialize request_fallback = NULL.
      (format_channel_open_s): Use a struct lsh_string for the type
      (format_channel_request_i): New function.
      * src/channel.c (make_channel_table): Initialize open_fallback =
      (global_request_handler): Prepared for using a fallback handler.
      (channel_request_handler): Likewise.
      (channel_open_continuation): Renamed attributes to
      send_window_size and send_max_packet.
      (parse_channel_open): New function.
      (DEFINE_PACKET_HANDLER): Use parse_channel_open. Invoke
      open_fallback if there's no more specific handler for the channel
      (format_channel_open_s): New function.
      (format_channel_open_a): New function (currently #if:ed out).
      Rev: src/channel.c:1.88
    • Niels Möller's avatar
      *** empty log message *** · ff980744
      Niels Möller authored
      Rev: ChangeLog:1.272
    • Niels Möller's avatar
      * src/proxy_agentforward.c (do_proxy_open_auth_agent): Updated to · 606094e4
      Niels Möller authored
      use struct channel_open_info.
      * src/proxy_x11forward.c (do_proxy_open_x11): Likewise.
      * src/proxy_tcpforward.c (do_proxy_open_direct_tcpip): Likewise.
      * src/proxy_session.c (do_proxy_open_session): Likewise.
      * src/server_session.c (do_open_session): Likewise.
      * src/tcpforward.c: Likewise.
      Rev: src/tcpforward.c:1.55
    • Niels Möller's avatar
      * src/spki_commands.c (spki_read_userkeys): Try to decrypt the key. · 58117e01
      Niels Möller authored
      (make_spki_read_userkeys): New argument tty. If supplied, try to
      decrypt password protected keys.
      Rev: src/spki_commands.c:1.14
      Rev: src/spki_commands.h:1.8