1. 12 Mar, 2001 1 commit
  2. 25 Feb, 2001 1 commit
    • Niels Möller's avatar
      * Refer to a function foo as "foo", not "foo()", in messages and · 52f1626b
      Niels Möller authored
      comments. (GNU coding standard).
      
      Rev: src/bignum.c:1.19
      Rev: src/channel.c:1.93
      Rev: src/channel_commands.c:1.23
      Rev: src/client.c:1.106
      Rev: src/client_keyexchange.c:1.57
      Rev: src/client_userauth.c:1.46
      Rev: src/connection.c:1.62
      Rev: src/daemon.c:1.7
      Rev: src/dh_exchange.c:1.12
      Rev: src/gateway_channel.c:1.8
      Rev: src/gateway_commands.c:1.8
      Rev: src/gc.c:1.15
      Rev: src/io.c:1.126
      Rev: src/io_commands.c:1.36
      Rev: src/jpoll.c:1.7
      Rev: src/lsh_proxy.c:1.21
      Rev: src/proxy_channel.c:1.5
      Rev: src/proxy_session.c:1.9
      Rev: src/proxy_tcpforward.c:1.6
      Rev: src/proxy_userauth.c:1.7
      Rev: src/reaper.c:1.19
      Rev: src/server_keyexchange.c:1.47
      Rev: src/server_pty.c:1.19
      Rev: src/server_session.c:1.58
      Rev: src/server_userauth.c:1.31
      Rev: src/sexp.c:1.35
      Rev: src/sexp_streamed_parser.c:1.29
      Rev: src/spki_commands.c:1.18
      Rev: src/tcpforward.c:1.60
      Rev: src/tcpforward_commands.c:1.29
      Rev: src/translate_signal.c:1.3
      Rev: src/unix_interact.c:1.4
      Rev: src/unix_random.c:1.8
      Rev: src/unix_user.c:1.32
      Rev: src/werror.c:1.50
      Rev: src/zlib.c:1.30
      52f1626b
  3. 22 Feb, 2001 1 commit
    • Niels Möller's avatar
      (close_fd_read): New function. · ced67145
      Niels Möller authored
      (do_buffered_read): Call close_fd_read on EOF. This stops reading
      from the file, and also marks it for closing unless it has a write
      callback.
      (do_consuming_read): Likewise.
      
      Rev: ChangeLog:1.308
      Rev: src/io.c:1.125
      Rev: src/io.h:1.73
      ced67145
  4. 21 Feb, 2001 1 commit
  5. 20 Feb, 2001 1 commit
    • Niels Möller's avatar
      Added · a22eadbf
      Niels Möller authored
      volatile modifier to all uses of sig_atomic_t.
      
      Rev: src/io.c:1.123
      Rev: src/io.h:1.72
      Rev: src/reaper.c:1.18
      Rev: src/unix_interact.c:1.3
      a22eadbf
  6. 18 Feb, 2001 1 commit
  7. 31 Jan, 2001 1 commit
  8. 30 Jan, 2001 1 commit
  9. 20 Nov, 2000 1 commit
    • Niels Möller's avatar
      Removed old #if:ed out code · 2d064ff3
      Niels Möller authored
      Rev: src/algorithms.h:1.8
      Rev: src/client.h:1.34
      Rev: src/client_keyexchange.c:1.55
      Rev: src/client_userauth.c:1.44
      Rev: src/connection.c:1.61
      Rev: src/format.h:1.32
      Rev: src/interact.c:1.5
      Rev: src/interact.h:1.5
      Rev: src/io.c:1.119
      Rev: src/io.h:1.69
      Rev: src/lsh-writekey.c:1.9
      Rev: src/lsh.c:1.126
      Rev: src/lshd.c:1.104
      Rev: src/reaper.c:1.16
      Rev: src/reaper.h:1.9
      Rev: src/server_session.c:1.53
      Rev: src/spki.c:1.27
      Rev: src/spki_commands.c:1.13
      Rev: src/srp-gen.c:1.7
      Rev: src/tty.c:1.11
      Rev: src/tty.h:1.11
      2d064ff3
  10. 16 Nov, 2000 1 commit
  11. 15 Nov, 2000 1 commit
    • Niels Möller's avatar
      * src/io.c (lsh_signal_handler): New class. · 1fca65f4
      Niels Möller authored
      (lsh_callout): Renamed the callout class, and made it inherit
      resource.
      (io_iter): Call signal handlers.
      (make_io_backend): New function.
      (init_backend): Deleted function.
      (io_signal_handler): New function.
      (io_callout): New function.
      (init_file): Use resource_init().
      
      Rev: src/io.c:1.117
      1fca65f4
  12. 14 Nov, 2000 1 commit
    • Niels Möller's avatar
      * src/io.c (sockaddr2info): Return NULL for address families other · ebc56683
      Niels Möller authored
      than AF_INET and AF_INET6.
      (make_local_info): New function.
      (io_listen_local): Take a local_info as argument. Fixed umask.
      (io_connect_local): Take a local_info as argument.
      (check_user_permissions): #if:ed out (replaced by code in
      unix_user.c).
      (io_read_user_file): Likewise.
      
      Rev: src/io.c:1.116
      ebc56683
  13. 22 Oct, 2000 1 commit
  14. 15 Oct, 2000 1 commit
  15. 09 Oct, 2000 1 commit
  16. 06 Oct, 2000 1 commit
    • Niels Möller's avatar
      * src/io.c (io_iter): Some support for callouts. · b7a9c011
      Niels Möller authored
      (do_exc_finish_read_handler): Handle EXC_PAUSE_READ and
      EXC_PAUSE_START_READ.
      (do_buffered_read): Allow handlers to set want_read == 0.
      
      * src/io.h: Renamed close_callback to lsh_callback, and removed
      the "reason" argument.
      
      Rev: src/io.c:1.112
      Rev: src/io.h:1.63
      b7a9c011
  17. 27 Jul, 2000 1 commit
    • Niels Möller's avatar
      * src/io.c (address_info2sockaddr): Use ssh_cformat(). · b925fa3c
      Niels Möller authored
      * src/lsh.c (do_options2known_hosts): Likewise.
      (do_options2identities): Likewise.
      (main_argp_parser): Likewise.
      * src/lsh_writekey.c (main_argp_parser): Likewise.
      (lsh_writekey_options2public_file): Likewise.
      * src/unix_user.c (do_file_exists): Likewise.
      (do_read_file): Likewise.
      (format_env_pair): Likewise.
      (format_env_pair_c): Likewise.
      * src/server_authorization.c (do_key_lookup): Likewise.
      * src/server_session.c (do_spawn_exec): Likewise.
      
      Rev: src/io.c:1.111
      Rev: src/lsh.c:1.115
      Rev: src/server_authorization.c:1.12
      Rev: src/server_session.c:1.48
      Rev: src/unix_user.c:1.22
      b925fa3c
  18. 26 Jun, 2000 1 commit
  19. 10 Jun, 2000 1 commit
  20. 01 Jun, 2000 1 commit
    • 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
  21. 28 May, 2000 1 commit
  22. 27 May, 2000 1 commit
  23. 22 May, 2000 1 commit
  24. 08 May, 2000 1 commit
  25. 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
  26. 01 May, 2000 1 commit
  27. 23 Apr, 2000 1 commit
  28. 22 Apr, 2000 1 commit
  29. 21 Apr, 2000 2 commits
    • Niels Möller's avatar
      * Removed lots of old #if:ed out code. · a1cc1c38
      Niels Möller authored
      Rev: src/abstract_crypto.h:1.25
      Rev: src/channel.c:1.78
      Rev: src/channel.h:1.56
      Rev: src/client.c:1.92
      Rev: src/client_keyexchange.c:1.41
      Rev: src/client_userauth.c:1.29
      Rev: src/connection.c:1.51
      Rev: src/connection.h:1.48
      Rev: src/disconnect.c:1.17
      Rev: src/disconnect.h:1.7
      Rev: src/exception.h:1.17
      Rev: src/io.c:1.99
      Rev: src/io.h:1.59
      Rev: src/io_commands.c:1.32
      Rev: src/lsh.c:1.105
      Rev: src/password.c:1.5
      Rev: src/read_data.h:1.15
      Rev: src/server_password.c:1.30
      Rev: src/server_session.c:1.36
      Rev: src/server_session.h:1.11
      Rev: src/server_userauth.c:1.26
      Rev: src/server_userauth.h:1.9
      Rev: src/sexp_commands.c:1.10
      Rev: src/sexp_streamed_parser.c:1.21
      Rev: src/tcpforward.c:1.46
      Rev: src/tcpforward.h:1.14
      a1cc1c38
    • Niels Möller's avatar
      * src/io.c (io_listen_local): Use fchdir(). · 838df3ad
      Niels Möller authored
      (io_connect_local): New function.
      
      Rev: src/io.c:1.98
      Rev: src/io.h:1.58
      838df3ad
  30. 20 Apr, 2000 2 commits
    • Niels Möller's avatar
      * src/io_commands.c (make_simple_listen): Deleted resources argument. · 312000c3
      Niels Möller authored
      (make_remember_continuation): New function. (Currently not used).
      (do_listen): Generalized, so that it can be used by all of
      do_simple_listen, do_listen_with_callback and do_listen_with_connection.
      (listen_with_callback):  Renamed the improperly named listen_connection.
      (listen_with_connection): New command.
      
      * src/io.c (choose_address): Choose one address fron an
      addrinfo-list, using a list of preferred address families.
      (address_info2sockaddr): Added preference argument. Updated all
      calls.
      
      Rev: src/io.c:1.97
      Rev: src/io_commands.c:1.30
      Rev: src/io_commands.h:1.13
      312000c3
    • Niels Möller's avatar
      * src/io.c (choose_address): Choose one address fron an · d6e7be2a
      Niels Möller authored
      addrinfo-list, using a list of preferred address families.
      (address_info2sockaddr): Added preference argument. Updated all
      calls.
      
      Rev: src/io.c:1.96
      Rev: src/io.h:1.57
      Rev: src/io_commands.c:1.29
      d6e7be2a
  31. 19 Apr, 2000 1 commit
    • Niels Möller's avatar
      * src/io.c (get_inaddr): Removed. · 558a6d45
      Niels Möller authored
      (tcp_addr): Likewise.
      (make_address_info_c): Added an extra argument used as fallback if
      service lookup fails.
      (sockaddr2info): IPv6 support.
      (address_info2sockaddr): Rewrote, to handle IPv6 and to allocate
      the returned sockaddr structure dynamically.
      
      * src/io.c (io_iter): Use #ifdef:s around tests for POLLNVAL,
      POLLPRI and POLLHUP.
      
      Rev: src/io.c:1.95
      558a6d45
  32. 16 Apr, 2000 1 commit
  33. 11 Apr, 2000 1 commit
  34. 09 Feb, 2000 1 commit
  35. 07 Feb, 2000 1 commit
  36. 06 Feb, 2000 1 commit
  37. 05 Feb, 2000 1 commit
  38. 02 Feb, 2000 1 commit
    • Niels Möller's avatar
      *** empty log message *** · 9ed591cc
      Niels Möller authored
      Rev: ChangeLog:1.151
      Rev: src/command.h:1.41
      Rev: src/io.c:1.88
      Rev: src/io_commands.c:1.24
      Rev: src/list.h:1.7
      Rev: src/read_packet.c:1.46
      Rev: src/testsuite/Makefile.am:1.9
      Rev: src/testsuite/macros.m4:1.4
      Rev: src/werror.c:1.43
      9ed591cc