- 15 Apr, 2003 1 commit
-
-
Niels Möller authored
(io_connect): Changed interface, to take an io_callback instead of a continuation. The caller has to use make_connect_callback to get the old functionality. (io_connect_local): Adapted to new io_conenct interface, and call make_connect_list_callback. * src/io.c (connect_list_state): New class. (do_connect_list_kill): New function. (make_connect_list_state): New function. (connect_attempt): New function. (connect_list_callback): New class. (do_connect_list_callback): New function. (make_connect_list_callback): New function. (io_connect_list): New function. Rev: src/io.c:1.190
-
- 14 Apr, 2003 3 commits
-
-
Niels Möller authored
Rev: src/io.c:1.189
-
Niels Möller authored
conversion of service names to port numbers. This way, all that's needed for SRV-records is proper support in getaddrinfo. * src/lshd.c (parse_interface): Changed interface to use plain NUL-terminated strings. (main_argp_parser): Updated for new io_resolv_address interface. Rev: src/io.c:1.188 Rev: src/io.h:1.102 Rev: src/lshd.c:1.151
-
Niels Möller authored
the number of resolved addresses. Rev: src/io.c:1.187 Rev: src/io.h:1.101
-
- 12 Apr, 2003 1 commit
-
-
Niels Möller authored
(sockaddr_cons): New function. Rev: src/io.c:1.186
-
- 14 Mar, 2003 1 commit
-
-
Niels Möller authored
errors. Needed for freebsd, where setting the non-block flag on /dev/null fails. (io_set_nonblocking, io_set_blocking): Use handle_nonblock_error. Rev: src/io.c:1.185
-
- 13 Mar, 2003 1 commit
-
-
Niels Möller authored
(io_set_close_on_exec): Fixed error messages. Rev: src/io.c:1.184
-
- 02 Mar, 2003 1 commit
-
-
Niels Möller authored
Rev: src/io.c:1.183
-
- 16 Feb, 2003 1 commit
-
-
Niels Möller authored
UINT32. Include files in the order config.h, C headers, system headers, lsh headers. Deleted RCS id stings. Affects most files. Rev: src/abstract_compress.c:1.5 Rev: src/abstract_compress.h:1.6 Rev: src/abstract_crypto.c:1.23 Rev: src/abstract_crypto.h:1.42 Rev: src/abstract_io.c:1.4 Rev: src/abstract_io.h:1.35 Rev: src/adns.c:1.4 Rev: src/algorithms.c:1.34 Rev: src/algorithms.h:1.10 Rev: src/alist.c:1.22 Rev: src/alist.h:1.18 Rev: src/atoms.c:1.13 Rev: src/atoms.h:1.8 Rev: src/bignum.c:1.23 Rev: src/bignum.h:1.21 Rev: src/channel.c:1.115 Rev: src/channel.h:1.73 Rev: src/channel_commands.c:1.27 Rev: src/channel_commands.h:1.21 Rev: src/channel_forward.c:1.12 Rev: src/channel_forward.h:1.6 Rev: src/charset.c:1.9 Rev: src/charset.h:1.5 Rev: src/client.c:1.147 Rev: src/client.h:1.52 Rev: src/client_escape.c:1.7 Rev: src/client_keyexchange.c:1.61 Rev: src/client_keyexchange.h:1.18 Rev: src/client_pty.c:1.24 Rev: src/client_session.c:1.20 Rev: src/client_userauth.c:1.53 Rev: src/client_x11.c:1.22 Rev: src/combinators.c:1.18 Rev: src/command.c:1.49 Rev: src/command.h:1.62 Rev: src/compress.c:1.9 Rev: src/compress.h:1.4 Rev: src/connection.c:1.74 Rev: src/connection.h:1.67 Rev: src/connection_commands.c:1.42 Rev: src/connection_commands.h:1.19 Rev: src/crypto.c:1.34 Rev: src/crypto.h:1.32 Rev: src/daemon.c:1.10 Rev: src/daemon.h:1.4 Rev: src/debug.c:1.37 Rev: src/debug.h:1.17 Rev: src/dh_exchange.c:1.15 Rev: src/dsa.c:1.38 Rev: src/dsa_keygen.c:1.25 Rev: src/encrypt.c:1.25 Rev: src/encrypt.h:1.11 Rev: src/exception.c:1.18 Rev: src/exception.h:1.28 Rev: src/format.c:1.52 Rev: src/format.h:1.40 Rev: src/gateway.c:1.8 Rev: src/gateway.h:1.2 Rev: src/gateway_channel.c:1.15 Rev: src/gateway_channel.h:1.6 Rev: src/gateway_commands.c:1.19 Rev: src/gateway_commands.h:1.5 Rev: src/gc.c:1.31 Rev: src/gc.h:1.12 Rev: src/handshake.c:1.16 Rev: src/handshake.h:1.6 Rev: src/interact.c:1.6 Rev: src/interact.h:1.10 Rev: src/io.c:1.182 Rev: src/io.h:1.99 Rev: src/io_commands.c:1.60 Rev: src/io_commands.h:1.30 Rev: src/jpoll.h:1.4 Rev: src/keyexchange.c:1.89 Rev: src/keyexchange.h:1.57 Rev: src/list.c:1.9 Rev: src/list.h:1.10 Rev: src/lookup_verifier.c:1.3 Rev: src/lookup_verifier.h:1.8 Rev: src/lsh-decode-key.c:1.20 Rev: src/lsh-execuv.c:1.5 Rev: src/lsh-export-key.c:1.17 Rev: src/lsh-keygen.c:1.16 Rev: src/lsh-krb-checkpw.c:1.3 Rev: src/lsh-make-seed.c:1.11 Rev: src/lsh-pam-checkpw.c:1.6 Rev: src/lsh-writekey.c:1.30 Rev: src/lsh.c:1.178 Rev: src/lsh.h:1.28 Rev: src/lsh_argp.h:1.2 Rev: src/lsh_proxy.c:1.35 Rev: src/lsh_types.h:1.45 Rev: src/lshd.c:1.149 Rev: src/lshg.c:1.19 Rev: src/memxor.c:1.2 Rev: src/memxor.h:1.2 Rev: src/pad.c:1.26 Rev: src/pad.h:1.12 Rev: src/parse.c:1.37 Rev: src/parse.h:1.27 Rev: src/parse_config.c:1.4 Rev: src/parse_config.h:1.3 Rev: src/parse_macros.h:1.4 Rev: src/pkcs5.c:1.7 Rev: src/proxy.c:1.16 Rev: src/proxy.h:1.7 Rev: src/proxy_agentforward.c:1.5 Rev: src/proxy_agentforward.h:1.2 Rev: src/proxy_session.c:1.10 Rev: src/proxy_session.h:1.5 Rev: src/proxy_tcpforward.c:1.7 Rev: src/proxy_tcpforward.h:1.2 Rev: src/proxy_userauth.c:1.13 Rev: src/proxy_userauth.h:1.3 Rev: src/proxy_x11forward.c:1.6 Rev: src/proxy_x11forward.h:1.2 Rev: src/publickey_crypto.c:1.45 Rev: src/publickey_crypto.h:1.48 Rev: src/queue.c:1.11 Rev: src/queue.h:1.13 Rev: src/randomness.c:1.28 Rev: src/randomness.h:1.16 Rev: src/read_data.c:1.36 Rev: src/read_data.h:1.16 Rev: src/read_file.c:1.5 Rev: src/read_file.h:1.2 Rev: src/read_line.c:1.31 Rev: src/read_line.h:1.17 Rev: src/read_packet.c:1.53 Rev: src/read_packet.h:1.11 Rev: src/reaper.c:1.25 Rev: src/reaper.h:1.12 Rev: src/resource.c:1.26 Rev: src/resource.h:1.15 Rev: src/rsa.c:1.27 Rev: src/rsa_keygen.c:1.15 Rev: src/server.c:1.72 Rev: src/server.h:1.21 Rev: src/server_authorization.c:1.20 Rev: src/server_authorization.h:1.6 Rev: src/server_keyexchange.c:1.54 Rev: src/server_keyexchange.h:1.12 Rev: src/server_password.c:1.34 Rev: src/server_pty.c:1.25 Rev: src/server_pty.h:1.14 Rev: src/server_publickey.c:1.23 Rev: src/server_session.c:1.99 Rev: src/server_session.h:1.20 Rev: src/server_userauth.c:1.38 Rev: src/server_userauth.h:1.21 Rev: src/server_x11.c:1.17 Rev: src/server_x11.h:1.7 Rev: src/sexp.c:1.47 Rev: src/sexp.h:1.39 Rev: src/spki.c:1.48 Rev: src/spki.h:1.29 Rev: src/srp-gen.c:1.17 Rev: src/srp.h:1.7 Rev: src/srp_exchange.c:1.18 Rev: src/ssh1_fallback.c:1.14 Rev: src/ssh1_fallback.h:1.6 Rev: src/string_buffer.c:1.10 Rev: src/string_buffer.h:1.5 Rev: src/suspend.c:1.3 Rev: src/suspend.h:1.3 Rev: src/tcpforward.c:1.65 Rev: src/tcpforward.h:1.19 Rev: src/tcpforward_commands.c:1.44 Rev: src/tcpforward_commands.h:1.7 Rev: src/translate_signal.c:1.5 Rev: src/translate_signal.h:1.3 Rev: src/tty.c:1.17 Rev: src/tty.h:1.13 Rev: src/unix_interact.c:1.17 Rev: src/unix_process.c:1.12 Rev: src/unix_random.c:1.13 Rev: src/unix_user.c:1.58 Rev: src/unpad.c:1.21 Rev: src/unpad.h:1.12 Rev: src/userauth.h:1.37 Rev: src/version.h:1.9 Rev: src/werror.c:1.68 Rev: src/werror.h:1.32 Rev: src/write_buffer.c:1.27 Rev: src/write_buffer.h:1.24 Rev: src/xalloc.c:1.32 Rev: src/xalloc.h:1.28 Rev: src/xauth.c:1.10 Rev: src/xauth.h:1.3 Rev: src/zlib.c:1.35
-
- 15 Feb, 2003 1 commit
-
-
Niels Möller authored
* src/gateway_commands.c (gateway_setup_command): Deleted old #if:ed out command. * src/format.c (ssh_vformat_length): Deleted some old #if:ed out code. * src/io.c (do_buffered_read): Likewise. * src/xalloc.c (lsh_object_free): Likewise. * src/proxy.c (do_proxy_offer_service): Likewise. * src/io_commands.h: Deleted old prototypes make_listen_local and make_connect_local. Rev: src/format.c:1.51 Rev: src/gateway_commands.h:1.4 Rev: src/io.c:1.181 Rev: src/io.h:1.98 Rev: src/proxy.c:1.15 Rev: src/xalloc.c:1.31
-
- 10 Feb, 2003 1 commit
-
-
Niels Möller authored
Rev: src/io.c:1.180
-
- 09 Feb, 2003 1 commit
-
-
Niels Möller authored
addresses. Rev: src/io.c:1.179
-
- 07 Feb, 2003 1 commit
-
-
Niels Möller authored
Rev: src/io.c:1.178
-
- 09 Jan, 2003 1 commit
-
-
Niels Möller authored
(lsh_popen_read): New function. Rev: src/io.c:1.177 Rev: src/io.h:1.97
-
- 02 Jan, 2003 1 commit
-
-
Niels Möller authored
Rev: src/io.c:1.176 Rev: src/io.h:1.96
-
- 27 Aug, 2002 1 commit
-
-
Niels Möller authored
* src/digits.c (decode_base64): Likewise. * src/io.c (do_consuming_read): Likewise. Rev: src/io.c:1.175
-
- 26 Aug, 2002 1 commit
-
-
Niels Möller authored
errno printing functions to use it. (werror_format): New function. (fatal): Compile time flag to display pid and hang, instead of aborting. Useful for debugging. Rev: src/adns.c:1.3 Rev: src/client.c:1.141 Rev: src/daemon.c:1.8 Rev: src/io.c:1.174 Rev: src/lock_file.c:1.6 Rev: src/lsh-decode-key.c:1.17 Rev: src/lsh-export-key.c:1.15 Rev: src/lsh-make-seed.c:1.9 Rev: src/lsh-writekey.c:1.26 Rev: src/lsh.c:1.166 Rev: src/lshd.c:1.144 Rev: src/reaper.c:1.24 Rev: src/server.c:1.70 Rev: src/server_pty.c:1.23 Rev: src/server_session.c:1.94 Rev: src/server_x11.c:1.9 Rev: src/ssh1_fallback.c:1.13 Rev: src/suspend.c:1.2 Rev: src/unix_interact.c:1.16 Rev: src/unix_process.c:1.11 Rev: src/unix_random.c:1.11 Rev: src/unix_user.c:1.54 Rev: src/werror.c:1.67
-
- 25 Aug, 2002 1 commit
-
-
Niels Möller authored
Removed the inclusion of command.h from other header files. Rev: src/channel_forward.h:1.4 Rev: src/client_userauth.h:1.7 Rev: src/command.h:1.61 Rev: src/connection.c:1.73 Rev: src/gateway_channel.h:1.5 Rev: src/handshake.c:1.14 Rev: src/handshake.h:1.5 Rev: src/io.c:1.173 Rev: src/io.h:1.95 Rev: src/io_commands.h:1.27 Rev: src/lsh.h:1.26 Rev: src/proxy.h:1.6 Rev: src/server.h:1.20 Rev: src/server_x11.h:1.4 Rev: src/sexp.h:1.37 Rev: src/tcpforward.h:1.18 Rev: src/userauth.h:1.36
-
- 24 Aug, 2002 3 commits
-
-
Niels Möller authored
continuation, to represent the callback. Rev: src/io.c:1.172 Rev: src/io.h:1.94
-
Niels Möller authored
io_listen_fd to io_listen. (io_bind_local): New fucntion replacing io_listen_local. Updated callers. Rev: src/io.c:1.171 Rev: src/io.h:1.93
-
Niels Möller authored
(io_listen_fd): Take a struct lsh_fd * as argument, instead of an int. (io_listen): Use io_bind_sockaddr. Rev: src/io.c:1.170 Rev: src/io.h:1.92
-
- 11 Aug, 2002 1 commit
-
-
Niels Möller authored
(io_listen): Use io_listen_fd. (lsh_popd): Renamed safe_popd, and made non-static. (lsh_pushd_fd): New function. (lsh_pushd): Renamed safe_pushd, and use lsh_pushd_fd. Also added arguments result and secret. Updated all callers. Rev: src/io.c:1.169 Rev: src/io.h:1.91
-
- 26 Jun, 2002 1 commit
-
-
Niels Möller authored
errors for the final , but #if:ed out the code again. Rev: src/io.c:1.168
-
- 18 Jun, 2002 1 commit
-
-
Niels Möller authored
is a pty. (do_eof): Removed the pty ^D hack,a s it's now taken care of by close_fd_write. * src/io.c (io_set_type): New function. (close_fd_nicely): Call close_fd_write, for handling the write-related work. (close_fd_write): If the fd is a pty, write a EOF (^D) character. * src/io.h (lsh_fd): New attribute TYPE. Rev: ChangeLog:1.512 Rev: src/io.c:1.167 Rev: src/io.h:1.90 Rev: src/server_session.c:1.85
-
- 02 Jun, 2002 1 commit
-
-
Niels Möller authored
Rev: src/io.c:1.166
-
- 29 May, 2002 1 commit
-
-
Pontus Freyhult authored
to initialize local with. (do_listen_callback): Get a local address_info and pass to make_listen_value. (fd2info): New function. Rev: src/io.c:1.165
-
- 24 May, 2002 1 commit
-
-
Pontus Freyhult authored
Rev: src/io.c:1.164
-
- 27 Mar, 2002 1 commit
-
-
Niels Möller authored
Rev: src/io.c:1.163
-
- 20 Mar, 2002 2 commits
-
-
Niels Möller authored
default_preferences list. Rev: src/io.c:1.162
-
Niels Möller authored
AF_INET6 (as it seems common that localhost has an ipv6 address that doesn't work). Even better would be to try all addresses, but that has to wait for later. Rev: src/io.c:1.161
-
- 18 Mar, 2002 1 commit
-
-
Niels Möller authored
(lsh_oop_stop_callback): New function. (lsh_oop_stop): New function. (lsh_oop_cancel_stop): New function. (io_nfiles): New function. (close_fd): Decrement nfiles, and call lsh_oop_stop when no files are left. (make_lsh_fd): Increment nfiles. Rev: src/io.c:1.160 Rev: src/io.h:1.88
-
- 14 Mar, 2002 1 commit
-
-
Niels Möller authored
Added trace call. Rev: src/io.c:1.159
-
- 27 Feb, 2002 1 commit
-
-
Niels Möller authored
until the callout should be invoked. Rev: src/io.c:1.158 Rev: src/io.h:1.87
-
- 24 Jan, 2002 1 commit
-
-
Niels Möller authored
functions that need it. Rev: src/io.c:1.157
-
- 30 Oct, 2001 1 commit
-
-
Niels Möller authored
closed and becomes empty. (close_fd_write): New function. Rev: src/io.c:1.156 Rev: src/io.h:1.86
-
- 02 Oct, 2001 1 commit
-
-
Niels Möller authored
file into a string. Uses string_buffer. Rev: src/io.c:1.155 Rev: src/io.h:1.85
-
- 30 Sep, 2001 1 commit
-
-
Niels Möller authored
(do_consuming_read): Deleted old code to deal with fd->hanged_up. (do_write_callback): Call write_buffer_pre_write instead of FD_PREPARE. Rev: src/io.c:1.154
-
- 28 Sep, 2001 1 commit
-
-
Niels Möller authored
(close_fd): Set the flag write_buffer->closed directly, instead of calling FD_WRITE_CLOSE. (close_fd_nicely): Don't use FD_WRITE_CLOSE, instead, set the write_buffer->closed flag, and close the fd if the write_buffer is empty. Rev: src/io.c:1.153
-
- 27 Sep, 2001 2 commits
-
-
Niels Möller authored
Rev: src/client.c:1.133 Rev: src/gc.c:1.26 Rev: src/gc.h:1.11 Rev: src/io.c:1.152 Rev: src/io.h:1.82 Rev: src/io_commands.c:1.49 Rev: src/io_commands.h:1.23 Rev: src/lsh.c:1.151 Rev: src/read_file.c:1.3 Rev: src/reaper.c:1.22 Rev: src/unix_interact.c:1.13
-
Niels Möller authored
(io_run): Check for OOP_ERROR. #if:ed out for now, as it is not defined in liboop-0.7. Rev: src/io.c:1.151
-