1. 14 Sep, 2000 1 commit
    • Niels Möller's avatar
      * src/lshd.c: Renamed lshd_listen to make_lshd_listen and · ee7985f1
      Niels Möller authored
      lshd_connection_service to make_lshd_connection_service.
      (make_lshd_listen): Use kexinit_filter to restrict announced
      hostkey algorithms to those that we actually have keys for.
      (make_lshd_listen): Use listen_callback, in order to get the right
      evaluation order.
      
      * src/lsh-writekey.c (make_lsh_writekey_options): Use
      all_symmetric_algorithms() and all_symmetric_algorithms().
      * src/lsh.c (make_options): Likewise.
      * src/lsh_proxy.c (main): Likewise.
      * src/lshd.c (make_lshd_options): Likewise.
      
      Rev: src/lshd.c:1.96
      ee7985f1
  2. 03 Sep, 2000 1 commit
    • Niels Möller's avatar
      * src/dsa.h: New file, all dsa-related declarations moved here · 72665358
      Niels Möller authored
      from dsa_keygen.h (which is obsoleted) and publickey_crypto.h.
      
      Rev: src/client_keyexchange.c:1.50
      Rev: src/dsa.c:1.18
      Rev: src/dsa_keygen.c:1.12
      Rev: src/lsh-decode-key.c:1.3
      Rev: src/lsh-keygen.c:1.2
      Rev: src/lsh.c:1.117
      Rev: src/lsh_proxy.c:1.12
      Rev: src/lshd.c:1.95
      Rev: src/server_authorization.c:1.13
      Rev: src/server_keyexchange.c:1.43
      Rev: src/server_publickey.c:1.17
      Rev: src/spki.h:1.17
      72665358
  3. 01 Jun, 2000 3 commits
    • Niels Möller's avatar
      * src/lshd.c (lshd_connection_service): Use · e136c2a9
      Niels Möller authored
      connection_require_userauth.
      (main): Allow user's to request ssh-connection service without
      first executing the ssh-userauth protocol. This makes sense if SRP
      was used for key exchange. lshd_connection_service checks that the
      user is properly authenticated before actually starting the
      service.
      
      Rev: src/lshd.c:1.94
      e136c2a9
    • Niels Möller's avatar
      * src/command, src/connection.c, src/exception.c, src/io.c, · 97fd70d5
      Niels Möller authored
      src/keyexchange.c, src/keyexchange.h, src/lsh_keygen.c,
      src/lshd.c, src/publickey_crypto.h, src/server_session.c,
      src/server_userauth.c, src/server_userauth.h, src/sexp.c,
      src/sexp_parser.c, src/spki.c, src/spki_commands.c,
      src/srp_exchange.c, src/tcpforward.c, src/werror.c: Removed old
      dead code.
      
      Rev: src/command.h:1.45
      Rev: src/connection.c:1.55
      Rev: src/exception.c:1.15
      Rev: src/io.c:1.108
      Rev: src/keyexchange.c:1.68
      Rev: src/keyexchange.h:1.46
      Rev: src/lsh_keygen.c:1.21
      Rev: src/lshd.c:1.93
      Rev: src/publickey_crypto.h:1.37
      Rev: src/server_session.c:1.43
      Rev: src/server_userauth.c:1.28
      Rev: src/server_userauth.h:1.13
      Rev: src/sexp.c:1.30
      Rev: src/sexp_parser.c:1.16
      Rev: src/spki.c:1.20
      Rev: src/spki_commands.c:1.8
      Rev: src/srp_exchange.c:1.6
      Rev: src/tcpforward.c:1.49
      Rev: src/werror.c:1.46
      97fd70d5
    • Niels Möller's avatar
      * src/lshd.c: Adapted to the simplified userauth-service · 057c36b6
      Niels Möller authored
      framework. Deleted lshd_services and calls to
      make_server_connection_service.
      
      Rev: src/lshd.c:1.92
      057c36b6
  4. 31 May, 2000 1 commit
  5. 28 May, 2000 1 commit
  6. 27 May, 2000 1 commit
  7. 06 May, 2000 1 commit
    • Niels Möller's avatar
      General cleanup and (minor) fixes of some old FIXME:s. · 0f1378b6
      Niels Möller authored
      Rev: src/channel.c:1.80
      Rev: src/channel.h:1.57
      Rev: src/channel_commands.c:1.19
      Rev: src/channel_commands.h:1.14
      Rev: src/client_keyexchange.c:1.42
      Rev: src/client_password.c:1.9
      Rev: src/connection.h:1.49
      Rev: src/connection_commands.c:1.26
      Rev: src/daemon.c:1.6
      Rev: src/disconnect.c:1.19
      Rev: src/dsa.c:1.13
      Rev: src/format.c:1.37
      Rev: src/gateway_channel.c:1.2
      Rev: src/io.c:1.103
      Rev: src/io_commands.c:1.33
      Rev: src/keyexchange.c:1.63
      Rev: src/keyexchange.h:1.43
      Rev: src/lsh.c:1.106
      Rev: src/lsh_proxy.c:1.11
      Rev: src/lsh_writekey.c:1.19
      Rev: src/lshd.c:1.88
      Rev: src/pkcs5.c:1.3
      Rev: src/proxy.c:1.7
      Rev: src/read_packet.c:1.47
      Rev: src/reaper.c:1.13
      Rev: src/server_keyexchange.c:1.37
      Rev: src/server_publickey.c:1.14
      Rev: src/server_session.c:1.38
      Rev: src/server_userauth.h:1.10
      Rev: src/sexp_streamed_parser.c:1.23
      Rev: src/sexp_test.c:1.13
      Rev: src/spki.c:1.18
      Rev: src/ssh1_fallback.c:1.9
      Rev: src/tcpforward.c:1.48
      Rev: src/unix_user.c:1.13
      0f1378b6
  8. 01 May, 2000 1 commit
  9. 19 Apr, 2000 1 commit
  10. 11 Apr, 2000 1 commit
  11. 14 Mar, 2000 1 commit
  12. 22 Feb, 2000 1 commit
  13. 06 Feb, 2000 1 commit
  14. 05 Feb, 2000 1 commit
  15. 12 Jan, 2000 1 commit
  16. 31 Dec, 1999 1 commit
  17. 14 Dec, 1999 1 commit
  18. 07 Dec, 1999 1 commit
  19. 29 Nov, 1999 1 commit
  20. 28 Nov, 1999 2 commits
  21. 07 Nov, 1999 2 commits
  22. 03 Nov, 1999 2 commits
    • Balázs Scheidler's avatar
      Merged bazsi's patch: · d6dcb8fb
      Balázs Scheidler authored and Niels Möller's avatar Niels Möller committed
      * src/lshd.c (do_read_key): Moved key reading to spki.c. (Bazsi)
      
      * src/spki.c (parse_dsa_private_key): Moved from lshd.c. (Bazsi)
      (parse_private_key): New function (Bazsi).
      (do_spki_parse_key): New function (Bazsi).
      (make_spki_parse_key): New function (Bazsi).
      (read_spki_key_file): New function (Bazsi).
      
      * src/server_publickey.c (do_authenticate): Changed the handling
      of PEER_SSH_DSS_KLUDGE. (Bazsi)
      
      * src/server_keyexchange.c (do_init_server_dh): Handle
      PEER_SSH_DSS_KLUDGE. (Bazsi)
      
      * src/publickey_crypto.c (make_keypair): Added type argument. (Bazsi)
      
      * src/publickey_crypto.h (keypair): Added type attribute. (Bazsi)
      
      * src/lsh.c (main_options): Added identity argument. (Bazsi)
      
      * src/keyexchange.c (do_handle_kexinit): Don't use
      ATOM_SSH_DSS_KLUDGE. (Bazsi)
      
      * src/exception.h (EXC_IO_OPEN_READ): New exception type. (Bazsi)
      
      * src/connection_commands.c (do_line): Fixed detection of ssh2.
      
      * src/client_keyexchange.c (dh_client): Added hostkey_algorithm
      attribute. (Bazsi)
      (do_handle_dh_reply): Handle the dss kludge here. (Bazsi)
      (do_init_client_dh): Don't use ATOM_SSH_DSS_KLUDGE. (Bazsi)
      
      * src/atoms.in: Removed ssh-dss-kludge. (Bazsi)
      
      * src/lshd.c (main): Deal with pid files after forking and
      daemonization, to get the right pid.
      
      Rev: src/atoms.in:1.7
      Rev: src/client.c:1.80
      Rev: src/client_keyexchange.c:1.35
      Rev: src/client_userauth.c:1.20
      Rev: src/connection_commands.c:1.16
      Rev: src/exception.h:1.12
      Rev: src/keyexchange.c:1.57
      Rev: src/lookup_verifier.h:1.2
      Rev: src/lsh.c:1.79
      Rev: src/lshd.c:1.71
      Rev: src/publickey_crypto.c:1.35
      Rev: src/publickey_crypto.h:1.25
      Rev: src/server_keyexchange.c:1.34
      Rev: src/server_publickey.c:1.4
      Rev: src/spki.c:1.4
      Rev: src/spki.h:1.3
      Rev: src/userauth.h:1.16
      d6dcb8fb
    • Niels Möller's avatar
      * src/lshd.c (main): Deal with pid files after forking and · dad7d2b5
      Niels Möller authored
      daemonization, to get the right pid.
      
      Rev: src/lshd.c:1.70
      dad7d2b5
  23. 25 Oct, 1999 1 commit
  24. 24 Oct, 1999 1 commit
  25. 19 Oct, 1999 1 commit
  26. 13 Oct, 1999 1 commit
    • Niels Möller's avatar
      Zero-padded initializers where needed. · eae482f7
      Niels Möller authored
      Rev: src/algorithms.c:1.9
      Rev: src/lsh.c:1.77
      Rev: src/lsh_keygen.c:1.17
      Rev: src/lshd.c:1.66
      Rev: src/sexp.c:1.18
      Rev: src/sexp_conv.c:1.9
      Rev: src/werror.c:1.37
      eae482f7
  27. 11 Oct, 1999 2 commits
  28. 21 Sep, 1999 1 commit
  29. 07 Sep, 1999 2 commits
    • Niels Möller's avatar
      Cleaned up and deleted old dead code. · aff35468
      Niels Möller authored
      Rev: src/abstract_io.h:1.32
      Rev: src/channel.c:1.56
      Rev: src/channel.h:1.43
      Rev: src/channel_commands.c:1.16
      Rev: src/client.c:1.75
      Rev: src/command.c:1.26
      Rev: src/gc.c:1.11
      Rev: src/gc.h:1.6
      Rev: src/io.c:1.76
      Rev: src/lsh.c:1.71
      Rev: src/lsh.h:1.8
      Rev: src/lsh_writekey.c:1.13
      Rev: src/lshd.c:1.62
      Rev: src/read_data.c:1.24
      Rev: src/read_packet.c:1.44
      Rev: src/read_scan.c:1.9(DEAD)
      Rev: src/read_scan.h:1.9(DEAD)
      Rev: src/server_password.c:1.24
      Rev: src/service.h:1.17
      Rev: src/sexp_conv.c:1.3
      Rev: src/sexp_parser.c:1.9
      Rev: src/sexp_streamed_parser.c:1.11
      Rev: src/tcpforward_commands.c:1.12
      Rev: src/tcpforward_commands.h:1.4
      Rev: src/werror.c:1.35
      aff35468
    • Balázs Scheidler's avatar
      * src/lshd.c (main): Create an authorization_db class (Bazsi). · 9f63de7e
      Balázs Scheidler authored and Niels Möller's avatar Niels Möller committed
      Rev: src/lshd.c:1.61
      9f63de7e
  30. 28 Aug, 1999 1 commit
    • Niels Möller's avatar
      Finally, it compiles. · 4518c536
      Niels Möller authored
      Rev: src/channel.c:1.51
      Rev: src/channel.h:1.41
      Rev: src/channel_commands.c:1.13
      Rev: src/command.h:1.33
      Rev: src/connection.c:1.38
      Rev: src/connection.h:1.34
      Rev: src/connection_commands.c:1.10
      Rev: src/exception.c:1.3
      Rev: src/exception.h:1.4
      Rev: src/format.c:1.30
      Rev: src/io.c:1.69
      Rev: src/keyexchange.c:1.53
      Rev: src/lsh.c:1.67
      Rev: src/lsh_writekey.c:1.10
      Rev: src/lshd.c:1.60
      Rev: src/read_line.c:1.27
      Rev: src/read_line.h:1.15
      Rev: src/read_packet.c:1.40
      Rev: src/read_scan.h:1.7
      Rev: src/server_session.c:1.13
      Rev: src/server_userauth.c:1.14
      Rev: src/sexp.h:1.16
      Rev: src/sexp_streamed_parser.c:1.8
      Rev: src/sexp_test.c:1.10
      Rev: src/ssh1_fallback.c:1.8
      Rev: src/ssh1_fallback.h:1.5
      Rev: src/tcpforward.c:1.27
      Rev: src/tcpforward_commands.c:1.10
      4518c536
  31. 22 Aug, 1999 1 commit
    • Niels Möller's avatar
      Work in progress. · 91d11dfa
      Niels Möller authored
      Rev: src/abstract_io.h:1.29
      Rev: src/channel.c:1.50
      Rev: src/channel.h:1.40
      Rev: src/channel_commands.c:1.12
      Rev: src/client.c:1.70
      Rev: src/client_keyexchange.c:1.30
      Rev: src/client_pty.c:1.9
      Rev: src/client_userauth.c:1.18
      Rev: src/combinators.c:1.7
      Rev: src/command.c:1.24
      Rev: src/command.h:1.32
      Rev: src/compress.c:1.6
      Rev: src/connection.c:1.37
      Rev: src/connection.h:1.33
      Rev: src/connection_commands.c:1.9
      Rev: src/debug.c:1.27
      Rev: src/debug.h:1.11
      Rev: src/disconnect.c:1.15
      Rev: src/encrypt.c:1.20
      Rev: src/exception.c:1.2
      Rev: src/exception.h:1.3
      Rev: src/io.c:1.68
      Rev: src/io.h:1.41
      Rev: src/io_commands.c:1.17
      Rev: src/keyexchange.c:1.52
      Rev: src/keyexchange.h:1.37
      Rev: src/lsh.c:1.66
      Rev: src/lsh.h:1.7
      Rev: src/lsh_keygen.c:1.13
      Rev: src/lsh_writekey.c:1.9
      Rev: src/lshd.c:1.59
      Rev: src/packet_ignore.c:1.9
      Rev: src/pad.c:1.23
      Rev: src/read_data.c:1.21
      Rev: src/read_data.h:1.9
      Rev: src/read_line.c:1.26
      Rev: src/read_line.h:1.14
      Rev: src/read_packet.c:1.39
      Rev: src/read_scan.c:1.8
      Rev: src/read_scan.h:1.6
      Rev: src/server.c:1.57
      Rev: src/server_keyexchange.c:1.28
      Rev: src/server_password.c:1.21
      Rev: src/server_session.c:1.12
      Rev: src/server_userauth.c:1.13
      Rev: src/sexp_test.c:1.9
      Rev: src/tcpforward.c:1.26
      Rev: src/tcpforward_commands.c:1.9
      Rev: src/unpad.c:1.17
      Rev: src/userauth.h:1.14
      Rev: src/werror.c:1.34
      Rev: src/write_buffer.c:1.19
      91d11dfa
  32. 10 Jul, 1999 1 commit
    • Niels Möller's avatar
      Work-in-progress checking. Exceptions half way done. · b4f638e0
      Niels Möller authored
      Rev: src/abstract_io.h:1.25
      Rev: src/channel.c:1.48
      Rev: src/channel_commands.c:1.10
      Rev: src/channel_commands.h:1.11
      Rev: src/client.c:1.68
      Rev: src/client.h:1.24
      Rev: src/client_userauth.c:1.17
      Rev: src/combinators.c:1.6
      Rev: src/command.c:1.23
      Rev: src/command.h:1.31
      Rev: src/connection_commands.c:1.7
      Rev: src/io.c:1.64
      Rev: src/io.h:1.37
      Rev: src/io_commands.c:1.15
      Rev: src/lsh.c:1.64
      Rev: src/lshd.c:1.58
      Rev: src/read_data.c:1.19
      Rev: src/read_line.c:1.25
      Rev: src/read_packet.c:1.37
      Rev: src/server.c:1.56
      Rev: src/server_session.c:1.11
      Rev: src/server_userauth.c:1.12
      Rev: src/tcpforward.c:1.25
      Rev: src/tcpforward_commands.c:1.8
      b4f638e0
  33. 04 Jul, 1999 1 commit